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