1 | <?php
|
---|
2 | # tema default
|
---|
3 | # for eleonline
|
---|
4 | include_once("modules/Elezioni/funzioni.php");
|
---|
5 | include_once("temi/inc/button.php");
|
---|
6 |
|
---|
7 |
|
---|
8 | ########## no blocco x grafici e risultati
|
---|
9 | if (!isset($param['op'])) $param['op']='';
|
---|
10 | if($blocco!=1 || $param['op']=="graf_gruppo" || $param['op']=="gruppo_circo" || $param['op']=="gruppo_sezione"
|
---|
11 | || $param['op']=="lista_circo" || $param['op']=="lista_sezione" || $param['op']=="candidato_circo" || $param['op']=="candidato_sezione"
|
---|
12 | )$blocco=''; else $blocco=1;
|
---|
13 |
|
---|
14 | function testata(){
|
---|
15 | global $tema,$file,$sitename,$blocco,$dbi,$prefix,$id_comune;
|
---|
16 |
|
---|
17 | $res = mysql_query("SELECT descrizione,simbolo FROM ".$prefix."_ele_comuni where id_comune='$id_comune' ", $dbi);
|
---|
18 | list($descr_com,$simbolo) = mysql_fetch_row($res);
|
---|
19 | $descr_com =stripslashes($descr_com);
|
---|
20 |
|
---|
21 |
|
---|
22 | ?>
|
---|
23 | <div class="wrapper">
|
---|
24 | <div id="header">
|
---|
25 | <h1><a href="index.php">Elezioni</a></h1>
|
---|
26 | <p><?php echo "Comune di $descr_com";?> - Risultati in tempo reale </p>
|
---|
27 | </div>
|
---|
28 | </div>
|
---|
29 | <!-- ####################################################################################################### -->
|
---|
30 | <div class="wrapper">
|
---|
31 | <div id="topbar">
|
---|
32 | <div class="fl_right">
|
---|
33 | <a href="http://www.eleonline.it/site/modules.php?name=Contatti"><i><span style="font-size:13px;"> Eleonline | by luciano apolito & roberto gigli</span></i></a></div>
|
---|
34 | <br class="clear" />
|
---|
35 | </div>
|
---|
36 | </div>
|
---|
37 | <!-- ####################################################################################################### -->
|
---|
38 | <div class="wrapper">
|
---|
39 | <div id="topnav">
|
---|
40 |
|
---|
41 |
|
---|
42 | <?php
|
---|
43 | if ($file=="index") menu();
|
---|
44 | ?>
|
---|
45 |
|
---|
46 | <div class="clear"></div>
|
---|
47 | </div>
|
---|
48 | </div>
|
---|
49 | <br/>
|
---|
50 | <!-- ####################################################################################################### -->
|
---|
51 |
|
---|
52 |
|
---|
53 | <?php
|
---|
54 |
|
---|
55 |
|
---|
56 |
|
---|
57 |
|
---|
58 |
|
---|
59 |
|
---|
60 |
|
---|
61 |
|
---|
62 |
|
---|
63 |
|
---|
64 |
|
---|
65 |
|
---|
66 |
|
---|
67 |
|
---|
68 |
|
---|
69 |
|
---|
70 |
|
---|
71 | echo "<div id=\"container\" >";
|
---|
72 |
|
---|
73 | /*
|
---|
74 | echo ' <a href="modules.php?name=Elezioni">
|
---|
75 | <img class="nobordo" src="temi/'.$tema.'/images/logo.gif" alt="$sitename" width="762" height="89" />
|
---|
76 | </a><br />';
|
---|
77 | */
|
---|
78 | // bottoni
|
---|
79 | //language();flash();noblocco();
|
---|
80 |
|
---|
81 |
|
---|
82 |
|
---|
83 |
|
---|
84 |
|
---|
85 |
|
---|
86 |
|
---|
87 | //if ($file=="index") menu();
|
---|
88 |
|
---|
89 | echo "<table class=\"table-main\" cellpadding=\"0\" cellspacing=\"0\"><tr>";
|
---|
90 | $check=check_block("dx"); // check exist box
|
---|
91 |
|
---|
92 | if ($blocco=='1' && $check!=0){
|
---|
93 | echo "<td valign=\"top\" class=\"sidebar\">";
|
---|
94 | block("dx");
|
---|
95 | echo "</td><td> </td><td valign=\"top\">";
|
---|
96 |
|
---|
97 | }else {
|
---|
98 | echo "<td valign=\"top\">";
|
---|
99 | }
|
---|
100 |
|
---|
101 | }
|
---|
102 |
|
---|
103 | function piede(){
|
---|
104 | global $blocco;
|
---|
105 | $check=check_block("sx"); // check exist box
|
---|
106 | if ($blocco=='1' && $check!=0){
|
---|
107 | echo "</td><td> </td><td valign=\"top\" class=\"sidebar\">";
|
---|
108 | block("sx");
|
---|
109 |
|
---|
110 | }
|
---|
111 | echo "</td></tr></table>";
|
---|
112 | echo "</div>"; #container
|
---|
113 |
|
---|
114 | }
|
---|
115 |
|
---|
116 |
|
---|
117 |
|
---|
118 |
|
---|
119 |
|
---|
120 |
|
---|
121 | ?>
|
---|