<!--#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">
<!--#include file="webtop.asp"-->
<div align="center">
<TABLE id=table1 style="MARGIN: 0px auto; BORDER-BOTTOM: #ffffff 0px solid" 
height="100%" cellSpacing=0 borderColorDark=#FFFFFF cellPadding=0 width=976 
borderColorLight=#CECECE border=1>
  <TBODY>
  <TR><!--sart left-->
    <TD vAlign=top width=234 bgcolor="#F1F1F1">
      <p align="center"><!--#include file="left.asp"--></TD><!---end left--><!--start right-->
          <td valign="top"> 
         <br>   
			<table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" id="table2">
              <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>&nbsp;&nbsp;<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" id="table3">
              <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>
    <!--end right--></TR></TBODY></TABLE></div>

<!--#include file="copyright.asp"-->
</body>
</html>
