mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Fixed DOK and VUCC
This commit is contained in:
@@ -28,7 +28,7 @@ class DOK extends CI_Model {
|
||||
$dokBand = $this->getDokWorked($location_list, $band, $postdata);
|
||||
foreach ($dokBand as $line) {
|
||||
if (array_key_exists($line->COL_DARC_DOK, $bandDok)) { /* For now ignore DOKs which are logged but not existing in the official lists any more */
|
||||
$bandDok[$line->COL_DARC_DOK][$band] = '<div class="bg-danger awardsBgDanger"><a href=\'javascript:displayContacts("' . $line->COL_DARC_DOK . '","' . $band . '","' . $postdata['mode'] . '","DOK", "")\'>W</a></div>';
|
||||
$bandDok[$line->COL_DARC_DOK][$band] = '<div class="bg-danger awardsBgDanger"><a href=\'javascript:displayContacts("' . $line->COL_DARC_DOK . '","' . $band . '","All","All","' . $postdata['mode'] . '","DOK", "")\'>W</a></div>';
|
||||
$doks[$line->COL_DARC_DOK]['count']++;
|
||||
}
|
||||
}
|
||||
@@ -38,7 +38,7 @@ class DOK extends CI_Model {
|
||||
$dokBand = $this->getDokConfirmed($location_list, $band, $postdata);
|
||||
foreach ($dokBand as $line) {
|
||||
if (array_key_exists($line->COL_DARC_DOK, $bandDok)) { /* For now ignore DOKs which are logged but not existing in the official lists any more */
|
||||
$bandDok[$line->COL_DARC_DOK][$band] = '<div class="bg-success awardsBgSuccess"><a href=\'javascript:displayContacts("' . $line->COL_DARC_DOK . '","' . $band . '","' . $postdata['mode'] . '","DOK", "'.$qsl.'")\'>C</a></div>';
|
||||
$bandDok[$line->COL_DARC_DOK][$band] = '<div class="bg-success awardsBgSuccess"><a href=\'javascript:displayContacts("' . $line->COL_DARC_DOK . '","' . $band . '","All","All"' . $postdata['mode'] . '","DOK", "'.$qsl.'")\'>C</a></div>';
|
||||
$doks[$line->COL_DARC_DOK]['count']++;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
foreach ($vucc_array as $vucc => $value) { // Fills the table with the data
|
||||
echo '<tr>
|
||||
<td>'. $i++ .'</td>
|
||||
<td><a href=\'javascript:displayContacts("'. $vucc .'","'. $band . '","All","VUCC")\'>'. $vucc .'</td>';
|
||||
<td><a href=\'javascript:displayContacts("'. $vucc .'","'. $band . '","All","All","All","VUCC")\'>'. $vucc .'</td>';
|
||||
|
||||
if ($type != 'worked') {
|
||||
echo '<td>'. $value['qsl'] . '</td>
|
||||
|
||||
Reference in New Issue
Block a user