// pagina specifiek scripts //gebruikt ondersteunende functies in inhoud.php $tpl['paginaStylesheets'] = ""; // pagina specifiek link element $tpl['dyn'] = ""; // om verborgen dynamische elementen op te roepen via script, //********welke pagina********************** if (isset($_GET['page'])) { //specifieke pagina $page = $_GET['page']; switch ($page) { case "about": /*** About pagina ***/ $tpl['title'] = "de Plantenshop: wie zijn we en wat doen we?"; $tpl['body_id'] = "about"; //content $tpl['rechts'] = getAbout(); $tpl['paginaScripts'] = getScriptElements("js/about.js"); break; case "shop": /*** Planten pagina, PHP, non-ajax ***/ //init zoekvariabelen $soort_id = isset($_GET['soort_id']) ? $_GET['soort_id'] : '%'; $kleur = isset($_GET['kleur']) ? $_GET['kleur'] : '%'; $hoogte_min = isset($_GET['hoogte_min']) ? intval($_GET['hoogte_min']) : 0; $hoogte_max = isset($_GET['hoogte_max']) ? intval($_GET['hoogte_max']) : 5000; $tpl['title'] = "de Plantenshop: ons aanbod"; $tpl['body_id'] = "shop"; //content $tpl['rechts'] = getPlanten($soort_id, $kleur, $hoogte_min, $hoogte_max); $tpl['paginaStylesheets'] = getLinkElements("https://cdn.datatables.net/r/ju-1.11.4/dt-1.10.9,cr-1.2.0/datatables.min.css"); $tpl['paginaScripts'] = getScriptElements(array("js/slider_shop.js", "https://cdn.datatables.net/r/ju-1.11.4/dt-1.10.9,cr-1.2.0/datatables.min.js", "js/ajaxshop.js"));
<!-- About Section --> <?php if (!defined('MyConst')) { die('Direct access not permitted'); } getAbout(); echo "<div class='row' id='about'>"; if (!empty($aboutTitle)) { echo "<div class='col-lg-12'>"; echo "<h2 class='page-header about'>" . $aboutTitle . "</h2>"; echo "</div>"; } if (!empty($aboutImage)) { if ($aboutImageAlign == "right") { echo "<div class='col-md-10'>"; echo $aboutContent; echo "</div>"; echo "<div class='col-md-2'>"; echo $aboutImage; echo "</div>"; } else { echo "<div class='col-md-2'>"; echo $aboutImage; echo "</div>"; echo "<div class='col-md-10'>"; echo $aboutContent; echo "</div>"; } } else { echo "<div class='col-md-12'>"; echo $aboutContent;