<!--#include file=in/head.asp-->
<!--#include file=Config.asp-->
<!--#include file=Function.asp-->
<!--#include file=Cache.asp-->
<!--#include file=TopMain.asp-->
<%
Page = Request.QueryString("Page")

	If Page="" Then Page=1
	ID = Request.QueryString("ID")
	If ID<>"" Then
		HttpUrl="http://www.ep8.net/Category/"&ID&"/Page_"&Page&".html"
	Else
		Call ShowErr("参数错误!")
		Response.End()
	End if
	set myCache=new cache
	myCache.name="EP8_List_"&ID&"_"&Page
	If myCache.valid then
		StartGet = myCache.value
	Else
		StartGet = GetHttpPage(HttpUrl)	
		myCache.add StartGet,dateadd("h",2,Now)
	End if
	List=GetBody(StartGet,"<!--列表开始-->","<!--列表结束-->",False,False)
	List=Replace(List,"/Html/","Show.asp?ID=")
	List=Replace(List,"/Category/","List.asp?ID=")
	List=Replace(List,"/Index","&Page=1")
	List=Replace(List,".html","")
	List=Replace(List,""&ID&"/Page_",""&ID&"&Page=")
	If List<>"$False$" Then
		Response.write List
	Else
		Response.write ErrMsg
	End If
%>
<!--#include file=Bottom.asp-->
</body></html>
