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 Mod xx Newest Games [/name] # Module Directory Name [short_name] Activity_Arcade_Mod_xx_Newest_Games [/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 http://deadzone.runecentral.com/forums/ [/url] # module version [version] 4.0.1 [/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 xx newest games added to Activity Mod and when they where added. [/extra_info] ÌÌÿINFOÿÌÌÿüÌLANGÌüÿreturn_limit.' Most Recent Added Games]'; $lang['plays'] = 'Plays'; $lang['game'] = 'Game'; $lang['date'] = 'Installed On'; // [/lang_english] // [lang_dutch] $lang['module_name'] = 'Activity Mod ['.$core->return_limit.' Meest Recent toegevoegde Spellen]'; $lang['plays'] = 'x Gespeeld'; $lang['game'] = 'Spel'; $lang['date'] = 'Installed On'; // [/lang_dutch] // [lang_german] $lang['module_name'] = 'Tätigkeit Umb. ['.$core->return_limit.' Neueste Addierte Spiele]'; $lang['plays'] = 'Gespielt'; $lang['game'] = 'Spiel'; $lang['date'] = 'Installed On'; // [/lang_german] // [lang_italian] $lang['module_name'] = 'MOD Di Attività ['.$core->return_limit.' Giochi Aggiunti I più recenti]'; $lang['plays'] = 'Giocato'; $lang['game'] = 'Gioco'; $lang['date'] = 'Installed On'; // [/lang_italian] // [lang_spanish] $lang['module_name'] = 'MOD De la Actividad ['.$core->return_limit.' Juegos Agregados Más recientes]'; $lang['plays'] = 'Jugado'; $lang['game'] = 'Juego'; $lang['date'] = 'Installed On'; // [/lang_spanish] ?>ÌÌÿLANGÿÌÌÿüÌMODÌüÿstart_module(true); $core->set_content('statistical'); $core->set_view('rows', $core->return_limit); $core->set_view('columns', 4); $core->define_view('set_columns', array( $core->pre_defined('rank'), 'l_game' => $lang['game'], 'l_plays' => $lang['plays'], 'l_date' => $lang['date']) ); $core->set_header($lang['module_name']); $core->assign_defined_view('align_rows', array( 'left', 'center', 'left', 'left') ); $core->assign_defined_view('width_rows', array( '10%', '30%', '30%', '30%') ); // 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 i.game_id, i.game_desc, i.played, i.date_added, u.user_dateformat, u.user_timezone FROM '. iNA_GAMES .' i, '. USERS_TABLE .' u WHERE u.user_id = '. $userdata['user_id'] .' ORDER BY date_added DESC LIMIT ' . $core->return_limit; $result = $core->sql_query($sql, 'Couldn\'t retrieve games data'); $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 . \'activity.php?mode=game&id=\' . $core->data(\'game_id\')), $core->data(\'game_desc\'), \'target="_blank"\')', '$core->data(\'played\')', 'create_date($core->data(\'user_dateformat\'), $core->data(\'date_added\'), $core->data(\'user_timezone\'))') ); $core->run_module(); ?>ÌÌÿMODÿÌÌ