session_start();
if (!session_is_registered("user_session"))
{
session_register("user_session");
}
$db=1;
session_register("user_session");
$dbh=mysql_connect ("localhost", "db_puspnl", "yduru3") or die ('site in onderhoud');mysql_select_db ("puppyspecialist_nl_main");
$db=1;
if (!$db){ echo "
Site in onderhoud
"; }
else {
$page = $_GET['page'] ;
$cat = $_GET['cat'] ;
$id = $_GET['id'] ;
//include "inc/on.php";
include "inc/ads.php";
include "inc/cattxt.php";
include "inc/boven.php";
if(empty($page))
{
include "inc/home.php";
}
else
{
$page = "inc/" . $page . ".php";
if(file_exists($page))
{
include $page;
}
else
{
echo "Er ging iets fout
";
}
}
include "inc/onder.php";
}
$host="";
$username="";
$password="";
$db = "";
?>