Er zijn geen producten in deze categorie..."; } else { while($a1 = mysql_fetch_array($r1)) { $MyPrice = number_format($a1[ItemPrice], 2, ".", ""); if(!empty($a1[ItemImage])) { $DisplayImage = "\"Klik"; } else { $DisplayImage = " "; } $DisplayCategory .= "
$DisplayImage Klik voor meer info: $a1[ItemName]

Categorie: $a1[CategoryName]"; if(!empty($a1[SubcategoryID])) { $DisplayCategory .= ", $a1[SubcategoryName]"; } $DisplayCategory .= "

Prijs: $MyPrice euro


"; } $rnav = mysql_query($qnav) or die(mysql_error()); $rows = mysql_num_rows($rnav); if($rows > $ByPage) { $NextPrev = "
\n\n"; $NextPrev .= ""; $NextPrev .= "\n\n
| "; $pages = ceil($rows/$ByPage); for($i = 0; $i <= ($pages); $i++) { $PageStart = $ByPage*$i; $i2 = $i + 1; if($PageStart == $Start) { $links[] = " $i2\n\t "; } elseif($PageStart < $rows) { $links[] = " $i2\n\t "; } } $links2 = implode(" | ", $links); $NextPrev .= $links2; $NextPrev .= "|

\n"; } } if(isset($NoItems)) { echo $NoItems; } else { require_once("templates/bekijk_cat.php"); } require_once("voet.php"); ?>