www.gusucode.com > 枫的记忆个人主页程序源码程序 > downcode.com\fengdejiyizh\photo_show.asp
<!--#include file="conn.asp"--> <% id=request.QueryString("id") if id<>"" then set rs=server.createobject("adodb.recordset") sql="select * from photo where id="&id rs.open sql,conn,1,3 if rs.bof and rs.eof then response.Write("没有该图片") Response.End else rs("flag")=rs("flag")+1 rs.update end if end if %> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title><%=rs("title")%></title> <SCRIPT language="JavaScript" src="rightclick.js"></SCRIPT> <style type="text/css"> <!-- A{text-transform: none; text-decoration: none; color: #0162a0;} A:hover {color: #ff0000;text-decoration:derline} body,table { font-size:9pt; font-family: Verdana, 宋体; color: #0162a0; scrollbar-arrow-color: #3272B0; SCROLLBAR-HIGHLIGHT-COLOR: buttonface; SCROLLBAR-SHADOW-COLOR: buttonface; SCROLLBAR-3DLIGHT-COLOR: buttonhighlight; SCROLLBAR-TRACK-COLOR: #eeeeee; SCROLLBAR-DARKSHADOW-COLOR: buttonshadow; } .td { border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: #FFFFFF; border-right-color: #CCCCCC; border-bottom-color: #CCCCCC; border-left-color: #FFFFFF; } --> </style> </head> <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onselectstart='return false' ondrag='return false' oncontextmenu='return false'> <table border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td colspan="3"><img src="img/g_001.gif" width="600" height="58"></td> </tr> <tr> <td valign="top"><img src="img/g_002.gif" width="24" height="362"></td> <td valign="top"><table width="552" border="0" cellspacing="0" cellpadding="0"> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src="img/g_005.gif" width="6" height="38"></td> <td width="99%" align="center" background="img/g_006.gif" style="font-size:14px;color:#FFFFFF;"><b><%=rs("title")%></b></td> <td><img src="img/g_007.gif" width="6" height="38"></td> </tr> </table></td> </tr> <tr> <td><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td><img src="img/g_008.gif" width="2" height="2"></td> <td background="img/g_012.gif"><img src="img/g_012.gif" width="2" height="2"></td> <td><img src="img/g_009.gif" width="2" height="2"></td> </tr> <tr> <td background="img/g_012.gif"><img src="img/g_012.gif" width="2" height="2"></td> <td width="548" height="330" align="center" valign="middle" bgcolor="#f9f9f9"><table width="20" height="20" border="0" cellpadding="0" cellspacing="5" bgcolor="#f2f2f2" class="td"> <tr> <td><a href="admin/<%=rs("p_url")%>" target=_blank><img src="admin/<%=rs("p_url")%>" <%if ((rs("width")="0" and rs("height")="0") or (rs("width")="" and rs("height")="")) then%><%else%>width="<%=rs("width")%>" height="<%=rs("height")%>"<%end if%> border="0" align="absmiddle"></a></td> </tr> </table> </td> <td background="img/g_012.gif"><img src="img/g_012.gif" width="2" height="2"></td> </tr> <tr> <td><img src="img/g_010.gif" width="2" height="2"></td> <td background="img/g_012.gif"><img src="img/g_012.gif" width="2" height="2"></td> <td><img src="img/g_011.gif" width="2" height="2"></td> </tr> </table></td> </tr> <tr> <td><img name="" src="" width="4" height="4" alt=""></td> </tr> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><img name="" src="" width="1" height="1" alt=""></td> <td background="img/g_013.gif"><img src="img/g_013.gif" width="1" height="1"></td> <td><img name="" src="" width="1" height="1" alt=""></td> </tr> <tr> <td background="img/g_013.gif"><img src="img/g_013.gif" width="1" height="1"></td> <td width="550" height="108" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td background="img/line1.gif"></td> </tr> <tr> <td height="25"> 人 气: <font color="#FF0000"><%=rs("flag")%></font></td> </tr> <tr> <td background="img/line1.gif"></td> </tr> <tr> <td height="25" style="line-height:22px;"> 简 要 描 述: <%=rs("content")%></td> </tr> </table></td> <td background="img/g_013.gif"><img src="img/g_013.gif" width="1" height="1"></td> </tr> <tr> <td><img name="" src="" width="1" height="1" alt=""></td> <td background="img/g_013.gif"><img src="img/g_013.gif" width="1" height="1"></td> <td><img name="" src="" width="1" height="1" alt=""></td> </tr> </table></td> </tr> </table></td> <td valign="top"><img src="img/g_003.gif" width="24" height="362"></td> </tr> <tr> <td colspan="3"><img src="img/g_004.gif" width="600" height="56"></td> </tr> </table> </body> </html>