Ajout PU pour detail ach & ven
ajout ajax pour direct form
This commit is contained in:
parent
c16c32ca48
commit
f2cbfd77d3
8 changed files with 122 additions and 133 deletions
19
html/direct.php
Normal file
19
html/direct.php
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?
|
||||
require_once ("class_database.php");
|
||||
require_once 'class_user.php';
|
||||
$cn=new Database($_GET['gDossier']);
|
||||
$user=new User($cn);
|
||||
$user->Check();
|
||||
$user->check_dossier($_GET['gDossier']);
|
||||
$res=$cn->exec_sql("select code,description from get_profile_menu($1) where code ~* $2 limit 8",array($user->login,$_POST['acs']));
|
||||
$nb=Database::num_row($res);
|
||||
echo "<ul>";
|
||||
for ($i = 0;$i< $nb;$i++)
|
||||
{
|
||||
$row=Database::fetch_array($res,$i);
|
||||
echo "<li>";
|
||||
echo $row['code'];
|
||||
echo '<span class="informal"> '.$row['description'].'</span></li>';
|
||||
}
|
||||
echo "</ul>";
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue