Browse Source

Fix WAE counter in statistics (include TA1)

tnx KR2Q
acma
Fabian Kurz 2 years ago
parent
commit
a60e3037f8
  1. 4
      functions.php
  2. 3
      help.php

4
functions.php

@ -61,8 +61,8 @@ function stats_default($c) {
$q = mysqli_query($db, "SELECT count(distinct(`dxcc`)) from cwops_log where `dxcc` > 0 and `mycall`='$c' and dxcc in (".implode(',', $wae_adif).")");
$r = mysqli_fetch_row($q);
$wae = $r[0];
# add special WAE areas
$q = mysqli_query($db, "SELECT count(distinct(`wae`)) from cwops_log where LENGTH(wae) = 2 and `mycall`='$c' and dxcc in (".implode(',', $wae_adif).")");
# add special WAE areas (include Turkey / 390 because TA1 = ET is a WAE country)
$q = mysqli_query($db, "SELECT count(distinct(`wae`)) from cwops_log where LENGTH(wae) = 2 and `mycall`='$c' and dxcc in (390, ".implode(',', $wae_adif).")");
$r = mysqli_fetch_row($q);
$wae += $r[0];

3
help.php

@ -42,7 +42,7 @@
<p>In your account options check the box for manual score reporting. Then you'll get a form on which you can enter your raw numbers.</p>
<h2>Thanks</h2>
<p>Thanks to the following individuals for their help and contributions during the beta testing phase:</p>
<p>Thanks to the following individuals for their help and contributions:</p>
<ul>
<li>Pete, W1RM (beta testing)</li>
<li>Bud, AA3B (beta testing)</li>
@ -52,6 +52,7 @@
<li>Petr, OK2CQR/OK7AN (HamQTH DXCC lookup API)</li>
<li>Adam, SQ9S (beta testing)</li>
<li>Giu, IT9VDQ (beta testing)</li>
<li>Doug, KR2Q (bug reports)</li>
</ul>
<h2>Future plans</h2>

Loading…
Cancel
Save