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