include ("../common/public.php") ; $gime = date("d/m") ; $query = " select count(*) as tot_for from $tfornitori where F.attivo = 1 " ; $db->query($query) ; while ($db->next_record()) $tot_for = $db->f("tot_for") ; if ($tot_for > 0) { $db->query("select * from $tfornitori order by Nome") ; while ($db->next_record()) { $fornid[] = $db->f("IdFornitori") ; $fornnome[] = $db->f("Nome") ; } } ?>
|
}
break ;
case 3:
case 4:
{
$menu = "fornitori" ;
if ($posizione == 3) // VENDUT0
{
$legend = "Totali Venduto" ;
$ttot = "venduto" ;
}
elseif ($posizione == 4) //FATTURATO
{
$ttot = "fatturato" ;
$legend = "Totali Fatturato" ;
}
$posizione += 1 ;
include ('../common/temidx.php') ;
?>
|
}
break ;
case 5: // CONFRONTI
{
$menu = "fornitori" ;
$posizione = 6 ;
include ('../common/temidx.php') ;
?>
|
}
break ;
case 6:
{
if ($tot_for > 0)
{
?>
|||
|
}
break ;
case 9: // FORNITORI
{
$menu = "fornitori" ;
$posizione = 3 ;
include ('../common/temidx.php') ;
if ($tot_for > 0)
{
?>
|||
|
}
break ;
}
?>