Changeset 199 for trunk/client
- Timestamp:
- Apr 23, 2014, 12:08:28 AM (11 years ago)
- Location:
- trunk/client
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules/Elezioni/consiglieri.php
r198 r199 47 47 $res = mysql_query("SELECT t1.tipo_cons,t2.id_cons,t2.id_fascia,t2.id_conf FROM ".$prefix."_ele_consultazione as t1, ".$prefix."_ele_cons_comune as t2 where t1.id_cons_gen=t2.id_cons_gen and t2.id_cons_gen='$id_cons_gen' and t2.id_comune='$id_comune'" , $dbi); 48 48 if (mysql_num_rows($res)){ 49 #list($tipo_cons,$id_cons,$fascia,$conf) = mysql_fetch_row($res);49 list($tipo_cons,$id_cons,$fascia,$conf) = mysql_fetch_row($res); 50 50 $result = mysql_query("select capoluogo from ".$prefix."_ele_comuni where id_comune='$id_comune'", $dbi); 51 51 list($capoluogo) = mysql_fetch_row($result); 52 if($fascia<6 and $capoluogo) { 53 $resfascia = mysql_query("SELECT fascia_capoluogo from ".$prefix."_ele_conf where id_conf=$id_conf", $dbi); 54 list ($fascia)= mysql_fetch_row($resfascia); 55 } 52 $result = mysql_query("select fascia_capoluogo from ".$prefix."_ele_conf where id_conf='$conf'", $dbi); 53 list($fascia2) = mysql_fetch_row($result); 54 if($fascia<$fascia2 and $capoluogo) $fascia=$fascia2; 56 55 57 56 $result = mysql_query("SELECT seggi from ".$prefix."_ele_fasce where id_fascia='$fascia' and id_conf=$id_conf",$dbi); -
trunk/client/versione.php
r198 r199 1 1 <?php 2 $versione="2.0 rev 19 8";2 $versione="2.0 rev 199"; 3 3 ?>
Note:
See TracChangeset
for help on using the changeset viewer.