// This program is released under the terms of the GNU General Public License. include "ctdlsession.php"; include "ctdlprotocol.php"; function bbs_page_header() { global $session; if(strcmp('4.3.0', phpversion()) > 0) { die("This program requires PHP 4.3.0 or newer."); } establish_citadel_session(); echo << LITERAL; if ($_SESSION["serv_humannode"]) { echo $_SESSION["serv_humannode"] ; } else { echo "BBS powered by Citadel" ; } echo <<<LITERAL LITERAL; echo "Your session ID is ", $session, "
\n"; echo "Log out
"; // flush(); // test_for_echo(); } function bbs_page_footer() { echo "
"; echo "Powered by Citadel. And a few cups of coffee.
\n"; echo "\n"; } ?>