<!--#include file="conn.asp" -->
<!--#include file="Function.asp"-->
<%
strCurrMenu="⑨menuid⑨"
%>
<html>
<head>
<title>企业智能建站-最简单的建站平台</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="common/style.css" type="text/css">
	
<script language="JavaScript">

function CheckIfEnglish( String ){ 
	var Letters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890_";
	var i;
	var c;
	if(String.length>30) return false;
	for( i=0; i<String.length; i++ ) {
		c = String.charAt( i );
		if( Letters.indexOf( c ) < 0 ) return false;
	}
	return true;
}

function checkReg(theform) {
	if(theform.name.value == "") {
		alert("请输入一个用户名。");
		theform.name.focus();
		return false;
	}
	if(theform.password.value == "") {
		alert("请输入一个密码。");
		theform.password.focus();
		return false;
	}
	if(theform.confirmPwd.value == "") {
		alert("请输入一个验证密码。");
		theform.confirmPwd.focus();
		return false;
	}

	if(theform.confirmPwd.value != theform.password.value) {
		alert("您输入的验证密码和密码不一致，请重输。");
		theform.confirmPwd.focus();
		return false;
	}

	if(theform.ComName.value == "") {
		alert("请输入您单位的名称。");
		theform.ComName.focus();
		return false;
	}

	if( !CheckIfEnglish(theform.name.value ) ) {
		alert("用户名只能是英文、数字和下划线并且少于 30 个字符！");
		theform.name.focus();
		return false;
	}

	return true;
}
</SCRIPT>
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" BodyBegin>
<!--#include file="top.asp"-->
<table width="778" border="0" align="center" cellspacing="0" cellpadding="0" height="10">
  <tr> 
    <td bgcolor="#E3E3E3" height="10"> </td>
  </tr>
</table>
<table width="778" border="0" align="center" cellspacing="0" cellpadding="0" height="6">
  <tr> 
    <td height="6"> </td>
  </tr>
