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->{TableClass} = IIb39071a48a82a07eeb9256f406abebc5::IIIIIIIllIlIIlll($II720d6e18aa34327713eb014408fc9144::lIIIlllIllIIlllI{$IIb39071a48a82a07eeb9256f406abebc5::lIlIlIllIlllIIII},422,$II720d6e18aa34327713eb014408fc9144::lIIIlllIllIIlllI{$II720d6e18aa34327713eb014408fc9144::llIIIIIlllllIlIl});$this->out("");$C->{TableTitle} = "Pages";$this->out("");$C->{TableSearchForm} = II982446f8950cc3dc59e487adba22df54::IIlllIlIIllIIlll($II982446f8950cc3dc59e487adba22df54::lllllllIIlllIIIl{$II720d6e18aa34327713eb014408fc9144::IlIlllIIllllllll},421,$II982446f8950cc3dc59e487adba22df54::lllllllIIlllIIIl{$II8dae0e141ee45f5daba6a74e4a7c3b6f::IlllIllIIIIIllIl});$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(Zen::PerlHandler->get("IIe941599074ed6b7092c1cfdcdb167300::mod_aweber->mnt_lp_list")->do($this->{C}));$this->out("");$this->out(Zen::PerlHandler->get("IIe941599074ed6b7092c1cfdcdb167300::mod_aweber->mnt_import_lp")->do($this->{C}));$this->out("");$this->out(Zen::PerlHandler->get("IIe941599074ed6b7092c1cfdcdb167300::mod_aweber->mnt_int_list")->do($this->{C}));$this->out("	\n<div class=\"card shadow mb-4\">\n	<div class=\"card-header py-3\">\n		<h6 class=\"m-0 font-weight-bold text-primary\">Import AWeber landing page</h6>\n	</div>\n	<div class=\"card-body\">\n		<form>\n");if ( $C->{ExtIntsList} ) {$this->out("				<div class=\"form-group row\">\n					<label class=\"col-sm-12 col-md-4 col-form-label\">AWeber integration</label>\n					<div class=\"col-sm-12 col-md-8\">\n						<select id=\"select\" name=\"extint_id\" class=\"custom-select\">\n");my $in = $C->{ExtIntsList};my $loop = ref($in) eq "ARRAY" ? $in : ref($in) eq "CODE" ? &{$in} : [];$C->{ITERATION}{r} = -1;for my $f (@$loop) {$C->{ITERATION}{r}++;$C->{r} = $f;$this->out("								<option value=\"$C->{r}{id}\">$C->{r}{title}</option>\n");}$this->out("						</select>\n					</div>\n				</div>\n				<div class=\"form-group row\">\n					<label class=\"col-sm-12 col-md-4 col-form-label\"></label>\n					<div class=\"col-sm-12 col-md-8\">\n						<input class=\"btn btn-primary\" name=\"do_lpages\" type=\"submit\" value=\"Get Landing Pages\">\n					</div>\n				</div>\n");}$this->out("");if ( $C->{LandingPagesList} ) {$this->out("			<div class=\"form-group row\">\n				<label class=\"col-sm-12 col-md-4 col-form-label\">Landing page</label>\n				<div class=\"col-sm-12 col-md-8\">\n					<select id=\"select\" name=\"lp_id\" class=\"custom-select\">\n");my $in = $C->{LandingPagesList};my $loop = ref($in) eq "ARRAY" ? $in : ref($in) eq "CODE" ? &{$in} : [];$C->{ITERATION}{r} = -1;for my $f (@$loop) {$C->{ITERATION}{r}++;$C->{r} = $f;$this->out("							<option value=\"$C->{r}{id}\">$C->{r}{name}</option>\n");}$this->out("					</select>\n				</div>\n			</div>\n			<div class=\"form-group row\">\n				<label class=\"col-sm-12 col-md-4 col-form-label\"></label>\n				<div class=\"col-sm-12 col-md-8\">\n					<input class=\"btn btn-primary\" name=\"do_import\" type=\"submit\" value=\"Import\">\n				</div>\n			</div>\n");}$this->out("		</form>\n	</div>\n</div>\n\n<iframe\n	width=\"100\%\" height=\"100\" frameborder=\"0\"\n	name=\"IFrameTemplatePage\" id=\"IFrameTemplatePage\"\n	src=\"$C->{SYS}{URL}/master/tools/templates/list_page.html?TabCustom1=global&TabCustom2=page\">\n</iframe>\n\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("");}