Ignore:
Timestamp:
Apr 21, 2019, 11:49:56 PM (6 years ago)
Author:
roby
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/modules/Elezioni/scarica.php

    r257 r284  
    3030if (isset($_GET['help'])) $help=intval($_GET['help']);
    3131if (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='';
     32if (isset($param['id_cons_gen2'])) $id_cons_gen2=intval($param['id_cons_gen2']); else $id_cons_gen2='0';
     33if (isset($param['indirizzoweb'])) get_magic_quotes_gpc() ? $indirizzoweb=$param['indirizzoweb']:$indirizzoweb=addslashes($param['indirizzoweb']); else $indirizzoweb='http://www.eleonline.it/moduli/client/';
     34if (isset($param['id_comune2'])) $id_comune2=intval($param['id_comune2']); else $id_comune2='0';
    3535
    3636/******************************************************/
     
    8080        echo "<td><b>"._INDIRIZZOWEB1."</b></td>";
    8181        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)]);
    8383echo "<tr><td><b>"._CONSULTA.":</b></td><td>$cons_rem</td></tr>";
    8484        echo "<tr><td><b>"._SCELTACOMUNE."</b></td><td>$rem_cons</td></tr>";
Note: See TracChangeset for help on using the changeset viewer.