send_sql("SELECT * FROM users WHERE users.actif = 1 AND login = '".$login."' and passwd='".$password."'"); //echo '
'.print_r($data).'
'; if ($data['count'] == 1) { $_SESSION['idGuild'] = $data[1]['guilde']; $_SESSION['login'] = $data[1]['login']; $_SESSION['id'] = $data[1]['id']; } else $error = "Login / Mot de passe incorrect"; } else { $error = "Tout les champs sont obligatoires."; } } else { $error = "Tout les champs sont obligatoires."; } } ?> ~Arcane-Steam - Home
Logo Arcane-steam
Index | Rechercher un joueurs

Archive

send_sql("SELECT id,date, auteur, titre, corps FROM news WHERE isPublish=1 ORDER BY id DESC"); if ($data['count'] > 0) { for($i = 1; $i <= $data['count']; $i++) { echo '

'.$data[$i]['titre'].'

'; echo '

le '.$data[$i]['date'].' - '.$data[$i]['auteur'].'
'; echo ''.$data[$i]['corps'].'


'; echo 'More ... '; } } ?>

Valid XHTML 1.0 Transitional
Get FireFox