Hm, just did it with simple mysql query...
Replace funny.lt with your code and include in home.html template... :}
Simple code.
<?
include "config.php";
$profile_img = '<img src="http://www.funny.lt/templates/default/images/profile.gif" border="0" align="absmiddle" alt="Member profile">';
$pm_img = '<img src="http://www.funny.lt/templates/default/images/pm.gif" border="0" align="absmiddle" alt="Private message">';
$db = mysql_connect("$db_host", "$db_user", "$db_password") or die ("Error");
@mysql_select_db("$db_name", $db) or die ("DB not found");
$result = mysql_query("SELECT profile_hits, user_name, user_id FROM 4images_users ORDER BY profile_hits DESC LIMIT 5");
while ($row = mysql_fetch_array($result)) {
echo
"<a href=http://www.funny.lt/pm.php?action=new&user_id=".$row['user_id'].">".$pm_img."</a>
<a href=http://www.funny.lt/member.php?action=mailform&user_id=".$row['user_id'].">".$mail_img."</a>
<a href=http://funny.lt/member.php?action=showprofile&user_id=".$row['user_name'].">".$row['user_name']."</a> - <b>".$row['profile_hits']."</b><br/>";
}
?>