Changeset 344 for trunk/admin/modules/Elezioni/ele_confcons.php
- Timestamp:
- Dec 1, 2020, 8:25:00 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/ele_confcons.php
r336 r344 18 18 $aid=$_SESSION['aid']; 19 19 $prefix=$_SESSION['prefix']; 20 $ currentlang=$_SESSION['lang'];20 $language=$_SESSION['lang']; 21 21 $param=strtolower($_SERVER['REQUEST_METHOD']) == 'get' ? $_GET : $_POST; 22 22 $id_cons_gen=$param['id_cons_gen']; … … 33 33 include("modules/Elezioni/ele.php"); 34 34 35 if (isset($param['do'])) get_magic_quotes_gpc() ? $do=$param['do']:$do=addslashes($param['do']); else $do='';35 if (isset($param['do'])) $do=addslashes($param['do']); else $do=''; 36 36 if (isset($param['min'])) $min=intval($param['min']); else $min=0; 37 if (isset($param['ok'])) get_magic_quotes_gpc() ? $ok=$param['ok']:$ok=addslashes($param['ok']); else $ok=''; 38 if (isset($param['descrizione'])) get_magic_quotes_gpc() ? 39 $descrizione=$param['descrizione']:$descrizione=addslashes($param['descrizione']); else $descrizione=''; 37 if (isset($param['ok'])) $ok=addslashes($param['ok']); else $ok=''; 38 if (isset($param['descrizione'])) $descrizione=addslashes($param['descrizione']); else $descrizione=''; 40 39 if (isset($param['id_conf'])) $id_conf=intval($param['id_conf']); else $id_conf=''; 41 if (isset($param['limite'])) get_magic_quotes_gpc() ? $limite=$param['limite']:$limite=addslashes($param['limite']); else $limite='';42 if (isset($param['consin'])) get_magic_quotes_gpc() ? $consin=$param['consin']:$consin=addslashes($param['consin']); else $consin='';43 if (isset($param['infpremio'])) get_magic_quotes_gpc() ? $infpremio=$param['infpremio']:$infpremio=addslashes($param['infpremio']); else $infpremio='';44 if (isset($param['listinfsbar'])) get_magic_quotes_gpc() ? $listinfsbar=$param['listinfsbar']:$listinfsbar=addslashes($param['listinfsbar']); else $listinfsbar='';45 if (isset($param['infminpremio'])) get_magic_quotes_gpc() ? $infminpremio=$param['infminpremio']:$infminpremio=addslashes($param['infminpremio']); else $infminpremio='';46 if (isset($param['listinfconta'])) get_magic_quotes_gpc() ? $listinfconta=$param['listinfconta']:$listinfconta=addslashes($param['listinfconta']); else $listinfconta='';47 if (isset($param['suppremio'])) get_magic_quotes_gpc() ? $suppremio=$param['suppremio']:$suppremio=addslashes($param['suppremio']); else $suppremio='';48 if (isset($param['supsbarramento'])) get_magic_quotes_gpc() ? $supsbarramento=$param['supsbarramento']:$supsbarramento=addslashes($param['supsbarramento']); else $supsbarramento='';49 if (isset($param['supminpremio'])) get_magic_quotes_gpc() ? $supminpremio=$param['supminpremio']:$supminpremio=addslashes($param['supminpremio']); else $supminpremio='';50 if (isset($param['listsupconta'])) get_magic_quotes_gpc() ? $listsupconta=$param['listsupconta']:$listsupconta=addslashes($param['listsupconta']); else $listsupconta='';51 #if (isset($param['infdisgiunto'])) get_magic_quotes_gpc() ? $infdisgiunto=$param['infdisgiunto']:$infdisgiunto=addslashes($param['infdisgiunto']); else $infdisgiunto='';52 #if (isset($param['supdisgiunto'])) get_magic_quotes_gpc() ? $supdisgiunto=$param['supdisgiunto']:$supdisgiunto=addslashes($param['supdisgiunto']); else $supdisgiunto='';40 if (isset($param['limite'])) $limite=addslashes($param['limite']); else $limite=''; 41 if (isset($param['consin'])) $consin=addslashes($param['consin']); else $consin=''; 42 if (isset($param['infpremio'])) $infpremio=addslashes($param['infpremio']); else $infpremio=''; 43 if (isset($param['listinfsbar'])) $listinfsbar=addslashes($param['listinfsbar']); else $listinfsbar=''; 44 if (isset($param['infminpremio'])) $infminpremio=addslashes($param['infminpremio']); else $infminpremio=''; 45 if (isset($param['listinfconta'])) $listinfconta=addslashes($param['listinfconta']); else $listinfconta=''; 46 if (isset($param['suppremio'])) $suppremio=addslashes($param['suppremio']); else $suppremio=''; 47 if (isset($param['supsbarramento'])) $supsbarramento=addslashes($param['supsbarramento']); else $supsbarramento=''; 48 if (isset($param['supminpremio'])) $supminpremio=addslashes($param['supminpremio']); else $supminpremio=''; 49 if (isset($param['listsupconta'])) $listsupconta=addslashes($param['listsupconta']); else $listsupconta=''; 50 #if (isset($param['infdisgiunto'])) $infdisgiunto=addslashes($param['infdisgiunto']); else $infdisgiunto=''; 51 #if (isset($param['supdisgiunto'])) $supdisgiunto=addslashes($param['supdisgiunto']); else $supdisgiunto=''; 53 52 if (isset($param['help'])) $help=intval($param['help']); 54 53 … … 57 56 /*****************************************************/ 58 57 function all() { 59 global $tipo_cons,$param, $currentlang,$bgcolor1, $bgcolor2, $prefix, $dbi, $offset, $min, $id_cons,$id_cons_gen,$id_comune,$do,$id_conf, $language,$help;58 global $tipo_cons,$param, $bgcolor1, $bgcolor2, $prefix, $dbi, $offset, $min, $id_cons,$id_cons_gen,$id_comune,$do,$id_conf, $language,$help; 60 59 61 60 if (isset($help)) include("language/$language/ele_confcons.html");
Note:
See TracChangeset
for help on using the changeset viewer.