<!--#include file="conn.asp"--><%seo_title="Gift-"&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><!--#include file="IncAsp/WrzcNethtml_sort.asp"--><div class="d5"></div>
</td>
<td valign="top" class="all_c_td">
<table width="99%" border="0" cellpadding="0" cellspacing="0">
<%
order=request("order")
page=request("page")
page=getpage(page)
order=getorder(order)
set rs=server.createobject("adodb.recordset")
sql="select zp_id,zp_name,zp_price,zp_pic,zp_content,zp_full from WrzcNethtml_zp order by zp_id desc"
rs.open sql,conn,1,1
if rs.eof then%><tr><td align="center" height="30">No Data!</td></tr>
<%else
rs.pagesize=lookpage
totalrec=rs.recordcount
totalpage=rs.pagecount
if page>totalpage then page=totalpage
rs.absolutepage=page
rs.cachesize=rs.pagesize%>
<tr><td class="sort">&nbsp;<IMG src="Skin/<%=WrzcNethtml_skin%>/home.gif" border=0 align="absmiddle">   
	<a href="index.html">Home</a> >>&nbsp;Gift&nbsp;(Total:<%=totalrec%>,The page show:<%=(page-1)*rs.pagesize+1%>-<%if page+1<=totalpage then%><%=page*rs.pagesize%><%else%><%=totalrec%><%end if%>)</td></tr>
<tr><td height=5></td></tr>
<tr><td width="100%" align="center" style="border: 1px solid #E1E1E1">
<!--#include file="IncAsp/all_inszp.asp"-->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<form action=zp.asp method=post><tr><td height="5"></td></tr>
<tr><td height="50" class="sortb"> 
<p style="line-height: 150%; margin: 5px">Page:<%=page%>/Total:<%=totalpage%>&nbsp;&nbsp;
<%if page-1>0 then%><a href="zp.asp?page=<%=page-1%>">Prev</a><%else%>Prev<%end if%>&nbsp;&nbsp;
<%if page+1<=totalpage then%> <a href="zp.asp?page=<%=page+1%>">Next</a><%else%>Next<%end if%>&nbsp;&nbsp;
Go to page::<input type="text" name="page" value="<%=page+1%>" size="2" style="text-align: center" class=input> <input type="submit" value="GO" class=input><br>
Page:<%for i=1 to totalpage
if i=page then%>
<font color="#FF0000"><b><%=i%></b></font>
<%else%><a href="zp.asp?page=<%=i%>"><%=i%></a>
<%end if
next%>
</td></tr></form></table>
</td></tr>
<%end if
rs.close
set rs=nothing%></table>
</td></tr></table></div>
<!--#include file="IncAsp/WrzcNethtml_copy.asp"-->