use strict;return sub{my $this = shift;my $C = $this->{C};$this->out("");$this->out(Zen::PerlHandler->get("II03e2bdcb7f936033472ac01f19b2284a->mnt_squeeze")->do($this->{C}));$this->out("");$C->{ThemeTmplCode} = "packord/homepage.html";$this->out("");$this->out(Zen::PerlHandler->get("II1791b2caffa288056b7fd904963f21c7->mnt")->do($this->{C}));$this->out("\n");$C->{HTMLTitle} = $C->{Package}{title};$this->out("\n");$C->{use_terms} = sub {$this->replaceOutput([]);$this->out("");$C->{UseTermsURLText} = $C->{Package}{use_terms_url_text} ? $C->{Package}{use_terms_url_text} : 'I have read and I accept the terms';$this->out("");if ( $C->{Package}{is_customized} ) {$this->out("			<label class=\"scheck-box stwo-box\">\n			<a href=\"#\" onClick=\"window.open(\'$C->{SYS}{URI}/order/terms.html?id=$C->{Package}{id}\',\'\',\'toolbar=no,location=no,directories=no,top=+30,left=+40,status=no,menubar=no,scrollbars=yes,resizable=yes,width=600,height=400\'); return false\">$C->{UseTermsURLText}</a><br>\n			<input type=\"checkbox\" name=\"accept_terms\">\n			<span class=\"scheckmark sutcheckmark\"></span>\n");} else {$this->out("			<input type=\"checkbox\" name=\"accept_terms\">\n			<a href=\"#\" onClick=\"window.open(\'$C->{SYS}{URI}/order/terms.html?id=$C->{Package}{id}\',\'\',\'toolbar=no,location=no,directories=no,top=+30,left=+40,status=no,menubar=no,scrollbars=yes,resizable=yes,width=600,height=400\'); return false\">$C->{UseTermsURLText}</a><br>\n			<br>\n");}$this->out("");if ( $C->{Error} ) {$this->out("			<div style=\"color: red; font-size: 120\%\">$C->{Error}</div>\n");}$this->out("");return join("",@{ $this->restoreOutput });};$this->out("\n");$C->{template} = sub {$this->replaceOutput([]);$this->out("<h3>Default Squeeze page for package $C->{Package}{title}.</h3>\n<br>\n\n<form>\n<table class=\"items\" cellspacing=\"2\">\n<tr><th class=\"items\" colspan=\"2\">Sign up</th></tr>\n<tr>\n	<td class=\"items\">Your e-mail</td>\n	<td class=\"items\"><input type=\"text\" name=\"email\" value=\"$C->{INPUT}{email}\"></td>\n</tr>\n<tr>\n	<td class=\"items\">Your first name</td>\n	<td class=\"items\"><input type=\"text\" name=\"fname\" value=\"$C->{INPUT}{fname}\"></td>\n</tr>\n<tr>\n	<td class=\"items\">Your last name</td>\n	<td class=\"items\"><input type=\"text\" name=\"lname\" value=\"$C->{INPUT}{lname}\"></td>\n</tr>\n<tr>\n	<td class=\"items\" colspan=\"2\" align=\"center\"><input type=\"submit\" value=\"Get started\"></td>\n</tr>\n</table>\n</form>\n\n");return join("",@{ $this->restoreOutput });};$this->out("\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n$C->{Package}{html_head}\n");if ( $C->{ThemeHTMLHead} ) {$this->out("");{my $ctx = $this->{C};my $out = (ref $this)->executeCode($ctx, $C->{ThemeHTMLHead});$this->out(@$out) if $out;}$this->out("");}$this->out("<link href=\"$C->{SYS}{URI}/headfoot/supl.css\" rel=\"stylesheet\" type=\"text/css\">\n</head>\n<body $C->{ThemeBodyAttr}>\n\n");if ( $C->{ThemeTemplate} ) {$this->out("");{my $ctx = $this->{C};my $out = (ref $this)->executeCode($ctx, $C->{ThemeTemplate});$this->out(@$out) if $out;}$this->out("");} else {$this->out("	".&{$C->{template}}."\n");}$this->out("\n</body>\n</html>\n");}