move code up one directory
[atutor.git] / themes / fluid / include / footer.tmpl.php
1 <?php if (!defined('AT_INCLUDE_PATH')) { exit; } global $system_courses; ?>
2
3                 <?php if ($_SESSION['course_id'] > 0): ?>
4                         <div id="gototop">              
5                                 <a href="<?php echo htmlspecialchars($_SERVER['REQUEST_URI'], ENT_QUOTES); ?>#content" title="<?php echo _AT('goto_content'); ?> Alt-c" ><?php echo _AT('goto_top'); ?></a>
6                         </div>  
7                 <?php endif; ?> 
8         </div>   <!-- END of content style -->
9         
10         <?php if ($_SESSION['course_id']>0 && $system_courses[$_SESSION['course_id']]['side_menu'] && $_SESSION['prefs']['PREF_MENU']=="right"): ?>
11         <div id="side-menu" class="orderable" style="display:inline; float:left">
12                 <div class="grab"><img src="<?php echo $this->img; ?>layers.png" /></div>
13                 <?php require(AT_INCLUDE_PATH.'side_menu.inc.php'); ?>
14         </div>
15         <?php endif; ?>
16         
17         </div> <!-- END of <div id="contentwrapper"> -->
18
19 <div id="footer">
20         <br /><br />
21         <?php require(AT_INCLUDE_PATH.'html/languages.inc.php'); ?>
22         <?php require(AT_INCLUDE_PATH.'html/copyright.inc.php'); ?>
23 </div>
24
25
26 <?php
27 debug($_SESSION);
28 ?>
29 <script type="text/javascript">
30 //<!--
31     <?php require_once(AT_INCLUDE_PATH.'../jscripts/ATutor_js.php'); ?>
32 //-->
33 </script>
34 </body>
35 </html>