<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>会展材料市场-会展之窗招标网</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" language="javascript" src="js/jquery.js"></script>
<script type="text/javascript" language="javascript" src="js/site.js"></script>
</head>
<!--#include file="inc/Function.asp"-->
<!--#include file="inc/conn.asp"-->
<!--#include file="inc/Config.asp"-->
<body>
<!--#include file="top.asp"-->
<% 
id=Request("id")
Call ChkIsNumber(productid,"对不起,请文明访问本站")
Call ConnectionDataBase()
Sql = "SELECT ID,FilePath,FileName,content,content2,Hits FROM T_JcClass WHERE ID="& id
SetRs Rs,Sql,conn,1,3
IF Not Rs.Eof Then
	Rs("Hits")=Rs("Hits")+1
	Rs.update
	FilePath=Rs("FilePath")
	FileName=Rs("FileName")
	content=Rs("content")
	content2=Rs("content2")
End IF
DisRs Rs
 %>
<table width="990" border="0" align="center" cellpadding="0" cellspacing="0" class="margintop">
  <tr>
    <td><img src="images/bk_03_jc.jpg" width="983" height="60" /></td>
  </tr>
</table>
<table width="990" border="0" align="center" cellpadding="0" cellspacing="0" class="margintop">
  <tr>
    <td width="222" height="311" valign="top" background="images/ppny_13.jpg" style="background-repeat:no-repeat"><table width="88%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="45" align="center" class="pinpaititle"><%= FileName %>促销信息</td>
      </tr>
      <tr>
        <td height="36" align="left"><span style="line-height:23px; padding-left:10px;">
          <%
			Sql="Select Top 10 ID,NewsTitle From T_JcClassNew Where Recycle=0"
			SetRs Rs,Sql,conn,1,1
			Do While Not Rs.Eof
			%>
			<a href="newsshow.asp?newsid=<%=Rs("ID")%>" class="fontnews"><%LeftStr Rs("NewsTitle"),15%></a><br />
            <%
			Rs.movenext
			Loop
			DisRs Rs
			%>
        </span></td>
      </tr>
      
    </table></td>
    <td width="8"></td>
    <td valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="margintop">
      <tr>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="137" align="center" valign="bottom" background="images/ppny_05.jpg" class="font14hui"><%= FileName %></td>
            <td background="images/ppny_06.jpg">&nbsp;</td>
            <td width="14"><img src="images/ppny_08.jpg" width="14" height="37" /></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="250" valign="top" class="fontcont2 bordertree" style="padding:8px;" ><%= content %></td>
      </tr>
    </table></td>
    <td width="8"></td>
    <td width="250" valign="top"><table width="100%" border="0" cellpadding="2" cellspacing="1" bgcolor="#C1D6B4">
      <tr>
        <td height="30" align="center" bgcolor="f2f2f2" class="fonttitle">地图导航 </td>
      </tr>
      <tr>
        <td height="270" bgcolor="#FFFFFF"style="line-height:23px; padding-left:10px;" valign="top"><%= content2 %></td>
      </tr>
    </table></td>
  </tr>
</table>
<table width="990" border="0" align="center" cellpadding="0" cellspacing="0" class="margintop">
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="136"><img src="images/pp_03.jpg" width="136" height="39" /></td>
        <td background="images/pp_04.jpg">&nbsp;</td>
        <td width="56"><img src="images/pp_06.jpg" width="56" height="39" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td class="bordertree"><table width="95%" border="0" align="center" cellpadding="3" cellspacing="0">
      <tr>
        <td><img src="images/pp_11.jpg" width="225" height="32" /></td>
      </tr>
      <tr>
        <td>
		<%
		
		Sql="Select Top 10 ID,FilePath From T_Brand Where Recycle=0 AND Rec=true AND ClassID=1 and jcclass like '%"&id&"%' Order By SortID DESC,ID DESC"
		SetRs Rs,Sql,conn,1,1
		i=0
		Do While Not Rs.eof
			Response.Write("<a href='pinpaiinfor.asp?id="&Rs("ID")&"'><img src='UpLoadFiles/Brand/"&Rs("FilePath")&"' width='165' height='50' style='margin-right:15px'></a>")
			i=i+1 
			if i mod 5 =0 then response.Write("<br/><br/>")
		Rs.movenext
		Loop
		DisRs Rs
		%>
		</td>
      </tr>
      <tr>
        <td><img src="images/pp_14.jpg" width="225" height="29" /></td>
      </tr>
      <tr>
        <td>
		<%
		Sql="Select Top 10 ID,FilePath From T_Brand Where Recycle=0 AND Rec=true AND ClassID=2 and jcclass like '%"&id&"%' Order By SortID DESC,ID DESC"
		SetRs Rs,Sql,conn,1,1
		i=0
		Do While Not Rs.eof
			Response.Write("<a href='pinpaiinfor.asp?id="&Rs("ID")&"'><img src='UpLoadFiles/Brand/"&Rs("FilePath")&"' width='165' height='50' style='margin-right:15px'></a>")
			i=i+1 
			if i mod 5 =0 then response.Write("<br/><br/>")
		Rs.movenext
		Loop
		DisRs Rs
		%>
		</td>
      </tr>
    </table></td>
  </tr>
</table>
<table width="990" border="0" align="center" cellpadding="0" cellspacing="0" class="margintop">
  <tr>
    <td><table width="709" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td colspan="2"><img src="images/pp_16.jpg" width="709" height="67" /></td>
      </tr>
      <tr>
        <td width="354" height="300" align="left" valign="top" class="bordere">
		<%
		Sql="Select Top 12 ID,FilePath From T_Brand Where Recycle=0 AND ClassID=1 Order By SortID DESC,ID DESC"
		SetRs Rs,Sql,conn,1,1
		i=0
		Do While Not Rs.eof
			Response.Write("<a href='pinpaiinfor.asp?id="&Rs("ID")&"'><img src='UpLoadFiles/Brand/"&Rs("FilePath")&"' width='165' height='50' vspace='3' hspace='5'></a>")
		i=i+1 
			if i mod 2 =0 then response.Write("<br/><br/>")
		Rs.movenext
		Loop
		DisRs Rs
		%>		
		
		</td>
        <td width="355" align="left" valign="top" class="bordere">
		<%
		Sql="Select Top 12 ID,FilePath From T_Brand Where Recycle=0 AND ClassID=2 Order By SortID DESC,ID DESC"
		SetRs Rs,Sql,conn,1,1
		i=0
		Do While Not Rs.eof
			Response.Write("<a href='pinpaiinfor.asp?id="&Rs("ID")&"'><img src='UpLoadFiles/Brand/"&Rs("FilePath")&"' width='165' height='50' vspace='3' hspace='5'></a>")
			i=i+1 
			if i mod 2 =0 then response.Write("<br/><br/>")
		Rs.movenext
		Loop
		DisRs Rs
		%>
		</td>
      </tr>
    </table></td>
    <td width="280" valign="top"><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="40" align="center" class="borderg"><img src="images/pp_19.jpg" width="256" height="32" /></td>
      </tr>
      <tr>
        <td height="300" valign="top" class="borderd">
		<%
		Sql="Select Top 14 ID,FilePath From T_Brand Where Recycle=0 Order By Hits DESC,ID DESC"
		SetRs Rs,Sql,conn,1,1
		i=0
		Do While Not Rs.eof
			Response.Write("<a href='pinpaiinfor.asp?id="&Rs("ID")&"'><img src='UpLoadFiles/Brand/"&Rs("FilePath")&"' width='120' height='43' vspace='3' hspace='6'></a>")
			i=i+1 
			if i mod 2 =0 then response.Write("<br/><br/>")
		Rs.movenext
		Loop
		DisRs Rs
		Call CloseDatabase
		%>
		</td>
      </tr>
    </table></td>
  </tr>
</table>
<!--#include file="bottom.asp"-->
</body>
</html>
