tagging as ATutor 1.5.4-release
[atutor.git] / chat / view_transcript.php
1 <?php
2 /************************************************************************/
3 /* ATutor                                                                                                                               */
4 /************************************************************************/
5 /* Copyright (c) 2002-2004 by Greg Gay, Joel Kronenberg & Heidi Hazelton*/
6 /* Adaptive Technology Resource Centre / University of Toronto                  */
7 /* http://atutor.ca                                                                                                             */
8 /*                                                                                                                                              */
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 /************************************************************************/
13
14 define('AT_INCLUDE_PATH', '../include/');
15 require(AT_INCLUDE_PATH.'vitals.inc.php');
16
17 if (isset($_GET['back'])) {
18         header('Location:index.php');
19         exit;
20 }
21
22 require(AT_INCLUDE_PATH.'header.inc.php');
23
24 @readfile(AT_CONTENT_DIR . 'chat/'.$_SESSION['course_id'].'/tran/'.$_GET['t'].'.html');
25 ?>
26
27 </table>
28 <br />
29
30 <form method="get" action="<?php echo $_SESSION['PHP_SELF']; ?>">
31         <input type="submit" value="<?php echo _AT('back'); ?>" name="back" class="button" />
32 </form>
33
34 <?php require(AT_INCLUDE_PATH.'footer.inc.php'); ?>