Ignore:
Timestamp:
May 4, 2011, 8:08:52 PM (14 years ago)
Author:
roby
Message:
  • Sistemata la gestione della consultazione di default
Location:
trunk/client/modules/Elezioni
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/modules/Elezioni/index.php

    r87 r90  
    2424if (isset($param['id_cons_gen'])) $id_cons_gen=intval($param['id_cons_gen']); else
    2525{
     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);
    2628        $res = mysql_query("SELECT id_cons_gen FROM ".$prefix."_ele_cons_comune where id_cons='$id_cons_pred' ", $dbi);
    2729        list($id_cons_gen)=mysql_fetch_row($res);
    28 }
     30}       
    2931if (isset($param['op'])) $op=$param['op']; else $op='';
    3032if (isset($param['minsez'])) $minsez=intval($param['minsez']); else $minsez='';
  • trunk/client/modules/Elezioni/menu.php

    r89 r90  
    4747                            <input type=\"hidden\" name=\"pag\" value=\"/modules.php?id_cons_gen=\" />
    4848                            <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&amp;name=Elezioni&amp;op=gruppo&amp;file=index&amp;id_comune='+this.options[this.options.selectedIndex].value\">
     49                            <select name=\"op\" class=\"moduloform\" onchange=\"javascript:top.location.href='modules.php?name=Elezioni&amp;op=gruppo&amp;file=index&amp;id_comune='+this.options[this.options.selectedIndex].value\">
    5050                        ";
    5151                       
Note: See TracChangeset for help on using the changeset viewer.