📄 info_view.asp
字号:
<!--#include file="../main.asp" -->
<!--#include file="../Space.asp" -->
<%
id=clng(request("id"))
infoid=clng(request("infoid"))
if id="" or IsNumeric(id)<>true then
response.write"请输入正确的ID号!"
response.end
end if
sql="select * from "&WebSqlType&"_info where "&WebSqlType&"_infoid="&infoid&""
set rs=server.createobject("ADODB.Recordset")
rs.open sql,conn,1,1
conn.execute("update "&WebSqlType&"_info set "&WebSqlType&"_infohtc="&WebSqlType&"_infohtc+1 where "&WebSqlType&"_infoid="&infoid)
sql3="select * from "&WebSqlType&"_member where "&WebSqlType&"_id="&id&""
set rs3=server.createobject("ADODB.Recordset")
rs3.open sql3,conn,1,1%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE><%=rs(""&WebSqlType&"_infotitle")%> - 分类信息</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content=follow,index name=robots>
<LINK href="<%=cityurl%>images/style.css"
type=text/css rel=stylesheet>
<LINK href="<%=cityurl%>images/msg.css" type=text/css
rel=stylesheet>
<SCRIPT language=JavaScript>
<!--
function killErrors() {
return true;
}
window.onerror = killErrors;
// -->
</SCRIPT>
<STYLE>#flashcontent P {
COLOR: #000
}
#foot {
DISPLAY: block; MARGIN: 0px auto; WIDTH: 720px
}
</STYLE>
<META content="MSHTML 6.00.3790.0" name=GENERATOR></HEAD>
<BODY>
<DIV id=append_parent></DIV>
<DIV id=wrap>
<!--#include file="top.asp" -->
<DIV class=main>
<!--#include file="right.asp" -->
<DIV class=main-box-4>
<DIV class=box-top>
<DIV></DIV></DIV>
<DIV class=nav>我的位置:<A href="<%=cityurl%>">首页</A> » <A
href="<%=cityurl%>info">分类信息</A> » <STRONG><%=rs(""&WebSqlType&"_infotitle")%></STRONG></DIV>
<DIV class=box>
<TABLE class=title cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD width="14" class=title-l></TD>
<TD width="816"><%=rs(""&WebSqlType&"_infotitle")%></TD>
<TD width="116"><!-- <a href="log_add.asp">发布新信息</a> --></TD>
<TD width="14" class=title-r></TD></TR></TBODY></TABLE>
<TABLE width=90% border=0 align="center" cellPadding=6 cellSpacing=0 borderColor=#111111
style="BORDER-COLLAPSE: collapse">
<TBODY>
<TR align="center">
<TD height=30 colspan="2" style="border-bottom:1px solid red; ">
<DIV class=tablehead><B class=tableheadr>类型</B>:<%=rs(""&WebSqlType&"_infoxxone")%>、<%=rs(""&WebSqlType&"_infoxxtwo")%>
<B class=tableheadr>地区</B>:<%=rs(""&WebSqlType&"_infoaddone")%>、<%=rs(""&WebSqlType&"_infoaddtwo")%>
<B class=tableheadr>人气</B>:<%=rs(""&WebSqlType&"_infohtc")%>
</a> </DIV></TD>
</TR>
<TR>
<TD width=11% height=25 align=center valign="top">联系方式:</TD>
<TD height=25 align=left style="border-bottom:1px solid #cccccc; ">
<%=rs(""&WebSqlType&"_infotel")%>
</TD>
</TR>
<TR>
<TD width=11% height=25 align=center valign="top"><span class="STYLE1">具体说明:</span></TD>
<TD width=89% height=25 align=left style="border-bottom:1px solid #cccccc; "><%=rs(""&WebSqlType&"_infobook")%> </TD>
</TR>
<TR align="center" valign="bottom">
<TD height=10 colSpan=2></TD>
</TR>
</TBODY>
</TABLE>
<TABLE width=90% border=0 align="center" cellPadding=6 cellSpacing=0 borderColor=#111111
style="BORDER-COLLAPSE: collapse">
<TBODY>
<TR align="left">
<TD height=30 colspan="2" style="border-bottom:1px solid red; "><DIV class=tablehead><B class=tableheadr>给我留言 </B></DIV></TD>
</TR>
<FORM id="book" name="leavewordForm" action="server.asp " method="post">
<INPUT type=hidden value=<%=id%> name=id>
<INPUT type=hidden value=5 name=key>
<INPUT type=hidden value=<%=infoid%> name=htc>
<TR>
<TD width=17% height=25 align=right><span class="STYLE1">内容 :</span></TD>
<TD height=25 align=left style="border-bottom:1px solid #cccccc; ">
<INPUT type=hidden
value="info_view.asp?id=<%=id%>&infoid=<%=infoid%>" name="url"> <TEXTAREA name=book cols="80" rows=5 id=input_words onKeyUp="return textLimitCheck(this,500);"></TEXTAREA>
</TD>
</TR>
<TR>
<TD width=17% height=25 align=right><span class="STYLE1"></span></TD>
<TD width=83% height=25 align=left style="border-bottom:1px solid #cccccc; "><INPUT id=btn_post type=submit value=发表留言 name=Submit>
</TD>
</TR>
</form>
<TR align="center" valign="bottom">
<TD height=10 colSpan=2></TD>
</TR>
</TBODY>
</TABLE>
<table width="90%" border="0" align="center" cellpadding="6" cellspacing="0" bordercolor="#111111"
style="BORDER-COLLAPSE: collapse">
<tbody>
<tr align="left">
<td height="13" colspan="2" style="border-bottom:1px solid red; ">
<div class="tablehead"><b class="tableheadr">查看评论 </b></div></td>
</tr>
<%set rs1=server.createobject("adodb.recordset")
sql="select * from "&WebSqlType&"_book where "&WebSqlType&"_key=5 and "&WebSqlType&"_htc="&infoid&" order by "&WebSqlType&"_id desc"
rs1.open sql,conn,1,1
do while not rs1.eof
%>
<tr>
<td width="17%" height="25" align="right" ><span class="STYLE1"><A
href="index.asp?id=<%=rs1(""&WebSqlType&"_user")%> " target=_blank><%=rs1(""&WebSqlType&"_username")%></A> 说:</span></td>
<td height="25" align="left" style="border-bottom:1px solid #cccccc; "><%=rs1(""&WebSqlType&"_book")%></td>
</tr>
<%
rs1.movenext
loop
rs1.close%>
<tr align="center" valign="bottom">
<td height="10" colspan="2">
</td>
</tr>
</tbody>
</table>
<BR>
</DIV>
<DIV class=box-bot>
<DIV></DIV></DIV></DIV></DIV>
<DIV id=bot><!--#include file="../bottom.asp" --></DIV>
<DIV id=wrap-bot>
<DIV></DIV></DIV></DIV>
</BODY></HTML>
<%
rs3.close
rs.close%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -