%
Chk_Admin_Login()
keyword=zhcx.checkstr(request("keyword"))
Class_Id=zhcx.checknumeric(request("class_id"))
if keyword<>"" then
Sea=Sea&" and title like '%"&keyword&"%' "
End if
if Class_Id>0 then
Sea=Sea&" and Class_Id in("&Class_Id&") "
else
zhcx.ErrAlert("参数错误")
end if
'分页代码
Set PageCls=new Page_Cls
Do_Table="Z_News"
Do_Pars=" Id,title,Class_Id,UpdateTime,pathhtml "
Do_order=" order by UpdateTime desc"
Do_Sea=Sea
PageCls.GetPaSz(15)
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&"&class_Id="&class_Id&"&")
Set PageCls=nothing
%>
<%=Zhcx.GetTopTemplates(2)%>