require("../../../class/connect.php"); include("../../../class/config.php"); include("../../../class/q_functions.php"); include("../../../class/db_sql.php"); include("../../../class/user.php"); include("../../../class/class.php"); $link=db_connect(); $empire=new mysqlquery(); $editor=2; $user=islogin(); $id=(int)$_GET['id']; $classid=(int)$_GET['classid']; if(!$id||!$classid||!$class_r[$classid][tbname]) { printerror("ErrorUrl","history.go(-1)"); } $r=$empire->fetch1("select title,titleurl,groupid,classid,newspath,filename,id from phome_ecms_".$class_r[$classid][tbname]." where id='$id' limit 1"); if(empty($r[id])) { printerror("ErrorUrl","history.go(-1)"); } $titleurl=sys_ReturnBqTitleLink($r); $url="首页 > 控制面板 > 收藏夹 > 增加收藏夹"; include("../../../data/template/cp_1.php"); $from=$_SERVER['HTTP_REFERER']; //返回分类 $select=ReturnFavaClass($user[userid],$cid); ?>
include("../../../data/template/cp_2.php"); db_close(); $empire=null; ?>