</table>
<table width="778" border="0" align="center" cellspacing="0" cellpadding="0" height="10">
  <tr> 
    <td height="116" width="200" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td background="images/config3.gif" height="22">&nbsp;&nbsp;会员登陆</td>
        </tr>
        <tr> 
          <td background="images/config.gif" height="74"> <table width="100%" border="0" align="center" cellspacing="0" cellpadding="0" height="6">
              <tr> 
                <td height="10"> </td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="5">
              <%
			'strSQL="Select m_adminserver From member Where id=" & WebUserID
			'Set rsAdmin=Server.CreateObject("ADODB.RecordSet")
			'rsAdmin.open strSQL,sqlconn,1,1
			'strAdminServer=Trim(rsAdmin("m_adminserver"))
			'rsAdmin.close
			'Set rsAdmin=nothing
			'if strAdminServer="" or isnull(strAdminServer) then 
			strAdminServer=WebServer
			%>
              <form method="post" name="reg" action="<%=strAdminServer%>/ChkLogin.asp" onSubmit="return submitchecken(this)">
                <tr>
                  <td rowspan="3" width="15"></td>
                  <td height="40" width="27%">用户名:</td>
                  <td height="40" width="64%"><input name="name2" type="text" id="name2" size="13">
                  </td>
                </tr>
                <tr>
                  <td height="20" width="27%">密&nbsp;&nbsp;码:</td>
                  <td height="20" width="64%"><input name="password2" type="password" id="password2" size="13">
                  </td>
                </tr>
                <tr>
                  <td>验证码:</td>
                  <td><input name="validate" type="text" id="validate" size=10>
                      <%Call GetSafeCode%></td>
                </tr>
                <tr>
                  <td height="20" colspan="3"><div align="center">
                      <input name="imageField" type="image" src="images/login_but.gif" width="68" height="24" border="0">
                    &nbsp; <a href="register.asp"><img src="images/zc.gif" width="61" height="24" border="0"></a></div></td>
                </tr>
              </form>
            </table></td>
        </tr>
        <tr> 
          <td background="images/config.gif"><img src="images/config1.gif" width="200" height="8"></td>
        </tr>
      </table>
      <table width="100%" border="0" align="center" cellspacing="0" cellpadding="0" height="3">
        <tr> 
          <td height="3"> </td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
        <tr> 
          <td background="images/config3.gif" height="22"> &nbsp;&nbsp;其它栏目</td>
        </tr>
        <tr> 
          <td background="images/config.gif" height="100%" valign="top">&nbsp; </td>
        </tr>
        <tr> 
          <td background="images/config.gif"><img src="images/config1.gif" width="200" height="8"></td>
        </tr>
      </table>
    </td>
    <td height="116" width="5"></td>
    <td height="116" width="573" valign="top"> 
      <table width="100%" border="0" align="center" cellspacing="1" cellpadding="6" height="133" bgcolor="#CCCCCC">
        <tr> 
          <td height="10" bgcolor="#FFFFFF" valign="top">
            <table width="100%" border="0" cellspacing="0" cellpadding="8" align="center">
              <tr> 
                <td valign="top" height="36"><img src="images/ty.gif" width="545" height="39"></td>
              </tr>
              <tr>
                <td height="45"><strong>新用户注册：</strong></td>
              </tr>
              <tr> 
                <td height="300" valign="top">
                <form action="<%=strAdminServer%>/RegUser.asp?f=1&c=1&js=1&cp=1" method="post" name="register" id="register" onSubmit="return checkReg(this)">
                    <table width="100%" border="0"  align=center cellpadding="1" cellspacing="1">
                      <tr> 
                        <td height="60" colspan="2">&nbsp;&nbsp;&nbsp;&nbsp;请注意您注册即为遵守我们的协议，<a href="protocol.asp" target="_blank"><font color="#006699"><strong>点击阅读注册协议</strong></font></a>
                          <input name="AgentName" type="hidden" id="AgentName" value="<%=WebUserName%>"></td>
                      </tr>
                      <tr> 
                        <td width=27% height="30" align=right bgcolor="#F5F5F5"><font color=#FF0000>*</font>用户账号：</td>
                        <td width=73% height="30" bgcolor="#F5F5F5"> 
                          <input name="name" type=text class=Input_line id="name" value="" size=30 maxlength="30"> 
                          <span class=gray>::<span class=Vgray>≤30</span> 个英文或数字</span></td>
                      </tr>
                      <tr> 
                        <td width=27% height="30" align=right><font color=#FF0000>*</font>单位名称：</td>
                        <td width=73% height="30"> 
                          <input type=text name="ComName" value="" size=30> 
                          <span class=gray>::<span class=Vgray>≤100</span> 个字符</span></td>
                      </tr>
                      <tr> 
                        <td height="30" align=right bgcolor="#F5F5F5"><font color=#FF0000>*</font>密 
                          &nbsp;码：</td>
                        <td height="30" bgcolor="#F5F5F5"> 
                          <input name="password" type="password" id="password" value="" size=30> 
                          <span class=gray>::<span class=Vgray>≤20</span> 个字符，前后不允许有空格 
                          </span></td>
                      </tr>
                      <tr> 
                        <td height="30" align=right><font color=#FF0000>*</font>验证密码：</td>
                        <td height="30"> 
                          <input type="password" name="confirmPwd" size=30></td>
                      </tr>
                      <tr> 
                        <td height="30" align=right bgcolor="#F5F5F5"><font color=#FF0000>*</font><font face=verdana>e-mail</font>：</td>
                        <td height="30" bgcolor="#F5F5F5"> 
                          <input type=text name="email" value="" size=30></td>
                      </tr>
                      <tr> 
                        <td height="30" align=right>联系电话：</td>
                        <td height="30"> 
                          <INPUT type=text name="tel" value="" size=30></td>
                      </tr>
                      <tr> 
                        <td height="30" align=right bgcolor="#F5F5F5">OICQ号码：</td>
                        <td height="30" bgcolor="#F5F5F5"> 
                          <INPUT type=text name="oicq" value="" size=30></td>
                      </tr>
                      <tr> 
                        <td colspan=2 align=center height=90> <input type="submit" name="Submit" value="注 册&gt;&gt;"> 
                          <input type="reset" name="reset" value="重 填"> </td>
                      </tr>
                  </table>
                 </form>
				  </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table width="778" border="0" align="center" cellspacing="0" cellpadding="0" height="6">
  <tr> 
    <td height="6"> </td>
  </tr>
</table>
<table width="778" border="0" align="center" cellspacing="0" cellpadding="0" height="60" background="images/bg3.gif">
  <tr> 
    <td height="6">
      <div align="center"><font color="#FFFFFF">公司地址：郑州市经三路与农业路枣庄20#<br>电话：14837153091 E-Mail:hn22@163.com<br>Copyright&copy;2006-2007 河南数据 All Rights Reserved.<br><br>
        <script language="JavaScript" src="admin/count/counter.asp"></script></font></div>
    </td>
  </tr>
</table>
<script language="JavaScript" src="common/init.js"></script><br><script language=Javascript src="common/tranbig5.Js"></script>
</body>
</html>














