use strict;return sub{my $this = shift;my $C = $this->{C};$this->out("");$C->{INPUT}{TabCustom1} ||= "series";$this->out("\n<div style=\"text-align: center\">\n");my $in = [ { name => 'series', title_menu => 'Series', }, { 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/lessonman.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 'series' ) {$this->out("");$C->{HTMLTitle} = "Lesson Manager: series";$this->out("");$C->{TableTitle} = "Lesson Manager";$this->out("");$C->{TableClass} = II8dae0e141ee45f5daba6a74e4a7c3b6f::IIlIlIlIIIlIIlll($II720d6e18aa34327713eb014408fc9144::llIlIIIlIlIlIlIl{$IIb39071a48a82a07eeb9256f406abebc5::lllllllIlIllIlIl},742,$II720d6e18aa34327713eb014408fc9144::llIlIIIlIlIlIlIl{$IIb39071a48a82a07eeb9256f406abebc5::IIlIllIIlIIIlIIl});$this->out("");$C->{TableSearchForm} = II982446f8950cc3dc59e487adba22df54::IlIlllIlIIlIllll($II8dae0e141ee45f5daba6a74e4a7c3b6f::lIlllIIIlIlIlIII{$II720d6e18aa34327713eb014408fc9144::lIIIIIlIIIlIIIII},741,$II8dae0e141ee45f5daba6a74e4a7c3b6f::lIlllIIIlIlIlIII{$II720d6e18aa34327713eb014408fc9144::IIllllllIIllllll});$this->out("\n");{my $G = (ref $this)->get("/headfoot/inc_tinymce.html", $this->{param}) or die "no skel /headfoot/inc_tinymce.html";my $ctx = $this->{C};my $out = $G->execute($ctx);$this->out(@$out) if $out;}$this->out("");{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		<iframe\n			width=\"100\%\" height=\"10\" frameborder=\"0\"\n			name=\"IFrameLessons\" id=\"IFrameLessons\"\n			src=\"$C->{SYS}{URL}/master/plugins/lessonman/lessons.html?TabCustom1=$C->{INPUT}{ObjectID}\">\n		</iframe>\n");}$this->out("");} elsif ( $C->{INPUT}{TabCustom1} eq 'user' ) {$this->out("");$C->{HTMLTitle} = "Lesson Manager: users";$this->out("");$C->{TableTitle} = "Users";$this->out("");$C->{TableClass} = IIb39071a48a82a07eeb9256f406abebc5::lIIlIIIlllllllII($II982446f8950cc3dc59e487adba22df54::lIlllIlllIIIIllI{$IIb39071a48a82a07eeb9256f406abebc5::lIIIlIllllIIlIll},407,$II982446f8950cc3dc59e487adba22df54::lIlllIlllIIIIllI{$II720d6e18aa34327713eb014408fc9144::lIIlllIllIlIllll});$this->out("");$C->{TableSearchForm} = II8dae0e141ee45f5daba6a74e4a7c3b6f::IlIIIIIIIlllIlII($IIb39071a48a82a07eeb9256f406abebc5::llIIlIIlIIlIllII{$IIb39071a48a82a07eeb9256f406abebc5::lIIIlIllllIIlIll},413,$IIb39071a48a82a07eeb9256f406abebc5::llIIlIIlIIlIllII{$II982446f8950cc3dc59e487adba22df54::lIIlllIlIllllIIl});$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("");}$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("");}