some small code reworks
This commit is contained in:
parent
4251384588
commit
d269ad0811
2 changed files with 14 additions and 14 deletions
|
@ -32,27 +32,27 @@ $totalLH = count($lastHeard);
|
||||||
for ($i = 0; ($i < $totalLH); $i++) {
|
for ($i = 0; ($i < $totalLH); $i++) {
|
||||||
$listElem = $lastHeard[$i];
|
$listElem = $lastHeard[$i];
|
||||||
echo"<tr>";
|
echo"<tr>";
|
||||||
echo"<td class=\"nowrap\">$listElem[0]</td>";
|
echo"<td nowrap>$listElem[0]</td>";
|
||||||
echo"<td class=\"nowrap\">$listElem[1]</td>";
|
echo"<td nowrap>$listElem[1]</td>";
|
||||||
echo"<td class=\"nowrap\">$listElem[2]</td>";
|
echo"<td nowrap>$listElem[2]</td>";
|
||||||
if (defined("ENABLEXTDLOOKUP")) {
|
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 nowrap>$listElem[3]</td>";
|
||||||
echo"<td class=\"nowrap\">$listElem[4]</td>";
|
echo"<td nowrap>$listElem[4]</td>";
|
||||||
if ($listElem[5] == "RF"){
|
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{
|
}else{
|
||||||
echo"<td class=\"nowrap\">$listElem[5]</td>";
|
echo"<td nowrap>$listElem[5]</td>";
|
||||||
}
|
}
|
||||||
if ($listElem[6] == null) {
|
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") {
|
} 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 {
|
} else {
|
||||||
echo"<td class=\"nowrap\">$listElem[6]</td>";
|
echo"<td nowrap>$listElem[6]</td>";
|
||||||
echo"<td class=\"nowrap\">$listElem[7]</td>";
|
echo"<td nowrap>$listElem[7]</td>";
|
||||||
echo"<td class=\"nowrap\">$listElem[8]</td>";
|
echo"<td nowrap>$listElem[8]</td>";
|
||||||
}
|
}
|
||||||
echo"</tr>\n";
|
echo"</tr>\n";
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
<?php
|
<?php
|
||||||
define("VERSION", "20160914-2");
|
define("VERSION", "20160914-3");
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue