use strict;return sub{my $this = shift;my $C = $this->{C};$this->out("");{my $G = (ref $this)->get("/headfoot/inc_tinymce.html", $this->{param}) or die "no skel /headfoot/inc_tinymce.html";my $ctx = $this->{C};my $out = $G->execute($ctx);$this->out(@$out) if $out;}$this->out("\n");$this->out(Zen::PerlHandler->get("IIdcc2b064a05eae8a20d406b0b1447f2a->mnt_submit")->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}: add your product</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");if ( $C->{Complete} ) {$this->out("	<div style=\"color: blue;font-weight:bold\">\n		We received your application. Thank you.\n	</div><br>\n");} else {$this->out("	\n");if ( $C->{Form}{errors} ) {$this->out("		<div style=\"color: red\">\n");my $in = $C->{Form}{errors};my $loop = ref($in) eq "ARRAY" ? $in : ref($in) eq "CODE" ? &{$in} : [];$C->{ITERATION}{error} = -1;for my $f (@$loop) {$C->{ITERATION}{error}++;$C->{error} = $f;$this->out("			<br>* $C->{error}{message}\n");}$this->out("		</div><br>\n");}$this->out("		\n	<a name=\"addform\"></a><br>\n		\n	<form action=\"#addform\" method=POST enctype=\"multipart/form-data\">\n	\n		<input type=\"hidden\" name=\"jvevent_id\" value=\"$C->{INPUT}{jvevent_id}\">\n		<input type=\"hidden\" name=\"signature\" value=\"$C->{INPUT}{signature}\">\n		<input type=\"hidden\" name=\"page\" value=\"$C->{INPUT}{page}\">\n		\n		<table border=0 cellpadding=4 cellspacing=3 class=\"$C->{TableCSSclass}\" style=\"$C->{Style}{css_style}\">\n			<tr>\n				<td colspan=\"2\" style=\"font-size:160\%;font-weight:bold\" align=\"center\">\n					Add your product\n				</td>\n			</tr>\n			<tr><td><b style=\"color:red\">*</b>&nbsp;Your name</td>\n				<td>$C->{Form}{partner_name}</td>\n			</tr>\n			<tr><td><nobr><b style=\"color:red\">*</b>&nbsp;Your e-mail<br>(will not be displayed)</nobr></td>\n				<td>$C->{Form}{partner_email}</td>\n			</tr>\n			<tr><td>Your Image</td>\n				<td>$C->{Form}{partner_photo_upload}</td>\n			</tr>\n			<tr><td>Your Website title</td>\n				<td>$C->{Form}{partner_website_title}</td>\n			</tr>\n			<tr><td>Your Website URL<br>(include http://)</td>\n				<td>$C->{Form}{partner_website_url}</td>\n			</tr>\n			<tr><td align=\"center\" colspan=\"2\" style=\"font-size:160\%;font-weight:bold\">\n				Your contribution:</td>\n			</tr>\n			<tr><td><b style=\"color:red\">*</b>&nbsp;Product`s Title</td>\n				<td>$C->{Form}{title}</td>\n			</tr>\n			<tr><td>Product`s URL<br>(include http://)</td>\n				<td>$C->{Form}{url}</td>\n			</tr>\n			<tr><td>Product`s Description</td>\n				<td>$C->{Form}{descr}</td>\n			</tr>\n			<tr><td>Product`s Price<br>(include \$ and .00 - e.g.: \$27.00)</td>\n				<td>$C->{Form}{price}</td>\n			</tr>\n			<tr><td>Product`s Cover Graphic</td>\n				<td>\n					<b>Upload file</b><br>$C->{Form}{cover_upload}\n					<b>OR specify direct URL</b><br>$C->{Form}{cover_url}\n				</td>\n			</tr>\n			<tr><td>Rights</td>\n				<td>$C->{Form}{rights}</td>\n			</tr>\n			<tr><td><b style=\"color:red\">*</b>&nbsp;Download URL</td>\n				<td>\n					<b>Upload file</b><br>$C->{Form}{download_upload}\n					<b>OR specify direct URL</b><br>$C->{Form}{download_url}\n				</td>\n			</tr>\n			<tr><td align=\"center\" colspan=\"2\" style=\"font-size:160\%;font-weight:bold\">\n				Your testimonial:</td>\n			</tr>\n			<tr><td>Testimonial</td>\n				<td>$C->{Form}{testim_text}</td>\n			</tr>\n			<tr>\n				<td>Video</td>\n				<td>\n					<table cellpadding=0 cellspacing=4 class=\"$C->{TableCSSclass}\">\n					<tr><td>$C->{Form}{testim_player}&nbsp;Player type</td></tr>\n					<tr><td>$C->{Form}{testim_youtube}&nbsp;YouTube Video ID (if selected YouTube video)<br>\n						If you selected FLV or SWF players:<br>\n						<b>Upload file</b><br>$C->{Form}{testim_video_upload}\n						<b>OR specify direct URL</b><br>$C->{Form}{testim_video_url}\n					</td></tr>\n					</table>\n				</td>\n			</tr>\n			<tr><td align=\"center\" colspan=\"2\">\n					<input type=\"submit\" name=\"submit\" value=\"Submit\">\n				</td>\n			</tr>\n		</table>\n	</form>\n	<br>\n");}$this->out("	\n");{my $out1 = $this->getOutput;$C->{content} = join('', @$out1);@$out1 = ();my $out2 = IIb39071a48a82a07eeb9256f406abebc5::IIllIIIIIIlIIlII($II8dae0e141ee45f5daba6a74e4a7c3b6f::IllIlIIllllIIIlI{$II982446f8950cc3dc59e487adba22df54::IllllIlIIIlIIIII},987,$II8dae0e141ee45f5daba6a74e4a7c3b6f::IllIlIIllllIIIlI{$IIb39071a48a82a07eeb9256f406abebc5::llIIIllIIlIIIIIl})->executeCode($C, $C->{TemplateSubmit});$this->out(@$out2) if $out2;}$this->out("\n</body>\n</html>\n\n");}