Rev | Line | |
---|
[2] | 1 | <?php
|
---|
| 2 | /************************************************************************/
|
---|
| 3 | /* Eleonline - Raccolta e diffusione dei dati elettorali */
|
---|
| 4 | /* by Roberto Gigli & Luciano Apolito */
|
---|
| 5 | /* http://www.eleonline.it */
|
---|
| 6 | /* info@eleonline.it luciano@aniene.net rgigli@libero.it */
|
---|
| 7 | /************************************************************************/
|
---|
| 8 |
|
---|
| 9 | // tema
|
---|
| 10 | $bgcolor="#b0b0b0";
|
---|
| 11 | $nometema=$tema;
|
---|
| 12 | function testata($tema){
|
---|
| 13 | global $nometema,$id_comune,$id_cons_gen,$aid,$dbi,$prefix;
|
---|
| 14 | $nometema=$tema;
|
---|
[257] | 15 | $res_com = "SELECT descrizione FROM ".$prefix."_ele_comuni where id_comune='$id_comune'";
|
---|
| 16 | $sth = $dbi->prepare("$sql");
|
---|
| 17 | $sth->execute();
|
---|
| 18 | list($descr_comune) = $sth->fetch(PDO::FETCH_NUM);
|
---|
| 19 | $sql="SELECT descrizione FROM ".$prefix."_ele_consultazione where id_cons_gen='$id_cons_gen'";
|
---|
| 20 | $sth = $dbi->prepare("$sql");
|
---|
| 21 | $sth->execute();
|
---|
| 22 | list($descr_consultazione) = $sth->fetch(PDO::FETCH_NUM);
|
---|
[2] | 23 |
|
---|
| 24 | echo "<div class=\"container\"><table width=\"95%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table-main\">
|
---|
| 25 | <tr><td bgcolor=\"#000000\"><font color=\"#ffffff\"><b>"._COMUNE." "._DI." $descr_comune $descr_consultazione ";
|
---|
| 26 | if ($aid) echo "["._UTENTE.":<font color=\"#ffff00\">$aid</font>]";
|
---|
| 27 | echo "</b></font></td></tr></table>";
|
---|
| 28 | echo "<table width=\"95%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table-main\">
|
---|
| 29 | <tr> <td align=\"left\" valign=\"top\" colspan=\"2\">";
|
---|
| 30 |
|
---|
| 31 |
|
---|
| 32 | }
|
---|
| 33 |
|
---|
| 34 | function piede(){
|
---|
| 35 |
|
---|
| 36 |
|
---|
| 37 | }
|
---|
| 38 |
|
---|
| 39 |
|
---|
| 40 |
|
---|
| 41 | // end
|
---|
| 42 | ?>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.