Die aktuellen Catwalk Girls
vom 20.02.2013 - 23.02.2013
$sqlQuery = "SELECT * FROM aktuelle_girls_titel";
$result = @mysql_query($sqlQuery, $connID) or die($errorMsg[3]);
$num_rows = mysql_num_rows($result);
for($i = 0; $i < $num_rows; $i++) {
$data = mysql_fetch_array($result);
$id = $data['idtitel'];
$name = $data['name'];
$bild = $data['bild'];
$von = $data['von'];
$bis = $data['bis'];
if($von == "1") { $von = "Montag"; }
if($von == "2") { $von = "Dienstag"; }
if($von == "3") { $von = "Mittwoch"; }
if($von == "4") { $von = "Donnerstag"; }
if($von == "5") { $von = "Freitag"; }
if($von == "6") { $von = "Samstag"; }
if($von == "7") { $von = "Sonntag"; }
if($bis == "1") { $bis = "Montag"; }
if($bis == "2") { $bis = "Dienstag"; }
if($bis == "3") { $bis = "Mittwoch"; }
if($bis == "4") { $bis = "Donnerstag"; }
if($bis == "5") { $bis = "Freitag"; }
if($bis == "6") { $bis = "Samstag"; }
if($bis == "7") { $bis = "Sonntag"; }
$image = "../bilder_aktuelle_girls/".$bild;
$size = getimagesize("$image");
$height = $size[1];
$width = $size[0];
if ($width > 148) {
$width = 148;
$percent = ($size[0] / $width);
$height = ($size[1] / $percent);
}
if ($height > 200) {
$height = 200;
$percent = ($size[1] / $height);
$width = ($size[0] / $percent);
}
?> ">
} ?>
|
|