Changeset 400 for trunk/client/modules/Elezioni/affluenze-inc.php
- Timestamp:
- Feb 25, 2024, 3:57:45 PM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/client/modules/Elezioni/affluenze-inc.php
r376 r400 196 196 # if(($data==$ultdata) and ($ora==$ultora)) 197 197 { 198 $tot[$data.$ora]="<table style=\"width:1 80px;\"><tr class=\"bggray2\"><td style=\"width:33%;text-align:center;\">199 <b>".number_format($votiu,0,',','.')."</b></td><td style=\"width:33%;text-align:center; \">200 <b>".number_format($votid,0,',','.')."</b></td><td style=\"width:33%;text-align:center; \">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;\"> 201 201 <b>".number_format($somma,0,',','.')."</b></td> 202 202 </tr></table>"; … … 225 225 $html .= "<br />"._SEZIONI." $num_scr "._SU." $num_sez"; 226 226 ## if ($ud==$num_ril and ($perc_u or $perc_d)) $html .= "<br /> 227 $html .= "<br /><table style=\"width:1 80px;\"><tr class=\"bggray\">";227 $html .= "<br /><table style=\"width:100%;border:none;\"><tr class=\"bggray\">"; 228 228 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; \">"._UOMINI."</th><th style=\"width:28%;text-align:center;\">"._DONNE."</th>";230 $html .= "<th style=\"width:28%;text-align:center; \">"._COMPLESSIVI."</th></tr></table></td>";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 231 232 232 if (isset($tot[$data1.$ora1])){ 233 233 ## if ($ora_rif=="$data1.$ora1") 234 234 if (($perc_u[$data1.$ora1] or $perc_d[$data1.$ora1])){ 235 $ar['perc'][$data1.$ora1]="<table style=\"width:1 80px;\"><tr class=\"bggray2\">236 <td style=\"width:33%;text-align:center; \"><b><i><span class=\"red\">".$perc_u[$data1.$ora1]."%</span></i></b></td>237 <td style=\"width:33%;text-align:center; \"><b><i><span class=\"red\">".$perc_d[$data1.$ora1]."%</span></i></b></td>238 <td style=\"width:33%;text-align:center; \" ><span class=\"red\"><b><i>".$perc_c[$data1.$ora1]."%</i></b></span></td>235 $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 239 </tr></table>"; 240 240 $ar[0][$data1.$ora1]=$tot[$data1.$ora1]; … … 269 269 while (list($data,$ora,$numsez,$uomini,$donne,$complessivi) = $resvoti->fetch(PDO::FETCH_NUM)) { 270 270 if(($uomini+$donne)>0) 271 $ar[$numsez][$data.$ora]="<table style=\"width:1 80px;\"><tr>272 <td style=\"width:33%;text-align:center; \">$uomini</td>273 <td style=\"width:33%;text-align:center; \">$donne</td>274 <td style=\"width:33%;text-align:center; \">$complessivi</td>271 $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 275 </tr></table>"; 276 276 else
Note:
See TracChangeset
for help on using the changeset viewer.