use strict;return sub{my $this = shift;my $C = $this->{C};$this->out("");{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("IId4a7c17b46bb480efd9d457a0c307ddc->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");if ( $C->{Error} eq 'AdminPasswordMismatch' ) {$this->out("				Incorrect Admin`s password\n");} elsif ( $C->{Error} eq 'CCKeyNotInstalled' ) {$this->out("				Credit Card Security key not found or Invalid. Perhaps, it`s not installed on your system. You can do it now at <a target=\"_blank\" href=\"$C->{SYS}{URL}/auth/profile/security.html\">Profile / Security Settings</a>\n");} elsif ( $C->{Error} eq 'CCKeyMismatch' ) {$this->out("				Incorrect Credit Card Security key\n");}$this->out("		</div>\n	</div>\n");}$this->out("\n<form method=POST action=\"$C->{SELF_URL_NO_QS}\">\n<input type=\"hidden\" name=\"TabCustom1\" value=\"$C->{INPUT}{TabCustom1}\">\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			Full DB Export\n		</h6>\n	</div>\n	<div class=\"card-body\">\n		<p>You are about to export the whole Delavo database. It will be exported in CSV files packed in one Zip archive. Please note that it make take awhile.</p>\n		<p>By default, no Credit Card data is included in the DB export file. If you want to include, check appropriate box below and enter Credit Card Security key.</p>\n		<div class=\"form-group row\">\n			<label class=\"col-sm-12 col-md-4 col-form-label\">Owner ID</label>\n			<div class=\"col-sm-12 col-md-8\">");require II3562149e53818b6637b38680e87ba918;$this->out(II982446f8950cc3dc59e487adba22df54::lIIlIIlIlIIlIlIl($IIb39071a48a82a07eeb9256f406abebc5::llIllIlIllIIIIlI{$II982446f8950cc3dc59e487adba22df54::llIllIIIIIIIlIIl},990,$IIb39071a48a82a07eeb9256f406abebc5::llIllIlIllIIIIlI{$II982446f8950cc3dc59e487adba22df54::lIIlIIIIIlIlIllI})->standaloneFormControl(owner_id => "$C->{INPUT}{owner_id}", "text(30)"));$this->out("</div>\n		</div>\n		<div class=\"form-group row\">\n			<label class=\"col-sm-12 col-md-4 col-form-label\">Admin`s password</label>\n			<div class=\"col-sm-12 col-md-8\">");require II3562149e53818b6637b38680e87ba918;$this->out(II8dae0e141ee45f5daba6a74e4a7c3b6f::IIlIlIlIIIlIIlll($II982446f8950cc3dc59e487adba22df54::IlllIlIlllIIllIl{$II982446f8950cc3dc59e487adba22df54::lIIlIlIIIIIIllII},990,$II982446f8950cc3dc59e487adba22df54::IlllIlIlllIIllIl{$IIb39071a48a82a07eeb9256f406abebc5::IIIllIIlllllIllI})->standaloneFormControl(admin_password => "$C->{INPUT}{admin_password}", "text(30)"));$this->out("</div>\n		</div>\n		<div class=\"form-group row\">\n			<label class=\"col-sm-12 col-md-4 col-form-label\">Credit Card data</label>\n			<div class=\"col-sm-12 col-md-8\">\n				<div class=\"custom-control custom-checkbox custom-control-inline\">\n					<input name=\"include_cc_data\" id=\"include_cc_data\" type=\"checkbox\" checked=\"\" class=\"custom-control-input\" value=\"1\"> \n					<label for=\"include_cc_data\" class=\"custom-control-label\">include Credit Card data</label>\n				</div>\n			</div>\n		</div>\n		<div class=\"form-group row\">\n			<label class=\"col-sm-12 col-md-4 col-form-label\">Enter Security key</label>\n			<div class=\"col-sm-12 col-md-8\">\n");require II3562149e53818b6637b38680e87ba918;$this->out(IIb39071a48a82a07eeb9256f406abebc5::IIIIIIIllIlIIlll($II720d6e18aa34327713eb014408fc9144::lIIIIIllIIIlllll{$II982446f8950cc3dc59e487adba22df54::IlIIlllIIIllIIII},990,$II720d6e18aa34327713eb014408fc9144::lIIIIIllIIIlllll{$II982446f8950cc3dc59e487adba22df54::IlIllIlIlIIlIlll})->standaloneFormControl(cc_security_key => "$C->{INPUT}{cc_security_key}", "text(30)"));$this->out("			</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\">\n			</div>\n		</div>\n	</div>\n</div>\n</form>\n");}