www.gusucode.com > 山寨版广告信息招贴网源码程序 > 山寨版广告信息招贴网源码程序/ewuyi/dir_发布/index.asp
<!-- #include file="conn.asp"--> <!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><%=sitetitle%> - 信息首页</title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <meta name="keywords" content="<%=sitekey%>" /> <meta name="description" content="<%=sitemeta%>" /> <meta http-equiv="Content-Language" content="zh-cn" /> <link rel="alternate" type="application/rss+xml" title="XX县广告招贴网(RSS 2.0)" href="/rss.asp"> <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" cellspacing="0" cellpadding="0" align="center"> <tr> <td width="30%"> </td> <td width="40%" align="center" style="padding:20px 0px 0px 0px;"> <a href="<%=siteurl%>" onFocus="this.blur();"><img src="<%=sitelogo%>" vspace=7 border=0 alt="XX县广告招贴网"></a></td> <td width="30%" align="right" valign="top" nowrap style="padding:7px 16px 0px 0px;"> <a href="index.asp">招贴网首页</a></td> </tr> </table> <table width="778" border="0" align="center" cellpadding="0" cellspacing="0" class="Tabwidth"> <form action="search.asp" name="dirform" method="get"> <tr> <td align="center" valign="top" style="padding:0px 0px 1px 0px;"> <table border="0" cellspacing="0" cellpadding="0" align="center" style="margin-bottom:6px;"> <tr> <td align="center"> <input maxlength="80" name="q" size=25> <input type="submit" class="searchB" value="搜索信息"> <a href="/help/">帮助</a> - <a href="/rss.asp" target="_blank" class="linkNo">订阅</a><br> </td> </tr> </table><div class="body" style="padding:5px;margin-top:8px;"> XX县广告招贴网 - 免费为XX县网民提供生活信息发布与信息检索功能。<a href="/user/adfabu.asp">发布信息</a></div> </td> </tr> </form> </table> <table width="778" border="0" align="center" cellpadding="0" cellspacing="0" class="Tabwidth" style="border-top:1px solid #99B2CC;margin-top:1px;"> <tr> <td valign="top"> <% set rs=Server.CreateObject("ADODB.RecordSet") sql="select * from ewuyi_class where c_id=0" rs.open sql,conn,1,1 i=0 do while not rs.eof i=i+1 response.Write"<table width=""100%"" border=""0"" cellspacing=""1"" cellpadding=""1""><tr><td><a href="""&siteurl&"/info/?d="&rs("id")&""" class=""link14b"">"&rs("c_name")&"</a></td></tr></table>" response.Write"<table width=""100%"" border=""0"" cellspacing=""1"" cellpadding=""1""><tr><td>" Set rs1 = Server.CreateObject("ADODB.Recordset") sql1="select * From ewuyi_class where c_id="&rs("id")&" order by id desc" rs1.open sql1,conn,1,1 If rs1.Bof Or rs1.Eof Then response.Write"" Else response.Write"<div class=""ad_navtext""><ul>" do while not rs1.eof response.Write"<li>• <a href=""/info/?d="&rs1("id")&""" class=""item"">"&rs1("c_name")&"</a></li>" rs1.MoveNext Loop response.Write"</ul></DIV>" End If response.Write"</td></tr></table><table width=""100%"" border=""0"" cellspacing=""0"" cellpadding=""0"" style=""margin-top:5px; margin-bottom:5px;"">" response.Write"<tr><td class=""h1""></td></tr></table>" rs1.close set rs1=nothing rs.movenext loop rs.close set rs=nothing %></td> <td class="w1"></td> <td class="right" valign="top" style="padding:6px 0px 6px 6px;"><%if siteads=1 then%><table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:5px;"> <tr><td><%=ad1%></td></tr></table><%end if%> <!-- #include file="left.asp"--> </td></tr> </table> <%call footer%> <%conn.close set conn=nothing %> </div> </body> </html>