'.$content[0]; } if ($_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 = ".$_user['user_id'].")"; $result = Database::query($sql); } echo '
'; foreach ($content as & $this_line) { echo strip_tags(api_html_entity_decode($this_line), '
'); } echo '
'; ?>   '; echo ''.Display::return_icon('delete.gif', get_lang('ClearList')).' '.get_lang('ClearList').''; echo ''; } } else { require 'header_frame.inc.php'; $message = get_lang('CloseOtherSession'); Display :: display_error_message($message); } require 'footer_frame.inc.php';