Added all links, functionality added to search.php