<!--#include virtual="/incs/config.asp" -->
<!--#include virtual="/incs/web_top.asp" -->
      <%
chk_log_usr()

	mnme=SafeRequest("mnme")
	If mnme="" Then
	call errorpage(-2,"对不起，参数错误！")
	End If
	query="select * from v_emllst  where m_unme='"&session("usrname")&"'  and m_dme ='"&mnme&"'"
	rs.open query,conn,1,1
if rs.recordcount<>1 then
     call errorpage(-2,"对不起，该订单不存在或者不属于您的会员号，管理员请先切换到该订单会员！...")
elseif cint(rs("m_regtpe"))<>0 then
     call errorpage(-2,"对不起，邮局类型有误！...")

elseif cint(rs("m_regstt"))=0 then
     call errorpage(-2,"对不起，该邮局还没有开通！...")
else
        m_prd=ucase(trim(rs("m_prd")))
        m_dme=trim(rs("m_dme"))
		mailname=m_dme
			m_addtme=left(replace(rs("m_addtme")," ","   "),10)
			m_exptme=left(replace(rs("m_exptme")," ","   "),10)
			g_nme=trim(rs("g_nme"))
			m_prcstr=rs("m_prcstr")
			years=rs("years")
			g_sst=rs("m_sst")
end if
rs.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/eml_mng/eml_lst.asp">企业邮局管理</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>邮局<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="eml_lst.asp?querytype=8"><font color="#000000">今天新开通</font></a> 
                        <font color="#000000">|</font> <a href="eml_lst.asp?querytype=9"><font color="#000000">本周新开通</font></a> 
                        <font color="#000000">|</font> <a href="eml_lst.asp?querytype=10"><font color="#000000">本周到期</font></a> 
                        <font color="#000000">| </font><a href="eml_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"> 
                  <table   bordercolor="#5785B2" cellpadding="0" cellspacing="0" id="AutoNumber3" style="border-collapse: collapse" width="98%" align="center">
                    <tr> 
                      <td height="34" bgcolor="#FFFFFF"> 
                        <div align="center"> 
                          <table width="85%" border="0" cellspacing="0" cellpadding="0" align="center">
                            <tr> 
                              <td> 
                                <!--#include file="eml_mnu.asp"-->
                              </td>
                            </tr>
                          </table>
                          <br>
                        </div>
                      </td>
                    </tr>
                    <form action="eml_try_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="<%=m_dme%>" style="background-color:#cccccc;color:#ff0000">
                              </td>
                            </tr>
                            <tr bgcolor="#FFFFFF" > 
                              <td height="25" class=datalistgrida  align=center>产品类型</td>
                              <td height="25" class=datalistgrida > 
                                <input type="text" name="textfield2" class=normalform readonly size="30" value="<%=g_nme%>（<%=m_prd%>）" >
                              </td>
                            </tr>
                            <tr bgcolor="#FFFFFF" > 
                              <td height="25"  class=datalistgrida  align=center>请选择购买时间</td>
                              <td height="25" class=datalistgrida > 
                                <input type="text" name="years" class=normalform   size="10" value="<%=years%>">
                                X 
                                <select name="m_prcstr" style="font-size: 9pt" size="1" >
                                  <% 
					  p_cls=session("usrclass")
					  query="select * from v_prclst where p_prd='"&m_prd&"' and p_cls="&p_cls&" 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>
                                <input type=hidden name=proid value="<%=proid%>">
                                <input type=hidden name=mailname value="<%=mailname%>">
                              </td>
                            </tr>
                            </tbody> 
                          </table>
                          <div align="center"><br>
                            <br>
                            <input type="submit" name="Submit" 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>
                </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"-->




