www.gusucode.com > 山寨版广告信息招贴网源码程序 > 山寨版广告信息招贴网源码程序/ewuyi/dir_发布/info/info.asp
<!-- #include file="conn.asp"--> <% If request("id")="" Then Response.Redirect "../index.asp" End If set rs=Server.CreateObject("ADODB.RecordSet") sql="select * from ewuyi_info where adid="&request("id")&"" rs.open sql,conn,1,1 sidd=rs("cid") If rs("img")<>"" Then SiteImg=""&rs("img") Else SiteImg="/img/no.gif" End If set rs8=Server.CreateObject("ADODB.RecordSet") sql="select * from ewuyi_info where adid="&request("id")&"" rs8.open sql,conn,3,3 rs8("hits")=rs8("hits")+1 rs8.update rs8.close set rs8=nothing set rs1=Server.CreateObject("ADODB.RecordSet") sql="select * from ewuyi_class where id="&sidd rs1.open sql,conn,1,1 class_namex=rs1("C_name") Class_Tidx=rs1("c_id") set rs1x=Server.CreateObject("ADODB.RecordSet") sqlx="select * from ewuyi_class where id="&Class_Tidx rs1x.open sqlx,conn,1,1 class_nameb=rs1x("C_name") rs1x.close set rs1x=nothing rs1.close set rs1=nothing If rs("type")<1 Then Call AlertUrl("不存在或者没有被批准显示!","../index.asp") Response.End End If %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title><%=rs("title")%>_XX县<%=class_namex%>信息</title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <meta name="keywords" content="<%=rs("title")%>,<%=class_namex%>信息" /> <meta name="description" content="<%=rs("title")%>,<%=rs("text")%>" /> <meta http-equiv="Content-Language" content="zh-cn" /> <link href="/css/dir.css" type="text/css" rel="stylesheet" /> <script language="javascript" type="text/javascript" src="/user/js/click_stat.js"></script> </head> <body bgcolor="#FFFFFF"> <DIV id=Head> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="220" align="center" style="padding:1px 0px 0px 0px;"><a href="" onfocus="this.blur();"><img src="<%=sitelogo%>" width=206 vspace="7" border="0" alt="XX县广告招贴网" /></a></td> <td valign="middle" style="padding:1px 0px 0px 0px;"> <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:8px;"> <tr> <td align="right" valign="top" nowrap="nowrap" style="padding:6px 16px 0px 0px;"><a href="../index.asp">招贴网首页</a> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center"> <form action="/search.asp" name=dirform method="get"> <tr> <td width="266" valign="top" nowrap="nowrap" style="padding:0px 0px 4px 0px;"> <input maxlength=80 name=q size=25 value=""> <input type=submit value="搜索信息" class="searchB"></td> <td nowrap="nowrap"> <a href="../help/" title="XX县广告招贴网帮助">帮助</a> - <a href="/user/adfabu.asp">发布信息</a></td> </tr> </form> </table> </td> </tr> </table> <table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="navborder"> <tr> <td class="navbg"> 您的位置:<a href="../index.asp" class="linknov">首页</a> > <a href="/info/?d=<%=Class_Tidx%>" class="linknov"><%=class_nameb%></a> > <a href="/info/?d=<%=sidd%>" class="linknov"><%=class_namex%></a> > <%=rs("title")%>-<%=rs("time")%></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td valign="top" class="left"> <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:7px;"> <tr> <td width="210" rowspan="2" valign="top"><a href="?id=<%=rs("adid")%>" title="访问此信息" target="_blank" onClick="javascript:chk_stat(<%=rs("adid")%>);"><img border="0" width="202" height="147" src="<%=SiteImg%>" class="DirImg"></a></td> <td valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="1"> <tr> <td width="60" align="right" nowrap>信息标题:</td> <td><div class="fh1"><span class="rig"><script language="javascript"> var __furl = window.location.href; function copy_url() { var msg = '推荐给你实用网站,网址是:' + __furl; window.clipboardData.setData("text", msg); alert("复制成功,按 Ctrl-V 即可粘贴到QQ聊天发送出!"); } document.writeln('<a onclick="copy_url()">推荐给好友</a>'); </script><a href="javascript:window.external.AddFavorite('/info/info.asp?id=<%=rs("adid")%>','<%=rs("title")%>');">收藏此信息</a></span> <h1><%=rs("title")%></h1></div></td> </tr> <tr> <td align="right" nowrap>发布时间:</td> <td class="greendomain"><%=rs("time")%> 有效期到<%=rs("stop")%></td> </tr> <tr> <td align="right" nowrap>所属信息:</td> <td> <a href="/info/?d=<%=Class_Tidx%>" class="linknov"><%=class_nameb%></a> > <a href="/info/?d=<%=sidd%>" class="linknov"><%=class_namex%></a> </td> </tr> <tr> <td align="right" valign="top" nowrap>信息描述:</td> <td valign="top"> <%=rs("text")%></td> </tr> <tr> <td align="right" nowrap>联 系 人:</td><td><%=rs("user")%></td> </tr> <tr> <td align="right" nowrap>请 注 意:</td><td><font color="#FF0000">本站只提供信息交流平台,请自行分辨真假,如有损失,本站概不负责.</font></td> </tr> <tr> <td align="right" nowrap>联系电话:</td><td><img border="0" height="15" src="/info/tel.asp?tel=<%=rs("tel")%>" alt="<%=rs("tel")%>" class="DirImg"></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td nowrap class="f11" style="padding-left:2px;">相关信息:<a href="/info/ips.asp?ip=<%=rs("vip")%>" target="_blank" title="查看此IP信息">查看此IP信息</a> 查看次数:<%=rs("hits")%></td> </tr> </table> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td class="h1"></td> </tr> <tr> <td height="30" align="center">在百度上搜索<a href="http://www.baidu.com/s?wd=<%=rs("title")%>&cl=3&tn=253252545" target="_blank" title="在百度上搜索"><font color="red"><%=rs("title")%></font></a> | 在google上搜索<a href="http://www.google.cn/search?hl=zh-CN&q=<%=rs("title")%>" target="_blank" title="在google上搜索"><font color="red"><%=rs("title")%></font></a> | 在yahoo上搜索<a href="http://www.yahoo.cn/s?p=<%=rs("title")%>&pid=hp&v=web" target="_blank" title="在yahoo上搜索"><font color="red"><%=rs("title")%></font></a></td> </tr> </table> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:12px;margin-bottom:10px;"> <tr><%if siteads=1 then%> <td width="100%" valign="top"><div class="b200"><%=Ad2%></div><div class="b200"><%=Ad3%></div></td><%end if%> </tr> </table> </td> <td class="w1"></td> <td class="right" valign="top"> <!-- #include file="../left.asp"--> </td> </tr> </table> <% rs.close set rs=nothing %> <%call footer%> </div> </body> </html>