i_parent_id_fk != 0) { $modCompParentReferOb = ModuleComponent::findById($modCompReferOb->i_parent_id_fk); $selectedExtraCompName = substr($modCompReferOb->c_name, strlen($modCompParentReferOb->c_name . ' - ')); if($selectedExtraCompName == 'Highlights') { include('mod/Projecten01/index_highlight_projecten.php'); } } else { if(isset($a_urlParts[count($a_urlParts)-2]) && $a_urlParts[count($a_urlParts)-2] == 'details') { $item = decodeSeoUrl($a_urlParts[count($a_urlParts)-1]); $itemOb = Projecten01::findByCurlAndCompId($item, $compid); $a_itemPictures = Projecten01_pics::findByProjectIdFk($itemOb->i_id_pk); if($itemOb) { $html .= '

' . htmlentities(stripslashes($itemOb->c_titel)) . '

'; $html .= $itemOb->c_grote_omschrijving; $html .= '
'; if($a_itemPictures) { foreach($a_itemPictures as $a_itemPicture) { $html .= ' '; } } $html .= '
'; } } else { $a_allProjects = Projecten01::findAllbyModCompIdAndSortby($modCompReferOb->i_id_pk, $sortering); $pagePart = decodeSeoUrl($a_urlParts[count($a_urlParts)-1]); $inleidingOb = Projecten01_inleiding::findByModCompId($compid); if($inleidingOb) { $html .= $inleidingOb->t_inleiding; } if($a_allProjects) { $html .= '
'; foreach($a_allProjects as $a_project) { $html .= '
' . htmlentities(stripslashes($a_project['c_titel'])) . '
' .($a_project['c_url']) . '
'; $html .= '
' . chopText(stripslashes($a_project['c_kleine_omschrijving']), $maxCharacters) . '
'; } $html .= '
'; } } echo $html; } } else { die('Fout: Geen modulecomponent gegevens gevonden.'); } ?>