require_once '../include/errors.inc'; require_once '../classes/userutils.class.php'; $userID = check_var('id', 'POST', true, false, true); // Check that all the past user IDs actually exist. $id_list = explode(',', $userID); foreach ($id_list as $id) { if ($id != '') { if (!UserUtils::userid_exists($id, $mysqli)) { $msg = sprintf($string['furtherassistance'], $configObject->get('support_email'), $configObject->get('support_email')); $notice->display_notice_and_exit($mysqli, $string['pagenotfound'], $msg, $string['pagenotfound'], '../artwork/page_not_found.png', '#C00000', true, true); } } } foreach ($id_list as $single_id) { if ($single_id != '') { UserUtils::delete_userID($single_id, $mysqli); } } $mysqli->close(); ?> <!DOCTYPE html> <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="content-type" content="text/html;charset=<?php echo $configObject->get('cfg_page_charset'); ?> " /> <title>User Deleted</title>