Changeset 371 for trunk/client/modules/Elezioni/affluenze.php
- Timestamp:
- Sep 3, 2022, 10:40:36 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules/Elezioni/affluenze.php
r352 r371 224 224 # if(($data==$ultdata) and ($ora==$ultora)) 225 225 { 226 $tot[$data.$ora]="<table class=\"td-89\"><tr class=\"bggray2\"><td class=\"td-30\">227 <b>".number_format($votiu,0,',','.')."</b></td><td class=\"td-30\">228 <b>".number_format($votid,0,',','.')."</b></td><td >226 $tot[$data.$ora]="<table style=\"width:180px;\"><tr class=\"bggray2\"><td style=\"width:33%;text-align:center;\"> 227 <b>".number_format($votiu,0,',','.')."</b></td><td style=\"width:33%;text-align:center;\"> 228 <b>".number_format($votid,0,',','.')."</b></td><td style=\"width:33%;text-align:center;\"> 229 229 <b>".number_format($somma,0,',','.')."</b></td> 230 230 </tr></table>"; … … 243 243 $ora_ril=$hour.":".$minute; 244 244 $html .= "<td"; 245 if ($ud==$num_ril and ( $perc_u[$data1.$ora1] or $perc_d[$data1.$ora1])) {$ora_rif="$data1.$ora1";}245 if ($ud==$num_ril and (isset($perc_u[$data1.$ora1]) or isset($perc_d[$data1.$ora1]))) {$ora_rif="$data1.$ora1";} 246 246 $html .= ">"; 247 247 $data_a=form_data($data1); … … 253 253 $html .= "<br />"._SEZIONI." $num_scr "._SU." $num_sez"; 254 254 ## if ($ud==$num_ril and ($perc_u or $perc_d)) $html .= "<br /> 255 if ( ($perc_u[$data1.$ora1] or$perc_d[$data1.$ora1])) $html .= "<br />255 if (isset($perc_u[$data1.$ora1]) or isset($perc_d[$data1.$ora1])) $html .= "<br /> 256 256 257 257 <table style=\"width:180px;\"><tr class=\"bggray\"> … … 366 366 header ("Content-Type: application/vnd.ms-excel"); 367 367 header ("Content-Disposition: inline; filename=$nomefile"); 368 header("Pragma: no-cache"); 369 header("Expires: 0"); 370 $datipdf = mb_convert_encoding($datipdf , "HTML-ENTITIES", "UTF-8"); 368 371 echo "$datipdf"; 369 372 echo "$html \t\n $style";
Note:
See TracChangeset
for help on using the changeset viewer.