Adapted asearch.php to Coding standard