📄 design.asp
字号:
<!--#include file="conn.asp"-->
<%
'=====================================================================================
'找错误个人主页(整合版)
'作者:找错误
'网地:www.fj19.net
'email:fjjc01@126.com
'=====================================================================================
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>++找错误++ ->> 我回来了++作品展示</title>
<style type="text/css">
<!--
body {
scrollbar-face-color: #CCCCCC;
scrollbar-highlight-color: #CCCCCC;
scrollbar-shadow-color: #666666;
scrollbar-3dlight-color: #666666;
scrollbar-arrow-color: #666666;
scrollbar-darkshadow-color:#CCCCCC;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-image: url(img/bg1.gif);
background-position:center;
margin-left: 0px;
}
body,td,th {
font-size: 12px;
color: #666666;
font-family: 宋体;
}
a {
font-family: 宋体;
font-size: 12px;
}
a:link {
text-decoration: none;
color: #666666;
}
a:visited {
text-decoration: none;
color: #666666;
}
a:hover {
text-decoration: none;
color: #CCCCCC;
}
a:active {
text-decoration: none;
color: #CCCCCC;
}
h1,h2,h3,h4,h5,h6 {
font-family: 宋体;
}
.style2 {color: #ff41b5}
-->
</style>
</head>
<body>
<table width="495" height="583" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td width="495" height="90" align="center" valign="top"><table width="98%" height="196" border="0" cellpadding="0" cellspacing="0">
<tr>
<td background="pci/design.jpg"> </td>
</tr>
</table></td>
</tr>
<tr>
<td> <div align="center">::<a href="about.asp">我的介绍</a>::<a href="music.asp">我的音乐</a>::<a href="design.asp">作品展示</a>::<a href="diary.asp">经典文章</a>::<a href="book.asp">给我留言</a>::</div></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td height="433" valign="top"> <table width="460" border="0" height="100%" align="center" cellpadding="0" cellspacing="0">
<tr>
<td valign='top' height='431'>
<%
dim pag,cc
cc=3
pag=request("pag")
if pag="" then pag=0
call ConnectionDatabase
set Rs=GrateRs("select * from yuaner_zp",1)
if not Rs.eof then Rs.movelast
for i = 1 to pag*cc
Rs.moveprevious
if Rs.eof then exit for
next
i=0
do while not Rs.bof
%>
<table width="100%" border="0" cellspacing="2" cellpadding="0">
<tr>
<td width="90" align="left">作品名称:</td>
<td width="236"><%=Rs("title")%></td>
<td width="126" rowspan="7"><a href="#" onClick="<%="MyWindow=window.open('photo_show.asp?path="&Rs("p2")&"','','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=500,height=400');"%>"><img src="<%=Rs("p1")%>" alt="点击放大查看图片..." width="120" height="120" border="0"></a></td>
</tr>
<tr>
<td align="left">作品简介: </td>
<td rowspan="5" valign="top"><%=ReplStr(Rs("content"))%></td>
</tr>
<tr>
<td align="left"> </td>
</tr>
<tr>
<td height="13" align="left"> </td>
</tr>
<tr>
<td height="13" align="left"> </td>
</tr>
<tr>
<td height="21" align="left"> </td>
</tr>
<tr>
<td height="18" align="left">演示/下载:</td>
<td>
<%
if Rs("link")="无" then
response.write "该作品不提供演示/下载!"
else
response.write "<a href='"&Rs("link")&"' target='_blank'>点击演示/下载</a>"
end if
%>
</td>
</tr>
</table>
.............................................
<%
i=i+1
if i=cc then exit do
Rs.moveprevious
loop
response.write("<br><br><div align=right>共"&int(Rs.recordcount/cc)+1&"页,第"&pag+1&"页 ")
response.write("<a href=design.asp?pag=0>第一页</a> ")
if not pag=0 then
response.write("<a href=design.asp?pag="&pag-1&">上一页</a> ")
else
response.write("上一页 ")
end if
if not Rs.bof then
response.write("<a href=design.asp?pag="&pag+1&">下一页</a> ")
else
response.write("下一页 ")
end if
response.write("<a href=design.asp?pag="&int(Rs.recordcount/cc)&">最后一页</a> </div>")
call DBConnEnd
%>
</td>
</tr>
</table></td>
</tr>
<tr>
<td height="8"></td>
</tr>
<tr>
<td height="33" align="center"><img src="img/bott1.gif" width="495" height="36"></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -