<!--#include virtual="/incs/config.asp"-->
<!--#include virtual="/incs/web_top.asp"-->
      <%
chk_log_usr()
''''''''''''''''''''''''''''''''
If SafeRequest("snme")<>"" Then
	snme=SafeRequest("snme")
End If
If snme="" Then
 call errorpage(-2,"错误的订单名称!")
end if
	query="select * from v_ot1lst where s_unme='"&session("usrname")&"'  and s_nme = '"&snme&"'"
	rs.open query,conn,1,1
 if rs.recordcount<=0 then
      call errorpage(-2,"对不起，该订单不存在或者不属于您的会员号，管理员请先切换到该订单会员！")
      end if
s_prd=rs("s_prd")
query="select * from pdttpe where pt_tag='ot1'"
rs1.open query,conn,1,1
if not rs1.eof then
ptnme=trim(rs1("pt_nme"))
end if
rs1.close

%>
      <script>
	function chk_frm2()
	{
		
		 
		if (confirm("如果确认，系统将扣除续费的相应款项！"))
		return true;
		else
		return false;	
		
	}
	</script>
      <table cellspacing=0 cellpadding=0 width="100%" border=0>
        <tbody> 
        <tr> 
          <td colspan=2><img height=3 
            src="/imgs/spacer.gif" width=3></td>
        </tr>
        <tr> 
          <td width=438 
          background=/imgs/bg_inside_pages_link.jpg 
          height=30><img height=11 
            src="/imgs/aword_square.gif" width=11 
            align=absMiddle> <a href="/">首 页</a> <strong>&gt;</strong> <a href="/control/">管理中心</a> 
            <b>&gt;</b> <a href="/control/ot1_mng"><%=ptnme%>管理</a></td>
          <td>&nbsp;</td>
        </tr>
        <tr> 
          <td colspan=2><img height=10 
            src="/imgs/shadow_inside_pages.jpg" 
        width=438></td>
        </tr>
        </tbody> 
      </table>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY> 
        <TR> 
          <TD vAlign=top width=180 bgColor=#f3f3f3> 
            <!--#include virtual="/incs/control_left.asp"-->
            <br>
            <br>
            <br>
            <br>
            <br>
            <br>
            <br>
            <br>
            <br>
          </TD>
          <TD vAlign=top width=10 
          background=/imgs/bg_inside_pages_block.jpg><IMG 
            height=1 src="/imgs/bg_inside_pages_block.jpg" 
            width=10></TD>
          <TD vAlign=top> 
            <table cellspacing=2 cellpadding=0 width="100%" border=0>
              <tbody> 
              <tr> 
                <td  colspan=2 valign="middle"> 
                  <table class=line cellspacing=0 cellpadding=0 width="98%" 
                  border=0 align="center">
                    <tbody> 
                    <tr> 
                      <td valign=bottom width="25%" height=20><font color="#000000" class=ddropshadow><b><span class=enbold><strong><%=ptnme%><font color="#000000"><a href="index.asp"><font color="#FF0000">（查询）</font></a></font></strong></span></b></font></td>
                      <td valign=bottom noWrap align=right 
                        width="75%"><a href="ot1_lst.asp?querytype=8"><font color="#000000">今天新申请</font></a> 
                        <font color="#000000">|</font> <a href="ot1_lst.asp?querytype=9"><font color="#000000">本周新申请</font></a> 
                        <font color="#000000">|</font> <a href="ot1_lst.asp?querytype=10"><font color="#000000">本周到期</font></a> 
                        <font color="#000000">| </font><a href="ot1_lst.asp?querytype=11"><font color="#000000">本月到期</font></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 bgcolor="#5F5F5F"></td>
                    </tr>
                    </tbody> 
                  </table>
                  <br>
                </td>
              </tr>
              <tr> 
                <td  colspan=2 valign="middle" height="28"> 
                  <!--#include file="menu.asp"-->
                  <table width="95%" border="0" cellspacing="0" cellpadding="0" align="center">
                    <tr> 
                      <td height=8></td>
                    </tr>
                  </table>
                  <table   bordercolor="#5785B2" cellpadding="0" cellspacing="0" id="AutoNumber3" style="border-collapse: collapse" width="98%" align="center">
                    <form action="ot1_rnw_rez.asp" name=renew method=post>
                      <tr> 
                        <td valign="top" bgcolor="#FFFFFF"> 
                          <div align="center"><font color="#0000FF"><b><font color="#0000B5">租用托管续费</font></b></font><br>
                            <br>
                          </div>
                          <table border=0 cellpadding=2 
                        cellspacing=1 bordercolordark="#FFFFFF" align="center"  width="95%" bgcolor="#666666">
                            <tbody> 
                            <tr bgcolor="#8b8b8b" > 
                              <td height="26" width="35%" align=center> 
                                <div align="center"><font color="#FFFFFF">需要续费的产品</font></div>
                              </td>
                              <td height="26"> 
                                <input type="text" name="textfield"  class=normalform  readonly size="30" value="<%=rs("s_nme")%>" style="background-color:#cccccc;color:#ff0000">
                              </td>
                            </tr>
                            <tr bgcolor="#FFFFFF" > 
                              <td  class=datalistgrida align="center" >产品类型</td>
                              <td  class=datalistgrida > 
                                <input type="text" name="textfield2"  class=normalform  readonly size="30" value="<%=rs("g_nme")%>（<%=rs("s_prd")%>）" >
                                <input type=hidden name=snme value="<%=rs("s_nme")%>">
                                <input type=hidden name=vid value="<%=vid%>">
                              </td>
                            </tr>
                            <tr bgcolor="#FFFFFF" > 
                              <td    class=datalistgrida align="center" >注册时间</td>
                              <td  class=datalistgrida > 
                                <input type="text" name="textfield32"  class=normalform  readonly size="30" value="<%=rs("s_addtme")%>">
                              </td>
                            </tr>
                            <tr bgcolor="#FFFFFF" > 
                              <td    class=datalistgrida align="center" >到期时间</td>
                              <td  class=datalistgrida > 
                                <input type="text" name="textfield32"  class=normalform  readonly size="30" value="<%=rs("s_exptme")%>">
                              </td>
                            </tr>
                            <tr bgcolor="#FFFFFF" > 
                              <td   a class=datalistgrida align="center" >续费期限</td>
                              <td  class=datalistgrida > 
                                <input type="text" name="years"    class=normalform size="10" value="1">
                                X 
                                <select name="s_prcstr" style="font-size: 9pt" size="1" >
                                  <% 
					  p_cls=session("usrclass")
					  query="select * from v_prclst where p_prd='"&s_prd&"' and p_cls="&session("usrclass")&" order by p_tmetpe,p_yar"
					  rs2.open query,conn,1,1
					  while not rs2.eof 
					  p_yar=rs2("p_yar")
					  if p_yar="1" then
					  p_yar=""
					  end if
					  response.write "<option value='"&rs2("p_prcstr")&"'>"&rs2("p_prc")&"元/"&p_yar&tmenmes(rs2("p_tmetpe"))&"</option>"
					  rs2.movenext
					  wend
					  rs2.close
					  %>
                                </select>
                              </td>
                            </tr>
                            </tbody> 
                          </table>
                          <div align="center"><br>
                            <br>
                            <input type="submit" name="Submit2" value="开始续费" class=dud_button1 onClick="javascript:return chk_frm2();">
                            <input type="reset" name="Submit2" value="放弃"  class=dud_button1 >
                          </div>
                        </td>
                      </tr>
                    </form>
                    <tr> 
                      <td> 
                        <table width="100%" border="0" cellspacing="0" cellpadding="0" style="display:none;" id=identity>
                          <tr> 
                            <td>&nbsp;</td>
                          </tr>
                          <tr> 
                            <td>&nbsp; </td>
                          </tr>
                        </table>
                      </td>
                    </tr>
                  </table>
                  <br>
                </td>
              </tr>
              </tbody> 
            </table>
          </TD>
        </TR>
        </TBODY> 
      </TABLE>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY> 
        <TR> 
          <TD bgColor=#cccccc><IMG height=1 
            src="/imgs/spacer.gif" 
      width=1></TD>
        </TR>
        </TBODY> 
      </TABLE>
      <!--#include virtual="/incs/web_bottom.asp"-->






