Edition d'une agence
is_afa){ ?> |
intval($_SESSION['id'])); $result = excuteQuery($q, $values); $r = $result['stmt']; $n = $r->rowCount(); if($n==0) { if ($_SESSION['profil'] < 100 && !in_array("edit_all_agences",$_SESSION['permissions'])) { header("location:agcList.php"); } } else { $CHECK = 0; while ($o = $r->fetchObject()) { if ($o->id_agence == $AID) $CHECK = 1; } if ($CHECK == 0 && !in_array("edit_all_agences",$_SESSION['permissions'])) { echo "
is_afa){ ?> |