Changeset 393 for trunk/admin/modules
- Timestamp:
- Mar 5, 2023, 7:15:43 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/controllo_voti.php
r364 r393 196 196 } 197 197 if($num_scr){ 198 $righet = "<tr align=\"center\"><td><b>"._TOT."</b></td><td><b>".number_format($tot_u,0,',','.')."</b><br><i>(".number_format($tot_u*100/$totm,2)." %)</i></td><td><b>".number_format($tot_d,0,',','.')."</b><br><i>(".number_format($tot_d*100/$totf,2)." %)</i></td><td><b>".number_format($tot_voti,0,',','.')."</b><br><i>(".number_format($tot_voti*100/$totel,2)." %)</i></td>"; 198 if(isset($totf) and $totf) $eled=number_format($tot_d*100/$totf,2); else $eled=0; 199 if(isset($totm) and $totm) $elem=number_format($tot_u*100/$totm,2); else $elem=0; 200 $righet = "<tr align=\"center\"><td><b>"._TOT."</b></td><td><b>".number_format($tot_u,0,',','.')."</b><br><i>(".$elem." %)</i></td><td><b>".number_format($tot_d,0,',','.')."</b><br><i>(".$eled." %)</i></td><td><b>".number_format($tot_voti,0,',','.')."</b><br><i>(".number_format($tot_voti*100/$totel,2)." %)</i></td>"; 199 201 // se e' un referendum o una consultazione con raggruppamenti 200 202 if($tot_validi){
Note:
See TracChangeset
for help on using the changeset viewer.