pull/1/head
Gnieark 9 years ago
parent 2f812be4fd
commit cde5428319

@ -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>

@ -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"
) )
); );
Loading…
Cancel
Save