<!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=utf-8" />
<link href="../css/css.css" type="text/css" rel="stylesheet" />
<title>{web_sitetitle}</title>
</head>

<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<script LANGUAGE="javascript">
<!--
function checkspace(checkstr) {
  var str = '';
  for(i = 0; i < checkstr.length; i++) {
    str = str + ' ';
  }
  return (str == checkstr);
}
function check()
{
  if(checkspace(document.myform.userid.value)) {
	document.myform.userid.focus();
    alert("用户名不能为空！");
	return false;
  }
  if(checkspace(document.myform.userpassword.value)) {
	document.myform.userpassword.focus();
    alert("密码不能为空！");
	return false;
  }

	document.myform.submit();
  }
//-->
</script>  

<table width="235" border="0" style="{web_style}">
  <tr>
    <td width="229" height="143" valign="top" background="../skin/web_skin1/top_back.gif"><table width="207" height="141"  border="0" align="center" cellpadding="0" cellspacing="0">
      <tbody>
      </tbody>
      <form action="../checklogin.asp" method="post" name="myform" target="_parent" id="myform">
        <tr>
          <td width="110" height="29" ></td>
          <td width="88" height="29" ></td>
        </tr>
        <tr >
          <td height="112" colspan="2" style="PADDING-LEFT: 10px">用户名：
              <input class="input" id="userid" maxlength="18" size="15" name="userid" style="height:15px"/>
              <br />
            密　码：
            <input class="input" id="userpassword" type="password" maxlength="18" size="15" value="" style="height:15px" name="userpassword">
            <br />验证码：
                    <input name="passcode" type="text" class="input" id="passcode" size="4" maxlength="4" style="height:15px">
                    <script type="text/javascript">document.write("<img align='absmiddle' height='25'  width='65' src='{setpath}Inc/VerifyCode.asp?",Math.random(),"' style='cursor:pointer;' alt='请输入图片验证码' onClick=\"this.src='{setpath}inc/VerifyCode.asp'\">")</script>
           <br />
            &nbsp;&nbsp;<input type="button" value="注册" name="Submit" onclick="top.location.href='{setpath}register.asp'"/>
            <input type="submit" value="登录" name="Submit2"   onclick="return check();"/>
            <input type="button" value="忘密" name="Submit3"  onclick="top.location.href='{setpath}getpassword.asp'"/></td>
        </tr>
      </form>
      
    </table></td>
  </tr>
</table>

  <table width="235" border="0"  style="{web_style1}">
    <tr>
      <td width="229" height="143" valign="top" background="{setpath}skin/web_skin1/top_back.gif"><table width="207" height="141"  border="0" align="center" cellpadding="0" cellspacing="0">
          <tbody>
          </tbody>
          <form action="{setpath}checkuser.asp" method="post" name="myform" target="_parent" id="myform">
            <tr>
              <td width="110" height="29" ></td>
              <td width="88" height="29" ></td>
            </tr>
            <tr >
              <td height="112" colspan="2" style="PADDING-LEFT: 10px"><table cellspacing="0" cellpadding="0" width="90%" border="0">
                <tr>
                  <td height="20" align="center">&nbsp;</td>
                </tr>
                <tr>
                  <td height="20" align="center">欢迎{web_username}的访问</td>
                </tr>
                <tr>
                  <td height="30" align="center"><a href="{setpath}member/index.asp" target="_blank">进入会员中心</a></td>
                </tr>
                <tr>
                  <td height="30" align="center"><a href="{setpath}member/logout.asp">安全退出</a></td>
                </tr>
              </table></td>
            </tr>
          </form>
      </table></td>
    </tr>
  </table>
  <p>&nbsp;</p>
  </body>
</html>
