info.asp

来自「商品订单管理:商品分类管理 添加与修改商品 管理订单 投诉订单 反馈信息 商品留」· ASP 代码 · 共 58 行

ASP
58
字号

<!--#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 + =
减小字号Ctrl + -
显示快捷键?