Merge branch 'main' into main
This commit is contained in:
commit
97dab8809a
4
assets/js/scripts.min.js
vendored
4
assets/js/scripts.min.js
vendored
|
@ -271,7 +271,7 @@ $(document).on("click", "#fillIpv4", function () {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "GET",
|
type: "GET",
|
||||||
url: "calls.php",
|
url: "calls.php",
|
||||||
data: {"type" : "dns_search", "hostname": host_name, "type": "A"},
|
data: {"type" : "dns_search", "hostname": host_name, "dns_type": "A"},
|
||||||
success: function (result) {
|
success: function (result) {
|
||||||
$('#ipv4').val(result);
|
$('#ipv4').val(result);
|
||||||
}
|
}
|
||||||
|
@ -281,7 +281,7 @@ $(document).on("click", "#fillIpv4", function () {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "GET",
|
type: "GET",
|
||||||
url: "calls.php",
|
url: "calls.php",
|
||||||
data: {"type" : "dns_search", "hostname": host_name, "type": "AAAA"},
|
data: {"type" : "dns_search", "hostname": host_name, "dns_type": "AAAA"},
|
||||||
success: function (result) {
|
success: function (result) {
|
||||||
if (result != ''){
|
if (result != ''){
|
||||||
$('#ipv6').val(result);
|
$('#ipv6').val(result);
|
||||||
|
|
|
@ -36,8 +36,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||||
} elseif ($_GET['value'] == 'domain') {
|
} elseif ($_GET['value'] == 'domain') {
|
||||||
$idle->viewMoreDomainModal($_GET['id']);//View more details modal
|
$idle->viewMoreDomainModal($_GET['id']);//View more details modal
|
||||||
}
|
}
|
||||||
} elseif ($_GET['type'] == 'A' || $_GET['type'] == 'AAAA') {
|
} elseif ($_GET['type'] == 'dns_search') {
|
||||||
$idle->getIpForDomain($_GET['hostname'], $_GET['type']);
|
$idle->getIpForDomain($_GET['hostname'], $_GET['dns_type']);
|
||||||
} elseif ($_GET['type'] == 'check_up') {
|
} elseif ($_GET['type'] == 'check_up') {
|
||||||
echo $idle->checkIsUp($_GET['host']);
|
echo $idle->checkIsUp($_GET['host']);
|
||||||
} elseif ($_GET['type'] == 'object_tables') {
|
} elseif ($_GET['type'] == 'object_tables') {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user