use strict;return sub{my $this = shift;my $C = $this->{C};$this->out("");$C->{INPUT}{TabCustom1} ||= "groups";$this->out("\n<div style=\"text-align: center\">\n");my $in = [ { name => 'groups', title_menu => 'Shipping Groups', }, { name => 'methods', title_menu => 'All Shipping Methods', } ];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/store/shippings.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 'groups' ) {$this->out("");$C->{HTMLTitle} = "Shipping";$this->out("");$C->{TableTitle} = "Shipping Groups";$this->out("");$C->{TableClass} = IIb39071a48a82a07eeb9256f406abebc5::lllllIlIIIIlIIlI($IIb39071a48a82a07eeb9256f406abebc5::IlllIllIllIllIll{$II8dae0e141ee45f5daba6a74e4a7c3b6f::lIIIIIIIllIIIIIl},983,$IIb39071a48a82a07eeb9256f406abebc5::IlllIllIllIllIll{$II720d6e18aa34327713eb014408fc9144::IIIIIIllIIlllIIl});$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		<iframe\n			width=\"100\%\" height=\"10\" frameborder=\"0\"\n			name=\"IFrameLessons\" id=\"IFrameLessons\"\n			src=\"$C->{SYS}{URL}/master/store/shippings/forgroup.html?TabCustom1=$C->{INPUT}{ObjectID}\">\n		</iframe>\n");}$this->out("");} elsif ( $C->{INPUT}{TabCustom1} eq 'methods' ) {$this->out("");$C->{HTMLTitle} = "Shipping";$this->out("");$C->{TableTitle} = "All Shipping Methods";$this->out("");$C->{TableClass} = II982446f8950cc3dc59e487adba22df54::lIIlIIlIlIIlIlIl($IIb39071a48a82a07eeb9256f406abebc5::IIllIIIIIIIIlllI{$II982446f8950cc3dc59e487adba22df54::lIIlIlIlllIIllIl},451,$IIb39071a48a82a07eeb9256f406abebc5::IIllIIIIIIIIlllI{$II8dae0e141ee45f5daba6a74e4a7c3b6f::IlIlIlIIIIllIIIl});$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("");}