2 /****************************************************************/
4 /****************************************************************/
5 /* Copyright (c) 2002-2010 */
6 /* Inclusive Design Institute */
9 /* This program is free software. You can redistribute it and/or*/
10 /* modify it under the terms of the GNU General Public License */
11 /* as published by the Free Software Foundation. */
12 /****************************************************************/
14 define('AT_INCLUDE_PATH', '../../../include/');
15 require(AT_INCLUDE_PATH.'vitals.inc.php');
16 session_write_close();
17 //authenticate(USER_CLIENT, USER_ADMIN);
18 require(AT_INCLUDE_PATH.'../mods/_standard/chat/lib/chat.inc.php');
20 $myPrefs = getPrefs($_SESSION['login']);
23 $topMsgNum = $bottomMsgNum = 0;
24 howManyMessages($topMsgNum, $bottomMsgNum);
25 postMessage(_AT('chat_system'),
26 _AT('chat_logged_out', $_SESSION['login']),
30 $myPrefs['lastAccessed'] = 0;
31 writePrefs($myPrefs, $_SESSION['login']);
33 Header('Location: index.php');
36 require('include/html/chat_header.inc.php');
38 <table width="100%" border="0" cellpadding="5" cellspacing="0">
40 <td align="left"><h4><?php echo $admin['chatName']; ?>: Logout</h4></td>
44 <p>The <?php echo $admin['chatName']; ?> will automatically save an account for you so that the next time you login with your <strong>Chat ID</strong> and <strong>Password</strong> your <strong>Preference Settings</strong> will be reloaded.</p>
46 <p align="center"><b>Thank you for using the <?php echo $admin['chatName']; ?>.<br />
47 <a href="http://www.utoronto.ca/atrc/" target="_new" onFocus="this.className='highlight'" onBlur="this.className=''"><img src="chat/atrc.gif" border="0" /></a></p>
50 <table width="100%" border="0" cellpadding="5" cellspacing="0">
52 <td align="right"><a href="chat/index.php" onFocus="this.className='highlight'" onBlur="this.className=''">Re-enter Chat</a></td>
56 require('include/html/chat_footer.inc.php');