3 include_once($path_to_root . "/includes/date_functions.inc");
5 function page_footer($no_menu=false, $is_index=false)
7 global $local_path_to_root, $version, $allow_demo_mode;
8 global $app_title, $power_url, $power_by;
10 if (function_exists('hyperlink_back'))
12 if ($no_menu == false)
15 echo "<table class=bottomBar>\n";
17 echo "<table class=bottomBar2>\n";
19 if (isset($_SESSION['wa_current_user']))
20 echo "<td class=bottomBarCell>" . Today() . " | " . Now() . "</td>\n";
21 echo "</tr></table>\n";
23 echo "</td></tr></table></td>\n";
25 if ($no_menu == false)
27 echo "<table align='center' id='footer'>\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";
32 echo "<td align='center' class='footer'><a target='_blank' href='$power_url'><font color='#ffff00'>$power_by</font></a></td>\n";
34 if ($allow_demo_mode==true)
37 //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";
40 echo "</table><br><br>\n";
42 echo "</body></html>\n";