WAJA and WWFF

This commit is contained in:
Andreas Kristiansen
2025-08-19 17:24:23 +02:00
parent 95ec1e2aac
commit 899c0d6473
2 changed files with 7 additions and 5 deletions

View File

@@ -20,6 +20,7 @@
var lang_award_info_ln2 = "<?= __("WAJA, Worked All Japan prefectures in Amateur Radio, encourages licensed ham radio operators to work all the prefectures in Japan."); ?>";
var lang_award_info_ln3 = "<?= __("May be claimed for having contacted (heard) and received a QSL card from an amateur station located in each of the 47 prefectures of Japan. A list of QSL cards should be arranged in order of WAJA (HAJA) reference number, however names of prefectures may be omitted."); ?>";
var lang_award_info_ln4 = "<?= sprintf(__("For more information, please visit: %s."), "<a href='https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm' target='_blank'>https://www.jarl.org/English/4_Library/A-4-2_Awards/Award_Main.htm</a>"); ?>";
var lang_award_info_ln5 = "<?= __("Fields taken for this Award: DXCC (Japan) and STATE (Must contain a valid prefecture!)"); ?>";
</script>
<h2><?php echo $page_title; ?></h2>
<button type="button" class="btn btn-sm btn-primary me-1" id="displayAwardInfo"><?= __("Award Info"); ?></button>

View File

@@ -8,6 +8,7 @@
var lang_award_info_ln2 = "<?= __("WWFF, World Wide Flora and Fauna in Amateur Radio, encourages licensed ham radio operators to leave their shacks and operate portable in Protected Flora & Fauna areas (PFF) worldwide."); ?>";
var lang_award_info_ln3 = "<?= __("More than 26,000 Protected Flora & Fauna (PFF) areas worldwide are already registered in the WWFF Directory. Hunters and Activators can apply for colorful awards, both globally and nationally."); ?>";
var lang_award_info_ln4 = "<?= sprintf(__("For more information, please visit: %s."), "<a href='https://wwff.co/awards/' target='_blank'>https://wwff.co/awards/</a>"); ?>";
var lang_award_info_ln5 = "<?= __("Fields taken for this Award: WWFF (ADIF: WWFF_REF)"); ?>";
</script>
<h2><?php echo $page_title; ?></h2>
<button type="button" class="btn btn-sm btn-primary me-1" id="displayAwardInfo"><?= __("Award Info"); ?></button>
@@ -23,10 +24,10 @@
$custom_date_format = $this->config->item('qso_date_format');
}
?>
<table style="width: 100%" id="wwfftable" class="wwfftable table table-sm table-striped table-hover">
<thead>
<tr>
<th style="text-align: center"><?= __("WWFF Reference") ?></th>
<th style="text-align: center"><?= __("Date") ?></th>
@@ -37,13 +38,13 @@
<th style="text-align: center"><?= __("RST (R)") ?></th>
</tr>
</thead>
<tbody>
<?php
if ($wwff_all->num_rows() > 0) {
foreach ($wwff_all->result() as $row) {
?>
<tr>
<td style="text-align: center"><a target="_blank" href="https://www.cqgma.org/zinfo.php?ref=<?php echo $row->COL_WWFF_REF; ?>"><?php echo $row->COL_WWFF_REF; ?></a></td>
<td style="text-align: center"><?php $timestamp = strtotime($row->COL_TIME_ON); echo date($custom_date_format, $timestamp); ?></td>
@@ -57,7 +58,7 @@
}
}
?>
</tbody>
</table>
<?php } else {