$content = json_decode($zcmod['content'],true);
$limit = $content['zcmsg']['attr']['argu']['limit'];
$pagestely = array('listlong' => 5, 'listsidelong' => 2, "first" => "home page", "last" => "Shadowe", "prev" => L('RNPREVIOUS'), "next" => L('RNNEXT'), "list" => "*","currentclass" => "dangqianfen", "disabledclass" => "",'ss'=>true);
if(!$catid){
$modelid = $content['modelid'];
$category = M("Category")->where("modelid = '".$modelid."' and parentid=0")->find();
$catid = $category['catid'];
}
$pagetpl = '{prev}{liststart}{list}{listend}{next}
';