Changeset 10 for trunk/client/modules.php
- Timestamp:
- Nov 27, 2009, 4:54:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules.php
r2 r10 151 151 { 152 152 $id_cons_bak=intval($param['id_cons_gen']); 153 if (isset($param['id_comune'])) $id_combak= $param['id_comune']; else $id_combak=$_SESSION['id_comune'];153 if (isset($param['id_comune'])) $id_combak=intval($param['id_comune']); else $id_combak=$_SESSION['id_comune']; 154 154 $res = mysql_query("SELECT id_cons,id_conf FROM ".$prefix."_ele_cons_comune where id_cons_gen='$id_cons_bak' and id_comune='$id_combak'" , $dbi); 155 155 list($id_cons,$hondt) = mysql_fetch_row($res); … … 221 221 $name=(isset($_GET['name'])) ? $_GET['name']:"Elezioni"; 222 222 //$op= (isset($_GET['op'])) ? $_GET['op']:"gruppo"; 223 $name=htmlentities($name); 224 $file=htmlentities($file); 225 $id_comune=intval($id_comune); 226 223 227 $modpath = "modules/$name/$file.php"; 224 228 //if (!$op) $op="gruppo";
Note:
See TracChangeset
for help on using the changeset viewer.