session_start();?> require "/usr/local/apache2/veilig/vclbgentbe_cms.inc" ?> require "functions/navigatie.inc" ?> require "functions/query.inc" ?> // $query = "SELECT Titel, Inhoud FROM webBankentblnieuw WHERE Vertoon='-1' ORDER BY Prioriteit DESC"; // $resultNEWS=mysql_query($query); $queryContent= "SELECT titel,inhoud FROM paginas WHERE id =10"; $resultContent=mysql_query($queryContent); $whereCategorie=" where content.vertoon='j'" ; $whereCategorie.=$_SESSION[profielid]?" and profiel.profielid=$_SESSION[profielid] ":""; $queryCategorie= "SELECT DISTINCT categorielabel.label,categorielabel.id FROM categorielabel JOIN (content,werking,categorie,profiel) on(content.id=werking. contentid AND categorie.contentid=content.id and categorie.labelid=categorielabel.id and profiel.contentid=content.id ) ".$whereCategorie." ORDER BY label ASC "; //echo $queryCategorie; $resultCategorie=mysql_query($queryCategorie) or die("catprob"); //echo $queryCategorie; ?>
