Pagina is niet gevonden!!!"; } }elseif($p && $sub){ require 'modules/'.$p.'/'.$sub.'.php'; }elseif($p){ echo ' '; $userfile = 'modules/'.$p.'/'.$p.'.php'; if($p=='zoeken'){$zoektekst = $_GET[zoektekst];} if(file_exists($userfile)){require $userfile;}else{echo ucfirst($p).' pagina niet gevonden.';} }elseif($pid){ if($sub2pid){$pidpage = $pid.'_'.$subpid.'_'.$sub2pid;}elseif($subpid){$pidpage = $pid.'_'.$subpid;}else{$pidpage = $pid;} if($norights){ echo "

Beveiligde pagina

Log eerst in om deze pagina te bekijken!"; }else{ if($cfg[dbcontent]){ if($subpid){ $queryvor="SELECT * FROM submenuopbouw WHERE hoofdmenuitemid = '$pid' AND submenuvolgorde = ".($row[submenuvolgorde] - 1)." $_SESSION[testsessionidAND]"; $resultvor = mysql_query($queryvor); if($rowvor = mysql_fetch_assoc($resultvor)){ $vorige = 'vorige'; } $queryvol="SELECT * FROM submenuopbouw WHERE hoofdmenuitemid = '$pid' AND submenuvolgorde = ".($row[submenuvolgorde] + 1)." $_SESSION[testsessionidAND]"; $resultvol = mysql_query($queryvol); if($rowvol = mysql_fetch_assoc($resultvol)){ $volgende = 'volgende'; } if (session_is_registered($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 $row[$dbcontent]; }else{ echo ''.$cfg['fplang']['verbergeditor'].'
'; $ctpage=$pidpage; $header=$row[$dbhoofdmenuitem]." pagina"; require 'cms/content.php'; } }else{ $surl = construkturl('site',array($pid,fromdb($rows[$dbsubmenuitem]).'.html')); echo ''.$row[$dbcontent].'
'.$vorige.'
'.$volgende.'
'.fromdb($row[$dbsubmenuitem]).'
'; } }else{ if (session_is_registered($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 '
'; echo ''.$cfg['fplang']['tooneditor'].'
'; echo $row[$dbcontent]; echo '
'; }else{ $ctpage=$pidpage; $header=$row[$dbhoofdmenuitem]." pagina"; echo '
'; echo ''.$cfg['fplang']['verbergeditor'].'
'; require 'cms/content.php'; echo '
'; } }else{ echo '
'; echo $row[$dbcontent]; echo '
'; } } }elseif(file_exists('cms/'.$pidpage.'.html')){ require('cms/'.$pidpage.'.html'); }else{ 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'); }else{ echo "

Pagina is niet gevonden!!!

"; } } } } include 'scripts/bottom.php'; ?>