can send post vars to framlework
This commit is contained in:
parent
faaececcf1
commit
9c6e11c380
|
@ -45,6 +45,8 @@ if (isset($_POST['xd_check'])){
|
|||
//call the good act.php
|
||||
if(($currentArena <> "") && (file_exists("../src/arenas/".$currentArena."/act.php"))){
|
||||
require_once("../src/arenas/".$currentArena."/act.php");
|
||||
}else{
|
||||
require_once("../src/act.php");
|
||||
}
|
||||
}
|
||||
//title
|
||||
|
|
|
@ -5,6 +5,7 @@ echo $lang['SITE_DESCRIPTION'];?>
|
|||
<article id="addBot">
|
||||
<h2>Ajouter votre bot</h2>
|
||||
<form method="POST" action="/">
|
||||
<?php echo xd_check_input(0); ?>
|
||||
<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>
|
||||
<select id="botGame" name="botGame">
|
||||
|
|
Loading…
Reference in New Issue
Block a user