[241] | 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 |
|
---|
[282] | 17 | $sql="SELECT descrizione,simbolo FROM ".$prefix."_ele_comuni where id_comune='$id_comune' ";
|
---|
| 18 | $res = $dbi->prepare("$sql");
|
---|
| 19 | $res->execute();
|
---|
| 20 | list($descr_com,$simbolo) = $res->fetch(PDO::FETCH_NUM);
|
---|
| 21 | $descr_com =stripslashes($descr_com);
|
---|
[241] | 22 |
|
---|
| 23 |
|
---|
| 24 | ?>
|
---|
| 25 | <div class="wrapper">
|
---|
| 26 | <div id="header">
|
---|
| 27 | <h1><a href="index.php">Elezioni</a></h1>
|
---|
| 28 | <p><?php echo "Comune di $descr_com";?> - Risultati in tempo reale </p>
|
---|
| 29 | </div>
|
---|
| 30 | </div>
|
---|
| 31 | <!-- ####################################################################################################### -->
|
---|
| 32 | <div class="wrapper">
|
---|
| 33 | <div id="topbar">
|
---|
| 34 | <div class="fl_right">
|
---|
| 35 | <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>
|
---|
| 36 | <br class="clear" />
|
---|
| 37 | </div>
|
---|
| 38 | </div>
|
---|
| 39 | <!-- ####################################################################################################### -->
|
---|
| 40 | <div class="wrapper">
|
---|
| 41 | <div id="topnav">
|
---|
| 42 |
|
---|
| 43 |
|
---|
| 44 | <?php
|
---|
| 45 | if ($file=="index") menu();
|
---|
| 46 | ?>
|
---|
| 47 |
|
---|
| 48 | <div class="clear"></div>
|
---|
| 49 | </div>
|
---|
| 50 | </div>
|
---|
| 51 | <br/>
|
---|
| 52 | <!-- ####################################################################################################### -->
|
---|
| 53 |
|
---|
| 54 |
|
---|
| 55 | <?php
|
---|
| 56 |
|
---|
| 57 |
|
---|
| 58 |
|
---|
| 59 |
|
---|
| 60 |
|
---|
| 61 |
|
---|
| 62 |
|
---|
| 63 |
|
---|
| 64 |
|
---|
| 65 |
|
---|
| 66 |
|
---|
| 67 |
|
---|
| 68 |
|
---|
| 69 |
|
---|
| 70 |
|
---|
| 71 |
|
---|
| 72 |
|
---|
| 73 | echo "<div id=\"container\" >";
|
---|
| 74 |
|
---|
| 75 | /*
|
---|
| 76 | echo ' <a href="modules.php?name=Elezioni">
|
---|
| 77 | <img class="nobordo" src="temi/'.$tema.'/images/logo.gif" alt="$sitename" width="762" height="89" />
|
---|
| 78 | </a><br />';
|
---|
| 79 | */
|
---|
| 80 | // bottoni
|
---|
| 81 | //language();flash();noblocco();
|
---|
| 82 |
|
---|
| 83 |
|
---|
| 84 |
|
---|
| 85 |
|
---|
| 86 |
|
---|
| 87 |
|
---|
| 88 |
|
---|
| 89 | //if ($file=="index") menu();
|
---|
| 90 |
|
---|
[352] | 91 | echo "<table class=\"table-main;\"><tr>";
|
---|
[241] | 92 | $check=check_block("dx"); // check exist box
|
---|
| 93 |
|
---|
| 94 | if ($blocco=='1' && $check!=0){
|
---|
| 95 | echo "<td valign=\"top\" class=\"sidebar\">";
|
---|
| 96 | block("dx");
|
---|
| 97 | echo "</td><td> </td><td valign=\"top\">";
|
---|
| 98 |
|
---|
| 99 | }else {
|
---|
| 100 | echo "<td valign=\"top\">";
|
---|
| 101 | }
|
---|
| 102 |
|
---|
| 103 | }
|
---|
| 104 |
|
---|
| 105 | function piede(){
|
---|
| 106 | global $blocco;
|
---|
| 107 | $check=check_block("sx"); // check exist box
|
---|
| 108 | if ($blocco=='1' && $check!=0){
|
---|
| 109 | echo "</td><td> </td><td valign=\"top\" class=\"sidebar\">";
|
---|
| 110 | block("sx");
|
---|
| 111 |
|
---|
| 112 | }
|
---|
| 113 | echo "</td></tr></table>";
|
---|
| 114 | echo "</div>"; #container
|
---|
| 115 |
|
---|
| 116 | }
|
---|
| 117 |
|
---|
| 118 |
|
---|
| 119 |
|
---|
| 120 |
|
---|
| 121 |
|
---|
| 122 |
|
---|
| 123 | ?>
|
---|