Update lh.php
This commit is contained in:
parent
6e1d8e1dc2
commit
a5ce6d14d1
1 changed files with 3 additions and 2 deletions
|
@ -1,8 +1,9 @@
|
||||||
<?php
|
<?php
|
||||||
|
$totalLH = count($lastHeard);
|
||||||
?>
|
?>
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<!-- Standard-Panel-Inhalt -->
|
<!-- Standard-Panel-Inhalt -->
|
||||||
<div class="panel-heading">Last Heard List of today's <?php echo LHLINES; ?> callsigns.</div>
|
<div class="panel-heading">Last Heard List of today's <?php echo $totalLH; ?> callsigns.</div>
|
||||||
<!-- Tabelle -->
|
<!-- Tabelle -->
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table id="lastHeard" class="table table-condensed">
|
<table id="lastHeard" class="table table-condensed">
|
||||||
|
@ -21,7 +22,7 @@
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php
|
<?php
|
||||||
for ($i = 0; ($i < LHLINES) AND ($i < count($lastHeard)); $i++) {
|
for ($i = 0; ($i < $totalLH); $i++) {
|
||||||
$listElem = $lastHeard[$i];
|
$listElem = $lastHeard[$i];
|
||||||
echo"<tr>";
|
echo"<tr>";
|
||||||
echo"<td nowrap>$listElem[0]</td>";
|
echo"<td nowrap>$listElem[0]</td>";
|
||||||
|
|
Loading…
Reference in a new issue