📄 info.asp
字号:
<!--#include file="top.asp"-->
<div align="center">
<center>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="779" height="300">
<tr>
<td valign="top" align="center">
<%
if request("typeid")="" then
typeid=1
else
typeid = Request.QueryString("typeid")
End If
If Not(isNumeric(typeid)) Then
Response.Write "<p align=center>The wrong URL.</p>"
Response.End
End If
%>
<%
set rs=server.createobject("adodb.recordset")
sql="select * from book where typeid="&typeid&" order by id desc"
rs.open sql,conn,1,1
%>
<%
do while not rs.eof
%>
<table width="500" style="border-collapse: collapse" bordercolor="#111111" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor=#DBC2B0 height=25><p style="margin-left: 20; margin-right: 20"><b><%=rs("title")%></b></td>
</tr>
<tr>
<td bgcolor="#F5EFE7" height="100" valign="top">
<%
if rs("img1")<>"" then
%>
<p align="center" style="margin-top: 10px; margin-bottom: 10px"><img border="0" src="<%=rs("img1")%>">
<%
end if
if rs("img2")<>"" then
%>
<p align="center" style="margin-top: 10px; margin-bottom: 10px"><img border="0" src="<%=rs("img2")%>">
<%
end if
%>
<p style="line-height: 150%; margin-left: 10; margin-right: 10"><%=rs("nr")%></td>
</tr>
</table>
<% rs.movenext
loop
rs.close
%></td>
</tr>
</table>
</center>
</div>
<!--#include file="copy.asp"-->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -