- Timestamp:
- May 23, 2014, 9:40:17 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/ele_voti.php
r216 r217 157 157 } 158 158 } 159 $res4= mysql_query("SELECT t1.preferenze,t1.id_fascia,t2.limite FROM ".$prefix."_ele_cons_comune as t1 left join ".$prefix."_ele_conf on t1.id_conf=t2.id_conf where t1.id_cons='$id_cons'", $dbi);159 $res4= mysql_query("SELECT t1.preferenze,t1.id_fascia,t2.limite FROM ".$prefix."_ele_cons_comune as t1 left join ".$prefix."_ele_conf as t2 on t1.id_conf=t2.id_conf where t1.id_cons='$id_cons'", $dbi); 160 160 if($res4) list($testpref,$fascia,$limite)=mysql_fetch_row($res4); else {$testpref=0;$fascia=0;$limite=0;} 161 161 … … 186 186 187 187 if(($testvotil*$testpref)<$testvotic) { $testcand=1;break;} 188 $res4= mysql_query("SELECT t1.voti FROM ".$prefix."_ele_voti_candidati as t1 left join ".$prefix."_ele_candidati as t2 on t1.id_cand=t2.id_cand where t1.id_cons='$id_cons' and t1.id_sez='$id_sez' and t2.id_lista='$testlista'", $dbi); 189 while(list($testvotic)=mysql_fetch_row($res4)) 190 if($testvotil<$testvotic) { $testcand=1;break;} 188 191 } 189 192 if($genere==4 or $votog) $contestatilista=0; … … 606 609 elseif($ctrvoticand) 607 610 $segna="style=\"background-color: #99CC33;\""; 608 609 610 611 612 613 611 $res4= mysql_query("SELECT t1.voti FROM ".$prefix."_ele_voti_candidati as t1 left join ".$prefix."_ele_candidati as t2 on t1.id_cand=t2.id_cand where t1.id_cons='$id_cons' and t1.id_sez='$id_sez' and t2.id_lista='$id_rif'", $dbi); 612 while(list($testvotic)=mysql_fetch_row($res4)) 613 if($votisezlis<$testvotic) { $segna="style=\"background-color: #dd0000;\"";} 614 614 615 $sel = ($id_rif == $id_lista) ? "selected" : ""; 615 616 echo "<option $segna value=\"$id_rif\" $sel>"; -
trunk/admin/versione.php
r216 r217 1 1 <?php 2 $versione="2.0 rev 21 6";2 $versione="2.0 rev 217"; 3 3 ?> -
trunk/client/versione.php
r216 r217 1 1 <?php 2 $versione="2.0 rev 21 6";2 $versione="2.0 rev 217"; 3 3 ?>
Note:
See TracChangeset
for help on using the changeset viewer.