📄 showtool.asp
字号:
<!-- #include file="setup.asp" -->
<HTML>
<HEAD>
<title>查看物品</title>
<link href=images/skins/<%=Request.Cookies("skins")%>/bbs.css rel=stylesheet>
</HEAD>
<%
toolname=Request.QueryString("toolname")
rs.Open "select * from tools where toolname='"&toolname&"'",Conn,1,3
if rs.eof then
Response.Write "没有该物品!"
Response.End
end if
%>
<body bgcolor="#d0eaff" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="220" border="0" cellspacing="0" cellpadding="0" height="168">
<tr>
<td width="105" height="94" align="center"><img src=<%=rs("toolimg")%> width="100" height="75" border="1"></td>
<td height="94" width="90">价格:<%=rs("price")%><br>
<br>
<%
if rs("use") < 2 then
if rs("exp")<>0 then
Response.Write "经验值:<font color=#FF0000>"&rs("exp")&"</font><br>"
end if
if rs("magicpower")<>0 then
Response.Write "魅力值:<font color=#FF0000>"&rs("magicpower")&"</font><br>"
end if
if rs("life")<>0 then
Response.Write "体力值:<font color=#FF0000>"&rs("life")&"</font><br>"
end if
else
if rs("exp")<>0 then
Response.Write "攻击:<font color=#FF0000>"&rs("exp")&"</font><br>"
end if
if rs("magicpower")<>0 then
Response.Write "防御:<font color=#FF0000>"&rs("magicpower")&"</font><br>"
end if
end if
%>
</td>
</tr>
<tr valign="top">
<td colspan="2">
<table width="90%" border="0" cellspacing="0" cellpadding="0" align="center" height="20">
<tr>
<td valign="top" align="center"><%=rs("toolname")%></td>
</tr>
</table>
<table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td>介绍:<%=rs("info")%></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</HTML>
<%
rs.close
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -