<!--#include file="conn.asp"--><%seo_title="Checkout-"&sitename%>
<!--#include file="IncAsp/WrzcNethtml_top.asp"-->
<div align="center">
<table cellpadding="0" cellspacing="0" class="all_t1">
<tr><td class="all_l_td" valign="top">
<!--#include file="IncAsp/WrzcNethtml_log.asp"--><div class="d5"></div>
</td>
<td valign="top" class="all_c_td">
<table width="99%" border="0" cellpadding="0" cellspacing="0">
<tr><td class="sort">&nbsp;<IMG src="Skin/<%=WrzcNethtml_skin%>/home.gif" border=0 align="absmiddle">  <a href="index.html">Home</a> >>&nbsp;Checkout</td></tr>
</table>


<table border="0" cellpadding="0" cellspacing="0" class="useri">
<tr><td height="150">
<%mian=mian*hui
if Request.Cookies("WrzcNethtml")("user_name")="" and Request.Cookies("WrzcNethtml")("guest")="" then
response.redirect "login.asp?comurl=cash.asp"
response.end
elseif Request.Cookies("WrzcNethtml")("user_name")<>"" then
user_name=Request.Cookies("WrzcNethtml")("user_name")%>

<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td align="left" class="cartshowa">Product</td>
<td align="center" class="cartshowa">Price</td>
<td align="center" class="cartshowa">Qty</td>
<td align="center" class="cartshowa">Total</td>
<td align="center" class="cartshowa">Type</td></tr>
<%set rs=server.createobject("adodb.recordset")
sql="select * from WrzcNethtml_basket where user_name='"&user_name&"' and basket_check=0"
rs.open sql,conn,1,1
if rs.eof then%><tr>
<td height="50" colspan="5" align="center">No Data</td></tr>
<%else
i=0
do while not rs.eof
i=i+1%>
<tr>
<td align="left" class="cartshow<%=(i mod 2)%>"><a target="_blank" href="Product/Pro<%=rs("hw_id")%>.html"><%=rs("hw_name")%></a></td>
<td align="center" class="cartshow<%=(i mod 2)%>"><%=fuhao%><%=FormatNum(rs("hw_price")*hui)%></td>
<td align="center" class="cartshow<%=(i mod 2)%>"><%=rs("basket_count")%></td>
<td align="center" class="cartshow<%=(i mod 2)%>"><%=fuhao%><%=FormatNum(rs("basket_count")*rs("hw_price")*hui)%></td>
<td align="center" class="cartshow<%=(i mod 2)%>"><%=rs("kxa")%>-<%=rs("kxb")%></td>
</tr> 
<%totalcash=totalcash+(rs("basket_count")*trim(rs("hw_price")))*hui
totalisbn=totalisbn+(rs("basket_count")*rs("hw_jifen"))
totalw=totalw+(rs("basket_count")*trim(rs("hw_weight")))
totaly=totaly+(rs("basket_count")*trim(rs("hw_yunfei")))
totalc=totalc+rs("basket_count")
rs.movenext
loop
end if
rs.close
set rs=nothing%></table>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td height="30" colspan="7" align="right">
<%if Request.Cookies("WrzcNethtml")("user_type")="" then
zhekou=100
usertype_name="Non-Member"
zhekouyu="You Save:0%"
else
user_type=Request.Cookies("WrzcNethtml")("user_type")
set rs=server.createobject("adodb.recordset")
sql="select * from WrzcNethtml_usertype where usertype_id="&user_type&""
rs.open sql,conn,1,1
if rs.eof then
zhekou=100
usertype_name="Member"
zhekouyu="You Save:0%"
else
zhekou=rs("usertype_zhekou")
usertype_name=rs("usertype_name")
	if zhekou=100 then
	zhekouyu="You Save:0%"
	else
	zhekouyu="You Save:"&zhekou&"%"
	end if
end if
rs.close
set rs=nothing
end if%>
<p style="line-height: 200%; margin-left:5px; margin-right:15px; margin-top:5px; margin-bottom:5px">
Total:<span class="price"><%=totalc%></span>&nbsp;Price:<span class="price"><%=fuhao%> <%=FormatNum(totalcash)%> <%=danwei%></span>&nbsp;&nbsp;
<font color="#0000FF"><%=usertype_name%></font>(<%=zhekouyu%>)<br>
Subtotal:<span class="price"><%=fuhao%> <%totalcash=totalcash*zhekou/100%><%=FormatNum(totalcash)%> <%=danwei%></span>&nbsp;&nbsp;You Score:<%=totalisbn%><br>
<%if yunfei=2 then%>Shipping Fee:<%=fuhao%> <%=totaly%> <%=danwei%><br><%elseif yunfei=3 then%>Weight:<%=totalw%> kg<br><%end if%>

<%if mian<>0 then%><%if int(mian)>int(totalcash*zhekou/100) then%>Your order qualifies for free shipping when Subtotal more then <%=fuhao%><%=mian%> <%=danwei%>!<%else%>Your order qualifies for free shipping! <%end if%><br><%end if%>
</td></tr></table>
<!--#include file="cashin.asp"-->
<%elseif Request.Cookies("WrzcNethtml")("guest")<>"" then%>

<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="50%" align="center" height="200">
<p align="left" style="line-height: 300%; margin-left: 50px; margin-right: 10px; margin-top: 10px; margin-bottom: 10px">
<a style="font-size: 12pt; font-family: Verdana; font-weight: bold" href="login.asp?comurl=cash.asp">Existing Customers Please Login&gt;&gt;</a><br>
<a style="font-size: 12pt; font-family: Verdana; font-weight: bold" href="reg.asp">New Customer Register &gt;&gt;</a></td>
<td align="center" width="50%"><a href="cashguest.asp">
<img border="0" src="Skin/<%=WrzcNethtml_skin%>/guestbuy.gif" width="235" height="71"></a></td></tr>
</table>

<%end if%>
</td></tr></table>

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