59 lines
1.7 KiB
PHP
Executable File
59 lines
1.7 KiB
PHP
Executable File
<?php define('__ROOT__', dirname(dirname(__FILE__)) );
|
|
require_once __ROOT__.'/manager/autoloader.php';
|
|
use \manager\ModuleRequest;
|
|
use \manager\ManagerError;
|
|
use \manager\Repo;
|
|
use \manager\ResourceDispatcher;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* [2] On recupere une personne
|
|
=========================================================*/debug();
|
|
$request = new Repo('Personnes/getById', array(1));
|
|
$pers = $request->answer();
|
|
|
|
?>
|
|
|
|
|
|
|
|
<section data-sublink='export'>
|
|
|
|
<form id='myform'>
|
|
<input type='text' name='text1' value='value_text1'>
|
|
|
|
<input type='password' name='pass1' value='value_pass1'>
|
|
<input type='number' name='number1' value='value_number1'>
|
|
|
|
<input type='radio' data-name='rad1' id='A' value='A' checked><label for='A'>A</label><br>
|
|
<input type='radio' data-name='rad1' id='B' value='B'><label for='B'>B</label><br>
|
|
<input type='radio' data-name='rad1' id='C' value='C'><label for='C'>C</label><br>
|
|
|
|
<br><br>
|
|
<input type='radio' data-name='rad2' name='rad2' id='D' value='D' checked><label for='D'>D</label><br>
|
|
<input type='radio' data-name='rad2' name='rad2' id='E' value='E'><label for='E'>E</label><br>
|
|
<input type='radio' data-name='rad2' name='rad2' id='F' value='F'><label for='F'>F</label><br>
|
|
|
|
<br><br>
|
|
<input type='radio' data-name='rad3' id='G' value='G'><label for='G'>G</label><br>
|
|
<input type='checkbox' data-name='chk1' id='H' value='H'><label for='H'>H</label><br>
|
|
|
|
<br>
|
|
<div>
|
|
<span>
|
|
<input type='test' values='valuetestHier'>
|
|
<p>Some text</p>
|
|
</span>
|
|
</div>
|
|
|
|
<input type='text' name='text2' value='value_text2'>
|
|
|
|
<input type='text' name='text2' value='value_text2bis'>
|
|
|
|
<input type='submit' name='submit-form' value='valider'>
|
|
</form>
|
|
|
|
</section>
|