📄 listzt.asp
字号:
<!--#include file="conn.asp"-->
<!--#include file="webconfig.asp"-->
<!--#include file="fuction.asp" -->
<html>
<head>
<title><%=webname%>--商品专题</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- onMouseOver="window.status='【<%=webname%>】<%=weburl%> 如果您喜欢本站,别忘了把本站介绍给您的好友哦!:)';return true">-->
<!--#include file="webtop.asp"-->
<table width="778" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td width="1" bgcolor="C9C9C8"><img src="../images/block.gif" width="1" height="1"></td>
<td> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="168" valign="top">
<!--#include file="left.asp"-->
</td>
<td width="1" bgcolor="C9C9C8"><img src="images/block.gif" width="1" height="1"></td>
<td valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td background="images/bg1_4color_.jpg"><img src=images/bg1_4color_.jpg" width="1" height="3"></td>
</tr>
</table>
<br> <table width="98%" border="0" align="center" cellpadding="0" cellspacing="1">
<tr>
<td height="1" bgcolor="cccccc"><img src="images/dot_03.gif" width="9" height="1" border="0"></td>
</tr>
<tr>
<td height="25" bgcolor="efefef"><strong> <img src="images/dot_03.gif" width="9" height="9" border="0">
商品专题</strong></td>
</tr>
<tr>
<td height="1" bgcolor="cccccc"><img src="images/dot_03.gif" width="9" height="1" border="0"></td>
</tr>
</table>
<%set rs=server.createobject("adodb.recordset")
if Not isChkInteger(request("id")) then
%>
<script language=javascript>
alert("参数错误!");
window.close();
</script>
<%
response.end
end if
rs.open "select * From shop_zhuanti where newsid="&request("id"),conn,1,1
if rs.recordcount=0 then
%>
<script language='javascript'>alert('专题调用错误,请返回!');window.location.href='index.asp';</script>
<%
end if
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="#003399"
end if
if trim(rs("titlesize"))<>"" then
titlesize=trim(rs("titlesize"))
else
titlesize="5"
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
%>
<br> <table width="95%" border="0" cellspacing="0" cellpadding="5" align="center">
<tr>
<td align=center style=font-size:18px height=50 valign=bottom bordercolor=#FFFFFF><font color="<%=flzhzt%>">
<%
tmp_center="<strong><font face="&titleface&" size="&titlesize&" 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
%>
</font></td>
</tr>
<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" bgcolor="C9C9C8"><img src="../images/block.gif" width="1" height="1"></td>
</tr>
</table>
<!--#include file="copyright.asp"-->
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -