<!--#include virtual="/incs/config.asp"-->
<% chk_log()
conn.open constr
%>
<!--#include virtual="/incs/top.asp"-->
<table cellspacing=2 cellpadding=0 width="100%" border=0>
  <tr> 
    <td  colspan=2 valign="middle"> 
      <table class=line cellspacing=0 cellpadding=0 width="100%" 
                  border=0 align="center">
        <tbody> 
        <tr> 
          <td valign=bottom width="25%" height=20><font color="#000000" class=ddropshadow><b><span class=enbold><strong>会员<font color="#000000">列表<a href="index.asp"  class=commonface><font color="#FF0000">（查询）</font></a></font></strong></span></b></font></td>
          <td valign=bottom noWrap align=right 
                        width="75%"><a href="javascript:showurl('mem_add.asp');" class=commonface><font color="#FF0000"><b>添加新会员</b></font></a> 
            <font color="#000000">|</font> <a href="mem_lst.asp?querytype=16&qu1=-2" class=commonface><font color="#FF0000"><b>代理列表</b></font></a> 
            <font color="#000000">|</font> <a href="mem_lst.asp?querytype=12" class=commonface></a><a href="mem_lst.asp?querytype=12" class=commonface>今天新注册</a> 
            <font color="#000000">|</font> <a href="mem_lst.asp?querytype=13" class=commonface>本周新注册</a> 
            <font color="#000000">|</font> <a href="mem_lst.asp?querytype=14" class=commonface>本月新注册</a> 
            <font color="#000000">| </font><a href="mem_lst.asp?querytype=15" class=commonface>上月新注册</a></td>
        </tr>
        <tr> 
          <td align=middle width="100%" colspan=2 height=5></td>
        </tr>
        <tr> 
          <td align=middle width="100%" colspan=2 height=2 class=menuline></td>
        </tr>
        </tbody> 
      </table>
      <br>
    </td>
  </tr>
  <tr> 
    <td  colspan=2 valign="middle" height="28"> 
      <table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" class=datalist>
        <form action=mem_add_rez.asp method=post name=mem_add>
          <tr> 
            <th colspan="2" height="22" class=datalistheader > 
              <div align="center"><b>新增会员</b> </div>
            </th>
          </tr>
          <tr> 
            <td height="22" width="30%" class=datalistgrida > 
              <div align="center">会员名称：</div>
            </td>
            <td class=datalistgrida > 
              <input type="text" size=28  name="u_nme" value="<%=trim(SafeRequest("u_nme"))%>">
            </td>
          </tr>
		  <% if session("sysclass")>=5 then %>
          <tr> 
            <td height="22" width="30%" class=datalistgrida > 
              <div align="center">管理专员：</div>
            </td>
            <td class=datalistgrida > 
              <input type="text" size=28  name="u_rotnme" value="<%=trim(session("usrname"))%>">
            </td>
          </tr>
		  <% end if %>
          <tr> 
            <td height="22" width="25%" class=datalistgrida > 
              <div align="center">会员密码：</div>
            </td>
            <td class=datalistgrida > 
              <input type="text" size=28  name="u_pss" value="<%=trim(SafeRequest("u_pss"))%>">
              <input type="button" name="Submit" value="重置为12345678" style="font-size:12px;border:#666666 1px double" onclick="javascript:mem_add.u_pss.value='12345678';">
		  <% if session("sysclass")<5 then %>
               <input type="text" size=28  name="u_rotnme" value="<%=trim(session("usrname"))%>">
 		  <% end if %>
            </td>
          </tr>
          <tr> 
            <td height="22" width="25%" class=datalistgrida > 
              <div align="center">公司名称：</div>
            </td>
            <td class=datalistgrida > 
              <input type="text" size=28  name="u_copnme_cn" value="<%=trim(SafeRequest("u_copnme_cn"))%>">
            </td>
          </tr>
          <tr> 
            <td height="22" width="25%" class=datalistgrida > 
              <div align="center">联系人：</div>
            </td>
            <td class=datalistgrida > 
              <input type="text" size=28  name="u_ctt_cn" value="<%=trim(SafeRequest("u_ctt_cn"))%>">
            </td>
          </tr>
          <tr> 
            <td height="22" class=datalistgrida > 
              <div align="center">省份：</div>
            </td>
            <td class=datalistgrida > 
			  <select name="u_prv_cn">
			  <% query="select * from myarea order by a_tagid"
			  rs.open query,conn,1,1
			  while not rs.eof 
			  response.write "<option "
			  if  trim(SafeRequest("u_prv_cn")=trim(rs("a_nme"))) then
			  response.write " selected "
			  end if
			  response.write " >"
			  response.write rs("a_nme")
			  response.write "</option>"
			  rs.movenext
			  wend
			  rs.close
			  %>
			  </select>
            </td>
          </tr>
          <tr> 
            <td height="22" class=datalistgrida > 
              <div align="center">联系地址：</div>
            </td>
            <td class=datalistgrida > 
              <input type="text" size=28  name="u_adr_cn" value="<%=trim(SafeRequest("u_adr_cn"))%>">
            </td>
          </tr>
          <tr> 
            <td height="22" class=datalistgrida  > 
              <div align="center">邮政编码：</div>
            </td>
            <td  class=datalistgrida > 
              <input type="text" size=28  name="u_cde" value="<%=trim(SafeRequest("u_cde"))%>">
            </td>
          </tr>
          <tr> 
            <td height="22" class=datalistgrida > 
              <div align="center">电话：</div>
            </td>
            <td class=datalistgrida > 
              <input type="text" size=28  name="u_tel" value="+<%=trim(SafeRequest("u_tel"))%>">格式为:+86.59212345678
            </td>
          </tr>
          <tr> 
            <td height="22"  class=datalistgrida > 
              <div align="center">传真：</div>
            </td>
            <td  class=datalistgrida > 
              <input type="text" size=28  name="u_fax" value="+<%=trim(SafeRequest("u_fax"))%>">格式为:+86.59212345678
            </td>
          </tr>
          <tr> 
            <td height="22" class=datalistgrida  > 
              <div align="center">邮件：</div>
            </td>
            <td class=datalistgrida  > 
              <input type="text" size=28  name="u_eml" value="<%=trim(SafeRequest("u_eml"))%>">
            </td>
          </tr>
          <% if SafeRequest("g_prd")<>"" then %>
          <tr> 
            <th class=datalistheader height="22"  colspan="2" > 
              <div align="center"> 
                <input type="checkbox" name="iforder" value="1" checked>
                同时把该订单转移到新会员号下</div>
            </th>
          </tr>
          <tr> 
            <td height="22" class=datalistgrida  > 
              <div align="center">产品编号：</div>
            </td>
            <td class=datalistgrida  > 
              <input type="text" size=28  name="g_prd" value="<%=trim(SafeRequest("g_prd"))%>">
            </td>
          </tr>
          <tr> 
            <td height="22" class=datalistgrida  > 
              <div align="center">订单号：</div>
            </td>
            <td class=datalistgrida  > 
              <input type="text" size=28  name="g_pnme" value="<%=trim(SafeRequest("g_pnme"))%>">
            </td>
          </tr>
          <tr> 
            <td height="22" class=datalistgrida  > 
              <div align="center">原会员名称：</div>
            </td>
            <td class=datalistgrida  > 
              <input type="text" size=28  name="oldunme" value="<%=trim(SafeRequest("oldunme"))%>">
              <input type="hidden"   name="ifall" value="0">
            </td>
          </tr>
          <% end if %>
          <tr align="center"> 
            <td height="22" class=datalistgrida colspan="2"  > 
              <input type="submit" name="Submit2" value="添  加" class=btxx >
              <input type="reset" name="Submit3" value="复  原" class=btxx >
              <input type=hidden name=module value="usr_add">
            </td>
          </tr>
        </form>
      </table>
      <br>
      <br>
      <br>
    </td>
  </tr>
</table>
<!--#include virtual="/incs/bottom.asp"-->


