fixed paging for search, added advanced search files

and fixed one html file formatting