Changeset 90
- Timestamp:
- May 4, 2011, 8:08:52 PM (14 years ago)
- Location:
- trunk/client/modules/Elezioni
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules/Elezioni/index.php
r87 r90 24 24 if (isset($param['id_cons_gen'])) $id_cons_gen=intval($param['id_cons_gen']); else 25 25 { 26 $res = mysql_query("SELECT id_cons FROM ".$prefix."_ele_comuni where id_comune='$id_comune' ", $dbi); 27 list($id_cons_pred)=mysql_fetch_row($res); 26 28 $res = mysql_query("SELECT id_cons_gen FROM ".$prefix."_ele_cons_comune where id_cons='$id_cons_pred' ", $dbi); 27 29 list($id_cons_gen)=mysql_fetch_row($res); 28 } 30 } 29 31 if (isset($param['op'])) $op=$param['op']; else $op=''; 30 32 if (isset($param['minsez'])) $minsez=intval($param['minsez']); else $minsez=''; -
trunk/client/modules/Elezioni/menu.php
r89 r90 47 47 <input type=\"hidden\" name=\"pag\" value=\"/modules.php?id_cons_gen=\" /> 48 48 <input type=\"hidden\" name=\"file\" value=\"index\" /> 49 <select name=\"op\" class=\"moduloform\" onchange=\"javascript:top.location.href='modules.php? id_cons_gen=$id_cons_gen&name=Elezioni&op=gruppo&file=index&id_comune='+this.options[this.options.selectedIndex].value\">49 <select name=\"op\" class=\"moduloform\" onchange=\"javascript:top.location.href='modules.php?name=Elezioni&op=gruppo&file=index&id_comune='+this.options[this.options.selectedIndex].value\"> 50 50 "; 51 51
Note:
See TracChangeset
for help on using the changeset viewer.