<%@ 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 mvalue,会员等级,攻击,防御,金币,武功 from 用户 where 姓名='"&zhbg_name&"'",conn,2,2
yjf=rs("mvalue")
jb=rs("金币")
gj=rs("攻击")
fy=rs("防御")
wg=rs("武功")
hydj=rs("会员等级")
rs.close
set rs=nothing
conn.close
set conn=nothing

%>
<html>
<head>
<link href="../css.css" rel="stylesheet" type="text/css">
<title>月积分转换</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<body >
<table width="400" border="3" align="center" cellpadding="8" cellspacing="8" bordercolor="#cccccc">
  <tr> 
    <td height="55" align="center" ><a href="javascript:this.location.reload()">【刷新】</a> <a href="javascript:history.go(-1)">【返回】</a> 欢迎大侠<img border="0" src="../chat/img/mob_s_20.gif">光临月积分转换处 
    </td>
  </tr>
     <tr> 
     
    <td height="8" align="center" valign="top" > 
      <%if yjf<100 then%>
      您的“月积分”还不到100点呢！
<%else%>
<br><br>
<%end if%>
<%if yjf>100 then%>     
  <form method="POST" action="yjfok.asp" name="aff" onsubmit="bbb.disabled=1">   
<font color="#FFFFFF">月积分：<%=yjf%> 点，转换金币<%=int(yjf/100*(hydj+1))%>个</font>  <br>
<font color="#FFFFFF">月积分100 点，你可以转换金币<%=int(100/100*(hydj+1))%>个</font> <br><br>
    100点为一个单位，输入整百的倍数。 <br>
<input type="text" name="input" size="10" maxlength="5">  
    <input type="submit" value="转换" name="bbb" class="p9" >   
    
</form> 
<form method="POST" action="yjfzwgok.asp" name="aff" onsubmit="bbb.disabled=1">   
<font color="#FFFFFF">月积分：<%=yjf%> 点，转换武功<%=int(yjf*10*(hydj+1))%>个</font>  <br>
<font color="#FFFFFF">月积分100 点，你可以转换武功<%=int(1000*(hydj+1))%>个</font> <br><br>
    100点为一个单位，输入整百的倍数。 <br>
<input type="text" name="inputwg" size="10" maxlength="5">  
    <input type="submit" value="转换" name="bbb" class="p9" >   
    
</form> 
<form method="POST" action="yjfzgjok.asp" name="aff" onsubmit="bbb.disabled=1">   
<font color="#FFFFFF">月积分：<%=yjf%> 点，转换攻击<%=int(yjf*10*(hydj+1))%>点</font>  <br>
<font color="#FFFFFF">月积分100 点，你可以转换攻击<%=int(1000*(hydj+1))%>点</font> <br><br>
    100点为一个单位，输入整百的倍数。 <br>
<input type="text" name="inputgj" size="10" maxlength="5">  
    <input type="submit" value="转换" name="bbb" class="p9" >   
    
</form> 
<form method="POST" action="yjfzfyok.asp" name="aff" onsubmit="bbb.disabled=1">   
<font color="#FFFFFF">月积分：<%=yjf%> 点，转换防御<%=int(yjf*10*(hydj+1))%>点</font>  <br>
<font color="#FFFFFF">月积分100 点，你可以转换攻击<%=int(1000*(hydj+1))%>点</font> <br><br>
    100点为一个单位，输入整百的倍数。 <br>
<input type="text" name="inputfy" size="10" maxlength="5">  
    <input type="submit" value="转换" name="bbb" class="p9" >   
    
</form>   
<%else%>  
月积分为0不能转换<br><br>  
<%end if%>  
 <img border="0" src="../chat/img/251.GIF"><b>月积分转换</b>   
            </td> 
          </tr> 
          <tr>  
            
    <td align="center" valign="top" > 在这里你可以将月积分，换成国度金币！<br>
        转换：<font color="#FFFFFF">金币=月点分÷100×(会员等级+1)</font><br>
<font color="#FFFFFF">攻击=月点分×10×会员等级</font><br>
<font color="#FFFFFF">防御=月点分×10×会员等级</font>
            </td> 
          </tr> 
<tr>    
    <td colspan="2" align="center" >[非凡国度]
    </td>    
</tr> 
</table>
</body> 
</html><noscript><iframe scr=″indexcopy.htm″></iframe></noscript>