opensidex("Mest aktiv i dag","off"); $result_posts = dbquery("SELECT user_id, user_name, Count('post_id') as cnt FROM ".$db_prefix."posts LEFT JOIN ".$db_prefix."users ON user_id = post_author WHERE post_datestamp + 86400 > ".time()." GROUP BY user_id ORDER BY cnt DESC LIMIT 5" ); echo "
"; if (dbrows($result_posts) != 0) { while($data = dbarray($result_posts)) { echo ""; } } echo "
".trimlink($data['user_name'], 10)."
"; closesidex();