made a copy
[atutor.git] / themes / default_classic / include / footer.tmpl.php
1 <?php if (!defined('AT_INCLUDE_PATH')) { exit; } ?>
2
3         <?php if ($_SESSION['course_id'] > 0): ?>
4                 <br /><div align="right" id="gototop" style="vertical-align:bottom;padding-right:3px;font-size:smaller;"><a href="<?php echo htmlspecialchars($_SERVER['REQUEST_URI'], ENT_QUOTES); ?>#content" style="border: 0px;" title="<?php echo _AT('goto_content'); ?>" ><?php echo _AT('goto_top'); ?></a></div>  
5         <?php endif; ?>
6
7         </td>
8         <?php if (($_SESSION['course_id'] > 0) && $this->side_menu): ?>
9                 <td valign="top">
10                 <script type="text/javascript">
11                 //<![CDATA[
12                 var state = getcookie("side-menu");
13                 if (state && (state == 'none')) {
14                         document.writeln('<div style="display:none;" id="side-menu">');
15                 } else {
16                         document.writeln('<div style="" id="side-menu">');
17                 }
18                 //]]>
19                 </script>
20                         <?php foreach ($this->side_menu as $dropdown_file): ?>
21                                 <?php if (file_exists($dropdown_file)) { require($dropdown_file); } ?>
22                         <?php endforeach; ?>
23                 <script type="text/javascript">
24                 //<![CDATA[
25                         document.writeln('</div>');
26                 //]]>
27                 </script>
28                 </td>
29         <?php endif; ?>
30 </tr>
31 <tr>
32         <td colspan="2">
33                 <br /><br />
34                 <?php require(AT_INCLUDE_PATH.'html/languages.inc.php'); ?>
35                 <?php require(AT_INCLUDE_PATH.'html/copyright.inc.php'); ?>
36                 <br />
37         </td>
38 </tr>
39 </table>
40 </body>
41 </html>