LoadList(0, 0, 1, 'datecreated'); if ($frm_category_id){ //load current category info $categoryobj->GetRecord($frm_category_id); //load pictures $picturelist = $pictureobj->LoadList($frm_category_id, 0, $frm_offset, 0); /* //previous/next calculations $total = $pictureobj->CountRecords($frm_category_id); $next = ($frm_offset+LIMIT>=$total)?-1:$frm_offset+LIMIT; if ($frm_offset<=0){ $prev = -1; } else{ $prev = ($frm_offset-LIMIT>0)?$frm_offset-LIMIT:0; } $offset = $frm_offset; $current = ($frm_offset+LIMIT>=$total)?$total:$frm_offset+LIMIT; */ } //------------------------------------------------------- //GENERATE HTML //------------------------------------------------------- include "includes/header.inc.php"; //show all project 'headers' if (!$frm_category_id){ print "

Werkzaamheden

"; if (count($categorylist)){ foreach($categorylist as $category){ $picturelist = $pictureobj->LoadList($category['id'], 0, $frm_offset, 0); $descrShort = CutStringWords($category['description'], CHAR_LIMIT); $cols = (count($picturelist))?2:1; ?>

"; print ""; print "".$picturelist[0]["; print ""; print ""; } ?>

 
1){ ?> meer >>

 
Momenteel zijn er geen werkzaamheden beschikbaar om te tonen"; } } else{ //show single project including all thumbnails print "

".$categoryobj->title."

"; $cols = (count($picturelist))?2:1; ?> "; foreach($picturelist as $picture){ print ""; print "".$picture["; print ""; print "
 
"; } print ""; } ?>

 
Terug naar alle werkzaamheden