2 /************************************************************************/
4 /************************************************************************/
5 /* Copyright (c) 2002-2010 */
6 /* Inclusive Design Institute */
8 /* This program is free software. You can redistribute it and/or */
9 /* modify it under the terms of the GNU General Public License */
10 /* as published by the Free Software Foundation. */
11 /************************************************************************/
13 define('AT_INCLUDE_PATH', '../../../../include/');
14 require(AT_INCLUDE_PATH.'vitals.inc.php');
17 $file = AT_CONTENT_DIR . 'chat/'.$_SESSION['course_id'].'/tran/'.$_GET['t'].'.html';
18 if (!file_exists($file)) {
19 $msg->addError('FILE_NOT_FOUND');
20 header('Location: index.php');
23 require(AT_INCLUDE_PATH.'header.inc.php');
26 require(AT_INCLUDE_PATH.'footer.inc.php');