Ignore:
Timestamp:
May 14, 2021, 2:00:23 PM (3 years ago)
Author:
roby
Message:

Aggiornamento per compatibilità con php7.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/modules/Elezioni/blocchi/04_sezioni.php

    r265 r347  
    7474                        else $pos="gruppo_sezione";
    7575                       
    76                         $html .="<td style=\"margin:0px auto; text-align:center; width:5%;\" bgcolor=\"$bgsez\"><a href=\"modules.php?id_cons_gen=$id_cons_gen&name=Elezioni&id_comune=$id_comune&perc=true&file=index&op=$pos&minsez=$sez_num&offsetsez=$sez_num\"><b>$sez_num</b></a></td>";
     76                        $html .="<td style=\"margin:0px auto; text-align:center; width:5%;background-color:$bgsez;\" ><a href=\"modules.php?id_cons_gen=$id_cons_gen&amp;name=Elezioni&amp;id_comune=$id_comune&amp;perc=true&amp;file=index&amp;op=$pos&amp;minsez=$sez_num&amp;offsetsez=$sez_num\"><b>$sez_num</b></a></td>";
    7777
    7878                        if (($i%5) ==0) $html .="</tr>\n<tr>";
    7979                }
    80                
     80                while($i%5!=0) {$i++; $html.="<td></td>";}
    8181                $html .="</tr></table>\n";
    8282    // stampa
    8383    if($e!='0'){
    8484          echo "<div><h5>"._SEZSCRU."</h5></div>";
    85           echo "<center> <img  alt=\"Grafico\" src=\"modules/Elezioni/grafici/ledex2.php?sez=$e&max=$max\" /></center>";
     85          echo "<img style=\"display:block;margin:0px auto;text-align:center;\" alt=\"Grafico\" src=\"modules/Elezioni/grafici/ledex2.php?sez=$e&amp;max=$max\" />";
    8686           
    8787    echo $html; }       
Note: See TracChangeset for help on using the changeset viewer.