Changeset 344 for trunk/admin/modules/Elezioni/ele_configurazione.php
- Timestamp:
- Dec 1, 2020, 8:25:00 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/ele_configurazione.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']; … … 31 31 if(isset($row[0])) {$tipo_cons=$row[0];$id_cons=$row[1];} else {$tipo_cons=0; $id_cons=0;} 32 32 33 if (isset($param['do'])) get_magic_quotes_gpc() ? $do=$param['do']:$do=addslashes($param['do']); else $do='';33 if (isset($param['do'])) $do=addslashes($param['do']); else $do=''; 34 34 if (isset($param['min'])) $min=intval($param['min']); else $min=0; 35 if (isset($param['ok'])) get_magic_quotes_gpc() ? $ok=$param['ok']:$ok=addslashes($param['ok']); else $ok=''; 36 if (isset($param['blocco'])) get_magic_quotes_gpc() ? 37 $blocco=$param['blocco']:$blocco=addslashes($param['blocco']); else $blocco=''; 38 if (isset($param['tema2'])) get_magic_quotes_gpc() ? $tema2=$param['tema2']:$tema2=addslashes($param['tema2']); else $tema2=''; 39 if (isset($param['multicomune'])) get_magic_quotes_gpc() ? $multicomune=$param['multicomune']:$multicomune=addslashes($param['multicomune']); else $multicomune=''; 40 if (isset($param['fileout'])) get_magic_quotes_gpc() ? $fileout=$param['fileout']:$fileout=addslashes($param['fileout']); else $fileout=''; 41 if (isset($param['prefix2'])) get_magic_quotes_gpc() ? $prefix2=$param['prefix2']:$prefix2=addslashes($param['prefix2']); else $prefix2=''; 42 if (isset($param['adminmail'])) get_magic_quotes_gpc() ? $adminmail=$param['adminmail']:$adminmail=addslashes($param['adminmail']); else $adminmail=''; 43 if (isset($param['siteurl'])) get_magic_quotes_gpc() ? $siteurl=$param['siteurl']:$siteurl=addslashes($param['siteurl']); else $siteurl=''; 44 if (isset($param['sitename'])) get_magic_quotes_gpc() ? $sitename=$param['sitename']:$sitename=addslashes($param['sitename']); else $sitename=''; 45 if (isset($param['siteistat'])) get_magic_quotes_gpc() ? $siteistat=$param['siteistat']:$siteistat=addslashes($param['siteistat']); else $siteistat=''; 46 if (isset($param['language2'])) get_magic_quotes_gpc() ? $language2=$param['language2']:$language2=addslashes($param['language2']); else $language2=''; 47 if (isset($param['flash2'])) get_magic_quotes_gpc() ? $flash2=$param['flash2']:$flash2=addslashes($param['flash2']); else $flash2=''; 35 if (isset($param['ok'])) $ok=addslashes($param['ok']); else $ok=''; 36 if (isset($param['blocco'])) $blocco=addslashes($param['blocco']); else $blocco=''; 37 if (isset($param['tema2'])) $tema2=addslashes($param['tema2']); else $tema2=''; 38 if (isset($param['multicomune'])) $multicomune=addslashes($param['multicomune']); else $multicomune=''; 39 if (isset($param['fileout'])) $fileout=addslashes($param['fileout']); else $fileout=''; 40 if (isset($param['prefix2'])) $prefix2=addslashes($param['prefix2']); else $prefix2=''; 41 if (isset($param['adminmail'])) $adminmail=addslashes($param['adminmail']); else $adminmail=''; 42 if (isset($param['siteurl'])) $siteurl=addslashes($param['siteurl']); else $siteurl=''; 43 if (isset($param['sitename'])) $sitename=addslashes($param['sitename']); else $sitename=''; 44 if (isset($param['siteistat'])) $siteistat=addslashes($param['siteistat']); else $siteistat=''; 45 if (isset($param['language2'])) $language2=addslashes($param['language2']); else $language2=''; 46 if (isset($param['flash2'])) $flash2=addslashes($param['flash2']); else $flash2=''; 48 47 if (isset($param['displayerrors'])) $displayerrors=intval($param['displayerrors']); else $displayerrors='0'; 49 48 50 if (isset($param['gkey'])) get_magic_quotes_gpc() ? $gkey=$param['gkey']:$gkey=addslashes($param['gkey']); else $gkey='';51 if (isset($param['ed_user'])) get_magic_quotes_gpc() ? $ed_user=$param['ed_user']:$ed_user=addslashes($param['ed_user']); else $ed_user='';49 if (isset($param['gkey'])) $gkey=addslashes($param['gkey']); else $gkey=''; 50 if (isset($param['ed_user'])) $ed_user=addslashes($param['ed_user']); else $ed_user=''; 52 51 if (isset($param['googlemaps'])) $googlemaps=intval($param['googlemaps']); else $googlemaps='0'; 53 52 if (isset($param['editor'])) $editor=intval($param['editor']); else $editor='0'; … … 61 60 /*****************************************************/ 62 61 function all() { 63 global $tipo_cons,$param, $currentlang,$bgcolor1, $bgcolor2, $prefix, $prefix2, $dbi, $offset, $min, $id_cons,$id_cons_gen,$id_comune,$do,$tema,$language,$help;62 global $tipo_cons,$param, $bgcolor1, $bgcolor2, $prefix, $prefix2, $dbi, $offset, $min, $id_cons,$id_cons_gen,$id_comune,$do,$tema,$language,$help; 64 63 global $gkey,$ed_user,$googlemaps,$editor,$tema_on; 65 64
Note:
See TracChangeset
for help on using the changeset viewer.