hate css
This commit is contained in:
parent
73d7d97446
commit
6de395abb8
|
@ -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="";
|
||||||
}
|
}
|
||||||
|
|
41
src/home.php
41
src/home.php
|
@ -1,23 +1,18 @@
|
||||||
<article>
|
<h2>Ajouter votre bot</h2>
|
||||||
<?php
|
<form method="POST" action="/">
|
||||||
echo $lang['SITE_DESCRIPTION'];?>
|
<?php echo xd_check_input(0); ?><input type="hidden" name="act" value="addBot"/>
|
||||||
</article>
|
<p><label for="botName">Nom de votre Bot: </label><input id="botName" type="text" name="botName" placeholder="votre pseudo par exemple"/></p>
|
||||||
<article id="addBot">
|
<p><label for="botGame">Jeu du bot: </label>
|
||||||
<h2>Ajouter votre bot</h2>
|
<select id="botGame" name="botGame">
|
||||||
<form method="POST" action="/">
|
<?php
|
||||||
<?php echo xd_check_input(0); ?><input type="hidden" name="act" value="addBot"/>
|
foreach($arenas as $arena){
|
||||||
<p><label for="botName">Nom de votre Bot: </label><input id="botName" type="text" name="botName" placeholder="votre pseudo par exemple"/></p>
|
echo '<option value="'.$arena['id'].'">'.$arena['id'].'</option>';
|
||||||
<p><label for="botGame">Jeu du bot: </label>
|
}
|
||||||
<select id="botGame" name="botGame">
|
?>
|
||||||
<?php
|
</select></p>
|
||||||
foreach($arenas as $arena){
|
<p><label for="botURL">URL du bot:</label><input type="text" name="botURL" id="botURL" placeholder="http://"/></p>
|
||||||
echo '<option value="'.$arena['id'].'">'.$arena['id'].'</option>';
|
<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><input type="submit" value="Enregistrer mon bot"/></p>
|
||||||
</select></p>
|
</form>
|
||||||
<p><label for="botURL">URL du bot:</label><input type="text" name="botURL" id="botURL" placeholder="http://"/></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><input type="submit" value="Enregistrer mon bot"/></p>
|
|
||||||
</form>
|
|
||||||
</article>
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user