Changeset 163 for trunk/admin/modules/Elezioni/ele_riepilogo.php
- Timestamp:
- Feb 2, 2013, 7:00:04 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/ele_riepilogo.php
r139 r163 43 43 //************************************************************************** 44 44 45 global $prefix, $dbi,$fascia,$limite ;45 global $prefix, $dbi,$fascia,$limite,$genere,$votog; 46 46 $res = mysql_query("SELECT sum(maschi),sum(femmine) FROM ".$prefix."_ele_sezioni where id_cons='$id_cons'", $dbi); 47 47 list($totm,$totf) = mysql_fetch_row($res); … … 65 65 $totnullil=$nullilista+$contestatilista; 66 66 echo "<fieldset><legend>"._VOTI_LISTA."</legend>"; 67 echo "<table border=\"1\" width=\"100%\"><tr><th>"._VALIDI."</th><th>"._VOTINULLI."</th><th>"._CONTESTATI."</th><th>"._SOLO_GRUPPO."</th><th>"._TOTNON."</th></TR>"; 68 ECHO "<TR><TH>".number_format($validilista,0,',','.')."</TH><TH>".number_format($nullilista,0,',','.')."</TH><TH>".number_format($contestatilista,0,',','.')."</TH><TH>".number_format($sg,0,',','.')."</TH><TH>".number_format($totnullil,0,',','.')."</TH></TR></table><br/>"; 67 echo "<table border=\"1\" width=\"100%\"><tr><th>"._VALIDI."</th><th>"._VOTINULLI."</th><th>"._CONTESTATI."</th>"; 68 if ($genere==5 and !$votog) 69 echo "<th>"._SOLO_GRUPPO."</th>"; 70 echo "<th>"._TOTNON."</th></TR>"; 71 ECHO "<TR><TH>".number_format($validilista,0,',','.')."</TH><TH>".number_format($nullilista,0,',','.')."</TH><TH>".number_format($contestatilista,0,',','.')."</TH>"; 72 if($genere==5 and !$votog) 73 echo "<TH>".number_format($sg,0,',','.')."</TH>"; 74 echo "<TH>".number_format($totnullil,0,',','.')."</TH></TR></table><br/>"; 69 75 ECHO "</fieldset>"; 70 76 echo "</center>";
Note:
See TracChangeset
for help on using the changeset viewer.