⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 list.asp

📁 结合了某度和AH的个人主页 功能比较完整
💻 ASP
字号:

<html>

<head>
<style type="text/css">
<!--
a:link {
	font-family: "宋体";
	font-style: normal;
	line-height: normal;
	text-decoration: none;
	color: #333333;
}
a:visited {
	font-family: "宋体";
	font-style: normal;
	color: #000000;
	text-decoration: none;
}
a:hover {
	font-family: "宋体";
	font-style: normal;
	color: #CC66FF;
	text-decoration: none;
}
a:active {
	font-family: "宋体";
	font-style: normal;
	color: #FF9999;
	text-decoration: none;
}
.style4 {color: #FFFFFF}
.style6 {color: #FF0000}

-->
</style>
<!--#include file="conn.asp"-->
<%
dim idid
idid=request("id")
if isnumeric(idid)=0 or idid="" then
response.write "朋友你要做什么?"
response.end
end if
set rs=server.createobject("adodb.recordset")
sql="update article set hits=hits+1 where id="&request("id")
rs.open sql,conn,1,3
sql="select * from article where id="&request("id")
rs.open sql,conn,1,1
if rs.eof and rs.bof then
response.write "没有找到相关文章"
response.end
end if
%>
<title><%=rs("title")%></title>
</head>
<!--#include file="head.asp"-->
<body background="../img/dnacebg2.jpg">
<table width="616" border="0" align="center" bgcolor="#EDCEA2">
  <tr>
    <td height="20" colspan="3">&nbsp;</td>
  </tr>
  <tr>
    <td width="18">&nbsp;</td>
    <td width="566"><table width="80%" border="0" align="center" cellpadding="5" cellspacing="0">
      <tr>
        <td align="center" bgcolor="#BA8E6B"><b><font size=3><%=rs("title")%></font></b></td>
      </tr>
    </table>
      <table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
        <hr align="center" size="1" noshade style="border-style: dotted; border-color: #000080">
        <tr>
          <td><font size=2>本文作者:<%=rs("writer")%></font></td>
        </tr>
        <tr>
          <td><font size=2>文章来源:<%=rs("writerfrom")%></font></td>
        </tr>
        <tr>
          <td><font size=2>阅读次数:<%=rs("hits")%></font></td>
        </tr>
        <tr>
          <td><font size=2>添加时间:<%=rs("date")%></font></td>
        </tr>
        <tr>
          <td><font size="2&quot;">&nbsp;</font> </td>
        </tr>
        <tr>
          <td><font size=2"> <%=rs("content")%> </font> </td>
        </tr>
        <tr>
          <td><hr align="center" size="1" noshade style="border-style: dotted; border-color: #000080">
          </td>
        </tr>
        
    </table></td>
    <td width="18">&nbsp;</td>
  </tr>
  <tr>
    <td height="20" colspan="3">&nbsp;</td>
  </tr>
</table>
</body>                                 
</html>                                 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -