Added deleted dxcc banner

This commit is contained in:
Andreas Kristiansen
2025-10-28 09:44:12 +01:00
parent e73e644712
commit d490a31097
2 changed files with 10 additions and 6 deletions

View File

@@ -234,7 +234,7 @@ class Stationsetup_model extends CI_Model {
}
function list_all_locations() {
$sql = "select station_profile.station_id, station_profile_name, station_gridsquare, station_city, station_iota, station_sota, station_callsign, station_power, station_dxcc, dxcc_entities.name as dxccname, dxcc_entities.prefix as dxccprefix, station_cnty, station_cq, station_itu, station_active, eqslqthnickname, state, county, station_sig, station_sig_info, qrzrealtime, station_wwff, station_pota, oqrs, oqrs_text, oqrs_email, webadifrealtime, clublogrealtime, clublogignore, hrdlogrealtime, creation_date, last_modified
$sql = "select dxcc_entities.end, station_profile.station_id, station_profile_name, station_gridsquare, station_city, station_iota, station_sota, station_callsign, station_power, station_dxcc, dxcc_entities.name as dxccname, dxcc_entities.prefix as dxccprefix, station_cnty, station_cq, station_itu, station_active, eqslqthnickname, state, county, station_sig, station_sig_info, qrzrealtime, station_wwff, station_pota, oqrs, oqrs_text, oqrs_email, webadifrealtime, clublogrealtime, clublogignore, hrdlogrealtime, creation_date, last_modified
from station_profile
join dxcc_entities on station_profile.station_dxcc = dxcc_entities.adif
where user_id = ?";

View File

@@ -20,12 +20,12 @@
<th>ITU Zone</th>
<th>State</th>
<th>County</th>
<th>WWFF</th>
<th>POTA</th>
<th>SIG</th>
<th>SIG Info</th>
<th>eQSL Nick</th>
<th>QRZ Live</th>
<th>WWFF</th>
<th>POTA</th>
<th>OQRS</th>
<th>OQRS Text</th>
<th>OQRS Email</th>
@@ -46,7 +46,11 @@
<td><?php echo $loc->station_callsign; ?></td>
<td><?php echo $loc->station_gridsquare; ?></td>
<td><?php echo $loc->station_city; ?></td>
<td><?php echo ucwords(strtolower($loc->dxccname), "- (/") . ' (' . $loc->dxccprefix . ') '; ?></td>
<td><?php echo ucwords(strtolower($loc->dxccname), "- (/") . ' (' . $loc->dxccprefix . ') '; ?>
<?php if (isset($loc->end)) {
echo '<span class="badge text-bg-danger">'.__("Deleted DXCC").'</span>';
} ?>
</td>
<td><?php echo $loc->station_iota; ?></td>
<td><?php echo $loc->station_sota; ?></td>
<td><?php echo $loc->station_power; ?></td>
@@ -55,12 +59,12 @@
<td><?php echo $loc->station_itu; ?></td>
<td><?php echo $loc->state; ?></td>
<td><?php echo $loc->county; ?></td>
<td><?php echo $loc->station_wwff; ?></td>
<td><?php echo $loc->station_pota; ?></td>
<td><?php echo $loc->station_sig; ?></td>
<td><?php echo $loc->station_sig_info; ?></td>
<td><?php echo $loc->eqslqthnickname; ?></td>
<td><?php echo $loc->qrzrealtime ? 'Yes' : 'No'; ?></td>
<td><?php echo ($loc->station_wwff); ?></td>
<td><?php echo ($loc->station_pota); ?></td>
<td><?php echo $loc->oqrs ? 'Yes' : 'No'; ?></td>
<td><?php echo $loc->oqrs_text; ?></td>
<td><?php echo $loc->oqrs_email; ?></td>