Logo Bureau Jacquot U moet uw Flash player updaten om deze site te kunnen bekijken '' ORDER BY id ASC"); while($page_a = mysql_fetch_array($getPages)) { $id=$page_a["id"]; $pageNaam=$page_a['naam']; $pageNaam=entity_to_decimal_value($pageNaam); $pageTxt=$page_a['omschrijving']; $pageTxt=entity_to_decimal_value($pageTxt); $pageTxt=convertStyles($pageTxt); $pageTxt=stripEndBreaks($pageTxt); $pagePic=$page_a['foto']; if($pagePic!='') { list($breed, $hoog, $imageType)=getimagesize($pagePic); } else { $breed='';$hoog='';$imageType=''; } $pageSoort=$page_a['soort']; //echo "$pageSoort"; if($pageSoort=='') { $pageSoort='mainPage'; } echo "

$pageNaam

\n"; // text page: if($pageSoort=='textContent') { echo "

$pageTxt

\n"; } else if($pageSoort=='contactContent') { echo "

$contactTxt

\n"; } else if($pageSoort=='listContent') { $getListCats=mysql_query("SELECT id, naam FROM $contentTabel WHERE soortID='' AND pageID='$id' AND visible='100' ORDER BY orde DESC"); while($showCats=mysql_fetch_array($getListCats)) { $itemID=$showCats['id']; $catNaam=$showCats['naam']; $catNaam=entity_to_decimal_value($catNaam); echo "

$catNaam

\n"; $getSubItems=mysql_query("SELECT * FROM $contentTabel WHERE soortID='$itemID' AND pageID='$id' AND visible='100' ORDER BY orde DESC"); while($showSubItem=mysql_fetch_array($getSubItems)) { $i2++; $listItemID=$showSubItem['id']; $listItemName=$showSubItem['naam']; $listItemName=entity_to_decimal_value($listItemName); $listItemTxt=$showSubItem['omschrijving']; $listItemTxt=entity_to_decimal_value($listItemTxt); $listItemTxt=convertStyles($listItemTxt); $listItemTxt=stripEndBreaks($listItemTxt); echo "

$listItemName

\n"; echo "

$listItemTxt

\n"; echo "
\n"; } } } } ?>