format search page