|
';
$optlist = safe_query("select * from eaten_textism.photos_sets order by date desc");
while ($o = mysql_fetch_array($optlist)){
extract($o);
$filename = fetch_record("filename","eaten_textism.photos","s",$setid);
$date = strtoupper(date("j M Y",strtotime($date)));
echo "
$setname $date
";
}
?>
|
";
} else if ($s >= 33) {
print "";
} else if ($s >= 28) {
print " |
";
} else {
print " |
";
}
$squery = mysql_query("select * from eaten_textism.photos where s=$s order by pos");
while ($n = mysql_fetch_assoc($squery)) {
extract($n);
if($id == $p){
echo ' ';
} else {
echo ' ';
}
}
?>
|
|
";
} else {
$filename = fetch_record ("filename","eaten_textism.photos", "id", $p);
$caption = fetch_record ("caption","eaten_textism.photos", "id", $p);
echo " ";
}
?>
|
";
?>
|
|