Ignore:
Timestamp:
May 6, 2012, 8:53:42 PM (12 years ago)
Author:
roby
Message:

Modifiche per gestione Legge regione Sicilia 2011

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/modules/Elezioni/funzionidata.php

    r97 r139  
    9191        }
    9292
    93        
     93function isdisgiunto()
     94{
     95global $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        }
     104return $glsep;
     105}
    94106
    95107?>
Note: See TracChangeset for help on using the changeset viewer.