"; break; case 'extern': echo "
"; break; case 'flash': echo $obj["flash"]; break; } } ?>
0) { $i = -1; while($adv = mysql_fetch_array($query)) { $i++; if (($i % 3) == 0) echo "
"; $adv["naam"] = str_replace("?", "", $adv["naam"]); echo"
"; echo"
"; if(file_exists("advertenties/thumbs/$adv[advertentie_id]_thumb.jpg")) { $size = getimagesize("advertenties/thumbs/$adv[advertentie_id]_thumb.jpg"); $width = $size[0]; $height = $size[1]; if ($width > $height) $s = "width=\"67\" height=\"59\""; if ($width < $height) $s = "width=\"60\" height=\"70\""; if ($width == $height) $s = "width=\"70\" height=\"70\"";} elseif(file_exists("advertenties/thumbs/$adv[advertentie_id]_thumb_extra1.jpg")) { $size = getimagesize("advertenties/thumbs/$adv[advertentie_id]_thumb_extra1.jpg"); $width = $size[0]; $height = $size[1]; if ($width > $height) $s = "width=\"100\" height=\"70\""; if ($width < $height) $s = "width=\"60\" height=\"70\""; if ($width == $height) $s = "width=\"70\" height=\"70\""; } elseif(file_exists("advertenties/thumbs/$adv[advertentie_id]_thumb_extra2.jpg")) { $size = getimagesize("advertenties/thumbs/$adv[advertentie_id]_thumb_extra2.jpg"); $width = $size[0]; $height = $size[1]; if ($width > $height) $s = "width=\"100\" height=\"70\""; if ($width < $height) $s = "width=\"60\" height=\"70\""; if ($width == $height) $s = "width=\"70\" height=\"70\""; } elseif(file_exists("advertenties/thumbs/$adv[advertentie_id]_thumb_extra3.jpg")) { $size = getimagesize("advertenties/thumbs/$adv[advertentie_id]_thumb_extra3.jpg"); $width = $size[0]; $height = $size[1]; if ($width > $height) $s = "width=\"100\" height=\"70\""; if ($width < $height) $s = "width=\"60\" height=\"70\""; if ($width == $height) $s = "width=\"70\" height=\"70\""; } elseif(file_exists("advertenties/thumbs/$adv[advertentie_id]_thumb_extra4.jpg")) { $size = getimagesize("advertenties/thumbs/$adv[advertentie_id]_thumb_extra4.jpg"); $width = $size[0]; $height = $size[1]; if ($width > $height) $s = "width=\"100\" height=\"70\""; if ($width < $height) $s = "width=\"60\" height=\"70\""; if ($width == $height) $s = "width=\"70\" height=\"70\""; } elseif(file_exists("advertenties/thumbs/$adv[advertentie_id]_thumb_extra5.jpg")) { $size = getimagesize("advertenties/thumbs/$adv[advertentie_id]_thumb_extra5.jpg"); $width = $size[0]; $height = $size[1]; if ($width > $height) $s = "width=\"100\" height=\"70\""; if ($width < $height) $s = "width=\"60\" height=\"70\""; if ($width == $height) $s = "width=\"70\" height=\"70\""; } Else { $size = getimagesize("advertenties/thumbs/noimage.jpg"); $width = $size[0]; $height = $size[1]; if ($width / $height < 1) $s = "height=\"70\""; if ($width / $height >= 1) $s = "height=\"70\"";} $c_id = $adv[categorie_id]; if($c_id == "311") { $image = ""; } elseif(file_exists("advertenties/thumbs/$adv[advertentie_id]_thumb.jpg")) { $image = ""; } elseif(file_exists("advertenties/thumbs/$adv[advertentie_id]_thumb_extra1.jpg")) { $image = ""; } elseif(file_exists("advertenties/thumbs/$adv[advertentie_id]_thumb_extra2.jpg")) { $image = ""; } elseif(file_exists("advertenties/thumbs/$adv[advertentie_id]_thumb_extra3.jpg")) { $image = ""; } elseif(file_exists("advertenties/thumbs/$adv[advertentie_id]_thumb_extra4.jpg")) { $image = ""; } elseif(file_exists("advertenties/thumbs/$adv[advertentie_id]_thumb_extra5.jpg")) { $image = ""; } else { $image = ""; } $aantal20 = strlen($adv[titel]); if($aantal20 >12) { $adv[titel] = substr ($adv[titel], 0, 12); $adv[titel] .=".."; } echo"

$adv[titel]

"; $prijsproduct = $adv[prijs]; $aantal = strlen("$prijsproduct"); if($aantal >14) { $prijsproduct = substr ("$prijsproduct", 0, 10); $prijsproduct .="..."; } echo"

$money_sign $prijsproduct

"; echo"$taal[1189]"; echo"
"; echo"
"; echo $image; echo "
"; echo "
"; }}} ?>


"; break; case 'extern': echo "
"; break; case 'flash': echo $obj["flash"]; break; } } ?>
"; $adv["naam"] = str_replace("?", "", $adv["naam"]); echo"
"; echo"
"; if(file_exists("advertenties/thumbs/$adv[advertentie_id]_thumb.jpg")) { $size = getimagesize("advertenties/thumbs/$adv[advertentie_id]_thumb.jpg"); $width = $size[0]; $height = $size[1]; if ($width > $height) $s = "width=\"67\" height=\"59\""; if ($width < $height) $s = "width=\"60\" height=\"70\""; if ($width == $height) $s = "width=\"70\" height=\"70\"";} elseif(file_exists("advertenties/thumbs/$adv[advertentie_id]_thumb_extra1.jpg")) { $size = getimagesize("advertenties/thumbs/$adv[advertentie_id]_thumb_extra1.jpg"); $width = $size[0]; $height = $size[1]; if ($width > $height) $s = "width=\"100\" height=\"70\""; if ($width < $height) $s = "width=\"60\" height=\"70\""; if ($width == $height) $s = "width=\"70\" height=\"70\""; } elseif(file_exists("advertenties/thumbs/$adv[advertentie_id]_thumb_extra2.jpg")) { $size = getimagesize("advertenties/thumbs/$adv[advertentie_id]_thumb_extra2.jpg"); $width = $size[0]; $height = $size[1]; if ($width > $height) $s = "width=\"100\" height=\"70\""; if ($width < $height) $s = "width=\"60\" height=\"70\""; if ($width == $height) $s = "width=\"70\" height=\"70\""; } elseif(file_exists("advertenties/thumbs/$adv[advertentie_id]_thumb_extra3.jpg")) { $size = getimagesize("advertenties/thumbs/$adv[advertentie_id]_thumb_extra3.jpg"); $width = $size[0]; $height = $size[1]; if ($width > $height) $s = "width=\"100\" height=\"70\""; if ($width < $height) $s = "width=\"60\" height=\"70\""; if ($width == $height) $s = "width=\"70\" height=\"70\""; } elseif(file_exists("advertenties/thumbs/$adv[advertentie_id]_thumb_extra4.jpg")) { $size = getimagesize("advertenties/thumbs/$adv[advertentie_id]_thumb_extra4.jpg"); $width = $size[0]; $height = $size[1]; if ($width > $height) $s = "width=\"100\" height=\"70\""; if ($width < $height) $s = "width=\"60\" height=\"70\""; if ($width == $height) $s = "width=\"70\" height=\"70\""; } elseif(file_exists("advertenties/thumbs/$adv[advertentie_id]_thumb_extra5.jpg")) { $size = getimagesize("advertenties/thumbs/$adv[advertentie_id]_thumb_extra5.jpg"); $width = $size[0]; $height = $size[1]; if ($width > $height) $s = "width=\"100\" height=\"70\""; if ($width < $height) $s = "width=\"60\" height=\"70\""; if ($width == $height) $s = "width=\"70\" height=\"70\""; } Else { $size = getimagesize("advertenties/thumbs/noimage.jpg"); $width = $size[0]; $height = $size[1]; if ($width / $height < 1) $s = "height=\"70\""; if ($width / $height >= 1) $s = "height=\"70\"";} $c_id = $adv[categorie_id]; if($c_id == "311") { $image = ""; } elseif(file_exists("advertenties/thumbs/$adv[advertentie_id]_thumb.jpg")) { $image = ""; } elseif(file_exists("advertenties/thumbs/$adv[advertentie_id]_thumb_extra1.jpg")) { $image = ""; } elseif(file_exists("advertenties/thumbs/$adv[advertentie_id]_thumb_extra2.jpg")) { $image = ""; } elseif(file_exists("advertenties/thumbs/$adv[advertentie_id]_thumb_extra3.jpg")) { $image = ""; } elseif(file_exists("advertenties/thumbs/$adv[advertentie_id]_thumb_extra4.jpg")) { $image = ""; } elseif(file_exists("advertenties/thumbs/$adv[advertentie_id]_thumb_extra5.jpg")) { $image = ""; } else { $image = ""; } $aantal20 = strlen($adv[advertentie_titel]); if($aantal20 >12) { $adv[advertentie_titel] = substr ($adv[advertentie_titel], 0, 12); $adv[advertentie_titel] .=".."; } echo"

$adv[advertentie_titel]

"; $prijsproduct = $adv[prijs]; $aantal = strlen("$prijsproduct"); if($aantal >14) { $prijsproduct = substr ("$prijsproduct", 0, 10); $prijsproduct .="..."; } echo"

$money_sign $prijsproduct

"; echo"$taal[1189]"; echo"
"; echo"
"; echo $image; echo "
"; echo "
"; }} ?>