nombre; //Calcul du nb de pages $nb_pages=intval($nombre_max/$limite); if($nombre_max%$limite){$nb_pages++;} //affichage de la barre //precedent if ($position>0) { $nouvelle_position=($position-$limite); echo("Prec ");}; //les pages for ($i=1;$i<=$nb_pages;$i++) {$nouvelle_position=$limite*($i-1); echo ("$i ");} //Suivant if(($position+$limite)<$nombre_max) {$nouvelle_position=($position+$limite); echo(" Suiv");} ?>


Warning: mysql_db_query() [function.mysql-db-query]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /var/www/alternc/o/omiquel/fuzionshrine/fr/menus.php3 on line 61

Warning: mysql_db_query() [function.mysql-db-query]: A link to the server could not be established in /var/www/alternc/o/omiquel/fuzionshrine/fr/menus.php3 on line 61

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /var/www/alternc/o/omiquel/fuzionshrine/fr/menus.php3 on line 62

Warning: mysql_db_query() [function.mysql-db-query]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /var/www/alternc/o/omiquel/fuzionshrine/fr/menus.php3 on line 107

Warning: mysql_db_query() [function.mysql-db-query]: A link to the server could not be established in /var/www/alternc/o/omiquel/fuzionshrine/fr/menus.php3 on line 107

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /var/www/alternc/o/omiquel/fuzionshrine/fr/menus.php3 on line 108