5 // Header and footer code to be included on every page. Not only does it
6 // contain some common markup, but it also calls some code glue that holds
7 // the session together.
9 // Copyright (c) 2003 by Art Cancro <ajc@uncensored.citadel.org>
10 // This program is released under the terms of the GNU General Public License.
13 // All of the back-end magic gets included from here. The rest of the
14 // pages in the system then only have to include ctdlheader.php (since it
15 // is required) and they get the others automatically.
17 include "ctdlsession.php";
18 include "ctdlprotocol.php";
20 function bbs_page_header() {
22 // Make sure we're connected to Citadel. Do not remove this!!
23 establish_citadel_session();
26 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
29 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
30 <meta name="Description" content="Citadel BBS">
31 <meta name="Keywords" content="citadel,bbs">
32 <meta name="MSSmartTagsPreventParsing" content="TRUE">
36 if ($_SESSION["serv_humannode"]) {
37 echo $_SESSION["serv_humannode"] ;
40 echo "BBS powered by Citadel" ;
56 <A HREF="logout.php">Log out</A>
64 function bbs_page_footer() {
66 echo "Powered by Citadel. And a few cups of coffee.<BR>\n";
67 echo "</BODY></HTML>\n";