<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<title><?=$page_title?></title>
<link rel="shortcut icon" href="<?=$mymps_global[SiteUrl]?>/favicon.ico" />
<link rel="stylesheet" href="<?=$mymps_global[SiteUrl]?>/template/default/css/global.css" />
<link rel="stylesheet" href="<?=$mymps_global[SiteUrl]?>/template/default/css/style.css" />
<? if($mymps_global[bodybg] == 1){?><link rel="stylesheet" href="<?=$mymps_global[SiteUrl]?>/template/default/css/bodybg.css" /><? }?>
<link rel="stylesheet" href="<?=$mymps_global[SiteUrl]?>/template/default/css/login.css" />
<script src="<?=$mymps_global[SiteUrl]?>/template/global/noerr.js" type="text/javascript"></script>
<script language="javascript" src="<?=$mymps_global[SiteUrl]?>/template/default/js/login.js"></script>
</head>

<body class="<?=$mymps_global[cfg_tpl_dir]?>">
<? include mymps_tpl('inc_head_log');?>
<div class="clearfix"></div>
<div class="inner">
	<div class="body">
		<div class="log">
			<form name="formLogin" method="post" action="<?=$mymps_global[cfg_member_logfile]?>" onSubmit="return submitForm();">
			<input name="mod" type="hidden" value="login">
			<input name="action" type="hidden" value="dopost">
			<input name="url" type="hidden" value="<?=$url?>">
			<table class="formlogin" cellpadding="0" cellspacing="0">
			<tr>
			<td class="tdright">帐号/邮箱/手机</td>
			<td colspan="2">
			<input name="userid" type="text" class="input input-large" placeholder="帐号/邮箱/手机"/></td>
			</tr>
			<tr>
			<td class="tdright">登录密码</td>
			<td colspan="2"><input name="userpwd" type="password" class="input input-large" placeholder="密码"/></td>
			</tr>
			<? if($mymps_imgcode == 1){?>
			<tr>
			<td class="tdright">验证码</td>
			<td colspan="2"><input type="text" name="checkcode" class="input input-small" placeholder="验证码"> <img src="<?=$mymps_global[SiteUrl]?>/<?=$mymps_global[cfg_authcodefile]?>" alt="看不清，请点击刷新" class="authcode" align="absmiddle" onClick="this.src=this.src+'?'"/>			</td>
			</tr>
			<? }?>
			<tr>
			<td>&nbsp;</td>
			<td class="font12">&nbsp;<label for="remember"><input id="remember" name="memory" value="on" type="checkbox" class="checkbox" checked="checked"/> 下次自动登录</label></td>
			<td class="font12right"><a href="?mod=forgetpass">忘记密码？</a>&nbsp;&nbsp;&nbsp;&nbsp;</td>
			</tr>
			<tr>
			<td class="tdright"></td>
			<td align="left" colspan="2">
<input type="submit" name="log_submit"  class="typebtn" value="立即登录"/>
</td>
			</tr>
			<? if($mymps_global[iflogin] == 1){?>
			<tr>
			<td class="tdright qqlogin" style="height:60px"></td>
			<td colspan="2" class="qqlogin"><br />
			您也可以通过以下方式登录：
			<br /><br />
			<a href="<?=$mymps_global[SiteUrl]?>/include/qqlogin/qq_login.php"><img src="/include/qqlogin/qq_login.png" align="absmiddle"></a>
			</td>
			</tr>
			<? }?>
			</table>
			</form>
		</div>
		<div class="reg">
			<div class="cont">
				<div class="font">还没有帐号？</div>
				<div class="register_submit">
					<a href="?mod=register&cityid=<?=$city[cityid]?>" class="registerbutton">注册帐号</a>
				</div>
			</div>
		</div>
	</div>
	<div class="clear"></div>
	<? include mymps_tpl('inc_foot_about');?>
</div>

</body>
</html>
