", "
\n", "", "", "", "" ); $sqlBanners = "SELECT * FROM gek_misc where misc = 'banner' OR misc = 'linksdown'"; if ($resultBanners = $mysqlink->query($sqlBanners)) { while ($row = $resultBanners->fetch_assoc()) { if ($row['misc'] == 'banner') { $banner = $row['tekst']; } if ($row['misc'] == 'linksdown') { $linksdown = $row['tekst']; } } $resultBanners->free(); } if (isset($_GET['uid']) && !isset($_GET['sid'])) { if (is_numeric($_GET['uid'])) { $contentID = strip_tags($_GET['uid']); } else { $host = $_SERVER['HTTP_HOST']; $uri = rtrim(dirname($_SERVER['PHP_SELF']), '/\\'); header("Location: http://$host$uri/"); exit(); } } if (isset($_GET['uid']) && isset($_GET['sid'])) { if (is_numeric($_GET['sid'])) { $contentID = strip_tags($_GET['sid']); } else { $host = $_SERVER['HTTP_HOST']; $uri = rtrim(dirname($_SERVER['PHP_SELF']), '/\\'); header("Location: http://$host$uri/"); exit(); } } $sqlMeta = "SELECT uid, title, description, keywords, koptekst FROM gek_menu WHERE uid = $contentID AND toon = 1"; if ($resultMeta = $mysqlink->query($sqlMeta)) { $foutID = '1'; while ($row = $resultMeta->fetch_assoc()) { $foutID = 0; $meta_title = $row['title']; $meta_koptekst = $row['koptekst']; $meta_description = $row['description']; $meta_keywords = $row['keywords']; if ($meta_title == "") {$meta_title = $meta_koptekst; } } $resultMeta->free(); } if ($foutID > 0) { $host = $_SERVER['HTTP_HOST']; $uri = rtrim(dirname($_SERVER['PHP_SELF']), '/\\'); header("Location: http://$host$uri/"); exit(); } ?> <? echo $meta_title; ?> " rel="stylesheet" type="text/css" />
prepare($cntQuery)) { $cntMenu->execute(); $cntMenu->store_result(); $aantal = $cntMenu->num_rows; $cntMenu->close(); } $kolombreedte = floor(100/$aantal); $over = 100 - $aantal*$kolombreedte; $sqlMenu = "SELECT uid, koptekst, parent FROM gek_menu WHERE parent = '' AND toon = 1 ORDER BY volgorde ASC"; if ($resultMenu = $mysqlink->query($sqlMenu)) { $n = 0; while ($row = $resultMenu->fetch_assoc()) { $n = $n+1; if ($aantal == $n) { $kolombreedte = $kolombreedte+$over; } $uid = $row['uid']; $koptekst = $row['koptekst']; echo "\n"; } $resultMenu->free(); } ?>  
query($sqlMenuContent)) { while ($row = $resultMenuContent->fetch_assoc()) { if ($row['parent'] != ''){ echo "\n"; } $tekst = str_replace($zoek, $vervang, $row['tekst']); $rb = str_replace($zoek, $vervang, $row['rb']); $ro = str_replace($zoek, $vervang, $row['ro']); $mo = str_replace($zoek, $vervang, $row['mo']); $lo = str_replace($zoek, $vervang, $row['lo']); $body = $row['body']; echo " \n\n"; if ($row['rb'] != '') { echo " \n"; } } } ?>

$tekst\n"; if ($row['module'] != '') { echo "
\n"; $module = $row['module']; include("modules/$module"); } echo "

\n \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo "
$lo  $mo  $ro
\n"; echo "
  
$rb