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

Last change on this file since 360 was 357, checked in by roby, 3 years ago

admin: funzioni di controllo del db e suoi aggiornamenti.

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();
[357]19 if ($gruppo!=''){
20 echo "<h5>Risultati </h5>";
[2]21 //$content .="<div style=\"text-align:left;\"><strong>$descr_cons</strong></div><br/>";
[357]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 }
[2]29 //echo $content;
30}
31
32
33
34
35?>
Note: See TracBrowser for help on using the repository browser.