diff --git a/global_search.php b/global_search.php index 86fe2b16..b24307d8 100644 --- a/global_search.php +++ b/global_search.php @@ -39,6 +39,13 @@ if (isset($_GET['query'])) { AND (vendor_name LIKE '%$query%' OR vendor_phone LIKE '%$phone_query%') ORDER BY vendor_id DESC LIMIT 5" ); + + $sql_domains = mysqli_query($mysqli, "SELECT * FROM domains + LEFT JOIN clients ON domain_client_id = client_id + WHERE domain_archived_at IS NULL + AND domain_name LIKE '%$query%' + ORDER BY domain_id DESC LIMIT 5" + ); $sql_products = mysqli_query($mysqli, "SELECT * FROM products WHERE product_archived_at IS NULL @@ -240,6 +247,46 @@ if (isset($_GET['query'])) { + 0) { ?> + + +
+
+
+
Domains
+
+
+ + + + + + + + + + + + + + + + +
NameExpiry
+
+
+
+
+ + + 0) { ?>