Ignore:
Timestamp:
Mar 13, 2018, 9:26:23 PM (6 years ago)
Author:
roby
Message:

adeguata la funzione di installazione al php7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/temi/tour/menu.php

    r243 r254  
    1414Funzione Menu a cascata
    1515*************************/
    16         $sqlcomu="select descrizione,fascia from ".$prefix."_ele_comuni where id_comune=$id_comune";
     16        $sqlcomu="select descrizione from ".$prefix."_ele_comuni where id_comune=$id_comune";
    1717        $rescomu= mysql_query("$sqlcomu",$dbi);
    18         list($descr_com,$fascia)=mysql_fetch_row($rescomu);
     18        list($descr_com)=mysql_fetch_row($rescomu);
     19        $sqlcomu="select id_fascia from ".$prefix."_ele_cons_comune where id_comune=$id_comune and id_cons='$id_cons'";
     20        $rescomu= mysql_query("$sqlcomu",$dbi);
     21        list($fascia)=mysql_fetch_row($rescomu);
    1922       
    2023        echo ' <table cellpadding="0" cellspacing="0" style="border:0px;text-align:left;"><tr><td>
     
    169172               
    170173                if ($genere>3){
    171                         if (!$circo && !$votog) {
     174                        if (!$circo && !$votog && !$votoc)      {
    172175                            echo "<li class=\"icon consi\"><a href=\"modules.php?id_cons_gen=$id_cons_gen&amp;name=Elezioni&amp;id_comune=$id_comune&amp;file=index&amp;op=graf_candidato\">"._CONSI."</a></li>";
    173176                        }
Note: See TracChangeset for help on using the changeset viewer.