Changeset 139 for trunk/admin/modules/Elezioni/funzionidata.php
- Timestamp:
- May 6, 2012, 8:53:42 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/funzionidata.php
r97 r139 91 91 } 92 92 93 93 function isdisgiunto() 94 { 95 global $prefix,$dbi,$id_cons,$limite,$fascia,$ops; 96 #voti di lista e di gruppo completamente disgiunti 97 $result = mysql_query("select infdisgiunto, supdisgiunto from ".$prefix."_ele_conf as t2 left join ".$prefix."_ele_cons_comune as t1 on t1.id_conf=t2.id_conf where id_cons = '$id_cons' ", $dbi); 98 $glsep=''; 99 if ($result) { 100 list($infdis,$supdis)=mysql_fetch_row($result); 101 if((($fascia>$limite and $supdis) or ($fascia<$limite and $infdis))) 102 $glsep='_lista'; 103 } 104 return $glsep; 105 } 94 106 95 107 ?>
Note:
See TracChangeset
for help on using the changeset viewer.