botsArena/src/home.php

22 lines
972 B
PHP
Raw Normal View History

2015-11-30 00:36:55 +01:00
<article>
2015-11-28 18:19:27 +01:00
<?php
2015-11-30 00:36:55 +01:00
echo $lang['SITE_DESCRIPTION'];?>
</article>
<article id="addBot">
<h2>Ajouter votre bot</h2>
<form method="POST" action="/">
<p><label for="botName">Nom de votre Bot: </label><input id="botName" type="text" name="botName" placeholder="votre pseudo par exemple"/></p>
2015-11-30 20:29:37 +01:00
<p><label for="botGame">Jeu du bot: </label>
<select id="botGame" name="botGame">
<?php
foreach($arenas as $arena){
echo '<option value="'.$arena['id'].'">'.$arena['id'].'</option>';
}
?>
</select></p>
2015-11-30 00:36:55 +01:00
<p><label for="botURL">URL du bot:</label><input type="text" name="botURL" id="botURL" phaceholder="http://"/></p>
2015-11-30 20:59:15 +01:00
<p><label>Description:</label><textarea></textarea></p>
2015-11-30 00:36:55 +01:00
<p><label for="email">Votre e-mail (sera utilisé pour valider l'inscription du bot)</label><input type="text" name="email" id="email"/></p>
<p><input type="submit" value="Enregistrer mon bot"/></p>
</form>
</article>