Changeset 400 for trunk/client/modules.php
- Timestamp:
- Feb 25, 2024, 3:57:45 PM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules.php
r362 r400 68 68 } 69 69 } 70 70 71 71 72 function jsexist(){ // controlla javascript by l.apolito 2008 … … 121 122 122 123 123 124 125 124 $param=strtolower($_SERVER['REQUEST_METHOD']) == 'get' ? $_GET : $_POST; 125 if (isset($param['id_comune'])) $id_comune=intval($param['id_comune']); #else $id_comune=$siteistat; 126 if (isset($param['id_cons_gen'])) $id_cons_gen=intval($param['id_cons_gen']); 126 127 127 128 # carica i parametri di default sulla tabella … … 135 136 $adminmail = $row['adminmail']; 136 137 $tema = $row['tema']; 138 $temaimpostata=$tema; #per link desktop moblie 137 139 $language = $row['language']; 138 140 $blocco = intval($row['blocco']); … … 256 258 257 259 258 260 $param=strtolower($_SERVER['REQUEST_METHOD']) == 'get' ? $_GET : $_POST; 259 261 $PHP_SELF=$_SERVER['PHP_SELF']; 260 $file=(isset($_GET['file'])) ? htmlentities($_GET['file']):"index"; 261 $name=(isset($_GET['name'])) ? htmlentities($_GET['name']):"Elezioni"; 262 $op=(isset($_GET['op'])) ? htmlentities($_GET['op']):"gruppo"; 263 if (!isset($_GET['op'])) $_GET['op']="gruppo"; 262 $file=(isset($_param['file'])) ? htmlentities($_param['file']):"index"; 263 $name=(isset($_param['name'])) ? htmlentities($_param['name']):"Elezioni"; 264 $op=(isset($_param['op'])) ? htmlentities($_param['op']):"gruppo"; 265 $id_comune=(isset($_param['id_comune'])) ? intval($_param['id_comune']): $siteistat; 266 $op=(isset($_param['id_cons_gen'])) ? intval($_param['id_cons_gen']):$id_cons_pred; 264 267 265 268 $modpath = "modules/$name/$file.php";
Note:
See TracChangeset
for help on using the changeset viewer.