\n" ; if (!is_dir($list[0].$sousrep)) { mkdir ($list[0].$sousrep, 0777); for ($id=1; sizeof($list)>$i; $i++) { // creation de la vignette CreateThumb("$list[$i]","$list[0]","$list[0]$sousrep/") ; } } $j = 1 ; for ($i=1; sizeof($list)>$i; $i++) { if (!is_file($list[0].$sousrep."/".$list[$i])) { CreateThumb("$list[$i]","$list[0]","$list[0]$sousrep/",$taille_miniature) ; } $nom_image = str_replace(".jpg", "", $list[$id]) ; $nom_image = str_replace("_", " ", $nom_image) ; // affichage de la vignette $return .= " \n"; if ($j==$nombre_miniature) { $return .= " \n \n" ; $j = 1 ;} else { $j++ ; } } $return .= " \n
Album Zinneke Parade 2002 © Luc Cheffert
\n" ; echo "
\n" ; // $taille = @getimagesize($list[0]."$sousrep/".$list[$i]) ; $return .= " \"\"\n" ; $return .= "
\n" ; return $return ; } function avant_apres($indice, $taille, $path) { include "conf08.php" ; $return .= "\n

" ; if ($indice>1) { if ($img_avant == "") { $return .= "$label_avant" ; } else { $return .= "\"$label_avant\"" ; } } if ($img_vigne == "") { $return .= "$label_vigne" ; } else { $return .= "\"$label_vigne\"" ; } if ($indice<$taille-1) { if ($img_avant == "") { $return .= "$label_apres" ; } else { $return .= "\"$label_apres\"" ; } } $return .= "

\n" ; return $return ; } function affichage($path, $indice) { $list = recup_photo($path) ; $nom_image = str_replace(".jpg", "", $list[$indice]) ; $nom_image = str_replace("_", " ", $nom_image) ; $taille = @getimagesize("$path".$list[$indice]) ; $return .= avant_apres($indice, sizeof($list), $path) ; $return .= "

\"$nom_image\"

" ; return $return ; } function miseenpage($album, $i) { include "conf08.php" ; echo $entete ; echo "\n" ; echo " \n" ; echo " \n" ; echo " \n" ; echo " \n" ; echo " \n" ; echo " \n" ; echo " \n" ; echo "
" ; echo lire_racine($dossier_photos) ; echo " \n" ; echo $pied ; if (isset($i)) { echo affichage($album, $i) ; } if (isset($album) & !isset($i)) { echo miniature(recup_photo($album), $nombre_miniature) ; } echo "
\n" ; echo "
\n" ; } miseenpage($album, $i) ; ?>
 
© Zinneke asbl-vzw 2003-2004 - Contact