?? <?phpif($navinfor['password']){echo "刪除信息(需密碼)";}?>
這個文件下的內容
<?phprequire("../class/connect.php");include("../class/db_sql.php");include("../class/config.php");$link=db_connect();$empire=new mysqlquery();$id=(int)$_GET['id'];$classid=(int)$_GET['classid'];//檢查參數if(!$classid || !$id){?? echo"";?? exit();}if ($_POST['enews']=='DelNews'){$key=$_POST['key'];$password=$_POST['password'];//驗證碼$checkplkey = getcvar ('checkplkey');????? if (($key != $checkplkey OR empty ($checkplkey)))????? {??????? printerror ('FailKey', 'history.go(-1)', 1);????? }$query="select password,id,title from {$dbtbpre}ecms_fwxx where id='$id' and classid='$classid'";$r=$empire->fetch1($query);if(!$r[id] or !$r[password])?? {??? echo"";??? exit();?? }//驗證信息密碼if ($password==$r[password]){?? $r=$empire->query("update {$dbtbpre}ecms_fwxx set checked='0' where classid='$classid' and id='$id'");?? echo"";}else{?? echo"";}}else{?><?include("../data/template/cp_1.php");?>?????<?include("../data/template/cp_2.php");?><?}?>
新聞熱點
疑難解答