include_once('/home/brandhouse/domains/relatiegeschenkenplein.nl/public_html/includes/2x45/main.php'); include_once('/home/brandhouse/domains/relatiegeschenkenplein.nl/public_html/includes/2x45/etalage.class.php'); $dbase->connect(); $website = new WebsiteDisplay( 0 ); if($_POST['sendOfferte']){ if($mandje->checkGegevens()){ header("Location: /winkelmandje.php?add=1"); } else { header("Location: ".$_SERVER['REQUEST_URI']); } exit(); } $qry = "SELECT p.*, pg.omschrijving AS pgroep FROM product p INNER JOIN productgroepen pg ON p.groepID=pg.id WHERE p.strID='".$dbase->escape($_GET['productID'])."' AND p.bActief=1"; $res = $dbase->query_array($qry); if($res) { $productID = $res[0]['id']; $titel = $res[0]['titel']; $htmltitel = $titel.' - '.$res[0]['pgroep'].' | Brandhouse'; $groepID = $res[0]['groepID']; $rootID = $dbase->qq("SELECT parent_id FROM productgroepen WHERE id=".$groepID); if($rootID==0) $rootID = $groepID; } else { $titel = "Pagina niet gevonden."; $htmltitel = "Pagina niet gevonden."; } ?>