*** empty log message ***
[fa-stable.git] / includes / page / footer.inc
1 <?php
2
3 include_once($path_to_root . "/includes/date_functions.inc");
4
5 function page_footer($no_menu=false, $is_index=false)
6 {
7         global $local_path_to_root, $version, $allow_demo_mode;
8         global $app_title, $power_url, $power_by;
9
10         if (function_exists('hyperlink_back'))
11                 hyperlink_back();
12         if ($no_menu == false) 
13         {
14         if ($is_index)
15                 echo "<table class=bottomBar>\n";
16         else
17                 echo "<table class=bottomBar2>\n";
18         echo "<tr>";
19         if (isset($_SESSION['wa_current_user']))
20                 echo "<td class=bottomBarCell>" . Today() . " | " . Now() . "</td>\n";
21         echo "</tr></table>\n";
22         }
23         echo "</td></tr></table></td>\n";
24     echo "</table>\n";
25     if ($no_menu == false) 
26     {
27         echo "<table align='center' id='footer'>\n";
28         echo "<tr>\n";
29         echo "<td align='center' class='footer'><a target='_blank' href='$power_url'><font color='#ffffff'>$app_title $version - " . _("Theme:") . " " . user_theme() . "</font></a></td>\n";
30         echo "</tr>\n";
31         echo "<tr>\n";
32         echo "<td align='center' class='footer'><a target='_blank' href='$power_url'><font color='#ffff00'>$power_by</font></a></td>\n";
33         echo "</tr>\n";
34         if ($allow_demo_mode==true)
35         {
36                 echo "<tr>\n";
37             //echo "<td><br><div align='center'><a href='http://sourceforge.net'><img src='http://sourceforge.net/sflogo.php?group_id=89967&amp;type=5' alt='SourceForge.net Logo' width='210' height='62' border='0' align='middle' /></a></div></td>\n";
38                 echo "</tr>\n";
39         }
40         echo "</table><br><br>\n";
41     }
42     echo "</body></html>\n";
43 }
44
45 ?>