"; echo ""; echo ""; echo ""; ?> "; } else { echo "
"; echo ""; echo "
"; echo ""; echo ""; } $imagelist = GetFileList($RepGrosseImages); $nbr_par_page = $nbr_colonne * $nbr_ligne; $nbr_tot = count($imagelist); $debut = 1 ; $j = 1 ; $fin = $nbr_par_page; if (!isset($ppage)) { $ppage=1; } for($i=$debut; $i < $nbr_tot +1 ; $i++) { $image = $imagelist[$i-1]; if (file_exists("$RepGrosseImages$image")) { $size = getimagesize("$RepGrosseImages$image"); $width = $size[0]; $height = $size[1]; $rwidth = $size[0]+20; $rheight = $size[1]+20; $page = ceil($i/$nbr_par_page); $tpage[$i] = $page ; } if ($page == $ppage) { if ($col_simple != "Oui") { if ($j == ( $nbr_colonne ) ) { echo ""; echo ""; echo ""; $j = 1; } else { echo ""; $j = $j + 1; } } else { echo ""; echo " \n"; echo " \n"; echo " \n"; echo " \n"; $j = $j + 1; } } //if } //for echo "
"; echo "
"; echo ""; if ($thumb == "Oui") { echo "
"; echo "
"; echo ""; if ($thumb == "Oui") { echo "
"; echo "
"; if ($thumb == "Oui") { echo "
\n"; echo "
\n"; echo "
$rwidth
\n"; echo "
\n"; echo "
$rheight
\n"; echo "
\n"; include ("down.php"); ?>