move code up one directory
[atutor.git] / themes / default15 / include / footer.tmpl.php
1 <?php if (!defined('AT_INCLUDE_PATH')) { exit; } ?>
2
3         <?php if ($_SESSION['course_id'] > 0): ?>
4                 
5                 <div align="right" style="clear: left;" id="gototop">
6                         <br />
7                         <span style="font-size:smaller;padding-right:3px;"><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>   </span>
8                 </div>  
9
10         <?php endif; ?> 
11
12         </td>
13         <?php if (($_SESSION['course_id'] > 0) && $this->side_menu): ?>
14                 <td valign="top" style="width: 25%">
15             <a name="menu"></a>
16             <div id="side-menu">
17             <?php foreach ($this->side_menu as $dropdown_file): ?>
18                 <?php if (file_exists($dropdown_file)) { require($dropdown_file); } ?>
19             <?php endforeach; ?>
20             </div>
21                 </td>
22         <?php endif; ?>
23 </tr>
24 <tr>
25         <td colspan="2">
26                 <br /><br />
27                 <?php require(AT_INCLUDE_PATH.'html/languages.inc.php'); ?>
28                 <?php require(AT_INCLUDE_PATH.'html/copyright.inc.php'); ?>
29                 <br />
30         </td>
31 </tr>
32 </table>
33 <script type="text/javascript">
34 //<!--
35     <?php require_once(AT_INCLUDE_PATH.'../jscripts/ATutor_js.php'); ?>
36 //-->
37 </script>
38 </body>
39 </html>