Ignore:
Timestamp:
Mar 31, 2014, 6:24:10 PM (10 years ago)
Author:
roby
Message:

segue modifiche per nuova gestione fasce

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/modules/Elezioni/ele.php

    r175 r195  
    8383        $bullet="<img src=\"temi/$tema/images/bullet.gif\" alt =\" \" align=\"left\" border=\"0\">";
    8484        $bgcolor1='#e7e7e7';
    85         $sqlcomu="select descrizione,fascia from ".$prefix."_ele_comuni where id_comune='$id_comune'";
     85        $sqlcomu="select descrizione from ".$prefix."_ele_comuni where id_comune='$id_comune'";
    8686        $res = mysql_query($sqlcomu);
    87         list($descr_comu,$fascia)=mysql_fetch_row($res);
     87        list($descr_comu)=mysql_fetch_row($res);
     88        $sqlcomu="select fascia from ".$prefix."_ele_cons_comune where id_cons='$id_cons'";
     89        $res = mysql_query($sqlcomu);
     90        list($fascia)=mysql_fetch_row($res);
    8891       
    8992        $otable= "<table bgcolor=\"$bgcolor1\" width=\"100%\"   cellpadding=\"0\" cellspacing=\"2\"  BORDER=\"0\">\n <tr><td>&nbsp;&nbsp;&nbsp;</td><td valign=\"top\" align=\"left\">";
Note: See TracChangeset for help on using the changeset viewer.