- Timestamp:
- Jul 31, 2021, 1:41:30 PM (3 years ago)
- Location:
- trunk
- Files:
-
- 39 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/ele_candidato.php
r344 r352 303 303 $num_cand++; 304 304 } 305 $sql="select id_gruppo from ".$prefix."_ele_lista where id_lista='$id_lista'";306 $sth = $dbi->prepare("$sql"); 307 $sth->execute(); 308 list($id_gruppo )=$sth->fetch(PDO::FETCH_NUM);309 $sql="insert into ".$prefix."_ele_candidati(id_cons,id_lista, cognome,nome,note,simbolo,num_cand) values ('$id_cons','$id_lista','$cognome','$nome','$note','$simbolo','$num_cand')";305 $sql="select id_gruppo,num_lista from ".$prefix."_ele_lista where id_lista='$id_lista'"; 306 $sth = $dbi->prepare("$sql"); 307 $sth->execute(); 308 list($id_gruppo,$num_lista)=$sth->fetch(PDO::FETCH_NUM); 309 $sql="insert into ".$prefix."_ele_candidati(id_cons,id_lista,num_lista,cognome,nome,note,simbolo,num_cand) values ('$id_cons','$id_lista','$num_lista','$cognome','$nome','$note','$simbolo','$num_cand')"; 310 310 $sth = $dbi->prepare("$sql"); 311 311 $sth->execute(); 312 312 $result=$sth->rowCount(); 313 $sql="insert into ".$prefix."_ele_log values ('$id_cons','$id_sez','$username','$data','$tempo','','ADD:id_lista:$id_lista, cognome:$cognome,nome:$nome','".$prefix."_ele_candidati')";313 $sql="insert into ".$prefix."_ele_log values ('$id_cons','$id_sez','$username','$data','$tempo','','ADD:id_lista:$id_lista,num_lista:$num_lista,cognome:$cognome,nome:$nome','".$prefix."_ele_candidati')"; 314 314 $sth = $dbi->prepare("$sql"); 315 315 $sth->execute(); … … 325 325 $pro= $sthcan->fetch(PDO::FETCH_BOTH); 326 326 327 $sql="select id_gruppo from ".$prefix."_ele_lista where id_lista='$id_lista'";328 $sth = $dbi->prepare("$sql"); 329 $sth->execute(); 330 list($id_gruppo )=$sth->fetch(PDO::FETCH_NUM);327 $sql="select id_gruppo,num_lista from ".$prefix."_ele_lista where id_lista='$id_lista'"; 328 $sth = $dbi->prepare("$sql"); 329 $sth->execute(); 330 list($id_gruppo,$num_lista)=$sth->fetch(PDO::FETCH_NUM); 331 331 $cond=''; 332 332 if (isset($note)) {$cond=", note='$note'";} 333 333 if (isset($simbolo)) {$cond.=", simbolo='$simbolo'";} 334 $sql="update ".$prefix."_ele_candidati set id_lista='$id_lista', cognome='$cognome', nome='$nome', num_cand='$num_cand' $cond where id_cand='$id_cand' ";334 $sql="update ".$prefix."_ele_candidati set id_lista='$id_lista', num_lista='$num_lista', cognome='$cognome', nome='$nome', num_cand='$num_cand' $cond where id_cand='$id_cand' "; 335 335 $sth = $dbi->prepare("$sql"); 336 336 $sth->execute(); -
trunk/admin/modules/Elezioni/ele_voti.php
r344 r352 413 413 $result = $dbi->prepare("$sql"); 414 414 $result->execute(); 415 415 416 416 417 417 list($numprefs,$fascia,$id_conf,$flagsg,$disgiunto)=$result->fetch(PDO::FETCH_NUM); … … 797 797 if (($genere==3 OR $genere==5) and (!$id_lista) and (($disgiunto or $fascia>$limite) or !$id_conf)) { //gruppo e liste 798 798 echo "<tr bgcolor=\"$bgcolor2\"><td></td><td><b>"._VALIDI_LISTA."</b></td><td align=\"center\"><input type=\"hidden\" name=\"id_sez\" value=\"$id_sez\"><input name=\"valista\" value=\"$valista\" size=\"5\" style=\"text-align:right\"></td></tr>"; 799 echo "<tr bgcolor=\"$bgcolor2\"><td></td><td><b>"._SOLO_GRUPPO."</b></td><td align=\"center\"><input name=\"sg\" value=\"$sg\" size=\"5\" style=\"text-align:right\"></td></tr>"; 800 echo "<tr bgcolor=\"$bgcolor2\"><td></td><td><b>"._NULLI_LISTE."</b></td><td align=\"center\"><input name=\"votinulli\" value=\"$votinulli\" size=\"5\" style=\"text-align:right\">" 799 echo "<tr bgcolor=\"$bgcolor2\"><td></td><td><b>"._SOLO_GRUPPO."</b></td><td align=\"center\"><input name=\"sg\" value=\"$sg\" size=\"5\" style=\"text-align:right\">"; 800 if(defined('_NULLISTA')) 801 echo "<input type=\"hidden\" name=\"votinulli\" value=\"$votinulli\"><input type=\"hidden\" name=\"contestati\" value=\"$contestati\"></td></tr>"; 802 else 803 echo "</td></tr><tr bgcolor=\"$bgcolor2\"><td></td><td><b>"._NULLI_LISTE."</b></td><td align=\"center\"><input name=\"votinulli\" value=\"$votinulli\" size=\"5\" style=\"text-align:right\">" 801 804 ."</td></tr><tr bgcolor=\"$bgcolor2\"><td></td><td><b>"._CONTESTATI_LISTE."</b></td><td align=\"center\"><input name=\"contestati\" value=\"$contestati\" size=\"5\" style=\"text-align:right\"></td></tr>"; 802 805 -
trunk/admin/modules/Elezioni/language/lang-it.php
r341 r352 167 167 define("_ATT_TOT_UNI","non corrisponde al totale per il solo candidato uninominale"); 168 168 define("_DESCRCONS","CAMERA"); 169 define("_NULLISTA",0); 169 170 break; 170 171 case 19: … … 177 178 define("_ATT_TOT_UNI","non corrisponde al totale per il solo candidato uninominale"); 178 179 define("_DESCRCONS","CAMERA"); 180 define("_NULLISTA",0); 179 181 break; 180 182 -
trunk/admin/modules/Elezioni/salva_gruppi.php
r344 r352 80 80 $res = $dbi->prepare("$sql"); 81 81 $res->execute(); 82 $sql="update ".$prefix."_ele_sezioni set validi_lista=' ',contestati_lista='',voti_nulli_lista='',solo_gruppo='',solo_lista='' where id_cons='$id_cons' and id_sez='$id_sez'";82 $sql="update ".$prefix."_ele_sezioni set validi_lista='0',contestati_lista='0',voti_nulli_lista='0',solo_gruppo='0',solo_lista='0' where id_cons='$id_cons' and id_sez='$id_sez'"; 83 83 $res = $dbi->prepare("$sql"); 84 84 $res->execute(); -
trunk/admin/modules/Elezioni/salva_liste.php
r344 r352 105 105 $res = $dbi->prepare("$sql"); 106 106 $res->execute(); 107 $sql="update ".$prefix."_ele_sezioni set validi_lista=' ',contestati_lista='',voti_nulli_lista='',solo_gruppo='',solo_lista='' where id_cons='$id_cons' and id_sez='$id_sez'";107 $sql="update ".$prefix."_ele_sezioni set validi_lista='0',contestati_lista='0',voti_nulli_lista='0',solo_gruppo='0',solo_lista='0' where id_cons='$id_cons' and id_sez='$id_sez'"; 108 108 $res = $dbi->prepare("$sql"); 109 109 $res->execute(); -
trunk/admin/modules/Elezioni/salva_voti.php
r344 r352 24 24 } 25 25 26 if (isset($_GET['genere'])) $genere= addslashes($_GET['genere']); else $genere='';27 if (isset($_GET['id_cons_gen'])) $id_cons_gen= addslashes($_GET['id_cons_gen']); else $id_cons_gen='';28 if (isset($_GET['id_cons'])) $id_cons= addslashes($_GET['id_cons']); else $id_cons='';29 if (isset($_GET['op'])) $op= addslashes($_GET['op']); else $op='';30 if (isset($_GET['id_circ'])) $id_circ= addslashes($_GET['id_circ']); else $id_circ='';31 if (isset($_GET['id_sez'])) $id_sez= addslashes($_GET['id_sez']); else $id_sez='';32 if (isset($_GET['id_sede'])) $id_sede= addslashes($_GET['id_sede']); else $id_sede='';33 if (isset($_GET['validi'])) $validi= addslashes($_GET['validi']); else $validi='';26 if (isset($_GET['genere'])) $genere=intval($_GET['genere']); else $genere=''; 27 if (isset($_GET['id_cons_gen'])) $id_cons_gen=intval($_GET['id_cons_gen']); else $id_cons_gen=''; 28 if (isset($_GET['id_cons'])) $id_cons=intval($_GET['id_cons']); else $id_cons=''; 29 if (isset($_GET['op'])) $op=intval($_GET['op']); else $op=''; 30 if (isset($_GET['id_circ'])) $id_circ=intval($_GET['id_circ']); else $id_circ=''; 31 if (isset($_GET['id_sez'])) $id_sez=intval($_GET['id_sez']); else $id_sez=''; 32 if (isset($_GET['id_sede'])) $id_sede=intval($_GET['id_sede']); else $id_sede=''; 33 if (isset($_GET['validi'])) $validi=intval($_GET['validi']); else $validi=''; 34 34 if (isset($_GET['nulli'])) $nulli=intval($_GET['nulli']); else $nulli=''; 35 if (isset($_GET['bianchi'])) $bianchi= addslashes($_GET['bianchi']); else $bianchi='';36 if (isset($_GET['contestati'])) $contestati= addslashes($_GET['contestati']); else $contestati='';37 if (isset($_GET['votinulli'])) $votinulli= addslashes($_GET['votinulli']); else $votinulli='01-01-1900';38 if (isset($_GET['id_comune'])) $id_comune= addslashes($_GET['id_comune']); else $id_comune='';39 if (isset($_GET['ops'])) $ops= addslashes($_GET['ops']); else $ops='';40 if (isset($_GET['delete'])) $delete= addslashes($_GET['delete']); else $delete='';35 if (isset($_GET['bianchi'])) $bianchi=intval($_GET['bianchi']); else $bianchi=''; 36 if (isset($_GET['contestati'])) $contestati=intval($_GET['contestati']); else $contestati=''; 37 if (isset($_GET['votinulli'])) $votinulli=intval($_GET['votinulli']); else $votinulli='01-01-1900'; 38 if (isset($_GET['id_comune'])) $id_comune=intval($_GET['id_comune']); else $id_comune=''; 39 if (isset($_GET['ops'])) $ops=intval($_GET['ops']); else $ops=''; 40 if (isset($_GET['delete'])) $delete=intval($_GET['delete']); else $delete=''; 41 41 42 42 global $prefix,$id_parz,$genere,$fileout,$id_cons; -
trunk/admin/versione.php
r351 r352 1 1 <?php 2 2 3 $versione = "3.0 rev 35 1";3 $versione = "3.0 rev 352"; 4 4 $version_number = $versione; 5 $datarel = " 27 maggio 2021";5 $datarel = "30 luglio 2021"; 6 6 $version = "Eleonline $version_number (<i>Data Release: $datarel</i>)"; 7 7 -
trunk/client/modules/Elezioni/affluenze.php
r350 r352 224 224 # if(($data==$ultdata) and ($ora==$ultora)) 225 225 { 226 $tot[$data.$ora]="<table class=\"td-89\" width=\"100%\"><tr class=\"bggray2\"><td class=\"td-30\">226 $tot[$data.$ora]="<table class=\"td-89\"><tr class=\"bggray2\"><td class=\"td-30\"> 227 227 <b>".number_format($votiu,0,',','.')."</b></td><td class=\"td-30\"> 228 228 <b>".number_format($votid,0,',','.')."</b></td><td> -
trunk/client/modules/Elezioni/blocchi/off_Votanti.php
r278 r352 84 84 85 85 86 87 echo "<table bgcolor=\"gray\" class=\"modulo\" width=\"100%\" cellspacing=\"1\">"; 86 echo "<table style=\"width=100%;border-collapse: collapse;background-gcolor:gray\" class=\"modulo\">"; 88 87 if ($genere==0) {echo "<br/>Referendum n. <b>[$num_gruppo]</b><br/>";} 89 88 echo " 90 <tr bgcolor=\"#ffffff\"><td ><b>"._AVENTI."</b></td><td>$tot_aventi</td><td><span class=\"red\">100%</span></td></tr>89 <tr bgcolor=\"#ffffff\"><td style=\"padding: 1px;\"><b>"._AVENTI."</b></td><td>$tot_aventi</td><td><span class=\"red\">100%</span></td></tr> 91 90 92 <tr bgcolor=\"#ffffff\"><td ><b>"._VOTANTI."</b></td><td>$tot_votanti</td><td><span class=\"red\">$perc_votanti%</span></td></tr>91 <tr bgcolor=\"#ffffff\"><td style=\"padding: 1px;\"><b>"._VOTANTI."</b></td><td>$tot_votanti</td><td><span class=\"red\">$perc_votanti%</span></td></tr> 93 92 94 <tr bgcolor=\"#ffffff\"><td >"._VALIDI."</td><td>$validi</td><td><span class=\"red\">$perc_validi%</span></td></tr>93 <tr bgcolor=\"#ffffff\"><td style=\"padding: 1px;\">"._VALIDI."</td><td>$validi</td><td><span class=\"red\">$perc_validi%</span></td></tr> 95 94 96 <tr bgcolor=\"#ffffff\"><td >"._NULLI."</td><td>$nulli</td><td><span class=\"red\">$perc_nulli%</span></td></tr>95 <tr bgcolor=\"#ffffff\"><td style=\"padding: 1px;\">"._NULLI."</td><td>$nulli</td><td><span class=\"red\">$perc_nulli%</span></td></tr> 97 96 98 <tr bgcolor=\"#ffffff\"><td >"._BIANCHI."</td><td>$bianchi</td><td><span class=\"red\">$perc_bianchi%</span></td></tr>97 <tr bgcolor=\"#ffffff\"><td style=\"padding: 1px;\">"._BIANCHI."</td><td>$bianchi</td><td><span class=\"red\">$perc_bianchi%</span></td></tr> 99 98 100 <tr bgcolor=\"#ffffff\"><td >"._CONTESTATI."</td><td>$contestati</td><td><span class=\"red\">$perc_conte%</span></td></tr>99 <tr bgcolor=\"#ffffff\"><td style=\"padding: 1px;\">"._CONTESTATI."</td><td>$contestati</td><td><span class=\"red\">$perc_conte%</span></td></tr> 101 100 102 101 </table>"; -
trunk/client/modules/Elezioni/confronti.php
r265 r352 183 183 if($grp3)echo "<input type=\"hidden\" name=\"grp3\" value=\"$grp3\"/>"; 184 184 echo "<br/>"; 185 echo "<table cellspacing=\"0\" cellpadding=\"2\" border=\"1\"><tr class=\"bggray\"><td bgcolor=\"$bgcolor1\" colspan=\"5\">"._CONSULTAZIONE.": <b>$descr</b><br/>"._SCELTA_LISTE."</td></tr><tr class=\"bggray\"><td bgcolor=\"$bgcolor1\" colspan=\"2\"></td>";186 if($grp1)echo "<td bgcolor=\"$bgcolor1\"><b>$grp1</b></td>";187 if($grp2)echo "<td bgcolor=\"$bgcolor1\"><b>$grp2</b></td>";188 echo "<td bgcolor=\"$bgcolor1\"><b>"._ALTROGRP."</b></td>";185 echo "<table style=\"border-collapse: collapse; border: 2px solid black;\"><tr class=\"bggray\"><td style=\"padding:5px;background-color:$bgcolor1;\">"._CONSULTAZIONE.": <b>$descr</b><br/>"._SCELTA_LISTE."</td></tr><tr class=\"bggray\"><td style=\"padding:2px;background-color:$bgcolor1;\"></td>"; 186 if($grp1)echo "<td style=\"background-color:$bgcolor1;\"><b>$grp1</b></td>"; 187 if($grp2)echo "<td style=\"background-color:$bgcolor1;\"><b>$grp2</b></td>"; 188 echo "<td style=\"background-color:$bgcolor1;\"><b>"._ALTROGRP."</b></td>"; 189 189 echo "</tr>"; 190 190 $z=1; -
trunk/client/modules/Elezioni/crea_paginaphp5.php
r348 r352 112 112 113 113 114 $html .= "<table class=\"table-docs\" cellspacing=\"0\" cellpadding=\"2\" border=\"1\" rules=\"all\">";114 $html .= "<table class=\"table-docs\" style=\"border-collapse: collapse;border:=1px solid black;\">"; 115 115 116 116 … … 246 246 247 247 248 $style .="<table style=\"margin: auto; \" cellspace=0 border=0 cellpadding=0><tr><td border=0>$immagine</td> ";248 $style .="<table style=\"margin: auto;border-collapse: collapse;\"><tr><td border=0>$immagine</td> "; 249 249 250 250 $style .= "<td border=0>$datipdf</td></tr></table><br/><br/>"; 251 251 $style .= "<table style=\"margin: auto;\"><tr><td>$html</td></tr></table>"; 252 $style .= "<table style=\"margin: auto; \" cellspace=0 border=0 cellpadding=0><tr><td border=0>";252 $style .= "<table style=\"margin: auto;border-collapse: collapse;\"><tr><td border=0>"; 253 253 254 254 $data=date("d-m-y G:i"); -
trunk/client/modules/Elezioni/crea_paginaphp7.php
r348 r352 115 115 116 116 117 $html .= "<table class=\"table-docs\" cellspacing=\"0\" cellpadding=\"2\" border=\"1\" rules=\"all\">";117 $html .= "<table class=\"table-docs\" style=\"border-collapse: collapse;border:=1px solid black;\">"; 118 118 119 119 … … 143 143 } 144 144 $html .= "$t $i>$cella $f"; 145 $i= '';145 $i="class=\"td-130b\""; 146 146 147 147 } … … 164 164 echo $html; 165 165 }else{ 166 167 # padding: 1px; 168 # border: solid #666666; 169 /* margin: 4px 4px 40px;*/ 166 170 167 171 $style =" … … 170 174 .table-docs { 171 175 font-size: 10px; 172 padding: 1px;173 176 color: #000000; 174 /* margin: 4px 4px 40px;*/175 border: solid #666666;176 177 text-align:center; 178 border: 1px solid black; 177 179 } 178 180 .bggray { … … 180 182 FONT-SIZE: 13px; 181 183 FONT-FAMILY: Helvetica; 182 border: 1px;183 184 } 184 185 … … 187 188 FONT-SIZE: 13px; 188 189 FONT-FAMILY: Helvetica; 189 border: 1px;190 190 } 191 191 … … 216 216 float: right; 217 217 text-align:left; 218 margin: 0px 0 01px;218 margin: 0px 0px 0px 1px; 219 219 width: 130px; 220 border: none; 221 padding: 0px; 220 border: 1px solid black; 222 221 } 223 222 224 223 td { 225 border: .2px;224 border: 2px solid black; 226 225 } 227 226 .red { … … 249 248 250 249 251 $style .="<table style=\"margin: auto; \" cellspace=0 border=0 cellpadding=0><tr><td border=0>$immagine</td> ";250 $style .="<table style=\"margin: auto;border-collapse: collapse;\"><tr><td border=0>$immagine</td> "; 252 251 253 252 $style .= "<td border=0>$datipdf</td></tr></table><br/><br/>"; 254 253 $style .= "<table style=\"margin: auto;\"><tr><td>$html</td></tr></table>"; 255 $style .= "<table style=\"margin: auto; \" cellspace=0 border=0 cellpadding=0><tr><td border=0>";254 $style .= "<table style=\"margin: auto;border-collapse: collapse;\"><tr><td border=0>"; 256 255 257 256 $data=date("d-m-y G:i"); -
trunk/client/modules/Elezioni/grafici.php
r350 r352 499 499 <tr> 500 500 <td><br /> 501 <table cellspacing=\"0\" cellpadding=\"2\" rules=\"cols\">";501 <table style=\"border-collapse: collapse;\" rules=\"cols\">"; 502 502 // inizio tabella dati 503 503 // variabili stampa flash … … 564 564 $bgcolor1= ($bgcolor1=="#cacaca") ? "#ffffff":"#cacaca"; 565 565 echo "<tr valign=\"top\"> 566 <td valign=\"top\"><b><img src=\"modules.php?name=Elezioni&file=foto&$cosa=$id\" class=\"stemmapic\" alt=\"descrizione\" /></b></td>566 <td style=\"vertical-align=:top;\"><b><img src=\"modules.php?name=Elezioni&file=foto&$cosa=$id\" class=\"stemmapic\" alt=\"descrizione\" /></b></td> 567 567 <td><b>$descrizione</b></td> 568 568 <td>"._VOTI."</td><td align=\"right\">$votiv</td><td align=\"right\"> <i>($prov%)</i></td> … … 601 601 global $tema; 602 602 if($tema!="tour") echo "</tr><tr>"; 603 echo "<td valign=\"top\"><br />";603 echo "<td style=\"vertical-align=:top;\"><br />"; 604 604 # grafico statico 605 605 echo "<img src='modules/Elezioni/grafici/barre.php?dati1=$dati1&dati2=$dati2&i=$i&cop=$copy&titolo=$titolo&descr=$descr_cons&l=$l&w=$w&logo=$logo' alt=\"Grafico\" />"; -
trunk/client/modules/Elezioni/gruppo.php
r351 r352 299 299 300 300 if ($circo) $condcirc="and t5.id_circ=$id_circ"; 301 if ($tab=="gruppo" or $genere==4 or ($genere==5 and $votog) )301 if ($tab=="gruppo" or $genere==4 or ($genere==5 and $votog) or defined('_NULLISTA')) 302 302 $votigl=" sum(t3.validi),sum(t3.nulli),sum(t3.bianchi),sum(t3.contestati),sum(t3.voti_nulli)"; 303 303 else 304 if ($votog) $votigl=" (t3.validi_lista),(t3.nulli),(t3.bianchi),(t3.contestati),(t3.voti_nulli )";304 if ($votog) $votigl=" (t3.validi_lista),(t3.nulli),(t3.bianchi),(t3.contestati),(t3.voti_nulli_lista+t3.voti_nulli)"; 305 305 else $votigl=" sum(t3.validi_lista),sum(t3.nulli),sum(t3.bianchi),sum(t3.contestati_lista),sum(t3.voti_nulli_lista+t3.voti_nulli)"; 306 306 $sqlvoti="select $tab2, $t.num_$tab15, $t.descrizione, sum(t2.voti), $votigl … … 576 576 $maxpos=max($pos); 577 577 //////////////////////////////////////////////////////////////////// 578 if ($tab=="gruppo" or $genere==4 or ($genere==5 and $votog) )578 if ($tab=="gruppo" or $genere==4 or ($genere==5 and $votog) or defined('_NULLISTA')) 579 579 $sqlvoti2="select $tab3, sum(t3.validi),sum(t3.nulli),sum(t3.bianchi),sum(t3.contestati),sum(t3.voti_nulli) from ".$prefix."_ele_circoscrizione as t5, ".$prefix."_ele_sezioni as t3, ".$prefix."_ele_sede as t4 where t5.id_cons=$id_cons and t5.id_circ=t4.id_circ and t3.id_sede=t4.id_sede group by $tab3"; 580 580 else 581 if (strstr( $op,'circo')) $sqlvoti2="select t1.num_circ, sum(t3.validi_lista),sum(t3.nulli),sum(t3.bianchi),sum(t3.contestati),sum(t3.voti_nulli ) from ".$prefix."_ele_circoscrizione as t1, ".$prefix."_ele_sezioni as t3, ".$prefix."_ele_sede as t4 where t1.id_cons=$id_cons and t1.id_circ=t4.id_circ and t3.id_sede=t4.id_sede group by t1.num_circ";581 if (strstr( $op,'circo')) $sqlvoti2="select t1.num_circ, sum(t3.validi_lista),sum(t3.nulli),sum(t3.bianchi),sum(t3.contestati),sum(t3.voti_nulli_lista+t3.voti_nulli) from ".$prefix."_ele_circoscrizione as t1, ".$prefix."_ele_sezioni as t3, ".$prefix."_ele_sede as t4 where t1.id_cons=$id_cons and t1.id_circ=t4.id_circ and t3.id_sede=t4.id_sede group by t1.num_circ"; 582 582 583 583 else $sqlvoti2="select t3.num_sez, (t3.validi_lista),(t3.nulli),(t3.bianchi),(t3.contestati_lista),(t3.voti_nulli_lista+t3.voti_nulli) from ".$prefix."_ele_sezioni as t3 where t3.id_cons=$id_cons "; … … 612 612 } 613 613 $piuvot=0; 614 if ($visvot!='cand') $piuvot=5;614 if ($visvot!='cand') if(!defined('_NULLISTA')) $piuvot=5; else $piuvot=4; 615 615 for ($y=$min;$y<=($offset+$piuvot);$y++) $ar[0][$y]=" "; 616 616 if (strstr( $op,'circo')) … … 678 678 $ar[0][$posvoti+3]='<b>Schede Bianche</b>'; 679 679 $ar[0][$posvoti+4]='<b>Voti Contestati</b>'; 680 $ar[0][$posvoti+5]='<b>Voti Nulli</b>';680 if(!defined('_NULLISTA')) $ar[0][$posvoti+5]='<b>Voti Nulli</b>'; 681 681 if (($maxpos)>=$num_circ and $minpos<=$num_circ){ 682 682 //$posvoti++; … … 685 685 $ar[($z)][$posvoti+3]="<b>$biasez[$z]</b>"; 686 686 $ar[($z)][$posvoti+4]="<b>$consez[$z]</b>"; 687 $ar[($z)][$posvoti+5]="<b>$vonsez[$z]</b>";687 if(!defined('_NULLISTA')) $ar[($z)][$posvoti+5]="<b>$vonsez[$z]</b>"; 688 688 } 689 689 } … … 695 695 if(isset($temp)) { 696 696 if (!isset($tab15) or !$tab15) $tab15="candidati"; 697 if($tab15=="gruppo" or $genere==4 ){697 if($tab15=="gruppo" or $genere==4 or defined('_NULLISTA')){ 698 698 if($votog) $tab15="lista"; 699 699 $votigl=" sum(validi),sum(nulli),sum(bianchi),sum(contestati),sum(voti_nulli)"; … … 702 702 }else{ 703 703 if($dettnulli) $votigl=" sum(validi_lista),sum(nulli),sum(bianchi),sum(contestati_lista),sum(voti_nulli_lista+voti_nulli)"; 704 else $votigl=" sum(validi_lista),sum(nulli),sum(bianchi),sum(contestati_lista),sum(voti_nulli )";704 else $votigl=" sum(validi_lista),sum(nulli),sum(bianchi),sum(contestati_lista),sum(voti_nulli_lista+voti_nulli)"; 705 705 } 706 706 if($circo) … … 729 729 if ($visvot!='cand') { 730 730 $key=$offset+1; 731 $tmp=array($sevaltot,$senultot,$sebiatot,$secontot,$sevnutot); 731 if(!defined('_NULLISTA')) $tmp=array($sevaltot,$senultot,$sebiatot,$secontot,$sevnutot); 732 else $tmp=array($sevaltot,$senultot,$sebiatot,$secontot); 732 733 if($perc) $temp3=arrayperc($tmp,$voticompl); 733 734 -
trunk/client/modules/Elezioni/language/lang-it.php
r340 r352 488 488 define("_DESCRCONS","CAMERA"); 489 489 define("_CONSI","Candidato"); 490 define("_NULLISTA",0); 490 491 break; 491 492 case 19: … … 501 502 define("_DESCRCONS","CAMERA"); 502 503 define("_CONSI","Candidato"); 504 define("_NULLISTA",0); 503 505 break; 504 506 -
trunk/client/temi/Futura2/style.css
r253 r352 458 458 } 459 459 .td-130c { 460 float: right;461 460 text-align:left; 462 margin: 0px 0 0 1px;461 margin: 0px 0 0 0px; 463 462 width: 130px; 464 border: none; 465 466 padding: 0px; 467 } 463 padding: 0px; 464 border: .5px solid black; 465 } 466 .td-130b { 467 border: .5px solid black; 468 font-family: Verdana, Arial, Helvetica, sans-serif; 469 font-size: 12px; 470 margin-top: 0px; 471 margin: 0; 472 } 468 473 .td-vuoto { 469 474 -
trunk/client/temi/altro/index.php
r249 r352 16 16 17 17 18 echo '<table width="798" border="0" cellspacing="0" cellpadding="0">18 echo '<table style=\"width:798; border-width:0\"> 19 19 <tr> 20 20 <td class="logoleft"></td> … … 33 33 if ($file=="index") menu(); 34 34 35 echo "<table class=\"table-main\" cellpadding=\"0\" cellspacing=\"0\"><tr>";35 echo "<table class=\"table-main\"><tr>"; 36 36 $check=check_block("dx"); // check exist box 37 37 -
trunk/client/temi/altro/menu.php
r344 r352 25 25 list($fascia)=$rescomu->fetch(PDO::FETCH_NUM); 26 26 echo "\n"; 27 echo ' <table cellpadding="0" cellspacing="0" style="border:0px;text-align:left;width=100%;"><tr><td>27 echo ' <table style="border:0px;text-align:left;width:100%;border-collapse: collapse;"><tr><td style="padding: 0px;"> 28 28 <header class="main-header"> 29 29 <ul class="main-nav"> … … 56 56 while (list($id,$descrizione,)=$rescomu->fetch(PDO::FETCH_NUM)){ 57 57 echo "<li><a href=\"modules.php?op=gruppo&name=Elezioni&id_comune=$id&file=index\"> 58 <img src=\"modules/Elezioni/images/logo.gif\" width=\"16\" height=\"16\" class=\"nobordo\" > $descrizione</a></li>";58 <img src=\"modules/Elezioni/images/logo.gif\" width=\"16\" height=\"16\" class=\"nobordo\" alt=\"logo\"> $descrizione</a></li>"; 59 59 } 60 60 echo "</ul></li>"; -
trunk/client/temi/altro/style.css
r243 r352 289 289 290 290 .td-130c { 291 float: right;292 291 text-align:left; 293 margin: 0px 0 0 1px;292 margin: 0px 0 0 0px; 294 293 width: 130px; 295 border: none; 296 297 padding: 0px; 298 } 294 padding: 0px; 295 border: .5px solid black; 296 } 297 .td-130b { 298 border: .5px solid black; 299 font-family: Verdana, Arial, Helvetica, sans-serif; 300 font-size: 12px; 301 margin-top: 0px; 302 margin: 0; 303 } 299 304 300 305 /* sinistra */ -
trunk/client/temi/blog/index.php
r139 r352 30 30 31 31 if ($file=="index") menu(); 32 echo "<table cellpadding=\"0\" cellspacing=\"0\"><tr>";32 echo "<table style=\"border-collapse: collapse;\"><tr>"; 33 33 34 34 -
trunk/client/temi/blog/menu.php
r344 r352 25 25 list($fascia)=$rescomu->fetch(PDO::FETCH_NUM); 26 26 27 echo ' <table cellpadding="0" cellspacing="0" style="border:0px;text-align:left;"><tr><td>27 echo ' <table style="border:0px;text-align:left;width=100%;border-collapse: collapse;"><tr><td style="padding: 0px;"> 28 28 <ul class="main-nav"> 29 29 <li> -
trunk/client/temi/blog/style.css
r139 r352 81 81 82 82 #page { 83 width: 980px;83 width: 1100px; 84 84 margin: 0 auto; 85 85 padding: 60px 0px; … … 570 570 } 571 571 .td-130c { 572 float: right;573 572 text-align:left; 574 margin: 0px 0 0 1px;573 margin: 0px 0 0 0px; 575 574 width: 130px; 576 border: none; 577 578 padding: 0px; 579 } 575 padding: 0px; 576 border: .5px solid black; 577 } 578 .td-130b { 579 border: .5px solid black; 580 font-family: Verdana, Arial, Helvetica, sans-serif; 581 font-size: 12px; 582 margin-top: 0px; 583 margin: 0; 584 } 580 585 .td-vuoto { 581 586 -
trunk/client/temi/default/index.php
r139 r352 29 29 if ($file=="index") menu(); 30 30 31 echo "<table class=\"table-main\" cellpadding=\"0\" cellspacing=\"0\"><tr>";31 echo "<table class=\"table-main\"><tr>"; 32 32 $check=check_block("dx"); // check exist box 33 33 -
trunk/client/temi/default/menu.php
r344 r352 25 25 list($fascia)=$rescomu->fetch(PDO::FETCH_NUM); 26 26 27 echo ' <table cellpadding="0" cellspacing="0" style="border:0px;text-align:left;"><tr><td>28 27 echo ' <table style="border:0px;text-align:left;width=100%;border-collapse: collapse;"><tr><td style="padding: 0px;"> 28 <header class="main-header"> 29 29 <ul class="main-nav"> 30 30 <li> -
trunk/client/temi/default/style.css
r243 r352 458 458 } 459 459 .td-130c { 460 float: right;461 460 text-align:left; 462 margin: 0px 0 0 1px;461 margin: 0px 0 0 0px; 463 462 width: 130px; 464 border: none; 465 466 padding: 0px; 467 } 463 padding: 0px; 464 border: .5px solid black; 465 } 466 .td-130b { 467 border: .5px solid black; 468 font-family: Verdana, Arial, Helvetica, sans-serif; 469 font-size: 12px; 470 margin-top: 0px; 471 margin: 0; 472 } 468 473 .td-vuoto { 469 474 -
trunk/client/temi/facebook/index.php
r347 r352 26 26 if ($file=="index") menu(); 27 27 28 echo "<table class=\"table-main\" cellpadding=\"0\" cellspacing=\"0\"><tr>";28 echo "<table class=\"table-main\"><tr>"; 29 29 $check=check_block("dx"); // check exist box 30 30 -
trunk/client/temi/facebook/style.css
r347 r352 333 333 334 334 .td-130c { 335 float: right;336 335 text-align:left; 337 margin: 0px 0 0 1px;336 margin: 0px 0 0 0px; 338 337 width: 130px; 339 border: none; 340 341 padding: 0px; 342 } 338 padding: 0px; 339 border: .5px solid black; 340 } 341 .td-130b { 342 border: .5px solid black; 343 font-family: Verdana, Arial, Helvetica, sans-serif; 344 font-size: 12px; 345 margin-top: 0px; 346 margin: 0; 347 } 343 348 344 349 .td-big { -
trunk/client/temi/realistic/index.php
r282 r352 89 89 //if ($file=="index") menu(); 90 90 91 echo "<table class=\"table-main \" cellpadding=\"0\" cellspacing=\"0\"><tr>";91 echo "<table class=\"table-main;\"><tr>"; 92 92 $check=check_block("dx"); // check exist box 93 93 -
trunk/client/temi/realistic/style.css
r318 r352 459 459 } 460 460 .td-130c { 461 float: right;462 461 text-align:left; 463 margin: 0px 0 0 1px;462 margin: 0px 0 0 0px; 464 463 width: 130px; 465 border: none; 466 467 padding: 0px; 468 } 464 padding: 0px; 465 border: .5px solid black; 466 } 467 .td-130b { 468 border: .5px solid black; 469 font-family: Verdana, Arial, Helvetica, sans-serif; 470 font-size: 12px; 471 margin-top: 0px; 472 margin: 0; 473 } 469 474 .td-vuoto { 470 475 -
trunk/client/temi/spectral/style.css
r241 r352 466 466 467 467 } 468 468 469 .td-130c { 469 float: right;470 470 text-align:left; 471 margin: 0px 0 0 1px;471 margin: 0px 0 0 0px; 472 472 width: 130px; 473 border: none;473 padding: 0px; 474 474 color:#000; 475 padding: 0px; 475 border: .5px solid black; 476 } 477 .td-130b { 478 border: .5px solid black; 479 font-family: Verdana, Arial, Helvetica, sans-serif; 480 font-size: 12px; 481 margin-top: 0px; 482 margin: 0; 476 483 } 477 484 .td-vuoto { -
trunk/client/temi/stylized/menu.php
r344 r352 25 25 list($fascia)=$rescomu->fetch(PDO::FETCH_NUM); 26 26 27 echo ' <table cellpadding="0" cellspacing="0" style="border:0px;text-align:left;"><tr><td>27 echo ' <table style="border:0px;text-align:left;width=100%;border-collapse: collapse;"><tr><td style="padding: 0px;"> 28 28 <header class="main-header"> 29 29 <ul class="main-nav"> -
trunk/client/temi/stylized/style.css
r242 r352 388 388 } 389 389 .td-130c { 390 float: right;391 390 text-align:left; 392 margin: 0px 0 0 1px;391 margin: 0px 0 0 0px; 393 392 width: 130px; 394 border: none; 395 396 padding: 0px; 397 } 393 padding: 0px; 394 border: .5px solid black; 395 } 396 .td-130b { 397 border: .5px solid black; 398 font-family: Verdana, Arial, Helvetica, sans-serif; 399 font-size: 12px; 400 margin-top: 0px; 401 margin: 0; 402 } 398 403 399 404 /* sinistra */ -
trunk/client/temi/tour/index.php
r282 r352 73 73 <h1>'; 74 74 echo "<a href=\"modules.php?name=Elezioni\"> $descr_com</a>"; 75 echo '</ a></h1>75 echo '</h1> 76 76 <b>consultazioni elettorali on line </b> <a href="http://www.eleonline.it"> <i>by l.apolito e r.gigli</i></a> 77 77 <br/> -
trunk/client/temi/tour/menu.php
r344 r352 25 25 list($fascia)=$rescomu->fetch(PDO::FETCH_NUM); 26 26 27 echo ' <table cellpadding="0" cellspacing="0" style="border:0px;text-align:left;"><tr><td>27 echo ' <table style="border:0px;text-align:left;width=100%;border-collapse: collapse;"><tr><td style="padding: 0px;"> 28 28 <ul class="main-nav"> 29 29 <li> -
trunk/client/temi/tour/style.css
r242 r352 74 74 75 75 #page { 76 width: 970px;76 width: 1100px; 77 77 margin: 0 auto; 78 78 padding: 30px 0; … … 366 366 } 367 367 .td-130c { 368 float: right;369 368 text-align:left; 370 margin: 0px 0 0 1px;369 margin: 0px 0 0 0px; 371 370 width: 130px; 372 border: none; 373 374 padding: 0px; 371 padding: 0px; 372 border: .5px solid black; 373 } 374 .td-130b { 375 border: .5px solid black; 376 font-family: Verdana, Arial, Helvetica, sans-serif; 377 font-size: 12px; 378 margin-top: 0px; 379 margin: 0; 375 380 } 376 381 -
trunk/client/temi/yellowblu/index.php
r282 r352 52 52 echo ' 53 53 <div id="page">'; 54 echo "<table cellpadding=\"0\" cellspacing=\"0\"><tr>";54 echo "<table style=\"border-collapse: collapse;\"><tr>"; 55 55 56 56 -
trunk/client/temi/yellowblu/menu.php
r344 r352 25 25 list($fascia)=$rescomu->fetch(PDO::FETCH_NUM); 26 26 27 echo ' <table cellpadding="0" cellspacing="0" style="border:0px;text-align:left;"><tr><td>27 echo ' <table style="border:0px;text-align:left;width=100%;border-collapse: collapse;"><tr><td style="padding: 0px;"> 28 28 <header class="main-header"> 29 29 <ul class="main-nav"> -
trunk/client/temi/yellowblu/style.css
r242 r352 103 103 104 104 #page { 105 width: 970px;105 width: 1100px; 106 106 margin: 0 auto; 107 107 padding: 30px 0; … … 446 446 } 447 447 .td-130c { 448 float: right;449 448 text-align:left; 450 margin: 0px 0 0 1px;449 margin: 0px 0 0 0px; 451 450 width: 130px; 452 border: none;453 454 451 padding: 0px; 455 } 452 border: .5px solid black; 453 } 454 .td-130b { 455 border: .5px solid black; 456 font-family: Verdana, Arial, Helvetica, sans-serif; 457 font-size: 12px; 458 margin-top: 0px; 459 margin: 0; 460 } 456 461 457 462 /* sinistra */ … … 607 612 margin: 0px 0px 0px 5px; 608 613 width: 95px; 609 border: 1px solid #6A6A6A; <div class=\"dx\">";614 border: 1px solid #6A6A6A; 610 615 font-family: helvetica,arial,sans-serif; 611 616 font-size: 10px; -
trunk/client/versione.php
r351 r352 1 1 <?php 2 2 3 $versione = "3.0 rev 35 1";3 $versione = "3.0 rev 352"; 4 4 $version_number = $versione; 5 $datarel = " 27 maggio 2021";5 $datarel = "30 luglio 2021"; 6 6 $version = "Eleonline $version_number (<i>Data Release: $datarel</i>)"; 7 7
Note:
See TracChangeset
for help on using the changeset viewer.