$entriesperpage=8; $lab_welkom = "Welkom in mijn gastenboek!"; // check if some necessary variables have been set if (!$GLOBALS[entriesperpage]) { die("variabele 'entriesperpage' is niet gezet!"); } // include global constants include("../_shared/const/const.inc.php"); // include phphtmllib // $phphtmllib = ("../../shared/pres/phphtmllib/"); // include ($phphtmllib . "includes.inc"); // include html wrapper functions include("../_shared/pres/pagels.inc.php"); // include mysql functions include ("../_shared/bl/mysql.inc.php"); // make database connection $connection = mysql_connect($GLOBALS[dbserver], $GLOBALS[dbuser], $GLOBALS[dbpassword]) or die ("Er kan geen verbinding worden gemaakt met de database."); mysql_select_db($GLOBALS[db], $connection) or die(mysql_error()); // include guestbook specific files include("../gastenboek/bl.inc.php"); include("../gastenboek/html.inc.php"); include("../gastenboek/actiontree.inc.php"); // start echoing echo "\n\n". "\n". "
\n". "sitemap \n". "