Cartes Humoristiques


\n"; } else { echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; } $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 " \n"; echo " \n"; echo " \n"; $j = 1; } else { echo " \n"; $j = $j + 1; } } else { echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; echo " \n"; $j = $j + 1; } } //if } //for echo "
\n"; echo "
Apercu
\n"; echo "
\n"; echo "
Nom
\n"; echo "
\n"; echo "
Largeur
\n"; echo "
\n"; echo "
Hauteur
\n"; echo "
\n"; echo "
\n"; echo " \n"; if ($thumb == "Oui") { echo " $image*$width*$height
$image
\n"; echo "
\n"; echo " \n"; if ($thumb == "Oui") { echo " $image*$width*$height
$image
\n"; echo "
\n"; if ($thumb == "Oui") { echo " $image*$width*$height
\n"; echo "
\n"; echo "
$image
\n"; echo "
\n"; echo "
$rwidth
\n"; echo "
\n"; echo "
$rheight
\n"; echo "
\n"; echo "
\n"; echo "
\n"; $sval = -1; while (list ($key, $val) = each ($tpage)) { if ($sval != $val) { echo "[\n"; echo "$val"; echo "]\n"; $sval = $val; } } echo "
\n"; ?>