25){ return (substr($Titel,0,22)."...."); }else{ return ($Titel); } } function stripslash($string){ return str_replace('/','', $string); } function NogTegaan($Tijd){ //return $Tijd; $dhour=floor(($Tijd%(60*60*24))/(60*60)*1); $dmin=floor((($Tijd%(60*60*1*24))%(60*60*1))/(60*1)*1); $dsec=floor(((($Tijd%(60*60*1*24))%(60*60*1))%(60*1))/1*1); return $dhour.":".$dmin.":".$dsec; } function Soort($ID){ $sql = mysql_query("SELECT Soort FROM soorten WHERE ID = ".$ID); $fetch = mysql_fetch_array($sql); return($fetch['Soort']); } ?> Snelreageren.nl - Elk etmaal, altijd anders. De snelste advertentiesite van Nederland!
 Advertenties
Klik hier en plaats nu gratis je advertentie
banner
NOW() AND advertenties.RubriekID = rubrieken.ID AND `advertenties`.`Status` = 'active' ORDER BY Tijd, advertenties.ID ASC LIMIT 0, 5"); $sql = mysql_query("SELECT Titel, Prijs, (UNIX_TIMESTAMP(ADDDATE( DateTime , INTERVAL 1 DAY ))-UNIX_TIMESTAMP(NOW())) as Tijd, Foto, advertenties.ID as ID, rubrieken.Rubriek as Rubriek, advertenties.SoortID as SoortID FROM advertenties, rubrieken WHERE (DateTime + INTERVAL 1 DAY) > NOW() AND advertenties.RubriekID = rubrieken.ID AND `advertenties`.`Status` = 'active' ORDER BY Tijd DESC, advertenties.ID DESC LIMIT 0, 5"); while($row = mysql_fetch_array($sql)){ $row2 = mysql_fetch_array($sql2); echo ""; } ?>
De vijf nieuwste advertenties: Vijf bijna afgelopen advertenties:
FotoProductPrijsNog... FotoProductPrijsNog...
\"".$row['Titel']."\"".Soort($row['SoortID']).":
".PrintTitel($row['Titel'])."
".$row['Prijs'].""; ?> \"".$row2['Titel']."\"".Soort($row2['SoortID']).":
".PrintTitel($row2['Titel'])."
".$row2['Prijs'].""; ?>
Klik hier om te zoeken op snelreageren.nl