Changeset 83 for trunk/client/modules/Elezioni/index.php
- Timestamp:
- Jun 4, 2010, 8:37:14 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules/Elezioni/index.php
r82 r83 523 523 $resperc = mysql_query("select sum(voti_complessivi) from ".$prefix."_ele_voti_parziale where id_cons='$id_cons' group by data,orario order by data desc, orario desc limit 0,1 ",$dbi); 524 524 list($totschede)=mysql_fetch_row($resperc); 525 if($totschede) 525 526 $grpercscru=number_format(($scruvalidi+$scrunulli)*100/$totschede,2); 526 527 else $grpercscru=0; 527 528 # echo "<div><h2> Dati riferiti a $numero "._SEZ." "._SU." $sezioni</h2></div>"; 528 529 echo "<table border=\"2\"><tr><td style=\"text-align:center; \">"; … … 538 539 # $resperc = mysql_query("select sum(voti_complessivi) from ".$prefix."_ele_voti_parziale where id_sez in (select id_sez from ".$prefix."_ele_voti_".$tab." where id_cons='$id_cons' $circos group by id_sez) group by data,orario order by data desc, orario desc limit 0,1 ",$dbi); 539 540 # list($totschede)=mysql_fetch_row($resperc); 541 if($totschede) 540 542 $listpercscru=number_format(($scruvalidi+$scrunulli)*100/$totschede,2); 543 else $listpercscru=0; 541 544 $listtotschede=$totschede; 542 545 $listtotvoti=($scruvalidi+$scrunulli);
Note:
See TracChangeset
for help on using the changeset viewer.