Пример #1
0
    echo '<td bgcolor="#E6E6E6"></td><td bgcolor="Black" width="0.3px"></td><td bgcolor="#E6E6E6"></td>' . "\n";
    echo '<td align="center" bgcolor="#E6E6E6">Allband Count</td>' . "\n";
    echo '</tr>' . "\n";
    foreach ($mode as $mode_proc) {
        echo '<tr>' . "\n";
        echo '<td></td>' . "\n";
        echo '<td></td><td bgcolor="Black" width="0.3px"></td><td></td>' . "\n";
        echo '<td align="right"><font size=+1>' . $mode_proc . ' confirmed</font></td>' . "\n";
        foreach ((array) $bands as $band_in) {
            echo '<td></td><td bgcolor="Black" width="0.3px"></td><td></td>' . "\n";
            echo '<td align="center" bgcolor="#40FF00">' . count_dxcc($log_id, $band_in, $mode_proc, $paperqsl, $lotwqsl, $eqslqsl) . '</td>' . "\n";
        }
        echo '<td></td><td bgcolor="Black" width="0.3px"></td><td></td>' . "\n";
        echo '<td align="center" bgcolor="#40FF00">' . count_dxcc($log_id, "ALL", $mode_proc, $paperqsl, $lotwqsl, $eqslqsl) . '</td>' . "\n";
        echo '</tr>' . "\n";
        echo '<tr>' . "\n";
        echo '<td></td>' . "\n";
        echo '<td></td><td bgcolor="Black" width="0.3px"></td><td></td>' . "\n";
        echo '<td align="right"><font size=+1>' . $mode_proc . ' worked</font></td>' . "\n";
        foreach ((array) $bands as $band_in) {
            echo '<td></td><td bgcolor="Black" width="0.3px"></td><td></td>' . "\n";
            echo '<td align="center" bgcolor="Red">' . count_dxcc($log_id, $band_in, $mode_proc, false, false, false) . '</td>' . "\n";
        }
        echo '<td></td><td bgcolor="Black" width="0.3px"></td><td></td>' . "\n";
        echo '<td align="center" bgcolor="Red">' . count_dxcc($log_id, "ALL", $mode_proc, false, false, false) . '</td>' . "\n";
        echo '</tr>' . "\n";
    }
}
?>

Пример #2
0
if (empty($call)) {
    echo '<div class="table-responsive">' . "\n";
    echo '<table class="table table-condensed" align="center" cellpadding="0" cellspacing="0">' . "\n";
    echo '<tr><th> DXCC Count</th>' . "\n";
    foreach ((array) $bands as $band_in) {
        echo '<th style="text-align:center" >' . $band_in . '</th>' . "\n";
    }
    echo '<th style="text-align:center" >Allband Count</th>' . "\n";
    echo '</tr>' . "\n";
    array_unshift($mode, 'ALL');
    foreach ($mode as $mode_proc) {
        echo '<tr>' . "\n";
        echo '<td align="right">' . $mode_proc . ' confirmed</td>' . "\n";
        foreach ((array) $bands as $band_in) {
            echo '<td align="center" class="success">' . count_dxcc($log_id, $band_in, $mode_proc, $paperqsl, $lotwqsl, $eqslqsl) . '</td>' . "\n";
        }
        echo '<td align="center" class="success">' . count_dxcc($log_id, "ALL", $mode_proc, $paperqsl, $lotwqsl, $eqslqsl) . '</td>' . "\n";
        echo '</tr>' . "\n";
        echo '<tr>' . "\n";
        echo '<td align="right">' . $mode_proc . ' worked</td>' . "\n";
        foreach ((array) $bands as $band_in) {
            echo '<td align="center" class="danger">' . count_dxcc($log_id, $band_in, $mode_proc, false, false, false) . '</td>' . "\n";
        }
        echo '<td align="center" class="danger">' . count_dxcc($log_id, "ALL", $mode_proc, false, false, false) . '</td>' . "\n";
        echo '</tr>' . "\n";
    }
}
echo '</table></div>' . "\n";
?>