<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RegEnterprise.aspx.cs" Inherits="TotCms.Web.RegEnterprise" %>

<!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 id="Head1" runat="server">
    <title>注册企业会员</title>
    <link href="/style/global.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/js/commen.js"></script>
    <script src="js/jquery-1.4.2.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="/js/reg.js"></script>
    <script type="text/javascript" src="/js/areas.js"></script>
    <script type="text/javascript" src="/js/industry.js"></script>
</head>
<body>
<div class="container">
    <%
      Response.WriteFile("Template/head.htm");    
    %>
 <form id="RegForm" name="RegForm" method="post" action="?act=do&gourl=<%=Server.UrlEncode(gourl)%>" onsubmit="return check(this)">
  <div class="br"></div>
  <table width="960" align="center" cellpadding="0" cellspacing="0" class="brd">
    <tr>
      <th colspan="2" class="th">注册企业会员</th>
    </tr>
    <tr>
      <td height="22" colspan="2" bgcolor="#FFFFFF" class="padleft5">★请仔细填写下面注册信息</td>
    </tr>
    <tr>
      <td width="46%" bgcolor="#FFFFFF" class="padleft5"><strong>用户名</strong>：<br />
        注册用户名长度限制为2－20字符</td>
      <td width="54%" bgcolor="#FFFFFF" class="padleft5"><input name="UserName" id="UserName" size="30" maxlength="20" onblur="checkUser(this)" />
        (<span class="style3">*</span>)<span id="userMsg"></span></td>
    </tr>     
    <tr>
      <td width="46%" bgcolor="#FFFFFF" class="padleft5"><strong>帐号密码(至少4位)</strong>：<br />
        请输入密码，区分大小写。<br />
        请不要使用任何类似   '*'、' ' 或 HTML 字符</td>
      <td width="54%" bgcolor="#FFFFFF" class="padleft5"><input name="PassWord" type="password" id="PassWord" value="" size="30" maxlength="16" />
      (<span class="style3">*</span>)</td>
    </tr>
    <tr>
      <td width="46%" bgcolor="#FFFFFF" class="padleft5"><strong>确认密码(至少4位)</strong>：<br />
        请再输一遍确认</td>
      <td bgcolor="#FFFFFF" class="padleft5"><input name="RePassWord" type="password" id="RePassWord" value="" size="30" maxlength="16" />
      (<span class="style3">*</span>)</td>
    </tr>
    <tr>
      <td bgcolor="#FFFFFF" class="padleft5"><strong>密码问题</strong>：<br />
        忘记密码的提示问题</td>
      <td bgcolor="#FFFFFF" class="padleft5"><input name="ForAsk" id="ForAsk" size="30" /></td>
    </tr>
    <tr>
      <td bgcolor="#FFFFFF" class="padleft5"><strong>问题答案</strong>：<br />
        忘记密码的提示问题答案，用于取回密码</td>
      <td bgcolor="#FFFFFF" class="padleft5"><input name="ForAnswer" id="ForAnswer" size="30" /></td>
    </tr>
    <tr>
      <td bgcolor="#FFFFFF" class="padleft5"><strong>Email地址</strong>：<br />
        请输入有效的邮件地址</td>
      <td bgcolor="#FFFFFF" class="padleft5"><input name="Email" id="Email" size="30" maxlength="50" onblur="checkEmailExits(this)" />          
      (<span class="style3">*</span>)
	  <span id="emailMsg"></span></td>
    </tr>
	<tr>
      <td width="46%" bgcolor="#FFFFFF" class="padleft5"><strong>请输入验证码</strong>：</td>
    <td width="54%" bgcolor="#FFFFFF" class="padleft5">
          <input size="5" name="CheckCode" />          
          <img alt="" src="/CaptchaImage.aspx" onClick="this.src='/CaptchaImage.aspx?time='+Math.random()"; />
          (<span class="style3">*</span>)</td>
    </tr>
	<tr>
      <td width="46%" bgcolor="#FFFFFF" class="padleft5">企业名称：</td>
    <td width="54%" bgcolor="#FFFFFF" class="padleft5">
          <input id="ComName" type="text" /></td>
    </tr>
	<tr>
      <td width="46%" bgcolor="#FFFFFF" class="padleft5">企业性质：</td>
    <td width="54%" bgcolor="#FFFFFF" class="padleft5">
     <select name="ComType" id="ComType">
      <option value="个体经营">个体经营</option>
      <option value="企业单位" selected="selected">企业单位</option>
      <option value="事业单位或社会团体">事业单位或社会团体</option>
     </select>
    </td>
    </tr>
	<tr>
      <td width="46%" bgcolor="#FFFFFF" class="padleft5">选择行业：</td>
    <td width="54%" bgcolor="#FFFFFF" class="padleft5">
    <select name="ParentId" id="ParentId" onchange="GetIndustryChilds(this.options[this.selectedIndex].value,0,'IndustryId')">
        <option value="0">一级行业分类</option>
        <script>document.write(GetIndustryFirst(0,''));</script>
      </select>
      <select name="IndustryId" id="IndustryId">
        <option value="0">二级行业分类</option>
      </select>
    </td>
    </tr>
	<tr>
      <td width="46%" bgcolor="#FFFFFF" class="padleft5">地区：</td>
    <td width="54%" bgcolor="#FFFFFF" class="padleft5">
     <select name="Province" id="Province" onchange="GetAreaChilds(this.options[this.selectedIndex].value,0,'City')">
        <option value="0">选择城市</option>
        <script>document.write(GetAreaFirst(0,''));</script>
      </select>
      <select name="City" id="City">
        <option value="0">选择地区</option>
      </select>	
      </td>
    </tr>
	<tr>
      <td width="46%" bgcolor="#FFFFFF" class="padleft5">联系人：</td>
    <td width="54%" bgcolor="#FFFFFF" class="padleft5">
          <input id="ContactMan" type="text" name="ContactMan" /></td>
    </tr>
	<tr>
      <td width="46%" bgcolor="#FFFFFF" class="padleft5">联系电话：</td>
    <td width="54%" bgcolor="#FFFFFF" class="padleft5">
          <input id="Tel" type="text" name="Tel" /></td>
    </tr>
    <tr>
      <td colspan="2" bgcolor="#FFFFFF" class="row4"><div align="center">
        <input type="submit" name="Submit" value="注 册" />
        <input type="reset" name="Submit2" value="重 写" />
      </div></td>
    </tr>
  </table>
</form>
    <% Response.WriteFile("Template/root.htm"); %>
</div>
</body>
</html>
