<!--#include file="Inc/SysProduct.asp" -->
<!--#include file="inc/Skin_css.asp"-->
<script language="JavaScript"> 
<!-- 
var flag=false; 
function DrawImage(ImgD){ 
 var image=new Image(); 
 image.src=ImgD.src; 
 if(image.width>0 && image.height>0){ 
  flag=true; 
  if(image.width/image.height>= 105/80){ 
   if(image.width>105){
    ImgD.width=105; 
    ImgD.height=(image.height*105)/image.width; 
   }else{ 
    ImgD.width=image.width;
    ImgD.height=image.height; 
   } 
   ImgD.alt="点击查看详细信息..."; 
  } 
  else{ 
   if(image.height>80){
    ImgD.height=80; 
    ImgD.width=(image.width*80)/image.height; 
   }else{ 
    ImgD.width=image.width;
    ImgD.height=image.height; 
   } 
   ImgD.alt="点击查看详细信息..."; 
  } 
 }
}

function CheckAll(form)
  {
  for (var i=0;i<form.elements.length;i++)
    {
    var e = form.elements[i];
    if (e.Name != "chkAll")
       e.checked = form.chkAll.checked;
    }
  }
//--> 
</script> 
<%
MaxPerPage=MaxPerPage_Default
strFileName="Product.asp?BigClassName=" & BigClassName & "&SmallClassName=" & SmallClassName
Start="公司产品"
If CheckInstr(bigClassName,AllPurview) Or CheckInstr(SmallClassName,AllPurview) then checkvalue=true
If session("adminName")<>"" or session("vipuser") then checkvalue=False
If CheckValue then Response.Redirect "Error.asp?error=需要vip权限，请登陆或者联系管理员!"
%>
<!-- #include file="Head.asp" -->
<TABLE class="xmtable" border=0 align="center" cellPadding=0 cellSpacing=12 bgcolor="#FFFFFF">
  <tr> 
    <td  height="450" valign="top" Class="tdbg_left"><table width="100%" border="0" cellspacing="0" cellpadding="0">

      <tr>
        <td height="10"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td><% call ShowUserLogin() %>
              </td>
            </tr>
        </table></td>
      </tr>
      <tr>
        <td height="5"></td>
      </tr>
    </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="34" class="title_left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;产品列表</td>
        </tr>
        <tr>
          <td height="5"></td>
        </tr>
        <tr>
          <td height="10"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td><% call ShowSmallClass_Tree() %>
                </td>
              </tr>
          </table></td>
        </tr>
        <tr>
          <td height="5"></td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="34" class="title_left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;产品搜索</td>
        </tr>
        <tr>
          <td height="5"></td>
        </tr>
        <tr>
          <td height="10"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td><% call ShowSearch(1) %>
                </td>
              </tr>
          </table></td>
        </tr>
        <tr>
          <td height="5"></td>
        </tr>
      </table></td>
    <TD width=1 background=images/MainLine.gif></TD>    
    <td width="670" valign="top" bgcolor="#FFFFFF"><table width="670" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td><% If IsFlash3="Yes" Then %>
            <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="<%=width3%>" height="<%=High3%>">
              <param name="movie" value="<%=BannerUrl3%>">
              <param name="quality" value="high">
              <param name="wmode" value="transparent">
              <embed src="<%=BannerUrl3%>" width="<%=width3%>" height="<%=High3%>" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
            </object>
            <% Else %>
            <img src="<%=BannerUrl3%>" width="<%=width3%>" height="<%=High3%>">
            <% end If%>
        </td>
      </tr>
    </table>
      <br>
      <TABLE cellSpacing=0 cellPadding=0 width="100%" 
                              border=0>
        <TBODY>
          <TR>
            <TD class="title_b"></TD>
            <TD><TABLE cellSpacing=0 cellPadding=0 width="100%" 
                                border=0>
                <TBODY>
                  <TR>
                    <TD width=98 class="title_c">产品展示</TD>
                    <TD width="555" class="title_right">　</TD>
                  </TR>
                </TBODY>
            </TABLE></TD>
          </TR>
          <TR>
            <TD vAlign=bottom colSpan=2 height=5><TABLE cellSpacing=0 cellPadding=0 width="100%" 
                                border=0>
                <TBODY>
                  <TR>
                    <TD bgColor=#e3e3e3 
                                height=1></TD>
                  </TR>
                </TBODY>
            </TABLE></TD>
          </TR>
        </TBODY>
      </TABLE>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <TR>
          <TD width="453" 
                  height=28><% call ShowClassGuide() %>
          </TD>
          <TD width="102"><% call ShowProductTotal() %>
          </TD>
        </TR>
        <TR>
          <TD 
                  height=1 colspan="2" background=img/naBialym.gif><IMG height=1 src="img/1x1_pix.gif" 
              width=10></TD>
        </TR>
		<Tr><td colspan="2">
		<table width=100% border=0 align=center cellpadding=0 cellspacing=1 bgcolor=#f0f0f0>
        <tr align="center">
          <td bgcolor="#FFFFFF" width="10%">商品编号</td>
		  <td height=30 bgcolor="#FFFFFF" width="*">品名</td>
		  <td bgcolor="#FFFFFF" width="10%">规格</td>
		  <td bgcolor="#FFFFFF" width="10%">单位</td>
		  <td bgcolor="#FFFFFF" width="10%">产地</td>
		  <td bgcolor="#FFFFFF" width="10%">批发价</td>
		  <td bgcolor="#FFFFFF" width="10%">商品类别</td>
		  <td bgcolor="#FFFFFF" width="8%">询价</td>
        </tr>
      </table>
	  </td></Tr>
        <TR>
          <TD 
                  height=42 colspan="2"><form action="Payment.asp" method="Post" name="Inquire" >
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="53%" height="26" bgcolor="#F0F0F0"><div align="center"> </div></td>
                  <td width="32%" bgcolor="#F0F0F0"><div align="right">
                      <input name="chkAll" type="checkbox" id="chkAll" onClick=CheckAll(this.form) value="checkbox">
                  全选</div></td>
                  <td width="15%" bgcolor="#F0F0F0"><div align="center">
                      <input name="image" type="image" src="Images/inquire_now.gif"  border="0">
                  </div></td>
                </tr>
                <tr>
                  <td colspan="3"><% call ShowProduct(32) %>
                  </td>
                </tr>
              </table>
          </form></TD>
        </TR>
        <TR>
          <TD 
                  height=1 colspan="2"><%
		  if totalput>0 then		    
		  	call showpage(strFileName,totalput,MaxPerPage,false,true,"个产品")
		  end if
		  %>
          </TD>
        </TR>
      </table></td>
    <TD width=1 background=images/MainLine.gif></TD>    
    <TD width="79" > </TD>
	  </tr>
</table>
<!-- #include file="Inc/Foot.asp" -->
</BODY></HTML>
