Ignore:
Timestamp:
Mar 28, 2010, 8:45:34 PM (14 years ago)
Author:
roby
Message:

In client: corretto notice in widget 04_sezioni -
in admin: spostato elenco delle sezioni in alto e inserito controllo di congruenza generale

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/modules/Elezioni/controllo_votanti.php

    r23 r62  
    9595                {
    9696                        $tot[$data.$ora]="\n<table width=\"100%\"><tr align=\"center\"><td width=\"30%\"><b>".number_format($votiu,0,',','.')."</b></td><td width=\"30%\"><b>".number_format($votid,0,',','.')."</b></td><td><b>".number_format($somma,0,',','.')."</b></td></tr></table>\n";
    97                         $perc_u=number_format($votiu*100/$tot_u,2);
    98                         $perc_d=number_format($votid*100/$tot_d,2);
     97                        if($tot_u) $perc_u=number_format($votiu*100/$tot_u,2);
     98                        if($tot_d) $perc_d=number_format($votid*100/$tot_d,2);
    9999                        $perc_c=number_format($somma*100/$tot_compl,2);
    100100                }
Note: See TracChangeset for help on using the changeset viewer.