gettotal($totalquery); $query="select favaid,favatime,id,classid from {$dbtbpre}enewsfava where userid='$user[userid]'".$a; $query.=" order by favaid desc limit $offset,$line"; $sql=$empire->query($query); $returnpage=page1($num,$line,$page_line,$start,$page,$search); //返回分类 $select=ReturnFavaClass($user[userid],$cid); //导入模板 require(ECMS_PATH.'e/template/member/fava.php'); db_close(); $empire=null; ?>