📄 picture.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<% option explicit%>
<%Response.Buffer=True%>
<!--#Include file="odbc_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>
<body background="images/bback.gif">
<table border="0" cellpadding="0" cellspacing="0" width="80%" align="center">
<tr><td align="center"><font size="6" face="仿宋_GB2312" color="#3399FF"><b>小珍的写真集</b></font></td></tr>
<%
dim sql,rs,id
sql="select * from photo"
set rs=conn.execute(sql)
do while not rs.eof
%>
<tr>
<td><a href="showlarge.asp?id=<% =rs("id") %>" target="_blank"><img src="show.asp?id=<% =rs("id") %>" height="280" width="250" border="0"></a></td>
</tr>
<tr>
<td><a href="showlarge.asp?id=<% =rs("id") %>" target="_blank"><%=rs("phototext")%></a></td>
</tr>
<%
rs.movenext
loop
%>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -