Changeset 407 for trunk/client
- Timestamp:
- Mar 5, 2024, 10:09:23 PM (8 months ago)
- Location:
- trunk/client
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules/Elezioni/affluenze-inc.php
r400 r407 179 179 $num_ril= $resril->rowCount(); //numero delle rilevazioni previste 180 180 if(!isset($html)) $html=''; 181 $html .= "<table class=\"td-89\">"; 181 if($csv && $pdf) $tabpdf="style=\"width:45%; margin:0px auto;text-align:center;\""; 182 else $tabpdf=''; 183 $html .= "<table class=\"td-100\" $tabpdf>"; 182 184 $html .= "<tr class=\"bggray\"><td>"._SEZIONI."</td><td>"._ISCR_SEZ."</td>"; 183 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"; … … 196 198 # if(($data==$ultdata) and ($ora==$ultora)) 197 199 { 198 $tot[$data.$ora]="<table style=\"width:100%;border:none;\"><tr class=\"bggray2\"><td style=\"width:33%;text-align:center;border:none; \">199 <b>".number_format($votiu,0,',','.')."</b></td><td style=\"width:33%;text-align:center;border:none; \">200 <b>".number_format($votid,0,',','.')."</b></td><td style=\"width:33%;text-align:center;border:none; \">200 $tot[$data.$ora]="<table style=\"width:100%;border:none;\"><tr class=\"bggray2\"><td style=\"width:33%;text-align:center;border:none;max-width:50px;\"> 201 <b>".number_format($votiu,0,',','.')."</b></td><td style=\"width:33%;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;\"> 201 203 <b>".number_format($somma,0,',','.')."</b></td> 202 204 </tr></table>"; … … 227 229 $html .= "<br /><table style=\"width:100%;border:none;\"><tr class=\"bggray\">"; 228 230 if ((isset($perc_u[$data1.$ora1]) or isset($perc_d[$data1.$ora1])) and ($perc_u[$data1.$ora1]+$perc_d[$data1.$ora1])>0) 229 $html .= "<th style=\"width:28%;text-align:center;border:none;\">"._UOMINI."</th><th style=\"width:28%;text-align:center;border:none;\">"._DONNE."</th>"; 230 $html .= "<th style=\"width:28%;text-align:center;border:none;\">"._COMPLESSIVI."</th></tr></table></td>"; 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>"; 232 233 else $html .= "<th style=\"width:150px;text-align:center;border:none;\">"._COMPLESSIVI."</th></tr></table></td>"; 231 234 232 235 if (isset($tot[$data1.$ora1])){ … … 234 237 if (($perc_u[$data1.$ora1] or $perc_d[$data1.$ora1])){ 235 238 $ar['perc'][$data1.$ora1]="<table style=\"width:100%;border:none;\"><tr class=\"bggray2\"> 236 <td style=\"width:33%;text-align:center;border:none; \"><b><i><span class=\"red\">".$perc_u[$data1.$ora1]."%</span></i></b></td>237 <td style=\"width:33%;text-align:center;border:none; \"><b><i><span class=\"red\">".$perc_d[$data1.$ora1]."%</span></i></b></td>238 <td style=\"width:33%;text-align:center;border:none; \" ><span class=\"red\"><b><i>".$perc_c[$data1.$ora1]."%</i></b></span></td>239 <td style=\"width:33%;text-align:center;border:none;max-width:50px;\"><b><i><span class=\"red\">".$perc_u[$data1.$ora1]."%</span></i></b></td> 240 <td style=\"width:33%;text-align:center;border:none;max-width:50px;\"><b><i><span class=\"red\">".$perc_d[$data1.$ora1]."%</span></i></b></td> 241 <td style=\"width:33%;text-align:center;border:none;max-width:50px;\" ><span class=\"red\"><b><i>".$perc_c[$data1.$ora1]."%</i></b></span></td> 239 242 </tr></table>"; 240 243 $ar[0][$data1.$ora1]=$tot[$data1.$ora1]; … … 270 273 if(($uomini+$donne)>0) 271 274 $ar[$numsez][$data.$ora]="<table style=\"width:100%;border:none;\"><tr> 272 <td style=\"width:33%;text-align:center;border:none; \">$uomini</td>273 <td style=\"width:33%;text-align:center;border:none; \">$donne</td>274 <td style=\"width:33%;text-align:center;border:none; \">$complessivi</td>275 <td style=\"width:33%;text-align:center;border:none;max-width:50px;\">$uomini</td> 276 <td style=\"width:33%;text-align:center;border:none;max-width:50px;\">$donne</td> 277 <td style=\"width:33%;text-align:center;border:none;max-width:50px;\">$complessivi</td> 275 278 </tr></table>"; 276 279 else … … 285 288 foreach ($arr as $valore) 286 289 { 287 $html .= "<td >$valore</td>";290 $html .= "<td style=\"max-width:33%;text-align:center;border:none;\">$valore</td>"; 288 291 } 289 292 $html .= "</tr>"; … … 311 314 if($csv==1){ 312 315 $data=date("d-m-y G:i"); 313 $style .="\t\t\n<br/><br/><br/>< div style=\"margin:0px auto;text-align:center;\"><i>Stampato: $data</i></div>";314 $style .="<br/><div style=\"text-align:center;\"><i>Eleonline by luciano apolito e roberto gigli - www.eleonline.it</i></div> ";316 $style .="\t\t\n<br/><br/><br/><table style=\"width:50%; margin:0px auto;text-align:center;\"><tr><td><div style=\"margin:0px auto;text-align:center;\"><i>Stampato: $data</i></div>"; 317 $style .="<br/><div style=\"text-align:center;\"><i>Eleonline by luciano apolito e roberto gigli - www.eleonline.it</i></div></td></tr></table>"; 315 318 $style .= "<br/> "; 316 319 } -
trunk/client/modules/Elezioni/affluenze.php
r400 r407 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/modules/Elezioni/blocchi/04_sezioni.php
r347 r407 73 73 if ($genere==0) $pos="gruppo_sezione";elseif($genere=='4' || $votog) $pos="lista_sezione"; 74 74 else $pos="gruppo_sezione"; 75 76 $html .="<td style=\"margin:0px auto; text-align:center; width:5%;background-color:$bgsez;\" ><ahref=\"modules.php?id_cons_gen=$id_cons_gen&name=Elezioni&id_comune=$id_comune&perc=true&file=index&op=$pos&minsez=$sez_num&offsetsez=$sez_num\"><b>$sez_num</b></a></td>";75 76 $html .="<td style=\"margin:0px auto; text-align:center; width:5%;background-color:$bgsez;\"><a style=\"background-color:$bgsez;\" href=\"modules.php?id_cons_gen=$id_cons_gen&name=Elezioni&id_comune=$id_comune&perc=true&file=index&op=$pos&minsez=$sez_num&offsetsez=$sez_num\"><b>$sez_num</b></a></td>"; 77 77 78 78 if (($i%5) ==0) $html .="</tr>\n<tr>"; -
trunk/client/temi/Futura2/index.php
r371 r407 151 151 152 152 function footer_mon(){ 153 global $id_comune,$id_cons_gen,$tema,$colortheme,$rss; 153 global $id_comune,$id_cons_gen,$tema,$colortheme,$rss,$prefix,$dbi; 154 155 $sql="SELECT tema FROM `".$prefix."_config`"; 156 $res = $dbi->prepare("$sql"); 157 $res->execute(); 158 list($deftema) = $res->fetch(PDO::FETCH_NUM); 154 159 155 160 echo ' … … 161 166 if($tema=="Futura2") 162 167 //echo'<a href="backtoapp.html" data-rel="external" data-ajax="false">Chiudi</a>'; // per l'app precedente non piu usata 163 echo ' <a href="modules.php?name=Elezioni&tema= facebook&nocell=1" data-rel="external" data-ajax="false" >Versione Desktop</a>';168 echo ' <a href="modules.php?name=Elezioni&tema='.$deftema.'&nocell=1&op=gruppo&id_cons_gen='.$id_cons_gen.'" data-rel="external" data-ajax="false" >Versione Desktop</a>'; 164 169 else 165 echo ' <a href="modules.php?name=Elezioni&tema=facebook&desktop=1 " data-rel="external" data-ajax="false" >Versione Desktop</a>';170 echo ' <a href="modules.php?name=Elezioni&tema=facebook&desktop=1&op=gruppo" data-rel="external" data-ajax="false" >Versione Desktop</a>'; 166 171 echo'</div>'; 167 172 } -
trunk/client/temi/bsitalia/layout/styles/style.css
r400 r407 495 495 496 496 } 497 498 .td-100 { 499 500 501 width: 100%; 502 border: none; 503 text-align: left; 504 505 } 497 506 .td-640 { 498 507 float: left; -
trunk/client/temi/bsitalia/style.css
r400 r407 489 489 } 490 490 491 .td-100 { 492 493 494 width: 100%; 495 border: none; 496 text-align: left; 497 498 } 491 499 .td-89 { 492 500 -
trunk/client/versione.php
r406 r407 1 1 <?php 2 2 3 $versione = "3.0 rev 40 6";3 $versione = "3.0 rev 407"; 4 4 $version_number = $versione; 5 $datarel = " 28 febbraio 2024";5 $datarel = "05 marzo 2024"; 6 6 $version = "Eleonline $version_number (<i>Data Release: $datarel</i>)"; 7 7
Note:
See TracChangeset
for help on using the changeset viewer.