<!--#include file="conn.asp"--><%seo_title="Quotation-"&sitename%>
<!--#include file="IncAsp/WrzcNethtml_top.asp"-->
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="980">
<tr>
<td align="center">
<p align="right" style="margin: 5px">
<a href="baojiap.asp?sort_id=<%=request("sort_id")%>">Print Quotation</a></td></tr></table>

<%page=request("page")
page=getpage(page)


set rs=server.createobject("adodb.recordset")


if request("sort_id")<>"" then
sort_id=request("sort_id")
chkid(sort_id)

set rss=server.createobject("adodb.recordset")
rss.open "select sort_id,sort_name from WrzcNethtml_sort where sort_id="&sort_id&"",conn,1,1
if not rss.eof then
sort_id=rss("sort_id")
sort_name=rss("sort_name")
end if
rss.close
set rss=nothing
rs.open "select hw_id,hw_name,hw_price1,hw_price2,hw_pic,hw_kucun from WrzcNethtml_hw where sort_id="&sort_id&" and hw_kucun>0 order by hw_id desc",conn,1,1
else
rs.open "select hw_id,hw_name,hw_price1,hw_price2,hw_pic,hw_kucun from WrzcNethtml_hw where hw_kucun>0 order by hw_id desc",conn,1,1
sortid=0
End If
%>
<table border=0 cellpadding=0 cellspacing=0 width="980">
	<tr><td colspan="6" class="cartshowa"><b><%if sort_name<>"" then%><%=sort_name%><%else%>All<%end if%></b></td></tr>
	<tr><td width="80"class="cartshow0"><b>Picture</b></td>
		<td class="cartshow0" align="left"><b>Product Name</b></td>
		<td width="120"class="cartshow0" align="center"><b>List Price</b></td>
		<td width="120"class="cartshow0" align="center"><b>Price</b></td>
		<td width="60" align="center"class="cartshow0"><b>In Stock.</b></td>
		<td width="100"class="cartshow0" align="center"><b>Add to cart</b></td>
	</tr>
<%if rs.eof then
response.write "<tr><td align=center bgcolor=ffffff height=30  colspan=10>No Data</td></tr>"
else%>

<%rs.pagesize=100
totalrec=rs.recordcount
totalpage=rs.pagecount
if page>totalpage then page=totalpage
rs.absolutepage=page
i=0
hwid=""
do while not rs.eof and (i<rs.pagesize)
i=i+1%>
	<tr class="cartshow<%=i mod 2%>">
	<td width="80" height="60"><a href=Product/Pro<%=rs("hw_id")%>.html target=_blank><img width=50 border="0" src="<%pic=split(rs("hw_pic"),"*")%><%=pic(1)%>"></a></td>
	<td align="left"><a href=Product/Pro<%=rs("hw_id")%>.html target=_blank><%=rs("hw_name")%></a></td>
	<td width="120" align="center"><script>document.write(cheng(<%=rs("hw_price1")%>))</script></td>
	<td width="120" align="center"><font color=#ff0000><script>document.write(cheng(<%=rs("hw_price2")%>))</script></font></td>
	<td width="60" align="center"><%=rs("hw_kucun")%></td>
	<td width="100" align="center">&nbsp;<a href="basket.asp?hw_id=<%=rs("hw_id")%>&action=add">Add to cart</a></td>
	</tr>
<%rs.movenext  
loop%>
<tr><td colspan="6" height="15" align="right">




<table width="100%" border="0" cellpadding="0" cellspacing="0">
<form action=baojia.asp<%if sort_id<>"" then%>?sort_id=<%=sort_id%><%end if%> method=post><tr>
<tr><td id="page">
<%
if page<=pagecc then
spage=1
else
spage=page-pagecc
end if
if page>=totalpage-pagecc then
lpage=totalpage
else
lpage=page+pagecc
end if
%>
Page:<%=page%>/Total:<%=totalpage%>&nbsp;&nbsp;
Go to page::<input type="text" name="page" value="<%=page+1%>" size="2" style="text-align: center"><input type="submit" value=" GO "><br>
<a href="baojia.asp?page=1<%if sort_id<>"" then%>&sort_id=<%=sort_id%><%end if%>" class="page_h"></a>
<%if page-1>0 then%><a href="baojia.asp?page=<%=page-1%><%if sort_id<>"" then%>&sort_id=<%=sort_id%><%end if%>" class="page_p"></a><%else%><span class="page_p0"></span><%end if%>
<%for i=spage to lpage
if i=page then%><span class="page_a0"><%=i%></span>
<%else%><a href="baojia.asp?page=<%=i%><%if sort_id<>"" then%>&sort_id=<%=sort_id%><%end if%>" class="page_a"><%=i%></a><%end if
next%>
<%if page+1<=totalpage then%> <a href="baojia.asp?page=<%=page+1%><%if sort_id<>"" then%>&sort_id=<%=sort_id%><%end if%>" class="page_n"></a><%else%><span class="page_n0"></span><%end if%>
<a href="baojia.asp?page=<%=totalpage%><%if sort_id<>"" then%>&sort_id=<%=sort_id%><%end if%>" class="page_l"></a>
</td></tr></form></table>

</td></tr>
<%end if
rs.close
set rs=nothing%>

</table>

</div>
<!--#include file="IncAsp/WrzcNethtml_copy.asp"-->