function dumpPagination() {
$list = array();
$list[]="collection-petales.php";
$list[]="collection-baroque.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 "
";
}
}
?>
Collection pétales
Fatal error: Uncaught Error: Call to undefined function dumpPagination() in /home/ERIDAN/arpeca/www/collections/collection-petales.php:13
Stack trace:
#0 {main}
thrown in
/home/ERIDAN/arpeca/www/collections/collection-petales.php on line
13