Ported over the index page to the newer version that uses function sfrom
displayFunctions.php. I've began transitioning the search.php page to
use the displayfunctions.php functions.