<?php
require("../class/connect.php");
$link=db_connect();
$empire=new mysqlquery();
//關閉投稿
if($public_r['addnews_ok'])
{
	printerror("CloseQAdd","",1);
}
//驗證本時間允許操作
eCheckTimeCloseDo('info');
//驗證IP
eCheckAccessDoIp('postinfo');
$mid=(int)$_GET['mid'];
if(empty($mid))
{
	printerror("ErrorUrl","",1);
}
//efz
//父信息
$fztid=(int)$_GET['fztid'];
$fzid=(int)$_GET['fzid'];
$fzcid=(int)$_GET['fzcid'];
$mr=$empire->fetch1("select mid,qenter,qmname,tbname from {$dbtbpre}enewsmod where mid='$mid'");
if(!$mr['mid']||!$mr['qenter']||InfoIsInTable($mr['tbname']))
{
	printerror("ErrorUrl","",1);
}
$muserid=(int)getcvar('mluserid');
$musername=RepPostVar(getcvar('mlusername'));
if(empty($musername))
{
	$musername="遊客";
}
$classjs=$public_r['newsurl']."d/js/js/addinfo".$mid.".js";
//導入模板
include(ECMS_PATH.'e/template/DoInfo/ChangeClass.php');
db_close();
$empire=null;
?>