some small code reworks

This commit is contained in:
dg9vh 2016-09-14 20:12:08 +00:00
parent 4251384588
commit d269ad0811
2 changed files with 14 additions and 14 deletions

View file

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

View file

@ -1,3 +1,3 @@
<?php
define("VERSION", "20160914-2");
define("VERSION", "20160914-3");
?>