<%
response.buffer=false
on error resume next
chk_log()
diytpe=1
%>
<!--#include virtual="/incs/config.asp"-->
<%
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''检验是否登录 
if session("ot"&diytpe&"_doresult")="" or isnull(session("ot"&diytpe&"_doresult")) then
call errorpage(-2,"非法访问")
end if
dud_result=split(session("ot"&diytpe&"_doresult"),"|")
conn.open constr
query="select * from pdttpe where pt_tag='ot1'"
rs.open query,conn,1,1
if not rs.eof then
ptnme=trim(rs("pt_nme"))
end  if 
rs.close 
%>
<!--#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><font color="#000000" class=ddropshadow><b><span class=enbold><strong><%=ptnme%>申请</strong></span></b></font></td>
          <td valign=bottom noWrap align=right 
                        width="75%">&nbsp;</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"> 
      <div align="center"><br>
        <br>
        <br>
        <br>
        <table border=0 cellpadding="0" cellspacing="0" width="60%"  align="center" class=datalist>
          <tr> 
            <th class=datalistheader  height="25" colspan="2"> 
              <div align="center"><font color="#FF0000"><b><font color="#FFFFFF">服务购买结果提示</font></b></font></div>
            </th>
          </tr>
          <tr> 
            <td class=datalistgridb  width="140" height="28"> 
              <div align="right">产品型号:</div>
            </td>
            <td class=datalistgrida >&nbsp; <b><%=getval(session("ot"&diytpe&"_doresult"),"g_nme")%>&nbsp;(&nbsp;<%=getval(session("ot"&diytpe&"_doresult"),"s_prd")%>&nbsp;)</b></td>
            <%
		  s_prd=getval(session("ot"&diytpe&"_doresult"),"s_prd")
		  if s_prd<>"" then
		  query="select * from pdtlst where g_prd='"&s_prd&"'"
		  rs.open query,conn,1,1
		  if not rs.eof then
		  g_tmetpe=cint(rs("g_tmetpe"))
		  if  g_tmetpe=1 then
		  tmename="个月"
		  elseif g_tmetpe=2 then
		  tmename="份"
		  else
		  g_tmetpe="年"
		  end if
		  end if
		  rs.close
		  end if
		  conn.close
		  %>
          </tr>
          <tr> 
            <td class=datalistgridb  height="28"> 
              <div align="right">管理名称:</div>
            </td>
            <td class=datalistgrida >&nbsp; 
              <b><%=getval(session("ot"&diytpe&"_doresult"),"s_nme")			  %></b>
            </td>
          </tr>
          <tr> 
            <td class=datalistgridb  height="28"> 
              <div align="right">购买方式:</div>
            </td>
            <td class=datalistgrida >&nbsp; 
              <%paytype=getval(session("ot"&diytpe&"_doresult"),"s_mod")
							  if paytype=0 then
							  response.write "正式申请并且实时扣除款项"
							  elseif paytype=1 then
							  response.write "先下订单待汇款后再正式开通"
							  elseif paytype=5 then
							  response.write "赠送开通"
							  end if
							  %>
            </td>
          </tr>
          <tr> 
            <td class=datalistgridb height="28"> 
              <div align="right">购买期限:</div>
            </td>
            <td class=datalistgrida >&nbsp; <%=getval(session("ot"&diytpe&"_doresult"),"s_yarcnt")%>&nbsp;<%=tmenmes(getval(session("ot"&diytpe&"_doresult"),"p_tmetpe"))%></td>
          </tr>
          <tr> 
            <td  class=datalistgridb height="28"> 
              <div align="right">购买结果:</div>
            </td>
            <td class=datalistgrida >&nbsp;<b><font color=#ff0000> 
              <%if left(session("ot"&diytpe&"_doresult"),5)="10000" then
							  response.write "提交成功！"
							  else
							  response.write "提交失败！"
							  end if %>
              </font></b></td>
          </tr>
        </table>
        <br>
        <br>
        <br>
        <br>
        <br>
      </div>
    </td>
  </tr>
  </tbody> 
</table>
<!--#include virtual="/incs/bottom.asp"-->



