Changeset 284 for trunk/admin/modules/Elezioni
- Timestamp:
- Apr 21, 2019, 11:49:56 PM (6 years ago)
- Location:
- trunk/admin/modules/Elezioni
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/backup.php
r256 r284 8 8 $sth = $dbi->prepare("$sql"); 9 9 $sth->execute(); 10 $row = $sth->fetch(PDO::FETCH_BOTH); 11 $nomeFile=$row[0]; 10 //$row = $sth->fetch(PDO::FETCH_BOTH); 11 //$nomeFile=$row[0]; 12 list($nomeFile)=$sth->fetch(PDO::FETCH_NUM); 12 13 #$nomeFile="backup"; 13 14 header( 'Content-Type: application/octet-stream' ); -
trunk/admin/modules/Elezioni/ele_permessi.php
r257 r284 87 87 } 88 88 echo "</select></td>"; 89 $ ressede = mysql_query("SELECT id_sede, indirizzo from ".$prefix."_ele_sede where id_cons=$id_cons";89 $sql="SELECT id_sede, indirizzo from ".$prefix."_ele_sede where id_cons=$id_cons"; 90 90 $ressede = $dbi->prepare("$sql"); 91 91 $ressede->execute(); -
trunk/admin/modules/Elezioni/scarica.php
r257 r284 30 30 if (isset($_GET['help'])) $help=intval($_GET['help']); 31 31 if (isset($param['fase'])) $fase=intval($param['fase']); else $fase=0; 32 if (isset($param['id_cons_gen2'])) $id_cons_gen2=intval($param['id_cons_gen2']); else $id_cons_gen2=' ';33 if (isset($param['indirizzoweb'])) get_magic_quotes_gpc() ? $indirizzoweb=$param['indirizzoweb']:$indirizzoweb=addslashes($param['indirizzoweb']); else $indirizzoweb='http://www.eleonline.it/moduli/ eleonline2/client/';34 if (isset($param['id_comune2'])) $id_comune2=intval($param['id_comune2']); else $id_comune2=' ';32 if (isset($param['id_cons_gen2'])) $id_cons_gen2=intval($param['id_cons_gen2']); else $id_cons_gen2='0'; 33 if (isset($param['indirizzoweb'])) get_magic_quotes_gpc() ? $indirizzoweb=$param['indirizzoweb']:$indirizzoweb=addslashes($param['indirizzoweb']); else $indirizzoweb='http://www.eleonline.it/moduli/client/'; 34 if (isset($param['id_comune2'])) $id_comune2=intval($param['id_comune2']); else $id_comune2='0'; 35 35 36 36 /******************************************************/ … … 80 80 echo "<td><b>"._INDIRIZZOWEB1."</b></td>"; 81 81 echo "<td><input type=\"hidden\" name=\"id_cons_gen\" value=\"$id_cons_gen\"><input type=\"hidden\" name=\"op\" value=\"scarica\"><input type=\"hidden\" name=\"fase\" value=\"3\"><input type=\"hidden\" name=\"indirizzoweb\" value=\"$indirizzoweb\">$indirizzoweb</td></td></tr>"; 82 $cons_rem= intval($_GET[($id_cons_gen2)]);82 $cons_rem=addslashes($_GET[($id_cons_gen2)]); 83 83 echo "<tr><td><b>"._CONSULTA.":</b></td><td>$cons_rem</td></tr>"; 84 84 echo "<tr><td><b>"._SCELTACOMUNE."</b></td><td>$rem_cons</td></tr>";
Note:
See TracChangeset
for help on using the changeset viewer.