Changeset 410 for trunk/client/temi
- Timestamp:
- Mar 6, 2024, 11:49:57 AM (8 months ago)
- Location:
- trunk/client/temi
- Files:
-
- 10 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 -
trunk/client/temi/blog/menu.php
r403 r410 152 152 } 153 153 } 154 $sql="SELECT chiusa FROM ".$prefix."_ele_cons_comune where id_cons='$id_cons'" ; 155 $resc = $dbi->prepare("$sql"); 156 $resc->execute(); 157 158 list($chiusa)=$resc->fetch(PDO::FETCH_NUM); 159 160 if ($hondt>=1 and $chiusa==1) { 154 $sql="SELECT proiezione FROM ".$prefix."_ele_cons_comune where id_cons='$id_cons'" ; 155 $resc = $dbi->prepare("$sql"); 156 $resc->execute(); 157 158 list($proiezione)=$resc->fetch(PDO::FETCH_NUM); 159 if ($hondt>=1 and $proiezione==1) { 161 160 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>"; 162 161 -
trunk/client/temi/bsitalia/menu.php
r400 r410 165 165 } 166 166 } 167 $sql="SELECT chiusaFROM ".$prefix."_ele_cons_comune where id_cons='$id_cons'" ;167 $sql="SELECT proiezione FROM ".$prefix."_ele_cons_comune where id_cons='$id_cons'" ; 168 168 $resc = $dbi->prepare("$sql"); 169 169 $resc->execute(); 170 170 171 list($chiusa)=$resc->fetch(PDO::FETCH_NUM); 172 173 if ($hondt>=1 and $chiusa==1) { 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 -
trunk/client/temi/default/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) { 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) { 162 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>"; 163 162 -
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 -
trunk/client/temi/realistic/menu.php
r347 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 -
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 -
trunk/client/temi/stylized/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) { 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) { 162 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>"; 163 162 -
trunk/client/temi/tour/menu.php
r403 r410 152 152 } 153 153 } 154 $sql="SELECT chiusa FROM ".$prefix."_ele_cons_comune where id_cons='$id_cons'" ; 155 $resc = $dbi->prepare("$sql"); 156 $resc->execute(); 157 158 list($chiusa)=$resc->fetch(PDO::FETCH_NUM); 159 160 if ($hondt>=1 and $chiusa==1) { 154 $sql="SELECT proiezione FROM ".$prefix."_ele_cons_comune where id_cons='$id_cons'" ; 155 $resc = $dbi->prepare("$sql"); 156 $resc->execute(); 157 158 list($proiezione)=$resc->fetch(PDO::FETCH_NUM); 159 if ($hondt>=1 and $proiezione==1) { 161 160 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>"; 162 161 -
trunk/client/temi/yellowblu/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) { 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) { 162 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>"; 163 162
Note:
See TracChangeset
for help on using the changeset viewer.