Update lh.php

This commit is contained in:
EA4GKQ 2016-06-24 22:12:47 +02:00 committed by GitHub
parent 6e1d8e1dc2
commit a5ce6d14d1

View file

@ -1,8 +1,9 @@
<?php
$totalLH = count($lastHeard);
?>
<div class="panel panel-default">
<!-- 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 -->
<div class="table-responsive">
<table id="lastHeard" class="table table-condensed">
@ -21,7 +22,7 @@
</thead>
<tbody>
<?php
for ($i = 0; ($i < LHLINES) AND ($i < count($lastHeard)); $i++) {
for ($i = 0; ($i < $totalLH); $i++) {
$listElem = $lastHeard[$i];
echo"<tr>";
echo"<td nowrap>$listElem[0]</td>";