<!--#include file="conn.asp"-->
<%
pinpai_id=Request("pinpai_id")
chkid(pinpai_id)
showp="../pinpai.asp?pinpai_id="&pinpai_id
set rs=server.createobject("adodb.recordset")
sql="select pinpai_name,pinpai_logo,pinpai_content,pinpai_title,pinpai_keyword,pinpai_d from WrzcNethtml_pinpai where pinpai_id="&pinpai_id&""
rs.open sql,conn,1,1
if not rs.eof then
pinpai_name=rs("pinpai_name")
pinpai_logo=rs("pinpai_logo")
pinpai_content=rs("pinpai_content")
pinpai_keyword=rs("pinpai_keyword")
pinpai_title=rs("pinpai_title")
pinpai_d=rs("pinpai_d")
end if
rs.close
set rs=nothing


if seo_pinpai1=1 then
	seo_title=pinpai_title
else
	seo_title=seo_pinpai2
	if seo_title<>"" then
		seo_title=replace(replace(replace(seo_title,"*B",pinpai_name),"*Z",sitename),"*C",company)
	end if
end if

if seo_pinpai3=1 then
	seo_keyword=pinpai_keyword
else
	seo_keyword=seo_pinpai4
	if seo_keyword<>"" then
		seo_keyword=replace(replace(replace(seo_keyword,"*B",pinpai_name),"*Z",sitename),"*C",company)
	end if
end if

if seo_pinpai5=1 then
	seo_d=pinpai_d
else
	seo_d=seo_pinpai6
	if seo_d<>"" then
		seo_d=replace(replace(replace(seo_d,"*B",pinpai_name),"*Z",sitename),"*C",company)
	end if
end if




order=request("order")
page=request("page")
orders=getorder(order)
page=getpage(page)

%>
<!--#include file="WrzcNethtml_top.asp"-->
<div align="center">
<table cellpadding="0" cellspacing="0" class="all_t1">
<tr><td class="all_l_td" valign="top">
<script language="JavaScript1.1" src="../WrzcNethtml_logs.asp"></script><div class="d5"></div><!--#include file="all_pinpai.asp"--><div class="d5"></div>
</td>
<td valign="top" class="all_c_td">
<table width="99%" border="0" cellpadding="0" cellspacing="0">
<%
if pinpai_id<>"" then serc=" and pinpai_id=" & pinpai_id & ""
set rs=server.CreateObject("adodb.recordset")
sql="select hw_id,hw_name,hw_price1,hw_price2,hw_pic,hw_content from WrzcNethtml_hw where hw_kucun>0 "&sera&serb&serc&"  order by "&orders&""
rs.open sql,conn,1,1
if rs.eof then
%><tr><td class="sort">&nbsp;<IMG src="../Skin/<%=WrzcNethtml_skin%>/home.gif" border=0 align="absmiddle">  
	<a href="../index.html">Home</a> >>&nbsp;
<%=pinpai_name%>
</td></tr>
<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;
<%=pinpai_name%>
(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>
<%if pinpai_content<>"" then%><p style="line-height: 150%; margin: 3px; text-indent:20px">
	<font color="#FD6700"><%=pinpai_content%></font></p><%end if%></td></tr>
<tr><td id="sorta">
<!--#include file="WrzcNethtml_ins.asp"-->

<table width="100%" border="0" cellpadding="0" cellspacing="0">
<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;
<a href="pinpai<%=pinpai_id%>-1.html" class="page_h"></a>
<%if page-1>0 then%><a href="pinpai<%=pinpai_id%>-<%=page-1%>.html" 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="pinpai<%=pinpai_id%>-<%=i%>.html" class="page_a"><%=i%></a><%end if
next%>
<%if page+1<=totalpage then%> <a href="pinpai<%=pinpai_id%>-<%=page+1%>.html" class="page_n"></a><%else%><span class="page_n0"></span><%end if%>
<a href="pinpai<%=pinpai_id%>-<%=totalpage%>.html" class="page_l"></a>
</td></tr></form></table>
</td></tr>
<%end if
rs.close
set rs=nothing%></table></td></tr></table></div><!--#include file="WrzcNethtml_copy.asp"-->