<?php
# MetInfo Enterprise Content Management System 
# Copyright (C) MetInfo Co.,Ltd (http://www.metinfo.cn). All rights reserved. 
require_once '../login/login_check.php';
$backurl="index.php?lang=".$lang;
if($action=="del"){
$allidlist=explode(',',$allid);
foreach($allidlist as $key=>$val){
$query = "delete from $met_message where id='$val'";
$db->query($query);
}
classhtm('message',0,0);
okinfo($backurl,$lang_jsok);
}else{
$admin_list = $db->get_one("SELECT * FROM $met_message WHERE id='$id'");
if(!$admin_list){
okinfo($backurl,$lang_dataerror);
}
$query = "delete from $met_message where id='$id'";
$db->query($query);
classhtm('message',0,0);
okinfo($backurl,$lang_jsok);
}
# This program is an open source system, commercial use, please consciously to purchase commercial license.
# Copyright (C) MetInfo Co., Ltd. (http://www.metinfo.cn). All rights reserved.
?>

