Merge pull request #576 from AndreasK79/Counter_in_award_table

Added counter in award table for WAS and CQ.
这个提交包含在:
Peter Goodhall 2020-08-16 21:16:25 +01:00 提交者 GitHub
当前提交 a81ab1001e
找不到此签名对应的密钥
GPG 密钥 ID: 4AEE18F83AFDEB23
共有 2 个文件被更改,包括 7 次插入0 次删除

查看文件

@ -143,11 +143,13 @@
</fieldset>
</form>
<?php
$i = 1;
if ($cq_array) {
echo '
<table class="table table-bordered table-hover table-striped table-condensed text-center">
<thead>
<tr>
<td>#</td>
<td>CQ Zone</td>';
foreach($bands as $band) {
echo '<td>' . $band . '</td>';
@ -157,6 +159,7 @@
<tbody>';
foreach ($cq_array as $cq => $value) { // Fills the table with the data
echo '<tr>
<td>' . $i++ . '</td>
<td>'. $cq .'</td>';
foreach ($value as $key) {
echo '<td style="text-align: center">' . $key . '</td>';

查看文件

@ -69,10 +69,12 @@
</form>
<?php
if ($was_array) {
$i = 1;
echo '
<table class="table table-bordered table-hover table-striped table-condensed text-center">
<thead>
<tr>
<td>#</td>
<td>State</td>';
foreach($bands as $band) {
echo '<td>' . $band . '</td>';
@ -80,8 +82,10 @@
echo '</tr>
</thead>
<tbody>';
foreach ($was_array as $was => $value) { // Fills the table with the data
echo '<tr>
<td>' . $i++ . '</td>
<td>'. $was .'</td>';
foreach ($value as $key) {
echo '<td style="text-align: center">' . $key . '</td>';