diff --git a/global_search.php b/global_search.php
index 1d4f2e77..76f64703 100644
--- a/global_search.php
+++ b/global_search.php
@@ -1,188 +1,231 @@
-
+ $q = htmlentities($_GET['query']);
+ ?>
-
Welcome to Global Search...
-
-
+
Welcome to Global Search...
+
+
-
+
-
-
-
-
-
-
-
- | Name |
- Email |
- Phone |
-
-
-
- 2){
- $location_phone = substr($row['location_phone'],0,3)."-".substr($row['location_phone'],3,3)."-".substr($row['location_phone'],6,4);
- }
- //$client_email = $row['client_email'];
- $client_website = $row['client_website'];
+
+
+
+
+
+
+
+ | Name |
+ Email |
+ Phone |
+
+
+
+
-
- |
- |
- |
-
+ while($row = mysqli_fetch_array($sql_clients)){
+ $client_id = $row['client_id'];
+ $client_name = $row['client_name'];
+ $location_phone = $row['location_phone'];
+ if(strlen($location_phone)>2){
+ $location_phone = substr($row['location_phone'],0,3)."-".substr($row['location_phone'],3,3)."-".substr($row['location_phone'],6,4);
+ }
+ //$client_email = $row['client_email'];
+ $client_website = $row['client_website'];
-
+ ?>
+
+ |
+ |
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | Name |
+ Description |
+ Phone |
+
+
+
+
+
+ |
+ |
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | Name |
+ Description |
+
+
+
+
+
+ |
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | Description |
+ Username |
+ Password |
+
+
+
+
+
+ |
+ |
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | Description |
+ Client |
+ Status |
+
+
+
+
+
+ |
+ |
+ |
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
- | Name |
- Description |
- Phone |
-
-
-
-
-
- |
- |
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- | Name |
- Description |
-
-
-
-
-
- |
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- | Description |
- Username |
- Password |
-
-
-
-
-
- |
- |
- |
-
-
-
-
-
-
-
-
-
-
-
-
-