source: trunk/client/temi/altro/index.php@ 352

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

Segue adattamento per php7
modifica gestione consultazioni con e senza voto nullo di lista

File size: 1.5 KB
Line 
1<?php
2# altro
3
4include_once("modules/Elezioni/funzioni.php");
5include_once("temi/inc/button.php");
6
7########## no blocco x grafici e risultati
8if (!isset($param['op'])) $param['op']='';
9if($blocco!=1 || $param['op']=="graf_gruppo" || $param['op']=="gruppo_circo" || $param['op']=="gruppo_sezione"
10|| $param['op']=="lista_circo" || $param['op']=="lista_sezione" || $param['op']=="candidato_circo" || $param['op']=="candidato_sezione"
11)$blocco=''; else $blocco=1;
12
13function testata(){
14global $file,$blocco;
15
16
17
18echo '<table style=\"width:798; border-width:0\">
19 <tr>
20 <td class="logoleft"></td>
21 <td class="logo"><a href="modules.php?name=Elezioni">Eleonline</a></td>
22 <td class="logoright"></td>
23 <td class="tag">Consultazioni elettorali</td>
24 <td class="tag">';
25
26 language();
27 flash();
28 noblocco();
29
30echo ' </td> </tr></table> ';
31
32
33if ($file=="index") menu();
34
35 echo "<table class=\"table-main\"><tr>";
36 $check=check_block("dx"); // check exist box
37
38 if ($blocco=='1' && $check!=0){
39 echo "<td valign=\"top\" class=\"sidebar\" style=\"width:220px;\"><table><tr><td>";
40 block("dx");
41 echo "</td></tr></table></td><td>&nbsp;&nbsp;</td><td valign=\"top\">";
42
43 }else {
44 echo "<td valign=\"top\">";
45 }
46
47
48}
49
50function piede(){
51 global $blocco;
52 $check=check_block("sx"); // check exist box
53 if ($blocco=='1' && $check!=0){
54 echo "</td><td>&nbsp;&nbsp;</td><td valign=\"top\" class=\"sidebar\">";
55 block("sx");
56
57 }
58 echo "</td></tr></table>";
59
60
61}
62
63
64
65
66
67?>
Note: See TracBrowser for help on using the repository browser.