Changeset 274 for trunk/client/modules/Elezioni
- Timestamp:
- Apr 20, 2019, 12:28:45 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules/Elezioni/funzioni.php
r265 r274 378 378 if($pos=="dx") $p=0; elseif($pos=="sx")$p=1;else $p=''; 379 379 380 $sql="SELECT * FROM ".$prefix."_ele_widget where pos_or='$p' and attivo='1' order by pos_ver asc";381 $res = $dbi->prepare("$sql");382 $res ->execute();383 if($res ->rowCount()){384 while ( $row = $res->fetch(PDO::FETCH_BOTH)) {385 $nome=$row['nome_file'];380 $sql="SELECT nome_file FROM ".$prefix."_ele_widget where pos_or='$p' and attivo='1' order by pos_ver asc"; 381 $resp = $dbi->prepare("$sql"); 382 $resp->execute(); 383 if($resp->rowCount()){ 384 while (list($nome) = $resp->fetch(PDO::FETCH_NUM)) { 385 # $nome=$row['nome_file']; 386 386 include ("modules/Elezioni/blocchi/$nome"); 387 387 }
Note:
See TracChangeset
for help on using the changeset viewer.