function ajax_del()
{
if (!isset($this->adminLogged["admin_allow"]["user"]["del"]) && !$this->is_super) {
$this->obj_ajax->halt_alert("x010304");
}
$_arr_userIds = $this->mdl_user->input_ids();
if ($_arr_userIds["alert"] != "ok") {
$this->obj_ajax->halt_alert($_arr_userIds["alert"]);
}
$_arr_userRow = $this->mdl_user->mdl_del($_arr_userIds["user_ids"]);
if ($_arr_userRow["alert"] == "y010104") {
foreach ($_arr_userIds["user_ids"] as $_key => $_value) {
$_arr_targets[] = array("user_id" => $_value);
$_str_targets = json_encode($_arr_targets);
}
$_str_userRow = json_encode($_arr_userRow);
$_arr_logData = array("log_targets" => $_str_targets, "log_target_type" => "log", "log_title" => $this->log["user"]["del"], "log_result" => $_str_userRow, "log_type" => "admin");
$this->mdl_log->mdl_submit($_arr_logData, $this->adminLogged["admin_id"]);
}
$this->obj_ajax->halt_alert($_arr_userRow["alert"]);
}