if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; } if (file_exists(INFUSIONS."top_users_panel/locale/".$settings['locale'].".php")) { include INFUSIONS."top_users_panel/locale/".$settings['locale'].".php"; } else { include INFUSIONS."top_users_panel/locale/Polish.php"; } include LOCALE.LOCALESET."user_fields.php"; $result = dbquery("SELECT user_level, user_id, user_name, user_color, user_prefix, points_normal,points_bonus, points_punishment from ".$db_prefix."users WHERE user_level='101' ORDER BY (points_normal+points_bonus-points_punishment) DESC LIMIT 1,5"); $result2 = dbquery("SELECT user_level, user_id, user_avatar, user_name, user_color, user_prefix, points_normal,points_bonus, points_punishment from ".$db_prefix."users WHERE user_level='101' ORDER BY (points_normal+points_bonus-points_punishment) DESC LIMIT 1"); $x=2; $x2=1; openside($locale['tp_000']); while ($dane2 = dbarray($result2)) { echo "