?? xinxi.asp
字號(hào):
<!--#include file="config.asp" -->
<!--#include file="ad.asp" -->
<%
dim id
id=trim(request("id"))
if len(id)=0 then response.redirect "ok.asp?ok=xinxierror0" end if
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from xinxi where 編號(hào)="& id,conn,1,1
if rs.eof or rs.bof then response.redirect "ok.asp?ok=xinxierror" end if
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name=keywords content="<%=sitekeywords%>">
<meta name="description" content="<%=sitedescription%>">
<title><%=rs("名稱")%> -- <%=sitename%></title>
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="2" topmargin="4" oncontextmenu="self.event.returnValue=false">
<noscript><iframe src="*.htm"></iframe></noscript>
<div align="<%=sitealign%>">
<TABLE cellSpacing=0 cellPadding=0 width=500 border=0>
<TR>
<TD width=38 height=27 background=images/bg2_left.gif></TD>
<TD width=429 background=images/bg2_bg.gif align=middle class=t4><%if rs("名稱")<>"" then response.write (rs("名稱")) end if%></TD>
<TD width=33 background=images/bg2_right.gif></TD>
</TR>
</TABLE>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TR>
<TD height="5"></TD>
</TR>
</TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=500 bgColor=#ffffff border=0 style="border-collapse: collapse">
<TR>
<TD width=6 height=9 background=images/paycenter_11.gif ></TD>
<TD width=482 background=images/paycenter_12.gif></TD>
<TD width=12 background=images/paycenter_13.gif></TD>
</TR>
<TR>
<TD background=images/paycenter_22.gif></TD>
<TD vAlign=top align="center">
<!--詳細(xì)資料開始-->
<table border="0" cellpadding="3" cellspacing="0" style="border-collapse: collapse" width="470">
<%if rs("介紹")<>"" then%><tr><td width="65" height="20" valign="top">場(chǎng)所介紹:</td><td width="405"><%=rs("介紹")%></td></tr><%end if%>
<%if rs("地址")<>"" then%><tr><td width="65" height="20" valign="top">場(chǎng)所地址:</td><td width="405"><%=rs("地址")%></td></tr><%end if%>
<%if rs("公交")<>"" then%><tr><td width="65" height="20" valign="top">公交線路:</td><td width="405"><%=rs("公交")%></td></tr><%end if%>
</table>
<!--詳細(xì)資料結(jié)束-->
</TD>
<TD background=images/paycenter_23.gif></TD></TR>
<TR>
<TD width=6 height=12 background=images/paycenter_31.gif></TD>
<TD background=images/paycenter_32.gif></TD>
<TD width=12 background=images/paycenter_33.gif></TD>
</TR>
</TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=500 bgColor=#ffffff border=0 style="border-collapse: collapse">
<TR>
<TD width=6 height=9 background=images/paycenter_11.gif ></TD>
<TD width=482 background=images/paycenter_12.gif></TD>
<TD width=12 background=images/paycenter_13.gif></TD>
</TR>
<TR>
<TD background=images/paycenter_22.gif></TD>
<TD vAlign=top align="center">
<!--詳細(xì)資料開始-->
<table border="0" cellpadding="3" cellspacing="0" style="border-collapse: collapse" width="470">
<tr><td width="65" height="20" valign="top">聯(lián)系電話:</td><td width="203"><%if rs("電話")<>"" then%><%=rs("電話")%><%end if%></td>
<td width="202" align="right" style="font-size: 11pt; font-weight: bold" rowspan="2">
<% set rslb=server.CreateObject("adodb.recordset")
rslb.open "select * from city where 區(qū)號(hào)='" & rs("城市")&"'",conn,1,1
response.write ( rslb("城市") &"市(" & rslb("省份") & ")" )
rslb.close
set rslb=nothing%>
</td></tr>
<tr><td width="65" height="20" valign="top">網(wǎng)站網(wǎng)址:</td><td width="203"><%if rs("網(wǎng)站")<>"" then%><a target='_blank' href='<%=rs("網(wǎng)站")%>'><%=rs("網(wǎng)站")%></a><%end if%></td>
</tr>
</table>
<!--詳細(xì)資料結(jié)束-->
<%if rs("推薦指數(shù)")<>"" then response.write ("<img border=0 title='推薦指數(shù)→"&rs("推薦指數(shù)")&"級(jí)' src='images/level"&rs("推薦指數(shù)")&".gif' width=55 height=12>") end if%><br>
</TD>
<TD background=images/paycenter_23.gif></TD></TR>
<TR>
<TD width=6 height=12 background=images/paycenter_31.gif></TD>
<TD background=images/paycenter_32.gif></TD>
<TD width=12 background=images/paycenter_33.gif></TD>
</TR>
</TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=500 bgColor=#ffffff border=0 style="border-collapse: collapse">
<TR>
<TD width=6 height=9 background=images/paycenter_11.gif ></TD>
<TD width=482 background=images/paycenter_12.gif></TD>
<TD width=12 background=images/paycenter_13.gif></TD>
</TR>
<TR>
<TD background=images/paycenter_22.gif></TD>
<TD vAlign=top align="center"><!--廣告468*60--><%call ad_1()%></TD>
<TD background=images/paycenter_23.gif></TD></TR>
<TR>
<TD width=6 height=12 background=images/paycenter_31.gif></TD>
<TD background=images/paycenter_32.gif></TD>
<TD width=12 background=images/paycenter_33.gif></TD>
</TR>
</TABLE>
<%if rs("圖片1")<>"" and rs("圖片1")<>"http://" and len(rs("圖片1"))>7 then%>
<TABLE cellSpacing=0 cellPadding=0 width=500 bgColor=#ffffff border=0 style="border-collapse: collapse">
<TR>
<TD width=6 height=9 background=images/paycenter_11.gif ></TD>
<TD width=482 background=images/paycenter_12.gif></TD>
<TD width=12 background=images/paycenter_13.gif></TD>
</TR>
<TR>
<TD background=images/paycenter_22.gif></TD>
<TD vAlign=top align="center">
<!--詳細(xì)資料開始-->
<%if rs("圖片1")<>"" and rs("圖片1")<>"http://" then response.write ("<a target='_blank' href='"&rs("圖片1")&"'><img src='"&rs("圖片1")&"' title='點(diǎn)擊看大圖' border=0 height=150 width=200></a> ") end if
if rs("圖片2")<>"" and rs("圖片2")<>"http://" then response.write ("<a target='_blank' href='"&rs("圖片2")&"'><img src='"&rs("圖片2")&"' title='點(diǎn)擊看大圖' border=0 height=150 width=200></a><br><br>") end if
if rs("圖片3")<>"" and rs("圖片3")<>"http://" then response.write ("<a target='_blank' href='"&rs("圖片3")&"'><img src='"&rs("圖片3")&"' title='點(diǎn)擊看大圖' border=0 height=150 width=200></a>") end if%>
<!--詳細(xì)資料結(jié)束-->
</TD>
<TD background=images/paycenter_23.gif></TD></TR>
<TR>
<TD width=6 height=12 background=images/paycenter_31.gif></TD>
<TD background=images/paycenter_32.gif></TD>
<TD width=12 background=images/paycenter_33.gif></TD>
</TR>
</TABLE>
<%end if%>
<TABLE cellSpacing=0 cellPadding=0 width=500 bgColor=#ffffff border=0 style="border-collapse: collapse">
<TR>
<TD width=6 height=9 background=images/paycenter_11.gif ></TD>
<TD width=482 background=images/paycenter_12.gif></TD>
<TD width=12 background=images/paycenter_13.gif></TD>
</TR>
<TR>
<TD background=images/paycenter_22.gif></TD>
<TD vAlign=top align="center">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="470">
<tr>
<td align="center" style="font-size: 10pt; color: #0066CC; font-weight: bold">網(wǎng)友評(píng)論</td>
</tr>
<tr>
<td align="right">共有評(píng)論<%
set rspl=server.CreateObject("adodb.recordset")
rspl.open "select * from xinxibook where 資訊編號(hào)=" & rs("編號(hào)"),conn,1,1
response.write ("<font color=red> " & rspl.recordcount & " </font>")
rspl.close
set rspl=nothing%>條 <a href="xinxi_add.asp?id=<%=rs("編號(hào)")%>"><img src="images/liuyan.gif" border="0"></a><hr></td>
</tr>
<%
set rspl=server.CreateObject("adodb.recordset")
rspl.open "select * from xinxibook where 資訊編號(hào)=" & rs("編號(hào)") &" order by 編號(hào) desc",conn,1,1
if rspl.recordcount=0 then
response.write ( "<tr><td>暫時(shí)沒有評(píng)論</td></tr>")
else
while not rspl.eof%>
<tr>
<td><font color="#FF3300"><%=rspl("發(fā)言內(nèi)容")%></font><br>
<font color="#999999">留言人 <u><%=rspl("發(fā)言者姓名")%></u> | <%=rspl("發(fā)言時(shí)間")%><%if rspl("發(fā)言者聯(lián)系方式")<>"" then response.write ( " | " & rspl("發(fā)言者聯(lián)系方式")) end if%></font></td>
</tr>
<%
rspl.movenext
wend
end if
rspl.close
set rspl=nothing%>
</table>
</TD>
<TD background=images/paycenter_23.gif></TD></TR>
<TR>
<TD width=6 height=12 background=images/paycenter_31.gif></TD>
<TD background=images/paycenter_32.gif></TD>
<TD width=12 background=images/paycenter_33.gif></TD>
</TR>
</TABLE>
<table border="0" cellpadding="0" cellspacing="0" width="500">
<tr><td align="center" height="10"></td></tr>
<tr><td align="center" height="40"><form>
<input type='button' value=' 關(guān) 閉 ' onclick='window.close()'></form></td></tr>
<tr><td align="center" height="10"></td></tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="500">
<tr>
<td align="right" width="480" height="40">管理選項(xiàng):<a href="xinxi.asp?id=<%=id%>">資訊查看</a> | <a href="edit_xinxi.asp?id=<%=id%>">資訊管理</a> |
<a href="edit_zxbook.asp?id=<%=id%>">資訊評(píng)論管理</a> |
<a href="edit_login.asp">管理登陸</a> |
<a href="edit_logout.asp">退出登錄</a></td>
<td width="20"> </td>
</tr>
</table>
</div>
<%
rs.close
set rs=nothing
%>
</body></html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -