<!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=<?php echo $cfg_soft_lang; ?>" />
<title><?php echo $cfg_webname; ?>- 会员登录</title>
<link href="<?php echo $cfg_cmspath; ?>/statics/css/index.css" rel="stylesheet" type="text/css" />
<link href="templets/style/login.css" rel="stylesheet" type="text/css" />
<script src="templets/js/j.js" language="javascript" type="text/javascript"></script>
<script type="text/javascript">
function changeAuthCode() {
	var num = 	new Date().getTime();
	var rand = Math.round(Math.random() * 10000);
	num = num + rand;
	$('#ver_code').css('visibility','visible');
	if ($("#vdimgck")[0]) {
		$("#vdimgck")[0].src = "../include/vdimgck.php?tag=" + num;
	}
	return false;
}

</script>
</head>
<body>
<?php
   alltemp("header_member.htm");
?>
<div id="login" class="bor">
  <div class="fLeft">
    <h1>会员登录</h1>
    <div class="theme"><form name='form1' method='POST' action='join.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 id="txtUsername" class="intxt login_from" type="text" name="userid"/>
        </li>
        <li> <span>密&nbsp;&nbsp;&nbsp;码：</span>
          <input id="txtPassword" class="intxt login_from2" type="password" name="pwd"/>
        </li>
                  <?php
            if(preg_match("/2/",$safe_gdopen)){
          ?>
          <li><span>验证码：</span>
            <input type="text" class="intxt w200" style="width: 50px; text-transform: uppercase;" id="vdcode" name="vdcode"/><img id="vdimgck" align="absmiddle" onclick="this.src=this.src+'?'" style="cursor: pointer;" alt="看不清？点击更换" src="../include/vdimgck.php"/>
           看不清？ <a href="javascript:void(0)" onclick="changeAuthCode();">点击更换</a></li>
           <?php }?>
        <li> <span>有效期：</span>
          <input type="radio" value="2592000" name="keeptime" id="ra1"/>
          <label for="ra1">一个月</label>
          <input type="radio" checked="checked" value="604800" name="keeptime" id="ra2"/>
          <label for="ra2">一周</label>
          <input type="radio" value="86400" name="keeptime"  id="ra3"/>
          <label for="ra3">一天</label>
          <input type="radio" value="0" name="keeptime"  id="ra4"/>
          <label for="ra4">即时</label></li>
        <li>
          <button id="btnSignCheck" class="btn" type="submit">登&nbsp;录</button>
          <a class="repass" href="getpassword.php">忘记密码？</a> </li>
      </ul>
    </form>
    </div>
  </div>
  <div class="fRight">
  <div class="rst_login">
            <span>还没有注册吗？</span>
            <a class="regbt" href="reg.php" rel="nofollow"></a>
        </div>
 
  </div>
<br class="clear"/>  
</div>
<?php
   alltemp("footer.htm");
?>
</body>
</html>
