This commit is contained in:
gnieark 2015-12-09 22:54:38 +01:00
parent 73d7d97446
commit 6de395abb8
2 changed files with 19 additions and 24 deletions

View File

@ -131,7 +131,7 @@ if(isset($_GET['arena'])){
$siteTitle="Bots Arena"; $siteTitle="Bots Arena";
$siteDescription="bots arena main page. Program your own artificiel intelligence and let it play here"; $siteDescription="bots arena main page. Program your own artificiel intelligence and let it play here";
$mainSectionScript="../src/home.php"; $mainSectionScript="../src/home.php";
$asideSectionContent=''; //to do $asideSectionContent=$lang['SITE_DESCRIPTION'];
$cssAdditionalScript=""; $cssAdditionalScript="";
$jsAdditionalScript=""; $jsAdditionalScript="";
} }

View File

@ -1,10 +1,5 @@
<article> <h2>Ajouter votre bot</h2>
<?php <form method="POST" action="/">
echo $lang['SITE_DESCRIPTION'];?>
</article>
<article id="addBot">
<h2>Ajouter votre bot</h2>
<form method="POST" action="/">
<?php echo xd_check_input(0); ?><input type="hidden" name="act" value="addBot"/> <?php echo xd_check_input(0); ?><input type="hidden" name="act" value="addBot"/>
<p><label for="botName">Nom de votre Bot: </label><input id="botName" type="text" name="botName" placeholder="votre pseudo par exemple"/></p> <p><label for="botName">Nom de votre Bot: </label><input id="botName" type="text" name="botName" placeholder="votre pseudo par exemple"/></p>
<p><label for="botGame">Jeu du bot: </label> <p><label for="botGame">Jeu du bot: </label>
@ -19,5 +14,5 @@ echo $lang['SITE_DESCRIPTION'];?>
<p><label>Description:</label><textarea name="botDescription"></textarea></p> <p><label>Description:</label><textarea name="botDescription"></textarea></p>
<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><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> <p><input type="submit" value="Enregistrer mon bot"/></p>
</form> </form>
</article>