<!--#include file="include/conn.asp"-->
<!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>会员注册</title>
<meta name="keywords" content="会员注册-Powered By angelasp.com" />
<meta name="description" content="会员注册-Powered By angelasp.com" />
<link type="text/css" href="css/css.css" rel="stylesheet"/>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/thickbox_plus.js"></script>
<link rel="stylesheet" type="text/css" href="css/thickbox.css"/>
</head>
<body>
<div class="bodycontent">
<!--#include file="head.asp"-->
<script language="javascript" type="text/javascript">
function checkuser(){
var username=userreg.username.value;
var password=userreg.password.value;
var relpassword=userreg.relpassword.value;
if(username=="")
{
alert("用户姓名不能为空");
return false;
}
if(password=="")
{
alert("密码不能为空");
return false;
}

if(password!=relpassword)
{
alert("你重复输入的密码不一致");
return false;
}
return true;
}

</script>


<div  style="margin:10px auto; width:800px; font:Arial, Helvetica, sans-serif; font-size:12px;">
<form method="post" name="userreg" id="userreg" action="usersave.asp?action=reg">
<div style="width:500px;height:auto;margin:0px auto;clear:both;">
 <div id="loginbox">
      <div class="userreglist" style="height:30px">
                <div class="bfont">用户姓名:</div>
                <div style="width:120px;float:left;"><input class="txtbox" type="text" name="username" /></div>
          </div>

            <div class="userreglist" style="height:30px">
                <div class="bfont">用户密码:</div>
                <div style="width:120px;float:left;"><input class="txtbox" type="password" name="password" /></div>
            </div>


            <div class="userreglist" style="height:30px">
                <div class="bfont">重复密码:</div>
                <div style="width:120px;float:left;"><input class="txtbox" type="password" name="relpassword" /></div>
            </div>


<div class="userreglist" style="height:30px">
<div class="bfont">验证码:</div>
<div style="width:180px;float:left;">
<input type="text" name="book_code" class="txtbox">
</div>
<div style="width:120px;float:left;margin:0px;padding;0px">
<img src="include/code.asp" width="38" height="17" style="display:block;border:0;width:65px;height:17px;background-color:#000000;color:#fff;" onclick="this.src='include/code.asp?key='+Math.random()"/>
</div>
</div>
</div>




<div class="userreglist">
<input type="submit" name="send" class="sumbit" value="确认注册" onclick="return checkuser();" /> 
<input type="reset" class="sumbit" value="重新填写" />
</div>


</div>

</form>
</div>
 <!--#include file="foot.asp"-->
 <!--#include file="couter.asp"-->
</div>

</body>
</html>
