Version 1.10c

This commit is contained in:
nemunaire 2008-11-19 12:00:00 +01:00
commit 2a066a7498
148 changed files with 2174 additions and 134960 deletions

View file

@ -64,10 +64,13 @@ if ($TypeSearch) {
$j = ($pageClassement-1)*$nbppage;
$TEMP_classement = array();
foreach($data as $lign){
$j++;
$TEMP_classement[] = array($j, $lign['tag'], $lign['nbr_membres'], separerNombres($lign[$export]),0);
if ($data) {
foreach($data as $lign){
$j++;
$TEMP_classement[] = array($j, $lign['tag'], $lign['nbr_membres'], separerNombres($lign[$export]),0);
}
}
else erreur('Classement non disponible.');
$template->assign('places', $TEMP_classement);
}
@ -80,10 +83,13 @@ else {
$j = ($pageClassement-1)*$nbppage;
$TEMP_classement = array();
foreach($data as $lign){
$j++;
$TEMP_classement[] = array($j, $lign['pseudo'], $lign['race'], $lign['tag'], $lign['nom'], separerNombres($lign[$export]));
if ($data) {
foreach($data as $lign){
$j++;
$TEMP_classement[] = array($j, $lign['pseudo'], $lign['race'], $lign['tag'], $lign['nom'], separerNombres($lign[$export]));
}
}
else erreur('Classement non disponible.');
$template->assign('places', $TEMP_classement);
}