<%@ 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
ji=rs("金")
mu=rs("木")
shui=rs("水")
huo=rs("火")
tu=rs("土")
taiqiudian=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"></head>
<body leftmargin="0" topmargin="10" >
<table width="480" border="1" align="center" cellpadding="8" cellspacing="8" bordercolor="#cccccc">
  <tr> 
            
    <td height="8" valign="top"  > <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:this.location.reload()">【刷新】</a> <a href="javascript:history.go(-1)">【返回】</a> 
      <div align="center"><b>欢迎<%=zhbg_name%>光临属性转换处！</b></div>
      <p>在这里你将自己练的属性转换成金卡。<br>
      这样，你不是会员也可以去买卡片!<br> 
      转换：2万点/1元，每次输入必须是2万的倍数！</p>
    </td> </tr> 
			<tr> 
            
    <td valign="top" height="8" width="391"  > 
      <div align="center">
<%if ji>20000 then%>
  <form method="POST" action="520.ASP" name="af" onSubmit="bb.disabled=1">
  <div align="center"><font color="#FF6600">金属性：<%=ji%>点，现金转换金卡<%=ji/20000%>元<br>
    <input type="text" name="input" size="10" maxlength="5">
    <input type="submit" value="转换" name="bb" class="p9"> 
    </font>
  </div>
</form>
        <font color="#FF6600"> 
        <%else%>
        金属性少于20000不能转换 
        <%end if%>
        </font></div>
            </td>
          </tr>
          <tr> 
            
    <td valign="top" height="8" width="391"  > 
      <div align="center">
<%if mu>20000 then%>
  <form method="POST" action="5201.ASP" name="af" onSubmit="bb.disabled=1">
  <div align="center"><font color="#FF6600">木属性：<%=mu%>点，现金转换金卡<%=mu/20000%>元<br>
    <input type="text" name="input" size="10" maxlength="5">
    <input type="submit" value="转换" name="bb" class="p9"> 
    </font>
  </div>
</form>
        <font color="#FF6600"> 
        <%else%>
        木属性少于20000不能转换 
        <%end if%>
        </font> </div></td>
</tr>
          
              <tr> 
            
    <td valign="top" height="8"  > 
      <div align="center"> 
        <%if shui>20000 then%>
        <form method="POST" action="5202.ASP" name="af" onSubmit="bb.disabled=1">
  <div align="center"><font color="#FF6600">水属性：<%=shui%>点，现金转换金卡<%=shui/20000%>元<br>
    <input type="text" name="input" size="10" maxlength="5">
    <input type="submit" value="转换" name="bb" class="p9"> 
    </font>
  </div>
</form>
<font color="#FF6600">
<%else%>
水属性少于20000不能转换 
<%end if%>
</font>
      </div></td>
</tr>
              <tr> 
                                 
    <td height="8" valign="top"  > 
      <div align="center"> 
        <%if huo>20000 then%>
        <form method="POST" action="5203.ASP" name="af" onSubmit="bb.disabled=1">
  <div align="center">火属性：<%=huo%>点，现金转换金卡<%=huo/20000%>元<br>
    <input type="text" name="input" size="10" maxlength="5">
    <input type="submit" value="转换" name="bb" class="p9"> 
  </div>
</form>
<%else%>
火属性少于20000不能转换 
<%end if%>
      </div></td>
</tr>
              <tr> 
                        
    <td height="100" align="center" valign="middle"  > 
      <%if tu>20000 then%>
      <form method="POST" action="5204.ASP" name="af" onSubmit="bb.disabled=1">
 土属性：<%=tu%>点，现金转换金卡<%=tu/20000%>元<br>
    <input type="text" name="input" size="10" maxlength="5">
    <input type="submit" value="转换" name="bb" class="p9"> 
</form>
        <%else%>
        土属性少于20000不能转换 
        <%end if%>
      </div></td>
</tr>
</table>
</body>
