zeg1jeux/index.php

43 lines
524 B
PHP
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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');