Changeset 366 for trunk/admin/modules/Elezioni/ele_spoglio.php
- Timestamp:
- May 15, 2022, 10:18:37 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/modules/Elezioni/ele_spoglio.php
r365 r366 961 961 $res = $dbi->prepare("$sql"); 962 962 $res->execute(); 963 $numpro=$res->rowCount(); 963 964 $pro= $res->fetch(PDO::FETCH_BOTH); 964 965 echo "<tr><td colspan=\"6\"> </td></tr>"; 965 if ($ pro['si']+$pro['no']!=$pro['validi'] or ($pro['validi']+$pro['nulli']+$pro['bianchi']+$pro['contestati']!=$tot and $pro['validi']+$pro['nulli']+$pro['bianchi']+$pro['contestati']!=0)){966 if ($numpro and ($pro['si']+$pro['no']!=$pro['validi'] or ($pro['validi']+$pro['nulli']+$pro['bianchi']+$pro['contestati']!=$tot and $pro['validi']+$pro['nulli']+$pro['bianchi']+$pro['contestati']!=0))){ 966 967 echo "<tr style=\"background-color: rgb(255, 0, 0); text-align:center\">"; 967 }elseif($ pro['validi']+$pro['nulli']+$pro['bianchi']+$pro['contestati']!=0)968 }elseif($numpro and ($pro['validi']+$pro['nulli']+$pro['bianchi']+$pro['contestati']!=0)) 968 969 echo "<tr style=\"background-color:#99CC33; text-align:center\">"; 969 970 else
Note:
See TracChangeset
for help on using the changeset viewer.