[LoTW] Canadian Provinces added to TQ8 Export

pull/616/head
Peter Goodhall 2020-09-06 20:52:35 +01:00
rodzic e20f1c58ca
commit 8f943f21fc
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -27,6 +27,8 @@ $cert2 = str_replace("-----END CERTIFICATE-----", "", $cert1);
<?php if(isset($station_profile->station_iota)) { ?><IOTA:<?php echo strlen($station_profile->station_iota); ?>><?php echo $station_profile->station_iota; ?><?php } ?>
<?php if($station_profile->state != "" && $station_profile->station_country == "CANADA") { ?><CA_PROVINCE:<?php echo strlen($station_profile->state); ?>><?php echo $station_profile->state; ?><?php } ?>
<?php if($station_profile->state != "" && $station_profile->station_country == "UNITED STATES OF AMERICA") { ?><US_STATE:<?php echo strlen($station_profile->state); ?>><?php echo $station_profile->state; ?><?php } ?>
<?php if($station_profile->station_cnty != "" && $station_profile->station_country == "UNITED STATES OF AMERICA") { ?><US_COUNTY:<?php echo strlen($station_profile->station_cnty); ?>><?php echo $station_profile->station_cnty; ?><?php } ?>
@ -64,6 +66,10 @@ $cert2 = str_replace("-----END CERTIFICATE-----", "", $cert1);
$sign_string = "";
if($station_profile->state != "" && $station_profile->station_country == "CANADA") {
$sign_string .= strtoupper($station_profile->state);
}
// Add CQ Zone
if($station_profile->station_cq) {
$sign_string .= $station_profile->station_cq;