use strict;return sub{my $this = shift;my $C = $this->{C};$this->out("");if ( $C->{AuthError} ) {$this->out("<div>\n	<span style=\"display: table-cell; width: 100px\"></span>\n	<span style=\"display: table-cell; color: red\"><b>Authorization error</b><br><br></span>\n</div>\n");}$this->out("\n");if ( $C->{SaleError} ) {$this->out("<div>\n	<span style=\"display: table-cell; width: 100px\"></span>\n	<span style=\"display: table-cell; color: red\"><b>You will get full access after you purchase this product</b><br><br></span>\n</div>\n");}$this->out("\n<form name=LoginForm method=get>\n<input type=hidden name=page value=\"$C->{INPUT}{page}\">\n<input type=hidden name=page_ret value=\"$C->{INPUT}{page_ret}\">\n<div>\n	<span style=\"display: table-cell; width: 100px\"></span>\n	<span style=\"display: table-cell\"><b>Authorization</b><br><br></span>\n</div>\n<div>\n	<span style=\"display: table-cell; width: 100px\"><b>E-mail</b></span>\n	<span style=\"display: table-cell\"><input type=text tabIndex=1 size=20 name=login value=\"$C->{INPUT}{login}\"></span>\n</div>\n<div>\n	<span style=\"display: table-cell; width: 100px\"><b>Password</b></span>\n	<span style=\"display: table-cell\"><input type=password tabIndex=2 size=20 name=passwd></span>\n</div>\n<div>\n	<span style=\"display: table-cell; width: 100px\">&nbsp;</span>\n	<span style=\"display: table-cell\"><br><input type=submit tabIndex=3 name=do_login value=\"Log in\"></span>\n</div>\n</form>\n\n<br>\n\n<form name=RemindPasswdForm method=get>\n<input type=hidden name=page value=\"remindpasswd\">\n<div>\n	<span style=\"display: table-cell; width: 100px\"></span>\n	<span style=\"display: table-cell\"><b>Forgotten password?</b><br><br></span>\n</div>\n<div>\n	<span style=\"display: table-cell; width: 100px\"><b>E-mail</b></span>\n	<span style=\"display: table-cell\"><input type=text tabIndex=4 size=20 name=email></span>\n</div>\n<div>\n	<span style=\"display: table-cell; width: 100px\">&nbsp;</span>\n	<span style=\"display: table-cell\"><br><input type=submit tabIndex=5 name=do_it value=\"Send me my password!\"></span>\n</div>\n</form>\n\n<script>\n  document.LoginForm.login.focus();\n</script>\n\n");}