b7d0a46b1b
. rooute : /dev/listefunctions
32 lines
939 B
PHTML
32 lines
939 B
PHTML
<input type="hidden" name="function" value="<?php echo $this->function;?>" />
|
|
<?php $i = 1;?>
|
|
<tr>
|
|
<td align="center" colspan="2"><h2>Liste des paramêtres</h2></td>
|
|
</tr>
|
|
<?php foreach($this->parametre as $parametre):?>
|
|
<tr>
|
|
<td colspan="2"><br /></td>
|
|
</tr>
|
|
<tr>
|
|
<td><b>[<?php echo $i;?>]</b> <?php echo $parametre;?></td>
|
|
<td align="right">
|
|
<input value="<?php echo (isset($_POST[$i]))?$_POST[$i] : false;?>" style="width:142px" type="text" name="<?php echo $i;?>">
|
|
</td>
|
|
</tr>
|
|
<?php $i++;?>
|
|
<?php endforeach;?>
|
|
<tr>
|
|
<td colspan="2"><h2>Resultat de votre requete</h2></td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2">
|
|
<div style="padding:3px;border:1px solid black;overflow:scroll;width:652px;height:400px;background-color:silver;">
|
|
<pre>
|
|
<?php print_r($this->result);?>
|
|
</pre>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td colspan="2" align="right" style="padding-top:10px"><input type="submit" value="Envoyer" /></td>
|
|
</tr>
|