Changeset 290 for trunk/client/modules


Ignore:
Timestamp:
Apr 28, 2019, 8:48:56 PM (5 years ago)
Author:
roby
Message:
 
Location:
trunk/client/modules/Elezioni
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/modules/Elezioni/index.php

    r280 r290  
    6767$lettera=htmlentities($lettera);
    6868$ordine=htmlentities($ordine);
    69 
     69global $limite;
    7070$sql="SELECT id_conf FROM ".$prefix."_ele_cons_comune where id_cons_gen='$id_cons_gen' and id_comune='$id_comune'" ;
    7171        $res = $dbi->prepare("$sql");
  • trunk/client/modules/Elezioni/menu.php

    r282 r290  
    239239#inutile                if($genere!=4 || $tipo_cons==8)
    240240                        echo "<option value=\"graf_gruppo\" ".$temp['graf_gruppo']." >"._GRUPPO."</option>";
    241                         if(($genere==5 or $genere==3) and $fascia>$limite)
     241                if($hondt==0) $limite=0;
     242                if(($genere>2) and ($fascia>$limite || $limite==0))
    242243                        echo "<option value=\"graf_lista&amp;visgralista=1\" ".$temp['graf_lista'].">"._LISTA."</option>";
    243244                if ($genere>3){
Note: See TracChangeset for help on using the changeset viewer.