fetch1("select titleurl,groupid,classid,newspath,filename,id,title from {$dbtbpre}ecms_".$class_r[$classid][tbname]." where id='$id' and classid='$classid' limit 1"); if(empty($r[id])) { printerror("ErrorUrl","",1); } $titleurl=sys_ReturnBqTitleLink($r); //返回分类 $cid=(int)$_GET['cid']; $select=ReturnFavaClass($user[userid],$cid); $from=$_SERVER['HTTP_REFERER']; //导入模板 require(ECMS_PATH.'e/template/member/AddFava.php'); db_close(); $empire=null; ?>