use strict;return sub{my $this = shift;my $C = $this->{C};$this->out("");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");if ( $C->{Complete} ) {$this->out("	<div style=\"color: blue\">Your profile has been updated</div><br>\n");}$this->out("\n<style type=\"text/css\">\n.row\n{\n	margin: 10px 0px 10px 0px;\n}\n\n.cellLeft\n{\n	display: table-cell;\n	width: 160px;\n	text-align: left;\n	font-weight: bold;\n}\n\n.cellRight\n{\n	display: table-cell;\n	text-align: left;\n	width: 350px;\n}\n</style>\n\n<form method=post>\n\n<div class=\"row\"><span class=\"cellLeft\"></span><span class=\"cellRight\"></span></div>\n<div class=\"row\">\n	<span class=\"cellLeft\"><nobr>Your e-mail&nbsp;</nobr></span>\n	<span class=\"cellRight\">\n		<b>$C->{UserObj}{email}</b><input type=\"hidden\" name=\"email\" value=\"$C->{UserObj}{email}\">\n	</span>\n</div>\n<div class=\"row\">\n	<span class=\"cellLeft\"><nobr>Password&nbsp;</nobr></span>\n	<span class=\"cellRight\">$C->{Form}{passwd}</span>\n</div>\n<div class=\"row\">\n	<span class=\"cellLeft\"><nobr>First name&nbsp;</nobr></span>\n	<span class=\"cellRight\">$C->{Form}{fname}</span>\n</div>\n<div class=\"row\">\n	<span class=\"cellLeft\"><nobr>Last name&nbsp;</nobr></span>\n	<span class=\"cellRight\">$C->{Form}{lname}</span>\n</div>\n<div class=\"row\"><span class=\"cellLeft\"></span><span class=\"cellRight\"></span></div>\n<div class=\"row\">\n	<span class=\"cellLeft\"></span>\n	<span class=\"cellRight\">Address information</span>\n</div>\n<div class=\"row\">\n	<span class=\"cellLeft\"><nobr>Address&nbsp;</nobr></span>\n	<span class=\"cellRight\">$C->{Form}{address}</span>\n</div>\n<div class=\"row\">\n	<span class=\"cellLeft\"><nobr>City&nbsp;</nobr></span>\n	<span class=\"cellRight\">$C->{Form}{city}</span>\n</div>\n<div class=\"row\">\n	<span class=\"cellLeft\">State&nbsp;</span>\n	<span class=\"cellRight\">$C->{Form}{state}</span>\n</div>\n<div class=\"row\">\n	<span class=\"cellLeft\"><nobr>Zipcode&nbsp;</nobr></span>\n	<span class=\"cellRight\">$C->{Form}{zipcode}</span>\n</div>\n<div class=\"row\">\n	<span class=\"cellLeft\"><nobr>Country&nbsp;</nobr></span>\n	<span class=\"cellRight\">$C->{Form}{country}</span>\n</div>\n<div class=\"row\"><span class=\"cellLeft\"></span><span class=\"cellRight\"></span></div>\n<div class=\"row\">\n	<span class=\"cellLeft\"></span>\n	<span class=\"cellRight\">Payment information</span>\n</div>\n<div class=\"row\">\n	<span class=\"cellLeft\"><nobr>Paypal e-mail&nbsp;</nobr></span>\n	<span class=\"cellRight\">$C->{Form}{pg_paypal_email}</span>\n</div>\n<div class=\"row\">\n	<span class=\"cellLeft\"></span>\n	<span class=\"cellRight\"><input style=\"font-size: 85\%;\" type=submit tabIndex=4 name=do_it value=\"Update\"></span>\n</div>\n\n</form>\n");}