'.$content[0]; } if (isset($_GET['origin']) && $_GET['origin'] == 'whoisonlinejoin') { //the joiner (we have to delete the chat request to him when he joins the chat) $track_user_table = Database::get_main_table(TABLE_MAIN_USER); $sql = "UPDATE $track_user_table SET chatcall_user_id = '', chatcall_date = '', chatcall_text='' WHERE (user_id = ".$userId.")"; $result = Database::query($sql); } echo '
'; foreach ($content as & $this_line) { echo $this_line; } echo '
'; echo ' '; if ($isMaster || $is_courseCoach) { $rand = mt_rand(1, 1000); echo '
'; echo ''. get_lang('ClearList'). ''; echo '
'; } } else { echo ''; require 'header_frame.inc.php'; $message = get_lang('CloseOtherSession'); Display :: display_error_message($message); } require 'footer_frame.inc.php';