⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 listzt.asp

📁 采用asp+fso技术 傻瓜式的程序安装和调试 用户无需考虑系统的安装维护 美观、友好的展示铺面 设计中应用了多种网络安全技术 顾客可以方便的查询并订购商品 用户可以方便的定义各种商品信息
💻 ASP
字号:
<!--#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(""非法访问!"");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 width=778 border=0 align=center cellPadding=0 cellSpacing=0 background="images/content.gif">
  <TBODY>
    <TR>
      <TD class=b width=7>&nbsp;</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=#69650A>
              <TR>
                <TD bgColor=#ffffff height=1></TD>
              <TR>
              <tr>
                <td align=center width=100% height=30><font color="#FFFFFF" size="+1">商城专题</font></span></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 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="#413F06"
		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 height=1 align=center valign=bottom bordercolor=#FFFFFF bgcolor="#434108" style=font-size:18px></td>
                </tr>
                <tr>
                  <td align=center style=font-size:18px height=2 valign=bottom bordercolor=#FFFFFF></td>
                </tr>
                <tr>
                  <td height=1 align=center valign=bottom bordercolor=#FFFFFF bgcolor="#413F06" style=font-size:18px> </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></TD>
    </TR>
  </TBODY>
</TABLE>
<!--#include file="service.asp"-->
<!--#include file="copyright.asp"-->
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -