
<!--#include file="Include/Iheeo_Conn.asp"-->
<!--#include file="Include/Iheeo_config.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="Include/Iheeo_head.asp"-->
<table width="970" align="center" border="0" cellspacing="0" cellpadding="0" class="wenbenkuang">
        <tr>
          <td width="100%" valign="top" align="center" bordercolor="#FFFFFF" bgcolor="#FFFFFF"><table width=100% align=center 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>
<!--#include file="Include/Iheeo_service.asp"-->
<!--#include file="Include/Iheeo_foot.asp"-->
</body>
</html>
