📄 mywupin.asp
字号:
<%
Response.Expires=0
username=session("hxf_u_nickname")
if username="" then Response.Redirect "../error.asp?id=440"
Set conn=Server.CreateObject("ADODB.CONNECTION")
Set rs=Server.CreateObject("ADODB.RecordSet")
connstr=Application("hg_connstr")
conn.open connstr
sql="SELECT ljl1,ljl2,ljl3,ljl4,ljl5,ljl6,装备 FROM 用户 WHERE 姓名='" & username & "'"
Set Rs=conn.Execute(sql)
a=rs("ljl1")
b=rs("ljl2")
c=rs("ljl3")
d=rs("ljl4")
e=rs("ljl5")
f=rs("ljl6")
g=rs("装备")
if g=0 then
h="没有装备"
end if
if g=1 then
h="木级装备"
end if
if g=2 then
h="石级装备"
end if
if g=3 then
h="铁级装备"
end if
if g=4 then
h="铜级装备"
end if
if g=5 then
h="银级装备"
end if
if g=6 then
h="金级装备"
end if
if g=7 then
h="钻石级装备"
end if
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<title>查看物品</title>
<script language="javascript">if(window==window.top){top.location.href="jhchat.asp";} </script>
<script language="JavaScript">function s(list){parent.f2.document.af.sytemp.value=parent.f2.document.af.sytemp.value+list;parent.f2.document.af.sytemp.focus();}</script>
<link rel="stylesheet" href="../dg/Setup.css">
</head>
<body oncontextmenu=self.event.returnValue=false bgcolor="#4B87C2" text="#FFFFFF">
<div align="center">
<center>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#FFFFFF" width="98%" id="AutoNumber1" height="116">
<tr>
<td width="100%" height="14" colspan="2" bgcolor="#FF9933">
<font color="#800000">补 药 [<a href="mywupin.asp">刷新</a>]</font></td>
</tr>
<tr>
<td width="39%" height="28"><font color="#00FF00"> 还魂水</font></td>
<td width="61%" height="28"><span lang="en-us"><%if a>=1 then%>[<%=a%>] </span><a href="wupina.asp?id=aaa">服用</a><%else%>无此物品<%end if%></td>
</tr>
<tr>
<td width="39%" height="28"><font color="#00FF00"> 仙鹿丸</font></td>
<td width="61%" height="28"><span lang="en-us"><%if b>=1 then%>[<%=b%>] </span><a href="wupina.asp?id=bbb">服用</a><%else%>无此物品<%end if%></td>
</tr>
<tr>
<td width="100%" height="15" colspan="2" bgcolor="#FF9933">
<font color="#800000">毒 药</font></td>
</tr>
<tr>
<td width="39%" height="28"><font color="#FF0000"> 断肠散</font></td>
<td width="61%" height="28"><span lang="en-us"><%if c>=1 then%>[<%=c%>] </span><a href="javascript:s('/下毒 断肠散')">下毒</a><%else%>无此物品<%end if%></td>
</tr>
<tr>
<td width="39%" height="29"><font color="#FF0000"> 鹤顶红</font></td>
<td width="61%" height="29"><span lang="en-us"><%if d>=1 then%>[<%=d%>] </span><a href="javascript:s('/下毒 鹤顶红')">下毒</a><%else%>无此物品<%end if%></td>
</tr>
<tr>
<td width="100%" height="11" colspan="2" bgcolor="#FF9933">
<font color="#800000">暗 器</font></td>
</tr>
<tr>
<td width="39%" height="29"><font color="#FF9933"> 夺命刺</font></td>
<td width="61%" height="29"><span lang="en-us"><%if e>=1 then%>[<%=e%>] </span><a href="javascript:s('/投掷 夺命刺')">投掷</a><%else%>无此物品<%end if%></td>
</tr>
<tr>
<td width="39%" height="29"><font color="#FF9933"> 丝蛇锥</font></td>
<td width="61%" height="29"><span lang="en-us"><%if f>=1 then%>[<%=f%>] </span><a href="javascript:s('/投掷 丝蛇锥')">投掷</a><%else%>无此物品<%end if%></td>
</tr>
<tr>
<td width="39%" height="29"> 装 备</td>
<td width="61%" height="29"><%=h%></td>
</tr>
<tr>
<td width="100%" height="29" colspan="2"><font color="#FFFF00">
<span style="background-color: #FF0000">
<a href="mywupinb.asp" title="查看有多少小鲤鱼,草鱼,老虎肉,万能丹等请单击此处!"><font color="#FFFF00">我的其他物品</font></a></span><a href="mywupinb.asp" title="查看有多少小鲤鱼,草鱼,老虎肉,万能丹等请单击此处!"><font color="#FFFF00"><span style="background-color: #FF0000" lang="en-us">>>></span></font></a><span style="background-color: #FF0000"> </span></font></td>
</tr>
</table>
</center>
</div>
</body>
</html>
<%
rs.close
conn.close
set rs=nothing
set conn=nothing%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -