Changeset 410 for trunk/client/temi/altro/menu.php
- Timestamp:
- Mar 6, 2024, 11:49:57 AM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/temi/altro/menu.php
r403 r410 153 153 } 154 154 } 155 $sql="SELECT chiusa FROM ".$prefix."_ele_cons_comune where id_cons='$id_cons'" ; 156 $resc = $dbi->prepare("$sql"); 157 $resc->execute(); 158 159 list($chiusa)=$resc->fetch(PDO::FETCH_NUM); 160 161 if ($hondt>=1 and $chiusa==1) { 162 echo "<li class=\"icon dontd\"><a href=\"modules.php?id_cons_gen=$id_cons_gen&name=Elezioni&id_comune=$id_comune&file=index&op=consiglieri\">"._CALCONS."</a></li>"; 163 155 $sql="SELECT proiezione FROM ".$prefix."_ele_cons_comune where id_cons='$id_cons'" ; 156 $resc = $dbi->prepare("$sql"); 157 $resc->execute(); 158 159 list($proiezione)=$resc->fetch(PDO::FETCH_NUM); 160 if ($hondt>=1 and $proiezione==1) { 161 echo "<li class=\"icon dontd\"><a href=\"modules.php?id_cons_gen=$id_cons_gen&name=Elezioni&id_comune=$id_comune&file=index&op=consiglieri\">"._CALCONS."</a></li>"; 164 162 } 165 163
Note:
See TracChangeset
for help on using the changeset viewer.