use strict;return sub{my $this = shift;my $C = $this->{C};$this->out("");$C->{INPUT}{TabCustom1} ||= "survey";$this->out("\n<div style=\"text-align: center\">\n");my $in = [ { name => 'survey', title_menu => 'Surveys', }, { name => 'user', title_menu => 'Users', }];my $loop = ref($in) eq "ARRAY" ? $in : ref($in) eq "CODE" ? &{$in} : [];$C->{ITERATION}{t} = -1;for my $f (@$loop) {$C->{ITERATION}{t}++;$C->{t} = $f;$this->out("");if ( $C->{ITERATION}{t} ) {$this->out("	|\n");}$this->out("	\n");if ( $C->{INPUT}{TabCustom1} eq $C->{t}{name} ) {$this->out("		<b>$C->{t}{title_menu}</b>\n");} else {$this->out("		<a class=\"jinTableLink\" href=\"$C->{SYS}{URL}/master/plugins/surveys.html?TabCustom1=$C->{t}{name}\">$C->{t}{title_menu}</a>\n");}$this->out("");}$this->out("</div>\n<br>\n\n");if ( $C->{INPUT}{TabCustom1} eq 'survey' ) {$this->out("\n");$C->{TableTitle} = "Surveys";$this->out("");$C->{TableClass} = II8dae0e141ee45f5daba6a74e4a7c3b6f::lllIllIIIllIllII($II8dae0e141ee45f5daba6a74e4a7c3b6f::IllIlIIllllIIIlI{$II982446f8950cc3dc59e487adba22df54::lIIlIlIIIIIIllII},699,$II8dae0e141ee45f5daba6a74e4a7c3b6f::IllIlIIllllIIIlI{$II8dae0e141ee45f5daba6a74e4a7c3b6f::IllIlllllllIlIll});$this->out("	\n");{my $G = (ref $this)->get("/zen/table.html", $this->{param}) or die "no skel /zen/table.html";my $ctx = $this->{C};my $out = $G->execute($ctx);$this->out(@$out) if $out;}$this->out("\n");if ( $C->{INPUT}{TabAct} eq 'edit' ) {$this->out("		<br>\n		<br>\n		<iframe\n			width=\"100\%\" height=\"10\" frameborder=\"0\"\n			name=\"IFrameSurveyQuestion\" id=\"IFrameSurveyQuestion\"\n			src=\"$C->{SYS}{URL}/master/plugins/surveys/questions.html?TabCustom2=$C->{INPUT}{ObjectID}\">\n		</iframe>\n");}$this->out("\n");} elsif ( $C->{INPUT}{TabCustom1} eq 'user' ) {$this->out("\n");$C->{TableTitle} = "Surveys data";$this->out("");$C->{TableClass} = II982446f8950cc3dc59e487adba22df54::IIIlIIlIllIIIlIl($II982446f8950cc3dc59e487adba22df54::lllllllIIlllIIIl{$IIb39071a48a82a07eeb9256f406abebc5::IlIlIIIIlllIIIlI},480,$II982446f8950cc3dc59e487adba22df54::lllllllIIlllIIIl{$II720d6e18aa34327713eb014408fc9144::IllIllIIlIIIIlIl});$this->out("");$C->{TableSearchForm} = II720d6e18aa34327713eb014408fc9144::IIllIllIIlIIIlll($IIb39071a48a82a07eeb9256f406abebc5::lIIlIlIllIllIllI{$II8dae0e141ee45f5daba6a74e4a7c3b6f::IllIlIIllIlIIllI},479,$IIb39071a48a82a07eeb9256f406abebc5::lIIlIlIllIllIllI{$II982446f8950cc3dc59e487adba22df54::IllIIllIIIIlIIll});$this->out("\n");{my $G = (ref $this)->get("/zen/table.html", $this->{param}) or die "no skel /zen/table.html";my $ctx = $this->{C};my $out = $G->execute($ctx);$this->out(@$out) if $out;}$this->out("\n");}$this->out("\n");{my $G = (ref $this)->get("/headfoot/hf_main.html", $this->{param}) or die "no skel /headfoot/hf_main.html";my $out1 = $this->getOutput;$C->{central_content} = join('', @$out1);@$out1 = ();my $out2 = $G->execute($C);$this->out(@$out2) if $out2;}$this->out("");}