use strict;return sub{my $this = shift;my $C = $this->{C};$this->out("");$C->{IFrameID} = "IFrameExportPieces";$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("");{my $G = (ref $this)->get("/headfoot/inner_header.html", $this->{param}) or die "no skel /headfoot/inner_header.html";my $ctx = $this->{C};my $out = $G->execute($ctx);$this->out(@$out) if $out;}$this->out("\n");{my $G = (ref $this)->get("/zen/table/supl_atk.html", $this->{param}) or die "no skel /zen/table/supl_atk.html";my $ctx = $this->{C};my $out = $G->execute($ctx);$this->out(@$out) if $out;}$this->out(" \n\n");$this->out(Zen::PerlHandler->get("IIc9b38b443de2f42ce01a72398e551d21->mnt")->do($this->{C}));$this->out("\n");if ( $C->{Error} ) {$this->out("	<div class=\"card mb-4 py-3 border-left-danger\">\n		<div class=\"card-body\">\n");my $in = $C->{Form}{errors};my $loop = ref($in) eq "ARRAY" ? $in : ref($in) eq "CODE" ? &{$in} : [];$C->{ITERATION}{error} = -1;for my $f (@$loop) {$C->{ITERATION}{error}++;$C->{error} = $f;$this->out("				<br>* $C->{error}{message}\n");}$this->out("		</div>\n	</div>\n");}$this->out("\n\n<form method=POST action=\"$C->{SELF_URL_NO_QS}\">\n\n	<div class=\"card shadow mb-4\">\n		<div class=\"card-header py-3\">\n			<h6 class=\"m-0 font-weight-bold text-primary\">\n				Export pieces\n			</h6>\n		</div>\n		<div class=\"card-body\">	\n			<div class=\"form-group row\">\n				<label class=\"col-sm-12 col-md-4 col-form-label\">File name</label>\n				<div class=\"col-sm-12 col-md-8\">$C->{Form}{filename}</div>\n			</div>\n			<div class=\"form-group row\">\n				<label class=\"col-sm-12 col-md-4 col-form-label\">Export objects</label>\n				<div class=\"col-sm-12 col-md-8\">\n					<ul>\n						<li><b>Packages/Minisites/Shopping carts:</b></li>\n						<li>$C->{Form}{exp_packages} $C->{Form}{exp_packages_options}</li>\n						<li><b>Products:</b></li>\n						<li>$C->{Form}{exp_products} $C->{Form}{exp_products_options}</li>\n						<li><b>Follow-up manager series:</b></li>\n						<li>$C->{Form}{exp_followupman_series} $C->{Form}{exp_followupman_series_options}</li>\n						<li><b>Pages:</b></li>\n						<li>$C->{Form}{exp_pages} $C->{Form}{exp_pages_options}</li>\n					</ul>\n				</div>\n			</div>\n			<div class=\"form-group row\">\n				<label class=\"col-sm-12 col-md-4 col-form-label\">Piece description</label>\n				<div class=\"col-sm-12 col-md-8\">$C->{Form}{descr}</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 type=submit class=\"btn btn-primary\" name=export value=\"Export piece\">\n				</div>\n			</div>\n		</div>\n	</div>\n</form>\n\n");{my $G = (ref $this)->get("/headfoot/inner_footer.html", $this->{param}) or die "no skel /headfoot/inner_footer.html";my $ctx = $this->{C};my $out = $G->execute($ctx);$this->out(@$out) if $out;}$this->out("\n");}