Changeset 133 for trunk/client
- Timestamp:
- Jun 12, 2011, 5:53:25 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules/Elezioni/grafici.php
r132 r133 88 88 $r_size2 = getimagesize("modules/Elezioni/images/barre/rightbar2.gif"); 89 89 // totali 90 91 if($tema=='tour') $andcond='data desc,orario desc limit 0,1'; else $andcond='data,orario';90 91 if($tema=='tour') $andcond='data desc,orario desc limit 0,1'; else $andcond='data,orario'; 92 92 93 $res = mysql_query("select orario,data from ".$prefix."_ele_ rilaff where id_cons_gen='$id_cons_gen' order by $andcond", $dbi);93 $res = mysql_query("select orario,data from ".$prefix."_ele_voti_parziale where id_cons='$id_cons' order by $andcond", $dbi); 94 94 while(list($orario,$data) = mysql_fetch_row($res)) { 95 95 list ($ore,$minuti,$secondi)=explode(':',$orario); … … 127 127 $perc=number_format($voti_t*100/$tot,2); 128 128 echo "<table class=\"td-80\"><tr class=\"bggray\">"; 129 if ($genere==0){echo "<td> N.</td>";}129 if ($genere==0){echo "<td>Referendum N.</td>";} 130 130 echo "<td><b>"._VOTANTI."</b></td><td><b>"._PERCE."</b></td>"; 131 131 echo "<td><b>"._SEZIONI."</b></td>"; 132 132 echo "</tr>"; 133 133 echo "<tr class=\"bggray2\">"; 134 if ($genere==0){echo "<td> $num_gruppo</td>";}134 if ($genere==0){echo "<td><h2>$num_gruppo</h2></td>";} 135 135 echo "<td>$voti_t</td><td>$perc %</td><td>$numero</td> 136 136 </tr></table>";
Note:
See TracChangeset
for help on using the changeset viewer.