<!--#include file="conn.asp"--><%seo_title="Manage Discount Voucher-"&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;Manage Discount Voucher
</td></tr>
<%
if Request.Cookies("WrzcNethtml")("user_name")="" then
response.redirect "login.asp?comurl=rule.asp"
response.end
end if
user_name=Request.Cookies("WrzcNethtml")("user_name")
chklogin(user_name)
set rs=server.createobject("adodb.recordset")
sql="select * from WrzcNethtml_quan where user_name='"&user_name&"' and quan_is=0 and quan_type=1 order by quan_id desc"
rs.open sql,conn,1,1
if rs.eof then%><tr><td align="center" height="30">No Data</td></tr>
<%else%>

<tr><td height=5></td></tr>
<tr><td class="sorta">
<table border="0" cellpadding="5" cellspacing="0" width="100%">
	<tr class="cartshow0"><td><b>Number</b></td>
		<td><b>Password</b></td>
		<td><b>Save money</b></td>
		<td><b>Subtotal</b></td>
		<td><b>useful date</b></td>
		<td><b>Score</b></td>
		<td><b>Got time</b></td>
	</tr>
<%i=0
do while not rs.eof
i=i+1%>
	<tr class="cartshow<%=i mod 2%>"><td><%=rs("quan_no")%></td>
		<td><%=rs("quan_pass")%></td>
		<td><%=fuhao%><%=rs("quan_cash")*hui%></td>
		<td><%=fuhao%><%=rs("quan_man")*hui%></td>
		<td><%=rs("quan_date")%></td>
		<td><%=rs("quan_jifen")%></td>
		<td><%=rs("quan_time")%></td>
	</tr>
	<tr><td colspan=7 height=2 background=Img/dot_menu.gif></td></tr>
<%rs.movenext
loop%>
</table>
</td></tr>
<%end if
rs.close
set rs=nothing%></table>
</td></tr></table></div>
<!--#include file="IncAsp/WrzcNethtml_copy.asp"-->