Changeset 411
- Timestamp:
- Apr 6, 2024, 12:09:37 PM (8 months ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/aggiornadb.php
r409 r411 349 349 echo "<br><br>".++$num.") Aggiornamento della tabella _ele_conf per la nuova gestione della L.R. Sicilia"; 350 350 $sql="UPDATE `".$prefix."_ele_conf` SET `inffisso` = '1' WHERE `id_conf` = 4;"; 351 $ret=aggiorna($sql,$dbi,'',$num); 352 353 echo "<br><br>".++$num.") Aggiornamento del campo numero candidato della tabella _ele_voti_candidati per le consultazioni precedenti all'aggiunta del campo stesso"; 354 $sql="update `".$prefix."_ele_voti_candidati` as t1 left join `".$prefix."_ele_candidati` as t2 on t1.id_cand=t2.id_cand set t1.num_cand=t2.num_cand where t1.num_cand=0 and t2.num_cand>0;"; 351 355 $ret=aggiorna($sql,$dbi,'',$num); 352 356 -
trunk/admin/versione.php
r410 r411 1 1 <?php 2 2 3 $versione = "3.0 rev 41 0";3 $versione = "3.0 rev 411"; 4 4 $version_number = $versione; 5 $datarel = "06 marzo2024";5 $datarel = "06 aprile 2024"; 6 6 $version = "Eleonline $version_number (<i>Data Release: $datarel</i>)"; 7 7 -
trunk/client/modules/Elezioni/affluenze-inc.php
r407 r411 48 48 "._RISULTA." "._CONSULTA."<br/ >"; 49 49 $datipdf .= "$descr_cons<br />"._DISCLAIMER." 50 <br />< b>"._DETTAGLIO." "._AFFLUENZE."</b>";50 <br /><hr/><b>"._DETTAGLIO." "._AFFLUENZE."</b>"; 51 51 if($xls!=1) $datipdf .= "</td></tr></table>"; 52 52 $datipdf .="</div>"; … … 179 179 $num_ril= $resril->rowCount(); //numero delle rilevazioni previste 180 180 if(!isset($html)) $html=''; 181 if($csv && $pdf) $tabpdf=" style=\"width:45%; margin:0px auto;text-align:center;\"";181 if($csv && $pdf) $tabpdf="<col width=\"50\">"; 182 182 else $tabpdf=''; 183 $html .= "<table class=\"td-100\" $tabpdf>";183 $html .= "<table class=\"td-100\"> $tabpdf"; 184 184 $html .= "<tr class=\"bggray\"><td>"._SEZIONI."</td><td>"._ISCR_SEZ."</td>"; 185 185 $sql="SELECT orario,data FROM ".$prefix."_ele_rilaff where id_cons_gen=$id_cons_gen order by data desc,orario desc limit 0,1"; … … 198 198 # if(($data==$ultdata) and ($ora==$ultora)) 199 199 { 200 $tot[$data.$ora]="<table style=\"width:100%;border:none;\"><tr class=\"bggray2\"><td style=\"width:3 3%;text-align:center;border:none;max-width:50px;\">201 <b>".number_format($votiu,0,',','.')."</b></td><td style=\"width:3 3%;text-align:center;border:none;max-width:50px;\">202 <b>".number_format($votid,0,',','.')."</b></td><td style=\"width: 33%;text-align:center;border:none;max-width:50px;\">200 $tot[$data.$ora]="<table style=\"width:100%;border:none;\"><tr class=\"bggray2\"><td style=\"width:30%;text-align:center;border:none;max-width:50px;\"> 201 <b>".number_format($votiu,0,',','.')."</b></td><td style=\"width:30%;text-align:center;border:none;max-width:50px;\"> 202 <b>".number_format($votid,0,',','.')."</b></td><td style=\"width:40%;text-align:center;border:none;max-width:80px;\"> 203 203 <b>".number_format($somma,0,',','.')."</b></td> 204 204 </tr></table>"; … … 229 229 $html .= "<br /><table style=\"width:100%;border:none;\"><tr class=\"bggray\">"; 230 230 if ((isset($perc_u[$data1.$ora1]) or isset($perc_d[$data1.$ora1])) and ($perc_u[$data1.$ora1]+$perc_d[$data1.$ora1])>0) 231 $html .= "<th style=\"width: 33%;max-width:100px;text-align:center;border:none;\">"._UOMINI."</th><th style=\"width:33%;max-width:50px;text-align:center;border:none;\">"._DONNE."</th><th style=\"width:33%;max-width:150px;text-align:center;border:none;\">"._COMPLESSIVI."</th></tr></table></td>";231 $html .= "<th style=\"width:28%;max-width:100px;text-align:center;border:none;\">"._UOMINI."</th><th style=\"width:28%;max-width:50px;text-align:center;border:none;\">"._DONNE."</th><th style=\"width:44%;max-width:150px;text-align:center;border:none;\">"._COMPLESSIVI."</th></tr></table></td>"; 232 232 233 233 else $html .= "<th style=\"width:150px;text-align:center;border:none;\">"._COMPLESSIVI."</th></tr></table></td>"; -
trunk/client/modules/Elezioni/affluenze.php
r407 r411 34 34 $nomefile="$descr_cons affluenze.pdf"; 35 35 $stampa ="$datipdf $html $style"; 36 #if($vismf)36 if($vismf) 37 37 $html2pdf = new Html2Pdf('L','A4', 'it'); 38 #else39 #$html2pdf = new Html2Pdf('P','A4', 'it');38 else 39 $html2pdf = new Html2Pdf('P','A4', 'it'); 40 40 $html2pdf->WriteHTML($stampa, isset($_GET['vuehtml'])); 41 41 $html2pdf->Output($nomefile); -
trunk/client/versione.php
r410 r411 1 1 <?php 2 2 3 $versione = "3.0 rev 41 0";3 $versione = "3.0 rev 411"; 4 4 $version_number = $versione; 5 $datarel = "06 marzo2024";5 $datarel = "06 aprile 2024"; 6 6 $version = "Eleonline $version_number (<i>Data Release: $datarel</i>)"; 7 7
Note:
See TracChangeset
for help on using the changeset viewer.