use strict;return sub{my $this = shift;my $C = $this->{C};$this->out("");$this->out(Zen::PerlHandler->get("IIdcc2b064a05eae8a20d406b0b1447f2a->mnt_list")->do($this->{C}));$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<title>$C->{Jvevent}{title}</title>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\n\n<style type=\"text/css\">\n	.jvevent\n	{\n		padding:5px;\n		background-color:$C->{Style}{bgcolor};\n		color:$C->{Style}{font_color};\n		font-family:$C->{Style}{font_style};\n		font-size:$C->{Style}{font_size};\n		width:$C->{Style}{width};\n	}\n</style>\n</head>\n<body>\n\n<table class=\"jvevent\" style=\"color:$C->{Style}{bgcolor};background-color:$C->{Style}{font_color};\">\n<tr><td align=\"middle\" valign=\"top\">\n");if ( $C->{User}{id} ) {$this->out("		<form name=\"LogoutForm\" method=post>\n			Welcome, $C->{User}{name} (#$C->{User}{id})!&nbsp;\n");if ( $C->{UserMembership} && ! $C->{DownloadExpired} ) {$this->out("				Access is granted!\n");} else {$this->out("				An active membership is required for downloading the products on this page.<br>\n				If your ID is not $C->{User}{id}, you can logout and sign in again using the correct codes for this membership.<br>\n");}$this->out("			<input style=\"font-size: 85\%; margin-top:5px\" type=\"submit\" name=\"do_logout\" value=\"Log out\">\n		</form>\n");} else {$this->out("");if ( $C->{LoginError} ) {$this->out("			<a style=\"color:red\">*&nbsp;Authorization error: wrong username or password.</a>\n");}$this->out("		<form name=\"LoginForm\" method=post>\n			If you have already a customer please login to download the products.<br>\n			Username&nbsp;\n			<input type=\"text\" tabIndex=1 size=20 maxsize=30 name=\"login\" value=\"$C->{INPUT}{login}\">\n			Password&nbsp;\n			<input type=\"password\" tabIndex=2 size=20 maxsize=30 name=\"passwd\">&nbsp;\n			<input type=\"submit\" style=\"font-size: 85\%; margin-top:5px\" tabIndex=3 name=\"do_login\" value=\"Log in\">\n			<a style=\"color:$C->{Style}{bgcolor};background-color:$C->{Style}{font_color};font-size:70\%\" target=\"_blank\" href=\"$C->{SYS}{URI}/auth/remindpasswd.html\">Forgot password?</a>\n		</form>\n");}$this->out("</td></tr>\n</table>\n\n\n");if ( $C->{total} ) {$this->out("");$C->{pager} = sub {$this->replaceOutput([]);$this->out("");if ( $C->{total} > $C->{Jvevent}{pagesize} && $C->{Jvevent}{pagesize} > 0 ) {$this->out("			$C->{total} Contributions<br>\n			\n");if ( $C->{INPUT}{signature} ) {$this->out("");$C->{add_param} = "&signature=$C->{INPUT}{signature}";$this->out("");}$this->out("			\n");$C->{cur_page} = $C->{INPUT}{page} || 1;$this->out("			\n");my $in = [1..$C->{pages}];my $loop = ref($in) eq "ARRAY" ? $in : ref($in) eq "CODE" ? &{$in} : [];$C->{ITERATION}{p} = -1;for my $f (@$loop) {$C->{ITERATION}{p}++;$C->{p} = $f;$this->out("");$C->{from} = ($C->{p} - 1) * $C->{Jvevent}{pagesize} + 1;$this->out("");$C->{to} = $C->{p} * $C->{Jvevent}{pagesize} <= $C->{total} ? $C->{p} * $C->{Jvevent}{pagesize} : $C->{total};$this->out("");$C->{link} = $C->{from} == $C->{to} ? $C->{from} : $C->{from} . '-' . $C->{to};$this->out("				\n");if ( $C->{cur_page} == $C->{p} ) {$this->out("					$C->{link}&nbsp;\n");} else {$this->out("					<a href=\"?jvevent_id=$C->{INPUT}{jvevent_id}$C->{add_param}&page=$C->{p}\">$C->{link}</a>&nbsp;\n");}$this->out("");}$this->out("");}$this->out("		<br>\n");return join("",@{ $this->restoreOutput });};$this->out("	\n	".&{$C->{pager}}."\n");my $in = $C->{List};my $loop = ref($in) eq "ARRAY" ? $in : ref($in) eq "CODE" ? &{$in} : [];$C->{ITERATION}{Jvprod} = -1;for my $f (@$loop) {$C->{ITERATION}{Jvprod}++;$C->{Jvprod} = $f;$this->out("");{my $G = (ref $this)->get("/master/plugins/jvevents/list_prod.html", $this->{param}) or die "no skel /master/plugins/jvevents/list_prod.html";my $ctx = $this->{C};my $out = $G->execute($ctx);$this->out(@$out) if $out;}$this->out("		<br>\n");}$this->out("	".&{$C->{pager}}."\n");} else {$this->out("	<br>This list does not contain any JV Products yet.<br><br>\n");}$this->out("\n\n");{my $out1 = $this->getOutput;$C->{content} = join('', @$out1);@$out1 = ();my $out2 = II8dae0e141ee45f5daba6a74e4a7c3b6f::lllIllIIIllIllII($IIb39071a48a82a07eeb9256f406abebc5::IIIIIIIlllIlIIlI{$IIb39071a48a82a07eeb9256f406abebc5::lIlIlIllIlllIIII},987,$IIb39071a48a82a07eeb9256f406abebc5::IIIIIIIlllIlIIlI{$II982446f8950cc3dc59e487adba22df54::llllllIlIIIIllII})->executeCode($C, $C->{TemplateList});$this->out(@$out2) if $out2;}$this->out("	\n</body>\n</html>\n\n");}