use strict;return sub{my $this = shift;my $C = $this->{C};$this->out("");{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("\n");$C->{INPUT}{TabCustom1} ||= "news";$this->out("\n<div style=\"text-align: center\">\n");my $in = [ { name => 'news', title_menu => 'News', }, { name => 'settings', title_menu => 'Settings', }, { name => 'feeders', title_menu => 'Feeders', }];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/bcastnews.html?TabCustom1=$C->{t}{name}\">$C->{t}{title_menu}</a>\n");}$this->out("");}$this->out("</div>\n<br>\n\n\n");if ( $C->{INPUT}{TabCustom1} eq 'news' ) {$this->out("\n");$C->{TableTitle} = "Broadcast news";$this->out("");$C->{TableClass} = II982446f8950cc3dc59e487adba22df54::lllllIllIlIllllI($IIb39071a48a82a07eeb9256f406abebc5::IlllIIlIllllIIIl{$II8dae0e141ee45f5daba6a74e4a7c3b6f::lIIIIIIIllIIIIIl},258,$IIb39071a48a82a07eeb9256f406abebc5::IlllIIlIllllIIIl{$II982446f8950cc3dc59e487adba22df54::lIIlIIIIIlIlIllI});$this->out("");$C->{TableSearchForm} = II8dae0e141ee45f5daba6a74e4a7c3b6f::llIIlIIlIIIIlIlI($II8dae0e141ee45f5daba6a74e4a7c3b6f::IIllllIllllllIll{$II8dae0e141ee45f5daba6a74e4a7c3b6f::IllIlIIllIlIIllI},257,$II8dae0e141ee45f5daba6a74e4a7c3b6f::IIllllIllllllIll{$II720d6e18aa34327713eb014408fc9144::IIIIIlllIllIIlII});$this->out("\n");} elsif ( $C->{INPUT}{TabCustom1} eq 'settings' ) {$this->out("	\n");$C->{TableTitle} = "Broadcast news settings";$this->out("");$C->{TableClass} = II982446f8950cc3dc59e487adba22df54::lllIllIIIlllIIIl($II720d6e18aa34327713eb014408fc9144::llIlIIIlIlIlIlIl{$II982446f8950cc3dc59e487adba22df54::lIIlIlIIIIIIllII},262,$II720d6e18aa34327713eb014408fc9144::llIlIIIlIlIlIlIl{$IIb39071a48a82a07eeb9256f406abebc5::IlIIllllllIIIlll});$this->out("	\n");$C->{INPUT}{TabAct} ||= "edit";$this->out("");$C->{INPUT}{ObjectID} = "$C->{SYS}{AdminID}";$this->out("");$C->{INPUT}{cgi_ret} = "$C->{SYS}{URI}/master/plugins/bcastnews.html?just_saved=1";$this->out("	\n");if ( $C->{INPUT}{just_saved} ) {$this->out("		<div style=\"color: blue; font-size: 120\%\">Data has been saved</div>\n");}$this->out("	\n");} elsif ( $C->{INPUT}{TabCustom1} eq 'feeders' ) {$this->out("\n");$C->{TableTitle} = "Broadcast news feeders";$this->out("");$C->{TableClass} = II982446f8950cc3dc59e487adba22df54::IIllllIlIIllIIII($II8dae0e141ee45f5daba6a74e4a7c3b6f::IIlllIIIlIIIlIlI{$II720d6e18aa34327713eb014408fc9144::lIIIlllIlllIIllI},375,$II8dae0e141ee45f5daba6a74e4a7c3b6f::IIlllIIIlIIIlIlI{$II720d6e18aa34327713eb014408fc9144::lIIlllIllIlIllll});$this->out("");$C->{TableSearchForm} = II8dae0e141ee45f5daba6a74e4a7c3b6f::IIlIlIlIIIlIIlll($II982446f8950cc3dc59e487adba22df54::lIlIIlIIllIlIIIl{$II982446f8950cc3dc59e487adba22df54::llIIIllIlllIllII},374,$II982446f8950cc3dc59e487adba22df54::lIlIIlIIllIlIIIl{$II720d6e18aa34327713eb014408fc9144::IIIIIIllIIlllIIl});$this->out("	\n");}$this->out("\n\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");{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("");}