This commit is contained in:
Gnieark 2015-11-25 22:32:58 +01:00
parent 2f812be4fd
commit cde5428319
2 changed files with 11 additions and 3 deletions

View File

@ -1,7 +1,7 @@
<?php
#- BEGIN LICENSE BLOCK ---------------------------------------
#
# This file is part of tinaderp.
# This file is part of botsArena.
#
# Copyright (C) Gnieark et contributeurs
# Licensed under the GPL version 3.0 license.
@ -51,7 +51,9 @@ if (isset($_POST['xd_check']))
<title></title>
</head>
<body>
<header>
<h1><?php if(isset($arenas['current'])){ echo $arenas['current']['title'];}else{echo "Bots Arena";} ?></h1>
</header>
<section>
</section>

View File

@ -1,8 +1,14 @@
<?php
arenas=array(
$arenas=array(
array(
'id' => "tictactoe",
'url' => "/tictactoe"
'url' => "/tictactoe",
'title' => "Tic Tac Toe"
),
array(
'id' => "Battleship",
'url' => "/battleship",
'title' => "bataille Navale"
)
);