Suppress Bands without QSOs (since the SQL doesn't deliver them)

This commit is contained in:
int2001 2023-11-22 06:40:19 +00:00
parent 1023ffafab
commit b674dd21fd
No known key found for this signature in database
GPG Key ID: DFB1C13CD2DB037B

View File

@ -25,11 +25,13 @@
</thead>
<tbody>
<?php foreach($vucc_array as $band => $vucc) {
echo '<tr>';
echo '<td><a href=\'vucc_band?Band="'. $band . '"\'>'. $band .'</td>';
echo '<td><a href=\'vucc_band?Band="'. $band . '"&Type="worked"\'>'. $vucc['worked'] .'</td>';
echo '<td><a href=\'vucc_band?Band="'. $band . '"&Type="confirmed"\'>'. $vucc['confirmed'] .'</td>';
echo '</tr>';
if ($vucc['worked'] > 0) {
echo '<tr>';
echo '<td><a href=\'vucc_band?Band="'. $band . '"\'>'. $band .'</td>';
echo '<td><a href=\'vucc_band?Band="'. $band . '"&Type="worked"\'>'. $vucc['worked'] .'</td>';
echo '<td><a href=\'vucc_band?Band="'. $band . '"&Type="confirmed"\'>'. $vucc['confirmed'] .'</td>';
echo '</tr>';
}
}
?>
</tbody>
@ -38,4 +40,4 @@
<?php } else {
echo '<div class="alert alert-danger" role="alert"><a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a>Nothing found!</div>';
} ?>
</div>
</div>