Update lh.php

This commit is contained in:
EA4GKQ 2016-06-24 21:24:34 +02:00 committed by GitHub
parent 0727bfc187
commit bac47ad98a

View file

@ -24,24 +24,24 @@
for ($i = 0; ($i < LHLINES) AND ($i < count($lastHeard)); $i++) { for ($i = 0; ($i < LHLINES) AND ($i < count($lastHeard)); $i++) {
$listElem = $lastHeard[$i]; $listElem = $lastHeard[$i];
echo"<tr>"; echo"<tr>";
echo"<td>$listElem[0]</td>"; echo"<td nowrap>$listElem[0]</td>";
echo"<td>$listElem[1]</td>"; echo"<td nowrap>$listElem[1]</td>";
echo"<td>$listElem[2]</td>"; echo"<td nowrap>$listElem[2]</td>";
echo"<td>$listElem[3]</td>"; echo"<td nowrap>$listElem[3]</td>";
echo"<td>$listElem[4]</td>"; echo"<td nowrap>$listElem[4]</td>";
if ($listElem[5] == "RF"){ if ($listElem[5] == "RF"){
echo "<td><span class=\"label label-success\">RF</span></td>"; echo "<td nowrap><span class=\"label label-success\">RF</span></td>";
}else{ }else{
echo"<td>$listElem[5]</td>"; echo"<td nowrap>$listElem[5]</td>";
} }
if ($listElem[6] == null) { if ($listElem[6] == null) {
echo'<td colspan="3">transmitting</td>'; echo'<td nowrap colspan="3">transmitting</td>';
} else if ($listElem[6] == "SMS") { } else if ($listElem[6] == "SMS") {
echo'<td colspan="3">sending or receiving SMS</td>'; echo'<td nowrap colspan="3">sending or receiving SMS</td>';
} else { } else {
echo"<td>$listElem[6]</td>"; echo"<td nowrap>$listElem[6]</td>";
echo"<td>$listElem[7]</td>"; echo"<td nowrap>$listElem[7]</td>";
echo"<td>$listElem[8]</td>"; echo"<td nowrap>$listElem[8]</td>";
} }
echo"</tr>\n"; echo"</tr>\n";
} }