source: trunk/client/modules/Elezioni/blocchi/02_risultati.php@ 347

Last change on this file since 347 was 347, checked in by roby, 4 years ago

Aggiornamento per compatibilità con php7.4

File size: 1.1 KB
RevLine 
[2]1<?php
2/************************************************************************/
3/* Eleonline - Raccolta e diffusione dei dati elettorali */
4/* by Luciano Apolito & Roberto Gigli */
5/* http://www.eleonline.it */
6/* info@eleonline.it luciano@aniene.net rgigli@libero.it */
7/************************************************************************/
8# lettura feed rss interno
9
10if (!defined('MODULE_FILE')) {
11 //die ("You can't access this file dirrectly...");
12}
13
[40]14global $descr_cons,$circo,$genere;
[2]15
16
[228]17if($genere!='0'){ // referendum e circoscrizionali
[2]18 list ($gruppo,$pro)=grupporss();
19 if ($gruppo!='')echo "<h5>Risultati </h5>";
20 //$content .="<div style=\"text-align:left;\"><strong>$descr_cons</strong></div><br/>";
[72]21 echo "<table>";
[2]22 for($x=0;$x<count($gruppo);$x++){
[347]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";
[2]24 }
[72]25 echo "</table>";
[2]26
27 //echo $content;
28}
29
30
31
32
33?>
Note: See TracBrowser for help on using the repository browser.