<!--#include file="../lib/base.asp"-->
<!--#include file="theme.asp"-->
<%
	if not(eycms.is_weixin) and wx_follow=0 then
		eycms.go webroot&"weixin/follow.asp"
		eycms.die
	end if
	dim cateid:cateid=eycms.getint(eycms.fget("cateid",0),0)
	dim rsshow,errormsg,htmlrule
	set rsshow=eycms.db.exedb("select top 1 * from wx_master_cate where cateid="&cateid&"")
	if rsshow.eof then
		errormsg="栏目错误"
		eycms.show theme_404,""
	else
		dim temproot
		if eycms.strlen(rsshow("cateskin"))=0 then
			temproot=theme_list
		else
			temproot=rsshow("cateskin")
		end if
		htmlrule=listrule&"/"&cateid&"/[page]"
		eycms.show temproot,""
	end if
	rsshow.close
	set rsshow=nothing
%>