"; $style=""; } else { $style= "style=\"text-decoration:none\""; } echo "".$row["TITLE_EN"].""; if ($cat==$row["ID"]) { echo ""; } if ($cat==$row["ID"]) { $titlepage=$row["TITLE_EN"]; } } else { if ($cat==$row["ID"]) { echo ""; $style=""; } else { $style= "style=\"text-decoration:none\""; } echo "".$row["TITLE_NL"].""; if ($cat==$row["ID"]) { echo ""; } if ($cat==$row["ID"]) { $titlepage=$row["TITLE_NL"]; } } if ($i<$num) { echo " - "; } $i++; } ?>



"; $tmp2=""; $style=""; } else { $tmp=""; $tmp2=""; $style="style=\"text-decoration:none\"";} if ($p==1) { $nav .= "".$tmp.$p.$tmp2.""; } else { $nav .= " - ".$tmp.$p.$tmp2.""; } $p++; } echo "

$pm: $nav


"; $result = mysql_query("select * from objects where CAT=".$cat." order by POS DESC, DATUM DESC LIMIT ".$offset.",".$aantal.""); $i = 1; while($row = mysql_fetch_assoc($result)) { if ($l=="EN") { $title = $row["TITLE_EN"]; $desc = $row["DESC_EN"]; } else { $title = $row["TITLE_NL"]; $desc = $row["DESC_NL"]; } $desc = nl2br($desc); echo "
"; echo ""; echo ""; if (strlen($desc)>255) { $length = strlen($desc); $desc = "". substr($desc,0,255); if ($l=="NL") { $desc .= "...

Klik op de foto om meer te lezen
"; } else { $desc .= "...

Click on the picture to read more"; } echo ""; } else { echo ""; } echo "
".$title."
$desc
$desc

"; } echo "
$pm: $nav

"; ?>