Aardvark Topsites is an open source topsites system, and is the most-used free "topsites" script on the Internet.
From the Author
Aardvark Topsites is simply the best topsites script there is. Features include: pageview counts, hits in and hits out, members ranking, and customizable templates.
Author website: http://www.aardvarkind.com