3 include_once($path_to_root . "/includes/date_functions.inc");
5 function page_footer($no_menu=false, $is_index=false)
7 global $version, $allow_demo_mode;
8 global $app_title, $power_url, $power_by;
10 if (isset($_GET['ajax'])) return;
12 if (function_exists('hyperlink_back'))
14 if ($no_menu == false)
17 echo "<table class=bottomBar>\n";
19 echo "<table class=bottomBar2>\n";
21 if (isset($_SESSION['wa_current_user']))
22 echo "<td class=bottomBarCell>" . Today() . " | " . Now() . "</td>\n";
23 echo "</tr></table>\n";
25 echo "</td></tr></table></td>\n";
27 if ($no_menu == false)
29 echo "<table align='center' id='footer'>\n";
31 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";
34 echo "<td align='center' class='footer'><a target='_blank' href='$power_url'><font color='#ffff00'>$power_by</font></a></td>\n";
36 if ($allow_demo_mode==true)
39 //echo "<td><br><div align='center'><a href='http://sourceforge.net'><img src='http://sourceforge.net/sflogo.php?group_id=89967&type=5' alt='SourceForge.net Logo' width='210' height='62' border='0' align='middle' /></a></div></td>\n";
42 echo "</table><br><br>\n";
44 echo "</body></html>\n";