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');
17 require(AT_INCLUDE_PATH.'../mods/_standard/chat/lib/chat.inc.php');
19 $myPrefs = getPrefs($_SESSION['login']);
20 writePrefs($myPrefs, $_SESSION['login']);
22 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
23 "http://www.w3.org/TR/html4/frameset.dtd">
24 <html lang="<?php echo $myLang->getCode(); ?>">
26 <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $myLang->getCharacterSet(); ?>">
27 <meta http-equiv="Pragma" content="no-cache">
28 <title>ATutor AChat</title>
32 if ($myPrefs['bingFlag'] > 0 && $myPrefs['refresh'] == 'manual') {
33 //makeBingFile($chatID);
35 <frameset cols="*,300" frameborder="0">
36 <frame src="display.php?firstLoginFlag=<?php echo $_GET['firstLoginFlag']; ?>" name="display" title="Message Display" frameborder="0">
38 <frame src="options.php" name="options" title="Chat Options" frameborder="0">
39 <frame src="bings/taras.php" name="bing" title="Hidden Bing Frame" frameborder="0">
42 <p><?php echo _AT('frame_contains'); ?><br />
43 * <a href="display.php?firstLoginFlag=<?php echo $_GET['firstLoginFlag']; ?>"><?php echo _AT('chat_messages') ?></a>
44 * <a href="options.php"><?php echo _AT('chat_options'); ?></a>
45 * <a href="poster.php"><?php echo _AT('chat_compose_message'); ?></a>
50 } else if ($myPrefs['refresh'] == 'manual') {
52 <frameset cols="*,300" frameborder="0">
53 <frame src="display.php?firstLoginFlag=<?php echo $_GET['firstLoginFlag']; ?>" name="display" title="Message Display and Poster" frameborder="0">
54 <frame src="options.php" name="options" title="<?php echo _AT('chat_options'); ?>" frameborder="0" />
56 <p><?php echo _AT('frame_contains'); ?><br />
57 * <a href="display.php?firstLoginFlag=<?php echo $_GET['firstLoginFlag']; ?>"><?php echo _AT('chat_messages') ?></a>
58 * <a href="options.php"><?php echo _AT('chat_options'); ?></a>
59 * <a href="poster.php"><?php echo _AT('chat_compose_message'); ?></a>
66 <frameset cols="*,300" frameborder="0">
67 <frameset rows="*,120">
68 <frame src="display.php?firstLoginFlag=<?php echo $_GET['firstLoginFlag']; ?>" name="display" title="Message Display" frameborder="0" marginwidth="0" marginheight="0">
69 <frame src="poster.php" name="compose" title="Message Poster" frameborder="0" marginwidth="0" marginheight="0">
71 <frame src="options.php" name="options" title="<?php echo _AT('chat_options'); ?>" frameborder="0" marginwidth="0" marginheight="0">
73 <p><?php echo _AT('frame_contains'); ?><br />
74 * <a href="display.php?firstLoginFlag=<?php echo $_GET['firstLoginFlag']; ?>"><?php echo _AT('chat_messages') ?></a>
75 * <a href="options.php"><?php echo _AT('chat_options'); ?></a>
76 * <a href="poster.php"><?php echo _AT('chat_compose_message'); ?></a>