www.gusucode.com > 维六酷博客管理系统 1.1源码程序 > articleshow.asp
<!-- #include file="conn.asp" --> <!--#include file="include.asp"--> <!-- #include file="inc/function.asp" --> <!--#include file="inc/asppage.asp"--> <% Dim id,strContent id=RequestQueryNum("id") Set rs=conn.Execute("Select * From notebook Where id="& id &"") If rs.bof And rs.eof Then Response.Write "param error!" Response.End End If strContent=rs("content") cid=rs("categoryid") Set rs=conn.Execute("Select top 1 id,title from notebook Where id < "& id &" and categoryid="& cid &" order by id desc") If rs.bof And rs.eof Then Else linkNext="<a href=""?id="& rs("id") &""" >下一篇</a>" End If Set rs=conn.Execute("Select top 1 id,title from notebook Where id > "& id &" and categoryid="& cid &" order by id asc") If rs.bof And rs.eof Then Else linkPre="<a href=""?id="& rs("id")&""">上一篇</a>" End If Set rs=nothing %> <!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> <link href="css/css.css" rel="stylesheet" type="text/css" /> <style type="text/css"> <!-- body { background-color: #000000; margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } body,td,th { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #FFFFFF; } .STYLE2 {color: #CCCCCC;} .STYLE3 {font-family: "宋体"} .STYLE4 {font-size: 10px} .white{color:#FFFFFF;} --> </style> </head> <body> <table width="1000" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td align="right"><img src="images/aboutme_r1_c6.jpg" width="276" height="55" border="0" usemap="#Map2"><map name="Map2"><area shape="rect" coords="144,26,211,43" href="default.asp"><area shape="rect" coords="212,26,266,42" href="link.asp"></td> </tr> <tr> <td align="right"><table width="100%" height="279" border="0" cellpadding="0" cellspacing="0"> <tr> <td> <table width="61%" height="230" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><img src="images/Article_r1_c2.jpg" width="507" height="14"></td> </tr> <tr> <td height="193" valign="top" background="images/xian.jpg"> <!--start--> <table width="91%" height="200" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="57" align="left" valign="top"> <img src="images/Article_r2_c3.jpg" width="164" height="57" align="center"> <%=linkPre%> <%=linkNext%> </td> </tr> <tr> <td width="53%" valign="top" > <table width="95%" height="66" border="0" cellpadding="0" cellspacing="0"> <tr> <td><IFRAME src="articleframe.asp?id=<%=id%>" frameborder="0" scrolling="YES" width="480" height="200"></IFRAME></td> </tr> </table> <!--end--> </td> </tr> </table></td> </tr> <tr> <td align="center" background="images/Article_r4_c2.jpg" width="507" height="23" valign="top"> </td> </tr> </table></td> <td width="38%"><img src="images/Article_r3_c8.jpg" width="386" height="267"></td> </tr> </table></td> </tr> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="44%" rowspan="3" valign="bottom"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="67%"><img src="images/Article_r5_c1.jpg" width="292" height="143"></td> <td width="33%" rowspan="2"><img src="images/Article_r5_c5.jpg" width="145" height="256"></td> </tr> <tr> <td><img src="images/Article_r6_c1.jpg" width="292" height="113"></td> </tr> </table></td> <td width="56%"><img src="images/Articlemuen.jpg" width="563" height="60" border="0" usemap="#Map"></td> </tr> <tr> <td><img src="images/aboutme2_r1_c1.jpg" width="563" height="93"></td> </tr> <tr> <td><img src="images/aboutme2_r3_c1.jpg" width="563" height="103"></td> </tr> </table></td> </tr> </table> <map name="Map"> <area shape="rect" coords="20,24,80,52" href="aboutme.asp"> <area shape="rect" coords="85,16,145,47" href="Article.asp"> <area shape="rect" coords="156,17,230,47" href="Multimedia.asp"> <area shape="rect" coords="238,22,296,52" href="photo.asp"> <area shape="rect" coords="307,30,381,54" href="tool.asp"> <area shape="rect" coords="398,25,465,51" href="book.asp"> </map></body> </html>