show link to dmr.darc.de - database if ID not resolved to callsign
This commit is contained in:
parent
2c6d232bba
commit
ebf5d15633
4 changed files with 4 additions and 4 deletions
|
@ -37,7 +37,7 @@ for ($i = 0; ($i < $totalLH); $i++) {
|
||||||
if (constant("SHOWQRZ") && $listElem[2] !== "??????????" && !is_numeric($listElem[2])) {
|
if (constant("SHOWQRZ") && $listElem[2] !== "??????????" && !is_numeric($listElem[2])) {
|
||||||
echo"<td nowrap><a target=\"_new\" href=\"https://qrz.com/db/$listElem[2]\">".str_replace("0","Ø",$listElem[2])."</a></td>";
|
echo"<td nowrap><a target=\"_new\" href=\"https://qrz.com/db/$listElem[2]\">".str_replace("0","Ø",$listElem[2])."</a></td>";
|
||||||
} else {
|
} else {
|
||||||
echo"<td nowrap>".str_replace("0","Ø",$listElem[2])."</td>";
|
echo"<td nowrap><a target=\"_new\" href=\"http://dmr.darc.de/dmr-userreg.php?usrid=$listElem[2]\">".$listElem[2]."</td>";
|
||||||
}
|
}
|
||||||
if (defined("ENABLEXTDLOOKUP")) {
|
if (defined("ENABLEXTDLOOKUP")) {
|
||||||
echo "<td nowrap>".getName($listElem[2])."</td>";
|
echo "<td nowrap>".getName($listElem[2])."</td>";
|
||||||
|
|
|
@ -41,7 +41,7 @@ for ($i = 0; $i < count($localTXList); $i++) {
|
||||||
if (constant("SHOWQRZ") && $listElem[2] !== "??????????" && !is_numeric($listElem[2])) {
|
if (constant("SHOWQRZ") && $listElem[2] !== "??????????" && !is_numeric($listElem[2])) {
|
||||||
echo"<td nowrap><a target=\"_new\" href=\"https://qrz.com/db/$listElem[2]\">".str_replace("0","Ø",$listElem[2])."</a></td>";
|
echo"<td nowrap><a target=\"_new\" href=\"https://qrz.com/db/$listElem[2]\">".str_replace("0","Ø",$listElem[2])."</a></td>";
|
||||||
} else {
|
} else {
|
||||||
echo"<td nowrap>".str_replace("0","Ø",$listElem[2])."</td>";
|
echo"<td nowrap><a target=\"_new\" href=\"http://dmr.darc.de/dmr-userreg.php?usrid=$listElem[2]\">".$listElem[2]."</td>";
|
||||||
}
|
}
|
||||||
if (defined("ENABLEXTDLOOKUP")) {
|
if (defined("ENABLEXTDLOOKUP")) {
|
||||||
echo "<td class=\"nowrap\">".getName($listElem[2])."</td>";
|
echo "<td class=\"nowrap\">".getName($listElem[2])."</td>";
|
||||||
|
|
|
@ -17,7 +17,7 @@ foreach ($lastHeard as $listElem) {
|
||||||
if (constant("SHOWQRZ") && $listElem[2] !== "??????????" && !is_numeric($listElem[2])) {
|
if (constant("SHOWQRZ") && $listElem[2] !== "??????????" && !is_numeric($listElem[2])) {
|
||||||
echo"<td nowrap><a target=\"_new\" href=\"https://qrz.com/db/$listElem[2]\">".str_replace("0","Ø",$listElem[2])."</a></td>";
|
echo"<td nowrap><a target=\"_new\" href=\"https://qrz.com/db/$listElem[2]\">".str_replace("0","Ø",$listElem[2])."</a></td>";
|
||||||
} else {
|
} else {
|
||||||
echo"<td nowrap>".str_replace("0","Ø",$listElem[2])."</td>";
|
echo"<td nowrap><a target=\"_new\" href=\"http://dmr.darc.de/dmr-userreg.php?usrid=$listElem[2]\">".$listElem[2]."</td>";
|
||||||
}
|
}
|
||||||
if (defined("ENABLEXTDLOOKUP")) {
|
if (defined("ENABLEXTDLOOKUP")) {
|
||||||
echo "<td nowrap>".getName($listElem[2])."</td>";
|
echo "<td nowrap>".getName($listElem[2])."</td>";
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
<?php
|
<?php
|
||||||
define("VERSION", "20160930-3");
|
define("VERSION", "20161001-1");
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue