📄 index.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="conn.asp"-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>留言本(版主回复)</title>
</head>
<link type="text/css" href="css.css" rel="stylesheet">
<body background="images/bottom-z.gif">
<table width="762" height="125" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="762"><!--#include file="head.asp"-->
<table width="93%" border="0">
<tr>
<td> </td>
</tr>
</table></td>
</tr>
</table>
<table width="766" height="319" border="0" cellpadding="0" cellspacing="0" align="center" bgcolor="#FFFFFF">
<tr>
<td width="169" height="256" align="left" valign="top"><table width="147" height="43" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="14"> </td>
</tr>
</table>
<!--#include file="left.asp"--></td>
<td width="597" align="left" valign="top">
<table width="597" height="70" border="0" cellpadding="0" cellspacing="0">
<tr><td width="597" height="3"></td></tr>
<tr>
<td height="31" colspan="4"><img src="images/detail_info.gif" width="400" height="37"></td>
</tr>
<tr>
<td height="3" colspan="4"></td>
</tr>
<%
set rs=server.createobject("adodb.recordset")
rs.open "select * from category order by categoryid",conn,1,1
if rs.eof and rs.bof then
response.write "暂时没有分类信息!"
else
do while not rs.eof
%>
<tr>
<td height="27" colspan="4"><a href="detail1.asp?category=<%=rs("category")%>"><% if len(trim(rs("category")))>20 then
response.write left(trim(rs("category")),18)&"..."
else
response.write trim(rs("category"))
end if%>
</a></td>
</tr>
<%
rs.movenext
loop
rs.close
end if
%>
</table></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -