PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/productjuly1video/healreals.click/ajax/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : /home/trave494/productjuly1video/healreals.click/ajax/search_users.php |
<?php if (!empty($_POST['search_value'])) { $filter_keyword = PT_Secure($_POST['search_value']); $sql = "SELECT * FROM ".T_USERS." WHERE username LIKE '%$filter_keyword%' OR email LIKE '%$filter_keyword%' OR first_name LIKE '%$filter_keyword%' OR last_name LIKE '%$filter_keyword%' LIMIT 10"; $users = $db->rawQuery($sql); if (!empty($users)) { $html = ''; foreach ($users as $key => $user) { $user = PT_UserData($user->id); $user_name = '"'.$user->username.'"'; $html .= "<div class='search-result-' style='padding:10px;'><a href='javascript:void(0)' onclick='add_to_input($user_name)' >$user->name</a></div>"; } $data = array('status' => 200, 'html' => $html); } else{ $data['status'] = 400; } }