Ignore:
Timestamp:
Nov 27, 2009, 4:54:48 PM (15 years ago)
Author:
roby
Message:

prova di modifica iniziale

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/modules.php

    r2 r10  
    151151{
    152152$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'];
     153if (isset($param['id_comune'])) $id_combak=intval($param['id_comune']); else $id_combak=$_SESSION['id_comune'];
    154154$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);
    155155list($id_cons,$hondt) = mysql_fetch_row($res);
     
    221221$name=(isset($_GET['name'])) ? $_GET['name']:"Elezioni";
    222222//$op= (isset($_GET['op'])) ? $_GET['op']:"gruppo";
     223$name=htmlentities($name);
     224$file=htmlentities($file);
     225$id_comune=intval($id_comune);
     226
    223227$modpath = "modules/$name/$file.php";
    224228//if (!$op) $op="gruppo";
Note: See TracChangeset for help on using the changeset viewer.