?? listzt.asp
字號(hào):
<!--#include file="conn.asp"-->
<!--#include file="webconfig.asp"-->
<html><head><title><%=webname%>--商品專題</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="images/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(""非法訪問(wèn)!"");location.href=""index.asp"";</script>")
response.end
end if
dim id
id=request.QueryString("id")
if not isinteger(id) then
response.write"<script>alert(""非法訪問(wèn)!"");location.href=""index.asp"";</script>"
end if%>
<!--#include file="bjxhead.asp"-->
<TABLE cellSpacing=0 cellPadding=0 width=778 align=center border=0>
<TBODY>
<TR>
<TD class=b width=7 background=image/b-l.gif> </TD>
<TD class=b vAlign=top align=left width=764><table width="760" align="center" border="0" cellspacing="0" cellpadding="0" class="table-zuoyou">
<tr>
<td width="100%" valign="top" align="center" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><table width=100% align=center class=table-shang border=0 cellpadding=0 cellspacing=0 bgcolor=#f1f1f1>
<TR>
<TD bgColor=#ffffff height=1></TD>
<TR>
<tr>
<td align=center width=100% height=30>商城專題</td>
</tr>
<TR>
<TD bgColor=#cccccc height=1></TD>
</TR>
<TR>
<TD bgColor=#f1f1f1 height=3></TD>
</TR>
</table>
<%set rs=server.createobject("adodb.recordset")
rs.open "select * FROM BJX_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="4"
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="80%" border="0" cellspacing="0" cellpadding="5" align="center">
<tr>
<td align=center style=font-size:18px height=50 valign=bottom bordercolor=#FFFFFF><%
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
%>
</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 class=b width=7 background=image/b-r.gif><IMG height=1
src="image/tm.gif" width=1></TD>
</TR>
</TBODY>
</TABLE>
<!--#include file="service.asp"-->
<!--#include file="bjxfoot.asp"-->
</body>
</html>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -