<!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>
<title><?php echo $cfg_webname; ?>- 会员登录</title>
<?php include(DEDEMEMBER."/templets/head_inc.htm"); ?>
</head>
<body>
<?php include(DEDEMEMBER."/templets/head.htm"); ?>
<div class="wrapper lineBorder" id="login">
  <div class="location">帐号登录</div>
  <div class="theme fLeft">
    <script type="text/javascript">
function changeAuthCode() {
	var num = 	new Date().getTime();
	var rand = Math.round(Math.random() * 10000);
	num = num + rand;
	if ($("#vdimgck")[0]) {
		$("#vdimgck")[0].src = "../include/vdimgck.php?tag=" + num;
	}
	return false;	
}
</script>
    <form name='form1' method='POST' action='index_do.php'>
      <input type="hidden" name="fmdo" value="login">
      <input type="hidden" name="dopost" value="login">
      <input type="hidden" name="gourl" value="<?php if(!empty($gourl)) echo $gourl;?>">
      <ul>
        <li><span>用户名：</span>
          <input name="userid" type="text" id="txtUsername" class="text" />
        </li>
        <li><span>密&nbsp;&nbsp;&nbsp;码：</span>
          <input name="pwd" type="password" id="txtPassword" class="text" />
        </li>
        <li><span>验证码：</span>
          <input name="vdcode" type="text" id="vdcode" style='width:50px;text-transform:uppercase;' class="text" />
          <img id="vdimgck" src="../include/vdimgck.php" alt="看不清？点击更换" align="absmiddle" style="cursor:pointer" onclick="this.src=this.src+'?'" /> 看不清？<a onclick="changeAuthCode();" href="#">点击更换</a></li>
        <li> <span>有效期：</span>
          <input type='radio' name='keeptime' value='2592000' />
          一个月
          <input type='radio' name='keeptime' value='604800' checked='checked' />
          一周
          <input type='radio' name='keeptime' value='86400' />
          一天
          <input type='radio' name='keeptime' value='0' />
          即时</li>
        <li><span>&nbsp;</span>
          <button class="button2" id="btnSignCheck" type="submit">登录</button>
        </li>
      </ul>
    </form>
  </div>
  <div class="useNew fLeft textCenter">
    <p class="signUp">
      <button class="button6 mTB10" onclick="location='index_do.php?fmdo=user&dopost=regnew'">注册一个新帐号</button>
    </p>
    <p class="mTB10"><a href="resetpassword.php">找回密码&gt;&gt;</a></p>
  </div>
  <div class="clear"></div>
</div>
<?php include(DEDEMEMBER."/templets/foot.htm"); ?>
</body>
</html>
