Пример #1
0
require_once '../include/errors.inc';
require_once '../classes/userutils.class.php';
$userID = check_var('userID', 'POST', true, false, true);
$user_list = explode(',', $userID);
// We could be passed multiple user IDs.
foreach ($user_list as $individual_userID) {
    if ($individual_userID != '') {
        $user_details = UserUtils::get_user_details($individual_userID, $mysqli);
        if ($user_details === false) {
            $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 ($user_list as $individual_userID) {
    UserUtils::clear_lti_user($individual_userID, $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><?php 
echo $string['title'];
?>