php functionality changed to output the most recent ten listings