forked from halo-battle/game
Version 1.7b
This commit is contained in:
parent
58928889ed
commit
8a8280758b
716 changed files with 4361 additions and 33524 deletions
15
onyx/hb_game/jeu/version.php
Normal file
15
onyx/hb_game/jeu/version.php
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
if(!defined('INDEX')) { header('Location: ../'); exit; }
|
||||
$page = 'version';
|
||||
$titre = 'Historique des mises à jours';
|
||||
|
||||
$bdd->connexion();
|
||||
$data = $bdd->query("SELECT * FROM `$table_version` ORDER BY `id` DESC");
|
||||
$bdd->deconnexion();
|
||||
|
||||
$TEMP_versions = array();
|
||||
for($i = 0; $i < $bdd->num_rows; $i++){
|
||||
$TEMP_versions[] = array('numero' => $data[$i]['version'], 'date' => date("d/m/y", $data[$i]['temps']), 'description' => nl2br(str_replace('<br />', '', $data[$i]['contenu'])));
|
||||
}
|
||||
$template->assign('versions', $TEMP_versions);
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue