forked from La_Bureautique/zeg1jeux
43 lines
524 B
PHP
43 lines
524 B
PHP
<?php
|
||
|
||
|
||
require_once('config.php');
|
||
require_once('lib/Gchange.class.php');
|
||
require_once('lib/Location.class.php');
|
||
|
||
$bodyIds = 'home';
|
||
include_once('header.php');
|
||
|
||
|
||
$gchange = new Gchange();
|
||
|
||
echo '
|
||
<h1>Ze Ğ1 jeux</h1>
|
||
|
||
<p>
|
||
À quel jeu voulez-vous jouer ?
|
||
</p>
|
||
|
||
<dl>';
|
||
|
||
foreach ($games as $gameId => $game) {
|
||
|
||
echo '
|
||
<dt>
|
||
<a href="select_game.php?gameId='. $gameId .'">
|
||
'. $game['title'] .'
|
||
</a>
|
||
</dt>
|
||
<dd>
|
||
'. $game['description'] .'
|
||
</dd>
|
||
|
||
';
|
||
}
|
||
|
||
echo '
|
||
</dl>';
|
||
|
||
|
||
|
||
include_once('footer.php'); |