- Timestamp:
- Oct 7, 2025, 9:35:28 PM (2 months ago)
- Location:
- trunk
- Files:
-
- 9 edited
-
admin/versione.php (modified) (1 diff)
-
client/modules/Elezioni/consiglieri.php (modified) (15 diffs)
-
client/temi/bootstrap/themes/tema-arancione.css (modified) (2 diffs)
-
client/temi/bootstrap/themes/tema-azzurro.css (modified) (1 diff)
-
client/temi/bootstrap/themes/tema-giallo.css (modified) (1 diff)
-
client/temi/bootstrap/themes/tema-rosso.css (modified) (1 diff)
-
client/temi/bootstrap/themes/tema-turchese.css (modified) (1 diff)
-
client/temi/bootstrap/themes/tema-verde.css (modified) (1 diff)
-
client/versione.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/versione.php
r491 r492 1 1 <?php 2 2 3 $versione = "3.0 rev 49 1";3 $versione = "3.0 rev 492"; 4 4 $version_number = $versione; 5 $datarel = "0 3Ottobre 2025";5 $datarel = "07 Ottobre 2025"; 6 6 $version = "Eleonline $version_number (<i>Data Release: $datarel</i>)"; 7 7 ?> -
trunk/client/modules/Elezioni/consiglieri.php
r491 r492 124 124 echo "<div style=\"text-align:center;\"><br><br>I candidati a sindaco ".$row[0]['descrizione']." e ".$row[1]['descrizione']." hanno ottenuto lo stesso numero di voti <br>Ú necessario un turno di ballottaggio"; 125 125 echo "<form id=\"numgruppo\" action=\"modules.php\">"; 126 echo "<table style=\"text-align:center; margin:0 auto;\"><tr><td colspan=\"2\">"._SCELTASIN.":</td></tr><tr ><td align=\"left\">";126 echo "<table style=\"text-align:center; margin:0 auto;\"><tr><td colspan=\"2\">"._SCELTASIN.":</td></tr><tr class=\"title-content\"><td align=\"left\">"; 127 127 if($tema=='bootstrap') 128 128 echo "<input type=\"hidden\" name=\"op\" value=\"31\"/>"; … … 209 209 echo "<form id=\"gruppo\" action=\"modules.php\">"; 210 210 echo "<div class=\"table-responsive overflow-x\">"; 211 echo "<table class=\"table mb-0\" cellspacing=\"0\" cellpadding=\"2\" border=\"1\"><thead class=\"title-content\"><tr class=\"bggray\"><td colspan=\"4\">"._COLLEGAMENTI."</td></tr><tr class=\"bggray\"><td>";211 echo "<table class=\"table mb-0\" cellspacing=\"0\" cellpadding=\"2\" border=\"1\"><thead class=\"title-content\"><tr ><td colspan=\"4\" style=\"text-align: center;\">"._COLLEGAMENTI."</td></tr><tr><td>"; 212 212 if($tema=='bootstrap') 213 213 echo "<input type=\"hidden\" name=\"op\" value=\"31\"/>"; … … 238 238 }else { 239 239 echo "<br>"; 240 echo "<div class=\"table-responsive overflow-x\">"; 240 241 echo "<form id=\"numgruppo\" action=\"modules.php\">"; 241 echo "<table><tr><td>";242 242 if($tema=='bootstrap') 243 243 echo "<input type=\"hidden\" name=\"op\" value=\"31\"/>"; … … 246 246 echo "<input type=\"hidden\" name=\"id_cons_gen\" value=\"$id_cons_gen\"/>"; 247 247 echo "<input type=\"hidden\" name=\"id_comune\" value=\"$id_comune\"/>"; 248 echo "<table class=\"table mb-0\" cellspacing=\"0\" cellpadding=\"2\" border=\"1\"><thead class=\"title-content\"><tr>"; 248 249 $sql = "SELECT t1.id_gruppo,t1.num_gruppo,t1.descrizione, sum(t2.voti) as pref FROM ".$prefix."_ele_gruppo as t1, ".$prefix."_ele_voti_gruppo as t2 where t1.id_gruppo=t2.id_gruppo and t1.id_cons='$id_cons' group by t1.id_gruppo,t1.num_gruppo,t1.descrizione order by pref desc limit 0,3"; 249 250 $res = $dbi->prepare("$sql"); 250 251 $res->execute(); 251 252 $row=$res->fetchAll(PDO::FETCH_ASSOC); 252 if(!isset($secondo) and $row[2]['pref']===$row[1]['pref'])253 if(!isset($secondo) and isset($row[2]['pref']) and $row[2]['pref']===$row[1]['pref']) 253 254 { 254 255 $sql = "SELECT t2.id_gruppo,sum(t3.voti) as votilista from ".$prefix."_ele_lista as t2 left join ".$prefix."_ele_voti_lista as t3 on t2.id_lista=t3.id_lista where t2.id_cons='$id_cons' and (t2.id_gruppo=".$row[1]['id_gruppo']." or t2.id_gruppo=".$row[2]['id_gruppo'].") group by t2.id_gruppo order by votilista desc"; … … 263 264 $rowtmp[]=$row[1]; 264 265 }else{ 265 echo "< br>Due candidati hanno lo stesso numero di preferenze e la stessa cifra elettorale, <br>seleziona quale dei due Ú il più anziano e andrà al ballottaggio<br>";266 echo " :</td><td align=\"left\">";266 echo "<td colspan=\"2\" style=\"text-align: center;\"><br>Due candidati hanno lo stesso numero di preferenze e la stessa cifra elettorale, <br>seleziona quale dei due Ú il più anziano e andrà al ballottaggio<br></td></tr></thead>"; 267 echo "<tr><td align=\"left\">"; 267 268 echo "<input type=\"radio\" style=\"margin: 0 10px 0 10px;\" name=\"secondo\" value=\"".$row[1]['num_gruppo']."\"/>".$row[1]['descrizione']."<br>"; 268 269 echo "<input type=\"radio\" style=\"margin: 0 10px 0 10px;\" name=\"secondo\" value=\"".$row[2]['num_gruppo']."\"/>".$row[2]['descrizione']."<br>"; 269 270 echo "</td>"; 270 271 echo "<td><input type=\"submit\" style=\"margin: 0 10px 0 10px;\" name=\"invia\" value=\""._OK."\"/></td></tr></table></form>"; 272 echo "<br></div>"; 271 273 include("footer.php"); 272 274 die(); … … 274 276 $row=$rowtmp; 275 277 } else { 276 echo _SCELTASIN;277 echo ":</td>< td align=\"left\">";278 echo "<td colspan=\"2\" style=\"text-align: center;\"><br>"._SCELTASIN; 279 echo ":</td></tr></thead><tr><td align=\"left\">"; 278 280 $rowtmp[]=$row[0]; 279 281 if(isset($secondo)) { … … 292 294 $num_gruppo=$row[0]['num_gruppo']; 293 295 $descr_gruppo=$row[0]['descrizione']; 294 echo "<input type=\"radio\" name=\"numgruppo\" value=\"$num_gruppo\"/>$descr_gruppo<br>";296 echo "<input type=\"radio\" style=\"margin: 0 10px 0 10px;\" name=\"numgruppo\" value=\"$num_gruppo\"/>$descr_gruppo<br>"; 295 297 $_SESSION['ballo2']=$row[1]['num_gruppo']; 296 298 $_SESSION['grp2']=$row[1]['descrizione']; … … 298 300 $num_gruppo=$row[1]['num_gruppo']; 299 301 $descr_gruppo=$row[1]['descrizione']; 300 echo "<input type=\"radio\" name=\"numgruppo\" value=\"$num_gruppo\"/>$descr_gruppo<br>";302 echo "<input type=\"radio\" style=\"margin: 0 10px 0 10px;\" name=\"numgruppo\" value=\"$num_gruppo\"/>$descr_gruppo<br>"; 301 303 302 304 echo "</td>"; 303 305 echo "<td><input type=\"submit\" name=\"invia\" value=\""._OK."\"/></td></tr></table></form>"; 304 306 echo "</div>"; 305 307 } 306 308 } … … 531 533 } 532 534 $stampasind= "<table summary=\"Tabella dei consiglieri eletti\" class=\"table-docs\" cellspacing=\"0\" cellpadding=\"2\" border=\"1\" rules=\"all\">"; 533 $stampasind.= "<tr class=\" bggray\"><td scope=\"row\"><b>";535 $stampasind.= "<tr class=\"title-content\"><td scope=\"row\"><b>"; 534 536 $stampasind.= _SINDACO.": ".$desgruppi[$grp]."</b></td></tr></table>"; 535 537 stampalista($consel); … … 681 683 682 684 $stampasind= "<table summary=\"Tabella dei consiglieri eletti\" class=\"table-docs\" cellspacing=\"0\" cellpadding=\"2\" border=\"1\" rules=\"all\">"; 683 $stampasind.= "<tr class=\" bggray\"><td scope=\"row\">";685 $stampasind.= "<tr class=\"title-content\"><td scope=\"row\">"; 684 686 $stampasind.= _SINDACO.": ".$desgruppi[$listagruppo[$lisvin]]."</td></tr></table>"; 685 687 stampalista($consel); … … 753 755 $bg='bgw'; 754 756 755 $tmpbg=' bggray2';757 $tmpbg='primary-bg-c6'; 756 758 $tmpbg1='bgw'; 757 $tmpbg2=' bggray';758 $tmpbg3=' bggray2';759 $tmpbg2='title-content'; 760 $tmpbg3='primary-bg-c6'; 759 761 $fmin=2; 760 762 ob_start(); … … 771 773 echo "<table summary=\"Tabella dei candidati a sindaco eletti consigliere\" class=\"table-docs\" cellspacing=\"0\" cellpadding=\"2\" border=\"1\" rules=\"all\">"; 772 774 # echo "<caption style=\"caption-side: top;page-break-before: always;\"><br>Tabella dei candidati alla carica di sindaco eletti consigliere</caption>"; 773 echo "<tr class=\" bggray\"><td colspan=\"2\"><b>";775 echo "<tr class=\"title-content\"><td colspan=\"2\"><b>"; 774 776 echo $csin; 775 777 echo "</b></td></tr>"; 776 echo "<tr class=\" bggray\"><td><b>"._CANDIDATO."</b></td><td><b>"._NOMINATIVO."</b></td></tr>";778 echo "<tr class=\"title-content\"><td><b>"._CANDIDATO."</b></td><td><b>"._NOMINATIVO."</b></td></tr>"; 777 779 } 778 780 if($riga[0]!=$CSEC and $fmin==1) … … 782 784 echo "<table summary=\"Tabella dei consiglieri di minoranza\" class=\"table-docs\" cellspacing=\"0\" cellpadding=\"2\" border=\"1\" rules=\"all\">"; 783 785 # echo "<caption style=\"caption-side: top;\"><br>Tabella dei consiglieri di minoranza</caption>"; 784 # echo "<tr class=\" bggray\"><td colspan=\"6\"><b>";786 # echo "<tr class=\"title-content\"><td colspan=\"6\"><b>"; 785 787 # echo $cmin; 786 788 # echo "</b></td></tr>"; 787 echo "<tr class=\" bggray\"><td><b>"._LISTA."</b></td><td><b>"._VOTI."</b></td><td><b>"._SEGGI."</b></td><td><b>"._NOMINATIVO."</b></td><td><b>"._CIFRAELE."</b></td><td><b>"._QUOZIENTI."</b></td></tr>";789 echo "<tr class=\"title-content\"><td><b>"._LISTA."</b></td><td><b>"._VOTI."</b></td><td><b>"._SEGGI."</b></td><td><b>"._NOMINATIVO."</b></td><td><b>"._CIFRAELE."</b></td><td><b>"._QUOZIENTI."</b></td></tr>"; 788 790 } 789 791 if($riga[1]==$PNE) echo "<tr class=\"red\">"; … … 791 793 $bg= ($riga[1]) ? $tmpbg3:$tmpbg1; 792 794 if($y) { 793 echo "<tr class=\" bggray\">";795 echo "<tr class=\"title-content\">"; 794 796 }else{ 795 797 echo "<tr class=\"$bg\">"; … … 1139 1141 }//chiude foreach gruppomin 1140 1142 $stampasind= "<table summary=\"Tabella dei consiglieri eletti\" class=\"table-docs\" cellspacing=\"0\" cellpadding=\"2\" border=\"1\" rules=\"all\">"; 1141 $stampasind.= "<tr class=\" bggray\"><td scope=\"row\"><b>";1143 $stampasind.= "<tr class=\"title-content\"><td scope=\"row\"><b>"; 1142 1144 $stampasind.= _SINDACO.": ".$desgruppi[$gruppo]."</b></td></tr></table>"; 1143 1145 if(isset($daunset)){ -
trunk/client/temi/bootstrap/themes/tema-arancione.css
r477 r492 36 36 } 37 37 */ 38 /* ========================= */ 39 /* Affluenza*/ 40 /* ========================= */ 41 42 .complessivi { 43 color: white !important; 44 } 45 46 /* ========================= */ 47 /* Proiezione Seggi */ 48 /* ========================= */ 49 50 input[type="radio"][name="num_lista"], 51 input[type="radio"][name="secondo"], 52 input[type="radio"][name="numgruppo"] { 53 accent-color: var(--arancione-scuro) !important; 54 } 38 55 39 56 /* ========================= */ … … 54 71 55 72 #toggle-percentuali { 56 color: var(--testo-arancione- scuro);73 color: var(--testo-arancione-brillante); 57 74 } 58 75 -
trunk/client/temi/bootstrap/themes/tema-azzurro.css
r477 r492 36 36 } 37 37 */ 38 /* ========================= */ 39 /* Affluenza*/ 40 /* ========================= */ 41 42 .complessivi { 43 color: white !important; 44 } 45 46 /* ========================= */ 47 /* Proiezione Seggi */ 48 /* ========================= */ 49 50 input[type="radio"][name="num_lista"], 51 input[type="radio"][name="secondo"], 52 input[type="radio"][name="numgruppo"] { 53 accent-color: var(--azzurro-scuro) !important; 54 } 38 55 39 56 /* ========================= */ -
trunk/client/temi/bootstrap/themes/tema-giallo.css
r477 r492 36 36 } 37 37 */ 38 /* ========================= */ 39 /* Affluenza*/ 40 /* ========================= */ 41 42 .complessivi { 43 color: white !important; 44 } 45 46 /* ========================= */ 47 /* Proiezione Seggi */ 48 /* ========================= */ 49 50 51 input[type="radio"][name="num_lista"], 52 input[type="radio"][name="secondo"], 53 input[type="radio"][name="numgruppo"] { 54 accent-color: var(--giallo-scuro) !important; 55 } 38 56 39 57 /* ========================= */ -
trunk/client/temi/bootstrap/themes/tema-rosso.css
r477 r492 36 36 } 37 37 */ 38 /* ========================= */ 39 /* Affluenza*/ 40 /* ========================= */ 41 42 .complessivi { 43 color: white !important; 44 } 45 46 /* ========================= */ 47 /* Proiezione Seggi */ 48 /* ========================= */ 49 50 input[type="radio"][name="num_lista"], 51 input[type="radio"][name="secondo"], 52 input[type="radio"][name="numgruppo"] { 53 accent-color: var(--rosso-scuro) !important; 54 } 38 55 39 56 /* ========================= */ -
trunk/client/temi/bootstrap/themes/tema-turchese.css
r477 r492 37 37 } 38 38 */ 39 /* ========================= */ 40 /* Affluenza*/ 41 /* ========================= */ 42 43 .complessivi { 44 color: white !important; 45 } 46 47 /* ========================= */ 48 /* Proiezione Seggi */ 49 /* ========================= */ 50 51 input[type="radio"][name="num_lista"], 52 input[type="radio"][name="secondo"], 53 input[type="radio"][name="numgruppo"] { 54 accent-color: var(--turchese-scuro) !important; 55 } 39 56 40 57 /* ========================= */ -
trunk/client/temi/bootstrap/themes/tema-verde.css
r477 r492 76 76 77 77 /* ========================= */ 78 /* Affluenza*/ 79 /* ========================= */ 80 81 .complessivi { 82 color: white !important; 83 } 84 85 /* ========================= */ 86 /* Proiezione Seggi */ 87 /* ========================= */ 88 89 input[type="radio"][name="num_lista"], 90 input[type="radio"][name="secondo"], 91 input[type="radio"][name="numgruppo"] { 92 accent-color: var(--verde-scuro) !important; 93 } 94 95 /* ========================= */ 78 96 /* Sfondo accordion e icone */ 79 97 /* ========================= */ -
trunk/client/versione.php
r491 r492 1 1 <?php 2 2 3 $versione = "3.0 rev 49 1";3 $versione = "3.0 rev 492"; 4 4 $version_number = $versione; 5 $datarel = "0 3Ottobre 2025";5 $datarel = "07 Ottobre 2025"; 6 6 $version = "Eleonline $version_number (<i>Data Release: $datarel</i>)"; 7 7 ?>
Note:
See TracChangeset
for help on using the changeset viewer.
