📄 infomore_pl.asp
字号:
<%response.buffer=true
Session.CodePage=936%>
<!--#include file="config.asp" -->
<!--#include file="conn.asp" -->
<!--#include file="ad.asp" -->
<%
dim id
id=trim(request.QueryString("id"))
if len(id)=0 or IsNumeric(id)=flase then response.redirect "error.asp?v=infomore_error" end if
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from 资讯 where 编号="& id,conn,1,1
if rs.eof or rs.bof then response.redirect "error.asp?v=infomore_no" 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">
<SCRIPT language='javascript' src='inc/pop.js'></SCRIPT>
<link href="skin/style_<%=trim(request.cookies("skin_color"))%>.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0" ondragstart="window.event.returnvalue=false" oncontextmenu="return false" onselectstart="return false" ondragstart="return false" ondragstart="return false">
<noscript><iframe src="*.htm"></iframe></noscript>
<div align="<%=sitealign%>">
<table width="683" border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
<td width="183" bgcolor="#E9E9E9">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#990000" height="110" align="center">
<img border="0" src="images/logo2.gif" width="160" height="85" alt="CityCN.net LOGO">
</td>
</tr>
<tr>
<td bgcolor="#ffffff" height="1"></td>
</tr>
<tr>
<td class="skin_shen" height="55" align="center"><span style="font-size: 12pt; line-height: 12pt; font-weight: 700; color: #FFFFFF; letter-spacing: 5">资讯相关信息</span></td>
</tr>
<tr>
<td height="1" bgcolor="#ffffff"></td>
</tr>
<tr>
<td height="10"></td>
</tr>
<tr>
<td align=center>
<table border="0" width="90%" cellpadding="6" bgcolor="#FFFFFF" style="border-left:1px solid #D3D3D3; border-right:1px solid #D3D3D3; border-top:1px solid #D3D3D3;">
<tr>
<td align=center>
<TABLE cellPadding=4 cellspacing="0" width="140">
<TR>
<TD width="40" align="left" style="border-bottom:1px dotted #cccccc">名称:</TD>
<TD width="100" align="left" style="border-bottom:1px dotted #cccccc; color:#ff6600"><%=rs("名称")%></TD>
</TR>
<TR>
<TD align="left" style="border-bottom:1px dotted #cccccc">城市:</TD>
<TD align="left" style="border-bottom:1px dotted #cccccc; color:#ff6600"><%=rs("城市")%>(<%=rs("区号")%>)</TD>
</TR>
<TR>
<TD align="left" style="border-bottom:1px dotted #cccccc">类别:</TD>
<TD align="left" style="border-bottom:1px dotted #cccccc; color:#ff6600">
<%dim rslb
set rslb=server.CreateObject("adodb.recordset")
rslb.open "select * from 资讯类别 where 类别编号=" & rs("类别"),conn,1,1
if rslb.recordcount=1 then
response.write rslb("类别名")
end if
rslb.close
set rslb=nothing%>
</TD>
</TR>
<TR>
<TD align="center" style="border-bottom:1px dotted #cccccc" colspan="2" height="30"><%response.write "<img border=0 title='推荐指数→"&rs("推荐指数")&"级' src='images/info_tui_"&rs("推荐指数")&".gif' width=55 height=12>"%></TD>
</TR>
<TR>
<TD colspan="2" align="center" height="2"></TD>
</TR>
</TABLE>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="skin_qian" align="center" height="55">
<span style="letter-spacing: 5px"><font style="font-size: 12pt" color="#FFFFFF">
<span style="font-weight: 700">相关操作</span></font></span></td>
</tr>
<tr>
<td height="1" bgcolor="#ffffff"></td>
</tr>
<tr>
<td height="10"></td>
</tr>
<tr>
<td align="center">
<table border="0" width="90%" cellpadding="6" bgcolor="#FFFFFF" style="border-left:1px solid #D3D3D3; border-right:1px solid #D3D3D3; border-top:1px solid #D3D3D3;">
<tr>
<td align=center>
<TABLE cellPadding=4 cellspacing="0" width="140">
<TR>
<TD align="center" style="border-bottom:1px dotted #cccccc" height="30">
<a href="infomore.asp?id=<%=rs("编号")%>">详细介绍</a></TD>
</TR>
<TR>
<TD align="center" style="border-bottom:1px dotted #cccccc" height="30"><a href="infomore_pl.asp?id=<%=rs("编号")%>#add_pl">发表评论</a></TD>
</TR>
<TR>
<TD align="center" style="border-bottom:1px dotted #cccccc" height="30"><a target="_blank" href="mod_info.asp?id=<%=id%>">店家管理</a></TD>
</TR>
<TR>
<TD align="center" height="2"></TD>
</TR>
</TABLE>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="skin_qian" height="30" align="center"> </td>
</tr>
</table>
</td>
<td width="500">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="100%" border="0" cellpadding="5" cellspacing="0">
<tr>
<td height="40" bgcolor="#2B78A8" style="font-size:12pt; line-height:12pt; color: #FFFF00; font-weight:bold"><%=rs("名称")%></td>
</tr>
<tr>
<td height="1" bgcolor="#ffffff"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center">
<table width="500" border="1" cellpadding="5" style="border-collapse: collapse" bordercolor="#CCCCCC">
<tr>
<td width="400" style="font-size: 10pt" bgcolor="#EFEFEF"><font face="Wingdings" style="font-size: 12pt" color="#FF9800">î</font> <font color="#FF6600"><b>网友评论</b></font></td>
<td bgcolor="#ffffff" width="100" align="center">
<a style="font-size: 10pt; color: #666666; font-weight: bold" href="#add_pl">发表评论</a><img border="0" src="images/arrow.gif"></td>
</tr>
<%dim rspl
set rspl=server.CreateObject("adodb.recordset")
rspl.open "select * from 资讯评论 where 审核=1 and 资讯编号="& rs("编号") &" order by 编号 desc",conn,1,1
if rspl.recordcount=0 then
response.write "<tr><td colspan='2'>暂时没有评论</td></tr>"
else
do while not rspl.eof and not rspl.bof
response.write "<tr><td colspan='2' style='line-height:12pt'>"
response.write "<font color='#FF3300'>"&rspl("发言内容")&"</font>"
response.write "<div align='right'><font color='#999999'>留言人 <u>" &rspl("发言者姓名")& "</u> | " &rspl("发言时间")& " | " &rspl("发言者联系方式") &" | IP保密</font></div>"
response.write "</td></tr>"
rspl.movenext
loop
end if
rspl.close
set rspl=nothing%>
</td>
</tr>
<tr><td height="2" colspan="2"></td></tr>
</table>
<table width="500"><tr><td height="2"></td></tr></table>
<a name="add_pl"></a>
<table width="500" border="1" cellpadding="8" style="border-collapse: collapse" bordercolor="#CCCCCC">
<tr><td height="2" align="center"><!--详细页广告--><%call ad_info_more(rs("城市"))%></td></tr>
</table>
<table width="500"><tr><td height="1"></td></tr></table>
<iframe name="add_info_pl" src="add_info_pl.asp?id=<%=rs("编号")%>" marginwidth="0" marginheight="0" height="327" width="500" scrolling="no" border="0" frameborder="0"></iframe>
</td>
</tr>
</table>
<table width="500" border="0" cellpadding="5" cellspacing="0">
<tr><td height="4" bgcolor="#ffffff" colspan="2"></td></tr>
<tr>
<td height="35" bgcolor="#2B78A8" style="font-size:9pt; color: #FFFFff" width="300">更新日期:<%=rs("日期")%></td>
<td height="35" bgcolor="#2B78A8" style="font-size:9pt; color: #FFFFff" align="right"><input type='button' value=' 关 闭 ' onclick='javascript:window.close()'></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<%
rs.close
set rs=nothing
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -