<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<!--#include file="conn.asp"-->
<!--#include file="config.asp"-->
<title><%=webname%>--商品品牌--网域电子商务网站,公司企业网站管理系统中英繁，仿阿里巴巴商贸通商务网,商城购物系统程序,源码下载，多用户商城,客隆电子商务网站管理系统,装饰,家具,旅社社旅游网站建设，程序开发,网站开发，网站推广,商城代码,系统销售,网络营销,企业商务,整站程序,ASP代码销售,企业电子商务平台,电子政务，官方站点：http://www.wygk.cn/</title>
<meta name="description" content="网域电子商务网站,公司企业网站管理系统中英繁，仿阿里巴巴商贸通商务网,商城购物系统程序,源码下载，多用户商城,客隆电子商务网站管理系统,装饰,家具,旅社社旅游网站建设，程序开发,网站开发，网站推广,商城代码,系统销售,网络营销,企业商务,整站程序,ASP代码销售,企业电子商务平台,电子政务，官方站点：http://www.wygk.cn">
<meta name="keywords" content="网域电子商务网站,公司企业网站管理系统中英繁，仿阿里巴巴商贸通商务网,商城购物系统程序,源码下载，多用户商城,客隆电子商务网站管理系统,装饰,家具,旅社社旅游网站建设，程序开发,网站开发，网站推广,商城代码,系统销售,网络营销,企业商务,整站程序,ASP代码销售,企业电子商务平台,电子政务，官方站点：http://www.wygk.cn">
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK 
href="img/code43.css" type=text/css rel=stylesheet>
<%
dim strMarkName
strMarkName=Trim(FormatSQL(SafeRequest("MarkName",0)))
 set rs=server.CreateObject("adodb.recordset")
%>
<META content="MSHTML 6.00.2800.1505" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff leftMargin=0 topMargin=0 >
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TBODY>
  <TR>
    <TD vAlign=top height=114><A name=top></A>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
              <TD vAlign=top> 
                <TABLE height=128 cellSpacing=0 cellPadding=0 width=780 border=0>
                  <TBODY>
                    <TR> 
                      <TD rowspan="2" vAlign=top><!--#include file="include/header.asp"--></TD>
                      <TD height="96" align=right 
                background=img/right_bg.gif>&nbsp;</TD>
                    </TR>
                    <TR> 
                      <TD width=15 height="32" align=right 
                background=img/right_bg.gif>&nbsp;</TD>
                    </TR>
                  </TBODY>
                </TABLE></TD></TR></TBODY></TABLE>
      </TD>
    </TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TBODY>
  <TR>
    <TD vAlign=top bgColor=#4296b5>
      <TABLE cellSpacing=0 cellPadding=0 width=780 border=0>
        <TBODY>
        <TR>
              <TD><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="765" height="140">
                  <param name="movie" value="img/hot.swf">
                  <param name="quality" value="high">
                  <embed src="img/hot.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="765" height="140"></embed></object> 
              </TD>
          <TD vAlign=top width=15><IMG height=140 
            src="img/main_right01.gif" 
      width=15></TD></TR></TBODY></TABLE></TD></TR>
  <TR>
      <TD height="575" vAlign=top> 
        <TABLE width=780 height="608" border=0 cellPadding=0 cellSpacing=0>
          <TBODY>
        <TR>
              
              <TD vAlign=top align=middle><TABLE cellSpacing=0 cellPadding=0 width=98% border=0>
          <TBODY>
            <TR> 
              <TD colSpan=2 height=6 rowSpan=2><IMG height=6 
                        src="img/rnd_subCon01.gif" 
                        width=6></TD>
              <TD bgColor=#cccccc height=1></TD>
              <TD colSpan=2 height=6 rowSpan=2><IMG height=6 
                        src="img/rnd_subCon02.gif" 
                        width=6></TD>
            </TR>
            <TR> 
              <TD height=5></TD>
            </TR>
            <TR> 
              <TD width=1 bgColor=#cccccc></TD>
              <TD width=5></TD>
              
      <TD vAlign=top align=middle width=100%>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
              <TBODY>
              <TR>
                <TD class=tl></TD>
                <TD class=tm>
                  <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                    <TBODY>
                    <TR>
                      <TD style="PADDING-LEFT: 20px" width=80 
                      background="img/title_m.gif" 
                        height=28><NOBR>品 牌 中 心</NOBR></TD>
                      <TD width=* background="img/title_bg1.gif"><div align="right"><a href="recommend.asp" target="_blank"><FONT  
                    size=1 face=Arial><font color="#3399CC"><a href="index.asp"><b><%=webname%></b></a>&nbsp;-&gt;&nbsp;<a href="timesmark.asp?MarkName=<% = strMarkName %>"><FONT COLOR="#FF6600"><b><% = strMarkName %></b></FONT></a></font></FONT></a><% 
rs.open "select MarkID,MarkName from TimesMark order by MarkNum",conn,1,1
 if rs.eof and rs.bof then
	response.write "<tr><td align=center background=images/bg12.gif>还没有定义商品品牌</td></tr>"
else
	do while not rs.eof
	response.write "<a href=timesmark.asp?MarkName="&rs("MarkName")&">【"&rs("MarkName")&"】</a> "
	rs.movenext
	loop
end if
rs.close
%></div></TD></TR></TBODY></TABLE></TD>
                <TD class=tr></TD></TR></TBODY></TABLE>
            <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
              <TBODY>
              <TR>
                <TD class=ml></TD>
                <TD align=left>
                  <TABLE width="100%" align=center>
                    <TBODY>
                    <TR>
                      
                                      <TD class=mm>
<TABLE WIDTH="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0" ALIGN="CENTER" class=table-zuoyou>
<TR><TD HEIGHT="200" VALIGN="TOP">
      <%
				Const MaxPerPage=10
   				dim totalPut   
   				dim CurrentPage
   				dim TotalPages
   				dim j
   				dim sql
    			if Not isempty(SafeRequest("page",1)) then
      				currentPage=Cint(SafeRequest("page",1))
   				else
      				currentPage=1
   				end if 
		
		  rs.open "select id,prename,name,company,intro,introduce,stock,predate,productdate,pretype,type,viewnum,price,price1,price2,other,grade,discount,pic,mark from product where mark like '%"&strMarkName&"%' and stock > 0 order by adddate desc",conn,1,1
		  
				if err.number<>0 then
				response.write "<p align='center'>数据库中暂时无数据</p>"
				end if
				
  				if rs.eof And rs.bof then
       				Response.Write "<p align='center'> 对不起，目前还没有这种商品！</p>"
   				else
	  				totalPut=rs.recordcount

      				if currentpage<1 then
          				currentpage=1
      				end if

      				if (currentpage-1)*MaxPerPage>totalput then
	   					if (totalPut mod MaxPerPage)=0 then
	     					currentpage= totalPut \ MaxPerPage
	   					else
	      					currentpage= totalPut \ MaxPerPage + 1
	   					end if
      				end if

       				if currentPage=1 then
            			showContent
            			showpage totalput,MaxPerPage,"timesmark.asp"
       				else
          				if (currentPage-1)*MaxPerPage<totalPut then
            				rs.move  (currentPage-1)*MaxPerPage
            				dim bookmark
            				bookmark=rs.bookmark
            				showContent
             				showpage totalput,MaxPerPage,"timesmark.asp"
        				else
	        				currentPage=1
           					showContent
           					showpage totalput,MaxPerPage,"timesmark.asp"
	      				end if
	   				end if
   				   				end if

   				sub showContent
       			dim i
	   			i=0

			%>
      <%do while not rs.eof%>
      <TABLE WIDTH="96%" BORDER="0" ALIGN="center" CELLPADDING="1" CELLSPACING="1">
        <TR> 
          <TD WIDTH="20%" ROWSPAN="8" align="center"> <TABLE WIDTH="100" HEIGHT="100" BORDER="0" CELLPADDING="0" CELLSPACING="1" BGCOLOR="#cccccc">
              <TR> 
                <TD WIDTH="100" BGCOLOR="#FFFFFF" align="center"> <a href=product.asp?id=<% = rs("id") %> target="_blank"> 
                  <% if trim(rs("pic"))<>"" then %>
                  <img src=<% = trim(rs("pic"))%>  border=0 width="<% = webimg9 %>" height="<% = webimg10 %>"></a> 
                  <%  else %>
                  <img src=images/emptybook.jpg  border=0 width="<% = webimg9 %>" height="<% = webimg10 %>"></a> 
                  <% end if %>
                </TD>
              </TR>
            </TABLE></TD>
          <TD COLSPAN="4"><%=trim(rs("prename"))%><A HREF=product.asp?id=<%=rs("id")%>><font color="#FF6600"><%=trim(rs("name"))%></font></A></TD>
        </TR>
        <TR> 
          <TD COLSPAN="4"><%=trim(rs("company"))%><a href=timesmark.asp?MarkName=<% = rs("mark") %>><font color="#FF6600"><% = rs("mark") %></font></a></TD>
        </TR>
        <TR> 
          <TD colspan="4"><%=trim(rs("intro"))%><%=trim(rs("introduce"))%></TD>
        </TR>
        <TR> 
          <TD width="21%"><%=trim(rs("predate"))%><%=trim(rs("productdate"))%></TD>
          <TD width="21%">浏览次数：<%=trim(rs("viewnum"))%></TD>
          <TD width="18%"><%=trim(rs("pretype"))%><%=trim(rs("type"))%></TD>
          <TD width="20%"><%=trim(rs("other"))%><%=trim(rs("grade"))%></TD>
        </TR>
        <TR> 
          <TD><%=trim(rs("price"))%><%=rs("price1")%>元</TD>
          <TD>会 员 价：<font color="#FF6600"><%=rs("price2")%>元</font></TD>
          <TD>折　　扣：<%=rs("discount")*100&"%"%></TD>
          <TD>节　　省：<font color="#FF6600"><%=rs("price1")-rs("price2")%></font>元</TD>
        </TR>

        <tr> 
          <td COLSPAN="4" height="5"></td>
        </tr> 
		<% if rs("stock") > 0 then %> <TR>
                      <TD align="center" colspan="4"><a href="check.asp?ProdId=<% = rs("id") %>" target="_blank"><img src=images/skin/default/addto.gif align=absmiddle border=0></a></TD>
                    </TR>
					<% else %>
					<tr><td colspan="4" align="center"><font color="#FF6600">暂时缺货</font></td></tr>
					<% end if %>
        </TR>
		
      </TABLE>
      <table width="98%" align="center"><TR>
          <TD class=table-xia>&nbsp;</TD>
        </TR></table>
      <%i=i+1
			if i>=MaxPerPage then Exit Do
			rs.movenext
			loop
			rs.close
			set rs=nothing%>
      <%  
				End Sub   
  
				Function showpage(totalnumber,maxperpage,filename)  
  				Dim n
  				
				If totalnumber Mod maxperpage=0 Then  
					n= totalnumber \ maxperpage  
				Else
					n= totalnumber \ maxperpage+1  
				End If %>
				<form method=Post action=<%=filename%>?&MarkName=<% = strMarkName %>>
				<p align="center">
				<%
				If CurrentPage<2 Then  %>
				首 页 上一页
				<% Else  %>
				<a href=<% = filename %>?page=1&MarkName=<% = strMarkName %>>首 页</a>
				<a href=<% = filename %>?page=<% = CurrentPage-1 %>&MarkName=<% = strMarkName %>>上一页</a> 
				<% End If 
				If n-currentpage<1 Then  %>
				下一页 末 页
				<%  Else  %>
				<a href=<% = filename %>?page=<% = (CurrentPage+1) %>&MarkName=<% = strMarkName %>>下一页</a> 
				<a href=<% = filename %>?page=<% = n %>&MarkName=<% = strMarkName %>>末 页</a>
				<% End If  %>
				 第 <b><% = CurrentPage %></b> 页 共 <b><% = n %></b> 页
				共&nbsp;<b><% = totalnumber %></b>&nbsp;件商品　每页 <b><% = maxperpage %></b> 件商品
				转到第：<input type='text' name='page' size=2 maxlength=10 class=smallInput value=<% = currentpage %>>
				页<input type='submit'  class='contents' value='跳转' name='cndok'></form>
				<%
				End Function  
			%>
    </TD>
  </TR>
