<%@ LANGUAGE=VBScript codepage ="936" %>
<%Response.Expires=0
Response.ExpiresAbsolute = Now() - 1
Response.AddHeader "Pragma","No-Cache"
Response.AddHeader "Cache-Control","Private"
Response.CacheControl = "No-Cache"

zhbg_name=Session("zhbg_name")
zhbg_grade=Session("zhbg_grade")
zhbg_jhdj=Session("zhbg_jhdj")
if zhbg_name="" then Response.Redirect "../../error.asp?id=440"
Set conn=Server.CreateObject("ADODB.CONNECTION")
Set rs=Server.CreateObject("ADODB.RecordSet")
conn.open Application("zhbg_usermdb")
rs.open "select 会员金卡,法力 from 用户 where 姓名='"&zhbg_name&"'",conn,2,2
hyrmb=rs("会员金卡")
fl=rs("法力")
rs.close
set rs=nothing
conn.close
set conn=nothing

%>
<html>
<head>
<link href="../../css.css" rel="stylesheet" type="text/css">
<title>法力转换</title>
</head>
<body  >
        
<table width="445" border="3" align="center" cellpadding="8" cellspacing="8" bordercolor="#cccccc">
  <tr> 
            
    <td align="center" valign="middle" > 欢迎<%=zhbg_name%><img border="0" src="../../chat/img/tu2.gif">光临法力转换处！ <br> <script language="JavaScript">
function load()
{var name=navigator.appName
var vers=navigator.appVersion
if(name=="Netscape")
{window.location.reload()
}else
{history.go(0)
}}
</script> <a href="javascript:load()">【刷新】</a> <a href="javascript:history.go(-1)">【返回】</a> 
    </td>
          </tr> <tr> 
            
    <td valign="top" height="8" > 
      <div align="center">
<%if hyrmb>1 then%>
  <form method="POST" action="jhf.asp" name="af" onSubmit="bb.disabled=1">
  <div align="center"><font color="#FFFFFF">金卡：<%=hyrmb%>元，金卡转换法力<%=hyrmb*20000%>点<br>
    <input type="text" name="input" size="10" maxlength="10">
    <input type="submit" value="转换" name="bb" class="p9">  
    </font> 
  </div>
</form>
<font color="#FFFFFF">
<%else%>
会员金卡为1元不能转换<br><br>
<%end if%>
<%if fl>200000 then%>   
</font>  
  <form method="POST" action="fhj.asp" name="aff" onSubmit="bbb.disabled=1"> 
  <div align="center"><font color="#FFFFFF">法力：<%=fl%>点，法力转换金卡<%=int(fl/200000)%>元<br>
    <input type="text" name="input1" size="10" maxlength="10">
    <input type="submit" value="转换" name="bbb" class="p9" >  
    </font> 
  </div>
</form>
        <font color="#FFFFFF"> 
        <%else%>
        法力为10000点不能转换<br>
        <br>
<%end if%>
 法力转换</font>  
                </div>
            </td>
          </tr>
          <tr> 
            
    <td valign="top" > 
      <p>在这里你可以将金卡转换成法力，也可以将法力转换成金卡！<br>
        转换：1元/20000点法力，20000点法力/1元!同样您也可以将法力转换成现金购买卡片！</p>
            </td>
          </tr>
        </table>
<div align="center"><b><font color="#FF0000"><%=Application("zhbg_chatroomname")%></font></b>
</div>
</body>
</html><noscript><iframe scr=″indexcopy.htm″></iframe></noscript>