<?php
require("../../class/connect.php");
$editor=1;
eCheckCloseMods('fb');//关闭模块
//分类id
$bid=(int)$_GET['bid'];
if(empty($bid))
{
	printerror("EmptyFeedback","",1);
}
$link=db_connect();
$empire=new mysqlquery();
$br=$empire->fetch1("select bid,bname,groupid from {$dbtbpre}enewsfeedbackclass where bid='$bid'");
if(empty($br['bid']))
{
	printerror("EmptyFeedback","",1);
}
//权限
if($br['groupid'])
{
	include("../../class/q_functions.php");
	include("../../member/class/user.php");
	$user=islogin();
	include("../../data/dbcache/MemberLevel.php");
	if($level_r[$br['groupid']]['level']>$level_r[$user['groupid']]['level'])
	{
		echo"<script>alert('您的会员级别不足(".$level_r[$br['groupid']]['groupname'].")，没有权限提交信息!');history.go(-1);</script>";
		exit();
	}
}
esetcookie("feedbackbid",$bid);
$bname=$br['bname'];
$url="<a href=../../../>首页</a>&nbsp;>&nbsp;信息反馈";
@include(ECMS_PATH.'c/ecachetemp/efbtemp/feedback'.$bid.'.php');
db_close();
$empire=null;
?>