Changeset 410 for trunk/client/temi/spectral/menu.php
- Timestamp:
- Mar 6, 2024, 11:49:57 AM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/temi/spectral/menu.php
r344 r410 165 165 } 166 166 } 167 $sql="SELECT chiusa FROM ".$prefix."_ele_cons_comune where id_cons='$id_cons'" ; 168 $resc = $dbi->prepare("$sql"); 169 $resc->execute(); 170 171 list($chiusa)=$resc->fetch(PDO::FETCH_NUM); 172 173 if ($hondt>=1 and $chiusa==1) { 167 $sql="SELECT proiezione FROM ".$prefix."_ele_cons_comune where id_cons='$id_cons'" ; 168 $resc = $dbi->prepare("$sql"); 169 $resc->execute(); 170 171 list($proiezione)=$resc->fetch(PDO::FETCH_NUM); 172 if ($hondt>=1 and $proiezione==1) { 174 173 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>"; 175 174
Note:
See TracChangeset
for help on using the changeset viewer.