Changeset 80 for trunk/client
- Timestamp:
- May 19, 2010, 8:16:43 PM (15 years ago)
- Location:
- trunk/client
- Files:
-
- 2 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); -
trunk/client/modules/Elezioni/blocchi/gom_affluenze.php
r2 r80 62 62 $perc=number_format($voti_t*100/$tot,2); 63 63 else {$tot=0;$perc="0.00";} 64 if($voti_t<=$tot){ 64 65 65 66 $resto=100-$perc; … … 76 77 </center>"; 77 78 78 79 } 79 80 80 81 }
Note:
See TracChangeset
for help on using the changeset viewer.