</TABLE> </TD>
            </TR></TBODY></TABLE></TD>
                <TD class=mr></TD></TR></TBODY></TABLE>
                        <!--右侧-->
                      </TD>
              <TD width=5></TD>
              <TD bgColor=#cccccc height=650></TD>
            </TR>
            <TR> 
              <TD colSpan=2 height=6 rowSpan=2><IMG height=6 
                        src="img/rnd_subCon03.gif" 
                        width=6></TD>
              <TD height=5></TD>
              <TD colSpan=2 height=6 rowSpan=2><IMG height=6 
                        src="img/rnd_subCon04.gif" 
                        width=6></TD>
            </TR>
            <TR> 
              <TD bgColor=#cccccc 
              height=1></TD>
            </TR>
          </TBODY>
        </TABLE></TD>
          <TD width=15 
        background=img/right_bg.gif>&nbsp;</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE height=55 cellSpacing=0 cellPadding=0 width=780 border=0>
  <TBODY>
  <TR>
    <TD>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
        <TBODY>
        <TR>
          <TD vAlign=top>
            <TABLE height=55 cellSpacing=0 cellPadding=0  border=0>
              <TBODY>
              <TR>
                      <TD width=760><!--#include file="include/footer.asp"--></TD>
                <TD align=right width=15 
                background=img/right_bg.gif>&nbsp;</TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></BODY></HTML>
