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/spectral/menu.php

    r241 r254  
    2626        $button="<br /><object><noscript><div><input name=\"vai\" type=\"image\" src=\"modules/Elezioni/images/ok2.jpg\" alt=\"ok\" title=\"ok\" /></div></noscript></object>";
    2727       
    28         $sqlcomu="select descrizione,fascia from ".$prefix."_ele_comuni where id_comune=$id_comune";
     28        $sqlcomu="select descrizione from ".$prefix."_ele_comuni where id_comune=$id_comune";
    2929        $rescomu= mysql_query("$sqlcomu",$dbi);
    30         list($descr_com,$fascia)=mysql_fetch_row($rescomu);
     30        list($descr_com)=mysql_fetch_row($rescomu);
     31        $sqlcomu="select id_fascia from ".$prefix."_ele_cons_comune where id_comune=$id_comune and id_cons='$id_cons'";
     32        $rescomu= mysql_query("$sqlcomu",$dbi);
     33        list($fascia)=mysql_fetch_row($rescomu);
    3134        echo '
    3235            <div id="contiene">
     
    181184               
    182185                if ($genere>3){
    183                         if (!$circo && !$votog) {
     186                        if (!$circo && !$votog && !$votoc)      {
    184187                            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>";
    185188                        }
Note: See TracChangeset for help on using the changeset viewer.