$name){ $querycr="SELECT * FROM inhoudmenu WHERE parentid = '$id' AND actief <= now() AND $dbmenuitem != '' AND hidden = '' $_SESSION[testsessionidAND] ORDER BY menuvolgorde"; $resultcr = mysql_query($querycr); if(mysql_num_rows($resultcr)){$urlhtml = '';}else{$urlhtml = array('.html');} $url = getmenuurl('inhoudmenu',$id,$urlhtml); if($name){$brcr .= ''.$name.' > ';} } } if(count($acontactcrumbs)){ $menuactive[$formid] = 'style="font-weight:bold"'; foreach($acontactcrumbs as $id => $name){ $url = getmoduleurl('contact',$id); if($name){$brcr .= ''.$name.' > ';} } } if(count($aafrekencrumbs)){ $menuactive[$formid] = 'style="font-weight:bold"'; foreach($aafrekencrumbs as $mod => $sub){ $url = getmoduleurl($mod,false,array('sub~'.$sub)); if($cfg['fplang'][$sub]){$showedsub = $cfg['fplang'][$sub];}else{$showedsub = $sub;} $brcr .= ''.$showedsub.' > '; } } if(count($acrumbs)){ $menuactive[$id] = 'style="font-weight:bold"'; foreach($acrumbs as $id => $name){ $url = getmoduleurl($name,$id); if($id){ $result = mysql_query("SELECT *, (SELECT $dbmeta_pageurl FROM googletags WHERE page = '".$name."_".$id."') as $dbmeta_pageurl FROM ".$dbconfig['tablename'][$name]." WHERE ".$dbconfig['tableidentifier'][$name]." = '".$id."'"); $row = mysql_fetch_assoc($result); if($row[$dbmeta_pageurl]){$brcr .= ''.$row[$dbmeta_pageurl].' > ';} }else{ $result = mysql_query("SELECT $dbmeta_pageurl FROM googletags WHERE page = '".$name."'"); $row = mysql_fetch_assoc($result); if($row[$dbmeta_pageurl]){ $brcr .= ''.$row[$dbmeta_pageurl].' > '; }elseif($name){ $brcr .= ''.$name.' > '; } } } } echo ' '; } } if($page){ if(file_exists('cms/'.$page.'.html')){ require('cms/'.$page.'.html'); }else{ echo "

Pagina is niet gevonden!!!

"; } }elseif($p && $sub){ require 'modules/'.$p.'/'.$sub.'.php'; }elseif($p){ echo findimgpopup($rowmenu[$dbcontent]); $userfile = 'modules/'.$p.'/'.$p.'.php'; if(file_exists($userfile)){require $userfile;}else{echo ucfirst($p).' pagina niet gevonden.';} }elseif($pid){ $pidpage = $pid; if($norights){ echo "

Beveiligde pagina

Log eerst in om deze pagina te bekijken!"; }else{ if($cfg[dbcontent]){ /*if (isset($_SESSION[$adminsessionid])){ if(!isset($_SESSION[hideinlineeditor]) && hideinlineeditoratfirstload){$_SESSION[hideinlineeditor] = true;} if($_GET[showinlineeditor]){$_SESSION[hideinlineeditor] = '';} if($_GET[hideinlineeditor]){$_SESSION[hideinlineeditor] = true;} if(!substr_count($_SERVER['REQUEST_URI'],"index.php")){$_SESSION[hideinlineeditor] = true;} if($_SESSION[hideinlineeditor]){ echo ''.$cfg['fplang']['tooneditor'].'
'; echo findimgpopup($rowmenu[$dbcontent]); }else{ echo ''.$cfg['fplang']['verbergeditor'].'
'; $ctpage=$pidpage; $header=$rowmenu[$dbmenuitem]." pagina"; require 'cms/content.php'; } }else{*/ if(!$landingspage && $pid != 10){ echo '

'.fromdb($rowmenu[$dbmenuitem]).'


'; } echo '
'; echo findimgpopup($rowmenu[$dbcontent]); echo '
'; if(getheaderfoto($headerpage)){ echo '
'; echo ''; echo '
'; } //} if($pid == 1){ //landing require 'modules/fotoalbum/frontpage.php'; } if($pid == 10){ //brochure echo '

Brochure


'; $arystrFile = glob("cms/Uploads/brochures/*"); foreach ($arystrFile as $intOffset => $strFile){ $filename = basename($strFile, ".pdf"); if(is_file("cms/Uploads/brochures/".$filename.'.pdf')){ echo '

'.ucfirst(str_replace(array('_','-'),' ',$filename)).'

'.ucfirst(str_replace(array('_','-'),' ',$filename)).'

'; } } echo '
'; } }elseif(file_exists('cms/'.$pidpage.'.html')){ require('cms/'.$pidpage.'.html'); }elseif(!$landingpage){ echo "

Pagina is niet gevonden!!!

"; } } }else{ if($norights){ echo "

Beveiligde pagina

Log eerst in om deze pagina te bekijken!"; }else{ if(file_exists('cms/'.$pid.'.html')){ require('cms/'.$pid.'.html'); }elseif(!$landingspage){ echo "

Pagina is niet gevonden!!!

"; } } } include 'scripts/bottom.php'; if (isset($_SESSION[$adminsessionid])){ echo '
'; } ?>