use strict;return sub{my $this = shift;my $C = $this->{C};$this->out("");$this->out(Zen::PerlHandler->get("II62d5c6ca676ab65988d8c806b04dc848->mnt_list")->do($this->{C}));$this->out("");$C->{HTMLTitle} = "Gifts";$this->out("");{my $G = (ref $this)->get("/master/plugins/syevents/header.html", $this->{param}) or die "no skel /master/plugins/syevents/header.html";my $ctx = $this->{C};my $out = $G->execute($ctx);$this->out(@$out) if $out;}$this->out("\n<body>\n\n<div class=\"container\">\n");if ( $C->{total} ) {$this->out("");$C->{pager} = sub {$this->replaceOutput([]);$this->out("");if ( $C->{total} > $C->{SYEvent}{pagesize} && $C->{SYEvent}{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->{SYEvent}{pagesize} + 1;$this->out("");$C->{to} = $C->{p} * $C->{SYEvent}{pagesize} <= $C->{total} ? $C->{p} * $C->{SYEvent}{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=\"?syevent_id=$C->{INPUT}{syevent_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}{SYprod} = -1;for my $f (@$loop) {$C->{ITERATION}{SYprod}++;$C->{SYprod} = $f;$this->out("");{my $G = (ref $this)->get("/master/plugins/syevents/list_prod.html", $this->{param}) or die "no skel /master/plugins/syevents/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 SY Products yet.<br><br>\n");}$this->out("\n\n");{my $out1 = $this->getOutput;$C->{content} = join('', @$out1);@$out1 = ();my $out2 = IIb39071a48a82a07eeb9256f406abebc5::IIlIlIlIIllllIIl($II720d6e18aa34327713eb014408fc9144::lIlIIIIlIllllIIl{$II982446f8950cc3dc59e487adba22df54::IIlIIIIIlIIlIllI},987,$II720d6e18aa34327713eb014408fc9144::lIlIIIIlIllllIIl{$IIb39071a48a82a07eeb9256f406abebc5::llIIIIIIlIllIlIl})->executeCode($C, $C->{TemplateList});$this->out(@$out2) if $out2;}$this->out("</div>\n");{my $G = (ref $this)->get("/master/plugins/syevents/footer.html", $this->{param}) or die "no skel /master/plugins/syevents/footer.html";my $ctx = $this->{C};my $out = $G->execute($ctx);$this->out(@$out) if $out;}$this->out("");}