Last change
on this file since 199 was 73, checked in by roby, 15 years ago |
client: risistemata funzioni.php per gestione percentuali
|
File size:
1.1 KB
|
Rev | Line | |
---|
[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 |
|
---|
| 10 | if (!defined('MODULE_FILE')) {
|
---|
| 11 | //die ("You can't access this file dirrectly...");
|
---|
| 12 | }
|
---|
| 13 |
|
---|
[40] | 14 | global $descr_cons,$circo,$genere;
|
---|
[2] | 15 |
|
---|
| 16 |
|
---|
| 17 | if($genere!='0' && !$circo){ // referendum e circoscrizionali
|
---|
| 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++){
|
---|
[73] | 23 | echo "<tr><td><strong><big>·</big></strong></td><td>".$gruppo[$x]." </td><td 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.