previous/next links for results; also show "no data" if there's no data