<!--#include virtual="/incs/config.asp"-->
<%
chk_log()
''''''''''''''''''''''''''''''''
chk_newpwr 4,31,7

If SafeRequest("snme")<>"" Then
	snme=SafeRequest("snme")
End If

If snme=""Then
 call errorpage(-2,"错误参数!")
end if
	conn.open constr
	query="select * from pdttpe where pt_tag='ot5'"
rs.open query,conn,1,1
if not rs.eof then
ptnme=trim(rs("pt_nme"))
end  if 
rs.close 
if session("sysclass")>=5 then
query="select * from v_ot5lst   where s_nme ='"&snme&"'"
elseif session("sysclass")>=4 then
query="select * from v_ot5lst  where s_nme ='"&snme&"'  and  ((("&session("sysarestr")&" or u_myare=0) and u_rotnme='') or u_rotnme='"&session("usrname")&"')"
else
query="select * from v_ot5lst   where s_nme ='"&snme&"' s_unme='"&session("usrname")&"'"
end if
rs.open query,conn,1,1
	  if rs.recordcount<=0 then
      call errorpage(-2,"对不起，该记录不存在！")
      end if
%>
<!--#include virtual="/incs/top.asp"-->
<table cellspacing=2 cellpadding=0 width="100%" border=0>
  <tbody> 
  <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><b><%=ptnme%></b><a class=commonface  href="index.asp"><font color="#FF0000">（查询）</font></a></td>
          <td valign=bottom noWrap align=right 
                        width="75%"><a class=commonface   href="ot5_lst.asp?querytype=8">今天新申请</a> 
            | <a class=commonface   href="ot5_lst.asp?querytype=9">本周新申请</a> | 
            <a class=commonface   href="ot5_lst.asp?querytype=10">本周到期</a> | <a class=commonface   href="ot5_lst.asp?querytype=11">本月到期</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>
    </td>
  </tr>
  <tr> 
    <td  colspan=2 valign="top" height="28"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
        <tr> 
          <td height=8></td>
        </tr>
        <tr> 
          <td> 
            <!--#include virtual="/master/pdtmng/ot5_mng/menu.asp" -->
            <br>
          </td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
        <form action=ot5_adm_rez.asp method=post >
          <tr> 
            <td height=8 align="center"> 
              <table cellspacing=0 class=datalist cellpadding=0 width=85% border=0 align="center">
                <tr > 
                  <th class=datalistheader  colspan="2" align=center> 转会员号</th>
                </tr>
                <tr> 
                  <td class=datalistgrida  height="22" width="30%"> 
                    <p style="margin-left: 6">您的推广: </p>
                  </td>
                  <td class=datalistgrida  > 
                    <p style="margin-left: 6"><b> 
                      <input disabled=1  type="text" value="<%=rs("s_nme")%>" class=normalform  name="h_ftpusr" size="28">
                      <input type="hidden" name="snme" value="<%=rs("s_nme")%>">
                      <input type="hidden" name="sid" value="<%=sid%>">
                      <input type="hidden" name="module" value="own">
                      <input type="hidden" name="g_pnme" value="<%=rs("s_nme")%>">
                      <input type="hidden" name="oldunme" value="<%=rs("s_unme")%>">
                      <input type="hidden" name="g_prd" value="<%=trim(rs("s_prd"))%>">
                      </b> 
                  </td>
                </tr>
                <tr> 
                  <td  class=datalistgrida  height="22" width="30%"> 
                    <p style="margin-left: 6">产品类型: </p>
                  </td>
                  <td  class=datalistgrida > 
                    <p style="margin-left: 6"><b> 
                      <input type="text" disabled=1  value="<%=trim(rs("g_nme"))%>" class=normalform  name="h_ftpusrs" size="28">
                      </b> 
                  </td>
                </tr>
                <tr> 
                  <td  class=datalistgrida  height="22" width="30%"> 
                    <p style="margin-left: 6">旧会员号:</p>
                  </td>
                  <td  class=datalistgrida > 
                    <p style="margin-left: 6"><b> 
                      <input type="text" disabled=1  value="<%=trim(rs("s_unme"))%>" class=normalform  name="s_dprd" size="28">
                      </b> 
                  </td>
                </tr>
                <tr> 
                  <td class=datalistgrida   height="22" width="25%"> 
                    <p style="margin-left: 6">新会员号：</p>
                  </td>
                  <td class=datalistgrida  > 
                    <p style="margin-left: 6"><b> 
                      <input type="text"   value="" class=normalform  name="newunme" size="28">
                      </b></p>
                  </td>
                </tr>
                <tr> 
                  <td class=datalistgrida   height="22" width="25%"> 
                    <p style="margin-left: 6">转号选项： 
                  </td>
                  <td class=datalistgrida  > 
                    <input type="checkbox" name="ifall" value="1" checked>
                    连同赠送品一起转移</td>
                </tr>
              </table>
              <br>
              <input type="submit" name="Submit2" value="修 改" class=btxx  >
              <input type="reset" name="Submit3" value="重 填" class=btxx>
            </td>
          </tr>
        </form>
      </table>
      <br>
    </td>
  </tr>
  </tbody> 
</table>
<!--#include virtual="/incs/bottom.asp"-->
