botsArena/src/home.php

20 lines
1.2 KiB
PHP
Raw Normal View History

2015-12-09 22:55:51 +01:00
<article>
2015-12-09 23:03:22 +01:00
<?php echo $lang['SITE_DESCRIPTION'];?>
<h2><?php echo $lang['ADD_YOUR_BOT'];?></h2>
2015-12-09 23:20:28 +01:00
<form method="POST" action="/p/addBot">
2015-12-09 22:54:38 +01:00
<?php echo xd_check_input(0); ?><input type="hidden" name="act" value="addBot"/>
<p><label for="botName"><?php echo $lang['BOT_NAME']; ?></label><input id="botName" type="text" name="botName" placeholder="<?php echo $lang['YOUR_ALIAS_FOR_EXEMPLE']; ?>"/></p>
<p><label for="botGame"><?php echo $lang['BOT_GAME']; ?></label>
2015-12-09 22:54:38 +01:00
<select id="botGame" name="botGame">
<?php
foreach($arenas as $arena){
echo '<option value="'.$arena['id'].'">'.$arena['id'].'</option>';
}
?>
</select></p>
<p><label for="botURL"><?php echo $lang['BOT_URL']; ?></label><input type="text" name="botURL" id="botURL" placeholder="http://"/></p>
<p><label><?php echo $lang['BOT_DESCRIPTION']; ?></label><textarea name="botDescription"></textarea></p>
<p><label for="email"><?php echo $lang['YOUR_EMAIL_FOR_BOT_VALIDATION']; ?></label><input type="text" name="email" id="email"/></p>
<p><label for="sub"></label><input id="sub" type="submit" value="<?php echo $lang['SAVE_BOT']; ?>"/></p>
2015-12-09 22:54:38 +01:00
</form>
2015-12-26 21:59:05 +01:00
</article>