source: trunk/admin/temi/altro/index.php@ 2

Last change on this file since 2 was 2, checked in by root, 15 years ago

importo il progetto

File size: 1.4 KB
Line 
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;
12function testata($tema){
13global $nometema,$id_comune,$id_cons_gen,$aid,$dbi,$prefix;
14$nometema=$tema;
15$res_com = mysql_query("SELECT descrizione FROM ".$prefix."_ele_comuni where id_comune='$id_comune'",$dbi);
16$res_cons = mysql_query("SELECT descrizione FROM ".$prefix."_ele_consultazione where id_cons_gen='$id_cons_gen'",$dbi);
17list($descr_comune) = mysql_fetch_row($res_com);
18list($descr_consultazione) = mysql_fetch_row($res_cons);
19
20echo "<div class=\"container\"><table width=\"95%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table-main\">
21<tr><td bgcolor=\"#000000\"><font color=\"#ffffff\"><b>"._COMUNE." "._DI." $descr_comune $descr_consultazione ";
22if ($aid) echo "["._UTENTE.":<font color=\"#ffff00\">$aid</font>]";
23echo "</b></font></td></tr></table>";
24echo "<table width=\"95%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" class=\"table-main\">
25<tr> <td align=\"left\" valign=\"top\" colspan=\"2\">";
26
27
28}
29
30function piede(){
31
32
33}
34
35
36
37// end
38?>
Note: See TracBrowser for help on using the repository browser.