function dumpPagination($page) {
$list = array();
$list[]="vitraux.php";
$list[]="vitraux%20fleuve.php";
$list[]="vitraux%20attente.php";
$list[]="vitraux%20hors%20la%20ville.php";
$nom = $_SERVER['SCRIPT_NAME'];
$debug = split("/",$nom);
$nom = $debug[(count($debug)-1)];
// echo $nom;
foreach ($list as $x=>$name) {
if ($name==$nom) {$page = $x;}
}
if ($page!=0) {
echo "

";
}
echo "
", ($page+1)," / ",count($list),"";
if ($page!=(count($list)-1)) {
echo "

";
}
}
?>
Vitraux-tableaux
dumpPagination(0); ?>