%
Chk_Admin_Login()
keyword=zhcx.checkstr(request("keyword"))
Hot=zhcx.checknumeric(request("Hot"))
if clng(hot)>0 then
sea=sea&" and hot="&hot
end if
if keyword<>"" then
Sea=Sea&" and charIndex('%"&keyword&"%',autor)>0 "
End if
'分页代码
Set PageCls=new Page_Cls
Do_Table="Z_Book"
Do_Pars=" Id,title,addtime,autor,hot "
Do_order=" order by id asc"
Do_Sea=Sea
PageCls.GetPaSz(10)
Page_no=PageCls.RequestPage("Pageno")
Page_Total=PageCls.GetTotalRecord(Do_Table,Do_Pars,Do_Sea)
Page_Sql=PageCls.GetSql(Do_Table,Do_Pars,Do_Sea,Do_order)
Page_Count_Show=PageCls.Page_Count(Page_Total,Page_no,"?keyword="&keyword&"&hot="&hot&"&")
Set PageCls=nothing
%>
<%=Zhcx.GetTopTemplates(2)%>