Changeset 64 for trunk/admin/modules/Elezioni/controllo_votanti.php
- Timestamp:
- Mar 30, 2010, 11:47:58 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/controllo_votanti.php
r62 r64 85 85 $ar['perc'][1]=" "; 86 86 // $ar['riga2'][1]="<hr>"; 87 $resuo = mysql_query("SELECT orario,data FROM ".$prefix."_ele_rilaff where id_cons_gen=$id_cons_gen order by data desc,orario desc limit 0,1", $dbi); 88 list($ultora,$ultdata)=mysql_fetch_row($resuo); 89 87 90 $resril = mysql_query("SELECT data,orario FROM ".$prefix."_ele_rilaff where id_cons_gen='$id_cons_gen' order by data,orario", $dbi); 88 91 $num_ril= mysql_num_rows($resril); //numero delle rilevazioni previste … … 92 95 while (list($data,$ora,$somma,$votiu,$votid) = mysql_fetch_row($ressomma)) { 93 96 $perc_u='';$perc_d='';$perc_c=''; 94 if($votiu or $votid) 97 # if($votiu or $votid) 98 if(($data==$ultdata) and ($ora==$ultora)) 95 99 { 96 100 $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";
Note:
See TracChangeset
for help on using the changeset viewer.