/**************************** * VERSIONE 3.0 READY ************************/ include ("../common/public.php") ; // print_r($_GET + $_POST) ; $gime = date("d/m") ; $cur_age = 0 ; $cur_cli = 0 ; $cur_for = 0 ; $posizione = 10 ; if ($profilo == 3) $query = " select * from agenti where idagenti != 4 and idagenti != 5 and idagenti != 9 and idagenti != 10 order by nome " ; else $query = " select * from agenti order by nome " ; $db->query($query) ; while ($db->next_record()) { $ageid[] = $db->f("IdAgenti") ; $agenome[] = $db->f("Nome") ; } if (isset($agente)) $cur_age = $agente ; if (isset($cliente)) $cur_cli = $cliente ; if (isset($fornitore)) $cur_for = $fornitore ; ?>