kopia lustrzana https://github.com/magicbug/Cloudlog
Added counter in award table for WAS and CQ.
rodzic
03b25d00d5
commit
1f224d20e8
|
@ -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>';
|
||||
|
|
Ładowanie…
Reference in New Issue