zie ook: lopende projecten
 
ceil($rtel)) { $page=1; } for ($i = 1; $i <= ceil($rtel); $i++) { if ($page == $i) $pages[$i] = "$i"; else $pages[$i] = "$i"; } $pages= implode(" | ", $pages); $vorige = ($page-1) ? "< vorige" : ""; $volgende = ($page-ceil($rtel)) ? "volgende >" : ""; if ($vorige && $volgende) { $navigation = "$vorige | $pages | $volgende"; } else { $navigation = "$vorige | $pages | $volgende"; } // and published is not null $result = mysql_query("select * from agenda where code = 'agenda' and published is not null order by id LIMIT $van, $max"); // begin print rows if (mysql_num_rows($result)) { echo ""; while ($story = mysql_fetch_array($result)) { $long_text_1 = mysql_query("select * FROM agenda_long WHERE id = '$story[id]' AND published IS NOT NULL",$conn); $long_text = mysql_fetch_array($long_text_1); echo "" ."" ."" ."" ."" .""; } echo "" ."" ."" ."" ."

    ".stripslashes($story[datum]); if ($story[picture]) { echo "




"; } echo "

".stripslashes($story[titel])."" ."

".nl2br(stripslashes($story[story_text]))."


"; if($story[id] == $long_text[id]) { echo "klik hier voor meer informatie

"; } if ($story[externe_url]) { echo "".stripslashes($story[externe_url])."

"; } echo "
 $navigation
"; } else { echo "Op dit moment is er geen nieuwe informatie voor de agenda"; } //einde print ?>