Ignore:
Timestamp:
Dec 29, 2021, 12:23:18 PM (2 years ago)
Author:
roby
Message:

admin: funzioni di controllo del db e suoi aggiornamenti.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/modules/Elezioni/blocchi/02_risultati.php

    r347 r357  
    1717if($genere!='0'){ // referendum e circoscrizionali
    1818    list ($gruppo,$pro)=grupporss();
    19     if ($gruppo!='')echo "<h5>Risultati </h5>";
     19    if ($gruppo!=''){
     20                echo "<h5>Risultati </h5>";
    2021    //$content .="<div style=\"text-align:left;\"><strong>$descr_cons</strong></div><br/>";
    21     echo "<table>";
    22     for($x=0;$x<count($gruppo);$x++){
    23         echo "<tr><td class=\"td-big\">&middot;</td><td>".$gruppo[$x]." </td><td  style=\"text-align:right\"><b><span style=\"color:#ff0000;\">".$pro[$x] ."%</span></b></td></tr>\n";
    24     }
    25     echo "</table>";
    26 
     22                echo "<table>";
     23                if(count($gruppo))
     24                        for($x=0;$x<count($gruppo);$x++){
     25                echo "<tr><td class=\"td-big\">&middot;</td><td>".$gruppo[$x]." </td><td  style=\"text-align:right\"><b><span style=\"color:#ff0000;\">".$pro[$x] ."%</span></b></td></tr>\n";
     26                }
     27                echo "</table>";
     28        }
    2729  //echo $content;
    2830}
Note: See TracChangeset for help on using the changeset viewer.