3.0.0MPAKÿüÌINFOÌüÿ# # This file contains Installation Informations. # This file does not include Installation Instructions for the normal User. # Please do not edit this file if you are not the Module Author. # # Please read the provided install.txt for Informations on how to install this Module. # # Module Name [name] Activity / Arcade All Time High Score Players [/name] # Module Directory Name [short_name] Arcade_All_Time_High_Score_Players [/short_name] # your name [author] Wicher Original Author: Painkiller [/author] # your email [email] N/A ... [/email] # your webpage url [url] http://www.detecties.com/phpbb2018 [/url] # module version [version] 4.1.0 [/version] # required minimum Statistics Mod Version [stats_mod_version] 3.0.1beta3s [/stats_mod_version] # default update time [update_time] 0 [/update_time] [check_update_site] http://www.detecties.com/phpbb2018 [/check_update_site] # extra info for the user [extra_info] Displays a list of the top xx Activity / Arcade players sorted by All Time Highscore. [/extra_info] ÌÌÿINFOÿÌÌÿüÌLANGÌüÿreturn_limit.' All Time High Score Players]'; $lang['name'] = 'Username'; $lang['all_time'] = 'All Time Highscores'; // [/lang_english] // [lang_dutch] $lang['module_name'] = 'Activity Mod [Top '.$core->return_limit.' All Time High Score Players]'; $lang['name'] = 'Gebruikersnaam'; $lang['all_time'] = 'Hoogste Scores Aller Tijden'; // [/lang_dutch] // [lang_german] $lang['module_name'] = 'Activity Mod [Top '.$core->return_limit.' All Time High Score Players]'; $lang['name'] = 'Benutzername'; $lang['all_time'] = 'Alle Zeit Highscores'; // [/lang_german] // [lang_italian] $lang['module_name'] = 'Activity Mod [Top '.$core->return_limit.' All Time High Score Players]'; $lang['name'] = 'Username'; $lang['all_time'] = 'Tutto il Tempo Highscores'; // [/lang_italian] // [lang_spanish] $lang['module_name'] = 'Activity Mod [Top '.$core->return_limit.' All Time High Score Players]'; $lang['name'] = 'Username'; $lang['all_time'] = 'Toda la Hora Highscores'; // [/lang_spanish] ?>ÌÌÿLANGÿÌÌÿüÌMODÌüÿstart_module(true); $core->set_content('statistical'); $core->set_view('rows', $core->return_limit); $core->set_view('columns', 3); $core->define_view('set_columns', array( $core->pre_defined('rank'), 'user' => $lang['name'], 'alltimehigh' => $lang['all_time']) ); $core->set_header($lang['module_name']); $core->assign_defined_view('align_rows', array( 'left', 'center', 'left') ); $core->assign_defined_view('width_rows', array( '10%', '50%', '80%') ); // check if mod installed $sql = "SELECT at_first_places FROM " . iNA_USER_DATA; if (!$result = $db->sql_query($sql)) { $there=0; } else { $there=1; } if ($there == 0) { message_die(GENERAL_MESSAGE, 'This module requires Arcade_MOD_v2.1.2 (http://www.phpbb-arcade.com/download.php?id=421) to be installed.'); } $sql = "SELECT DISTINCT u.user_id, u.username, a.first_places, a.at_first_places FROM " . USERS_TABLE . " as u, " . iNA_USER_DATA . " as a WHERE u.user_id = a.user_id AND a.first_places > -1 ORDER by a.at_first_places DESC LIMIT " . $core->return_limit; $result = $core->sql_query($sql, 'Couldn\'t retrieve High Score Players'); $data = $core->sql_fetchrowset($result); $core->set_data($data); $core->define_view('set_rows', array( '$core->pre_defined()', '$core->generate_link(append_sid($phpbb_root_path . \'profile.php?mode=viewprofile&u=\' . $core->data(\'user_id\')), $core->data(\'username\'), \'target="_blank"\')', '$core->data(\'at_first_places\')') ); $core->run_module(); ?>ÌÌÿMODÿÌÌ