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

View File

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