Merge pull request #576 from AndreasK79/Counter_in_award_table
Added counter in award table for WAS and CQ.
这个提交包含在:
当前提交
a81ab1001e
共有 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>';
|
||||
|
|
|
|||
正在加载…
在新工单中引用