"; echo $pagesnav; echo ""; echo $pagesnav; echo ""; ?>
"; if ($_GET[page]>1) $pagesnav.= "<< |"; else $pagesnav.="<< |"; for ($p = 0;$p < $count/9; $p++ ){ $pagesnav .= ($p+1>1?" | ":"").($p+1==$_GET[page]?"":"")."".($p+1)."".($p+1==$_GET[page]?"":""); } if ($_GET[page]<$count/9) $pagesnav.= "| >>"; else $pagesnav.="| >>"; $pagesnav .= "
"; for ($i=($_GET[page]-1)*9+1;$i<=($_GET[page]-1)*9+9;$i++){ if (!(file_exists(sprintf("%03s",$i).".jpg"))) break; else echo ""; if ($i%3==0) echo "
"; } echo "
Visitez aussi la BD Donjons et Dragons