📄 listzt.asp
字号:
<!--
┌─ shopxp.cn──────────────┐
│ 免费版难免存在不足,建议你使用正式版 │
│ 正式版用户提供免费升级24小时内排除故障│
│ 请到www.shopxp.cn进行前台和后台的测试 │
│ 热线:010-69209701-801 QQ:83107971 │
└────────────────────┘
-->
<!--#include file="conn/conn.asp"-->
<!--#include file="conn/webconfig.asp"-->
<html><head><title><%=webname%>--商品专题</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="img/css.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<%if IsNumeric(request.QueryString("id"))=False then
response.write("<script>alert(""非法访问!"");location.href=""index.asp"";</script>")
response.end
end if
dim id
id=request.QueryString("id")
if not isinteger(id) then
response.write"<script>alert(""非法访问!"");location.href=""index.asp"";</script>"
end if%>
<!--#include file="webtop.asp"-->
<TABLE cellSpacing=0 cellPadding=0 width=99% align=center border=0>
<TBODY>
<TR>
<td width="1" height="229" background="img/xiao/bgbg.gif"></td>
<TD width=869 align=left vAlign=top class=b><table width="100%" height="234" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="175" valign="top"><table border="0" cellspacing="0" cellpadding="0">
<td valign=top class=b><!--#include file="info/info_fenlei.asp" --></td>
</tr>
<tr>
</table></td>
<td width="1" background="img/xiao/bgbg.gif"></td>
<td width="760" valign="top"><%set rs=server.createobject("adodb.recordset")
rs.open "select * from zhuanti where newsid="&request("id"),conn,1,1
title=trim(rs("title"))
UpdateTime=trim(rs("UpdateTime"))
News_Content=rs("Content")
'News_Content=replace(News_Content,"uploadpic/","/uploadpic/")
if trim(rs("titlecolor"))<>"" then
titlecolor=trim(rs("titlecolor"))
else
titlecolor="#ff3300"
end if
if trim(rs("titlesize"))<>"" then
titlesize=trim(rs("titlesize"))
else
titlesize="12"
end if
if trim(rs("titleface"))<>"" then
titleface=trim(rs("titleface"))
else
titleface="黑体_gb2312"
end if
if trim(rs("titletype"))<>"" then
titletype=trim(rs("titletype"))
else
titletype="b"
end if
rs.Close
set rs=nothing
%>
<table width="100%" height="213" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="100%" align="center" valign="top"><br> <table width="92%" height="26" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><div align="center">
<%
tmp_center="<strong><font face="&titleface&" color="&titlecolor&">"
if titletype="0" then
tmp_center=tmp_center&title
end if
if titletype="1" then
tmp_center=tmp_center&"<b><i>"&title&"</i></b>"
end if
if titletype="b" then
tmp_center=tmp_center&"<b>"&title&"</b>"
end if
if titletype="i" then
tmp_center=tmp_center&"<i>"&title&"</i>"
end if
if titletype="u" then
tmp_center=tmp_center&"<u>"&title&"</u>"
end if
tmp_center=tmp_center&"</font></strong>"&VbCrLf
response.write tmp_center
%>
</div></td>
</tr>
</table>
<table width="80%" border="0" cellspacing="0" cellpadding="5" align="center">
<tr>
<td><%=HtmlSelfEnCode(News_Content)%></td>
</tr>
</table>
<%
Function HtmlSelfEnCode(content)
TempContent=content
TempContent=replace(TempContent,"<img src=","<P align=center><img onload='javascript:if(this.width>screen.width-333)this.width=screen.width-333' src=")
HtmlSelfEnCode=TempContent
End Function
%> </td>
</tr>
</table></td>
<td width="1" background="img/xiao/bgbg.gif"></td>
</tr>
</table></TD>
<TD width=97 align=left vAlign=top class=b> </TD>
</TR>
</TBODY>
</TABLE>
<!--#include file="copyright.asp" -->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -