<!--#include file="Common/Inc_DatConn.asp"-->
<!--#include file="Common/Inc_Function.asp"-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><% =strSiteName%> - 会员注册</title>
<meta name="Keywords" content="重庆信息网" />
<meta name="Description" content="重庆信息网" />
<link href="imger/css.css" type="text/css" rel="stylesheet">
</head>
<body>
<!--#include file="head.asp"-->
<table width="778" border="0" align="center" cellpadding="0" cellspacing="10" bgcolor="f2f2f2">
  <tr>
    <td width="26%" valign="top"><table width="100%" border="0" cellpadding="9" cellspacing="1" bgcolor="#e6e6e6">
      <tr>
        <td bgcolor="#FFFFFF"><iframe name="login" width="172" height="110" src="common/inc_login.asp" scrolling="no" align="middle" border="0" frameborder="0" marginwidth="1" marginheight="1" target="_top">
				浏览器不支持嵌入式框架，或被配置为不显示嵌入式框架。</iframe></td>
      </tr>
    </table>
    </td>
    <td valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#e6e6e6">
      <tr>
        <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="10" cellpadding="0">
          <tr>
            <td height="24" background="imger/09.gif"><span class="STYLE6">≡</span> <span class="STYLE2"><b>您的位置：</b></span></td>
          </tr>
          <tr>
            <td><table cellSpacing="1" cellPadding="0" width="100%" bgColor="#a8d70c" border="0">
					<tr>
						<td bgColor="#ffffff">
<table cellSpacing="0" cellPadding="0" width="100%" bordercolordark="#FFFFFF" borderColorLight="#3986CE" border="0">
            <tbody>
              <tr>
               <td vAlign="top" width="100%" align="center">
<script language="javascript">
<!--
function IsDigit(){
  return ((event.keyCode >= 48) && (event.keyCode <= 57));
}
// -->
</script>
<script language="javascript"> 
			//检查email的合法性
			function checkemail(inputstr){
				if(inputstr.indexOf('@') != -1 && inputstr.indexOf('.')!= -1)
					return true;
				else 
			   		return false;	
			}
			//检验表单的合法性
			function FeedBack() {
				if  (document.RegUser.CompanyName.value == "") {
					alert("\请正确填写昵称！");
					document.RegUser.CompanyName.focus();
					return false;
				}
				if  (document.RegUser.RealName.value == "") {
					alert("\请正确填写姓名！");
					document.RegUser.RealName.focus();
					return false;
				}
				if (document.RegUser.Password.value == "") {
					alert("\密码不能为空！");
					document.RegUser.Password.focus();
					return false;
				}
				if ((document.RegUser.Password.value).length<4) {
					alert("\密码至少4位！");
					document.RegUser.Password.focus();
					return false;
				}
				if (document.RegUser.PasswordTwo.value != document.RegUser.Password.value ) {
					alert("\两次输入的密码不相同！");
					document.RegUser.PasswordTwo.focus();
					return false;	
				}
				if (document.RegUser.Tel.value == "") {
					alert("\请正确填写联系电话！");
					document.RegUser.Tel.focus();
					return false;
				}
				if (document.RegUser.Email.value == "") {
					alert("\E-Mail 不能为空！");
					document.RegUser.Email.focus();
					return false;
				}
				if (document.RegUser.Email.value == "" || !checkemail(document.RegUser.Email.value)) {
					alert("\E-Mail 填写错误！");
					document.RegUser.Email.focus();
					return false;
				}
				if (document.RegUser.Add.value == "") {
					alert("\请正确填写联系地址！");
					document.RegUser.Add.focus();
					return false;
				}
			    return true;
			}
			</script>
<table border="0" width="99%" cellspacing="1" cellpadding="5">
          <form method="post" action="Register_save.asp" name="RegUser" OnSubmit="return FeedBack()">
          <input type="hidden" name="Member" value="<% = Session("strMembers")%>">
          <input type="hidden" name="sip" value="<% = GetIp()%>">  
          <input type="hidden" name="sMemberType" value="1">
          <input type="hidden" name="mb" value="1">   
            <tr>
              <td width="20%" height="25" bgcolor="#f1f1f1" align="right">帐&nbsp;&nbsp;&nbsp; 
                号：</td>
              <td width="80%" height="25" bgcolor="f9f9f9">&nbsp;<font color="#FF0000">
                <% = Session("strMembers")%></font></td>
            </tr>
            <tr>
              <td height="25" bgcolor="#f1f1f1" align="right">会员类型：</td>
              <td height="25" bgcolor="f9f9f9">&nbsp;个人会员</td>
            </tr>
            <tr>
              <td height="25" bgcolor="#f1f1f1" align="right">昵　　称：</td>
              <td height="25" bgcolor="f9f9f9">&nbsp;
                <input type="text" name="CompanyName" class="face" maxlength="100" size="40">&nbsp;<font color="#FF0000">**</font></td>
            </tr>
            <tr>
              <td height="25" bgcolor="#f1f1f1" align="right">真实姓名：</td>
              <td height="25" bgcolor="f9f9f9">&nbsp;
                <input type="text" name="RealName" class="face" maxlength="30">&nbsp;<font color="#FF0000">**</font></td>
            </tr>
            <tr>
              <td height="25" bgcolor="#f1f1f1" align="right">密&nbsp;&nbsp;&nbsp; 
                码：</td>
              <td height="25" bgcolor="f9f9f9">&nbsp;
                <input type="password" name="Password" class="face" maxlength="16">&nbsp;<font color="#FF0000">**</font>&nbsp;[至少4位，最长16位]</td>
            </tr>
            <tr>
              <td height="25" bgcolor="#f1f1f1" align="right">密码确认：</td>
              <td height="25" bgcolor="f9f9f9">&nbsp;
                <input type="password" name="PasswordTwo" class="face" maxlength="16">&nbsp;<font color="#FF0000">**</font></td>
            </tr>
            <tr>
              <td height="25" bgcolor="#f1f1f1" align="right">腾讯QQ：</td>
              <td height="25" bgcolor="f9f9f9">&nbsp;
                <input type="text" name="qq" class="face" ONKEYPRESS="event.returnValue=IsDigit();"></td>
            </tr>
            <tr>
              <td height="25" bgcolor="#f1f1f1" align="right">电&nbsp;&nbsp;&nbsp; 
                话：</td>
              <td height="25" bgcolor="f9f9f9">&nbsp;
                <input type="text" name="Tel" class="face" maxlength="13">&nbsp;<font color="#FF0000">**</font></td>
            </tr>
            <tr>
              <td height="25" bgcolor="#f1f1f1" align="right">传&nbsp;&nbsp;&nbsp; 
                真：</td>
              <td height="25" bgcolor="f9f9f9">&nbsp;
                <input type="text" name="Fax" class="face" maxlength="13"></td>
            </tr>
            <tr>
              <td height="25" bgcolor="#f1f1f1" align="right">网&nbsp;&nbsp;&nbsp; 
                址：</td>
              <td height="25" bgcolor="f9f9f9">&nbsp;
                <input type="text" name="Homepage" class="face" maxlength="50"></td>
            </tr>
            <tr>
              <td height="25" bgcolor="#f1f1f1" align="right">电子邮件：</td>
              <td height="25" bgcolor="f9f9f9">&nbsp;
                <input type="text" name="Email" class="face" maxlength="30">&nbsp;<font color="#FF0000">**</font>&nbsp;[请认真填写，找回密码将用到]</td>
            </tr>
            <tr>
              <td height="25" bgcolor="#f1f1f1" align="right">联系地址：</td>
              <td height="25" bgcolor="f9f9f9">&nbsp;
                <input type="text" name="Add" size="40" class="face" maxlength="50">&nbsp;<font color="#FF0000">**</font></td>
            </tr>
            <tr>
              <td height="25" bgcolor="#f1f1f1" align="right">邮政编码：</td>
              <td height="25" bgcolor="f9f9f9">&nbsp;
                <input type="text" name="Postalcode" class="face" maxlength="6" ONKEYPRESS="event.returnValue=IsDigit();"></td>
            </tr>
            <tr>
              <td height="30" bgcolor="#f1f1f1" align="right" valign="top">公 告 
				板：</td>
              <td height="30" bgcolor="f9f9f9">&nbsp;<textarea class="face" rows="7" name="gg" cols="50"></textarea></td>
            </tr>
            <tr>
              <td height="30" bgcolor="#f1f1f1" align="right" valign="top"><br>
				简介：</td>
              <td height="30" bgcolor="f9f9f9">&nbsp;<textarea class="face" rows="10" name="js" cols="50"></textarea></td>
            </tr>

            <tr>
              <td height="30" bgcolor="#f1f1f1" align="right"></td>
              <td height="30" bgcolor="f9f9f9">&nbsp;
                <input type="submit" name="Submit" value="完成注册" class="button">&nbsp;&nbsp;&nbsp;<input type="reset" name="Reset" value="重新填写" class="button"></td>
            </tr>
          </form>
          </table>
               </td>
              </tr>
            </tbody>
            </table>
</td>
</tr>
</table></td>
          </tr>
        </table></td>
      </tr>
    </table>      </td>
  </tr>
</table>
<!--#include file="boot.asp"-->
</body>
</html>
