use strict;return sub{my $this = shift;my $C = $this->{C};$this->out("");$this->out(Zen::PerlHandler->get("IIbab932006a9bf662647eb937c182eadd->mnt")->do($this->{C}));$this->out("");$C->{ThemeTmplCode} = "minisite/main.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->{menu} = sub {$this->replaceOutput([]);$this->out("<a href=\"$C->{Package}{minisiteLink}?page=member\">Homepage</a> |\n<a href=\"$C->{Package}{minisiteLink}?page=profile\">Profile</a> |\n<a href=\"$C->{Package}{minisiteLink}?page=promo\">Make money</a> |\n<a href=\"$C->{SYS}{URL}\">Other products</a> |\n<a href=\"$C->{Package}{minisiteLink}?page=logout\">Logout</a>\n");return join("",@{ $this->restoreOutput });};$this->out("\n");$C->{central_content} = sub {$this->replaceOutput([]);$this->out("");{my $G = (ref $this)->get("/minisite/page_$C->{MinisitePage}.html", $this->{param}) or die "no skel /minisite/page_$C->{MinisitePage}.html";my $ctx = $this->{C};my $out = $G->execute($ctx);$this->out(@$out) if $out;}$this->out("");return join("",@{ $this->restoreOutput });};$this->out("\n");$C->{template} = sub {$this->replaceOutput([]);$this->out("<style type=\"text/css\">\nselect, input, textarea, td, div\n{\n        font: normal 10pt Tahoma, sans-serif;\n        margin: 2px;\n}\n</style>\n\n<table borderColor=#B5FFBC cellSpacing=0 cellPadding=7 width=\"60\%\" border=1 align=center>\n<tr bgColor=#B5FFBC>\n  <th>$C->{Package}{title}</th>\n</tr>\n<tr valign=top>\n  <td>\n\n<div align=right>\n".&{$C->{menu}}."\n</div>\n<br>\n\n".&{$C->{central_content}}."\n\n  </td>\n</tr>\n</table>\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("</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");}