'.__("(Q)SL-Paper-Card").", ";
echo __("(L)oTW").", ";
echo __("(e)QSL").", ";
echo __('QR(Z)-"confirmation"').", ";
echo __("(C)lublog").", ";
echo __("(W)orked").'';
echo '
| # |
' . __("DXCC Name") . ' |
' . __("Prefix") . ' | ';
foreach($bands as $band) {
if (($posted_band != 'SAT') && ($band == 'SAT')) {
continue;
}
echo '' . $band . ' | ';
}
echo '
';
foreach ($dxcc_array as $dxcc => $value) { // Fills the table with the data
echo '
| '. $i++ .' | ';
foreach ($value as $name => $key) {
if (isset($value['Deleted']) && $value['Deleted'] == 1 && $name == "name") {
echo '' . $key . ' '.__("Deleted DXCC").' | ';
} else if ($name == "Deleted") {
continue;
} else {
echo '' . $key . ' | ';
}
}
echo '
';
}
echo '
' . __("Summary") . '
| ';
$addsat='';
foreach($bands as $band) {
if ($band != 'SAT') {
echo '' . $band . ' | ';
} else {
$addsat='' . $band . ' | ';
}
}
echo '' . __("Total") . ' | ';
if (count($bands) > 1) {
echo ' | ';
}
echo $addsat;
echo '
| ' . __("Total worked") . ' | ';
$addsat='';
foreach ($dxcc_summary['worked'] as $band => $dxcc) { // Fills the table with the data
if ($band != 'SAT') {
echo '';
if ($band == 'Total') {
echo ''.$dxcc.'';
} else {
echo $dxcc;
}
echo ' | ';
} else {
$addsat='' . $dxcc . ' | ';
}
}
if (count($bands) > 1) {
echo ' | ';
}
if ($addsat != '' && count($dxcc_summary['worked']) > 1) {
echo $addsat;
}
echo '
| ' . __("Total confirmed") . ' | ';
$addsat='';
foreach ($dxcc_summary['confirmed'] as $band => $dxcc) { // Fills the table with the data
if ($band != 'SAT') {
echo '';
if ($band == 'Total') {
echo ''.$dxcc.'';
} else {
echo $dxcc;
}
echo ' | ';
} else {
$addsat='' . $dxcc . ' | ';
}
}
if (count($bands) > 1) {
echo ' | ';
}
if ($addsat != '' && count($dxcc_summary['confirmed']) > 1) {
echo $addsat;
}
echo '
';
} else {
echo '
' . __("No results found for your search criteria. Please try again.") . '
';
}
?>