\n"; echo "Last picture is from: ".date ("j F Y",$last)."
\n"; flush();ob_flush(); */ function goBack ($actualFrom, $days) { $pomTime=mktime (12,0,0,substr($actualFrom,2,2)+0,(substr($actualFrom,4,2)-$days),substr($actualFrom,0,2)+0); $newFrom=date("ymd",$pomTime); $i=1; global $picturesDir; global $first; while (!file_exists ("$picturesDir/p".$newFrom.".jpg") && $pomTime>$first && $i<100) { $pomTime=mktime (12,0,0,substr($newFrom,2,2)+0,(substr($newFrom,4,2)-1),substr($newFrom,0,2)+0); $newFrom=date("ymd",$pomTime); }; return ($newFrom); }; function goAhead ($actualFrom, $days) { $pomTime=mktime (12,0,0,substr($actualFrom,2,2)+0,(substr($actualFrom,4,2)+$days),substr($actualFrom,0,2)+0); $newFrom=date("ymd",$pomTime); global $picturesDir; global $last; while (!file_exists ("$picturesDir/p".$newFrom.".jpg") && $pomTime<$last) { $pomTime=mktime (12,0,0,substr($newFrom,2,2)+0,(substr($newFrom,4,2)+1),substr($newFrom,0,2)+0); $newFrom=date("ymd",$pomTime); }; return ($newFrom); }; ?>
Sledujte jak roste

30 November 1999
poslední snímek