Changeset 80 for trunk/client/modules.php
- Timestamp:
- May 19, 2010, 8:16:43 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules.php
r29 r80 218 218 } 219 219 $PHP_SELF=$_SERVER['PHP_SELF']; 220 $file=(isset($_GET['file'])) ? $_GET['file']:"index"; 221 $name=(isset($_GET['name'])) ? $_GET['name']:"Elezioni"; 222 //$op= (isset($_GET['op'])) ? $_GET['op']:"gruppo"; 223 $name=htmlentities($name); 224 $file=htmlentities($file); 225 #$id_comune=intval($id_comune); 220 $file=(isset($_GET['file'])) ? htmlentities($_GET['file']):"index"; 221 $name=(isset($_GET['name'])) ? htmlentities($_GET['name']):"Elezioni"; 222 if (!isset($_GET['op'])) $_GET['op']="gruppo"; 226 223 227 224 $modpath = "modules/$name/$file.php"; 228 //if (!$op) $op="gruppo";229 225 if (file_exists($modpath)) { 230 226 include($modpath);
Note:
See TracChangeset
for help on using the changeset viewer.