|
From: Jon O. <jon...@us...> - 2005-10-02 21:23:34
|
Update of /cvsroot/mxbb/mx_act/includes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv582/modules/mx_act/includes Modified Files: act_cat_play.php act_challenges.php act_challenges_main.php act_constants.php act_footer.php act_functions.php act_games.php act_header.php act_main.php act_scores.php act_stats.php act_top_scores.php act_top_scores_search.php act_trophy.php act_trophy_comments.php rewards_api.php Log Message: updated all file headers Index: act_header.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/includes/act_header.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** act_header.php 9 Jan 2005 21:30:35 -0000 1.3 --- act_header.php 1 Oct 2005 14:11:39 -0000 1.4 *************** *** 1,9 **** <?php ! /** ! * kb_header.php ! * ------------------- ! * begin : Monday, Mar 31, 2003 ! * copyright : (C) 2001 The phpBB Group ! * email : su...@ph... * * $Id$ --- 1,11 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, (c)2002 www.iNetAngel.com ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- * * $Id$ Index: act_constants.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/includes/act_constants.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** act_constants.php 12 Apr 2005 19:48:19 -0000 1.9 --- act_constants.php 1 Oct 2005 14:11:39 -0000 1.10 *************** *** 1,125 **** ! <?php ! /** ! * kb_constants.php ! * ------------------- ! * begin : April, 2003 ! * copyright : (C) 2002 MX-System ! * email : su...@mx... ! * description : define constants ! * Author : Haplo (jon...@ho...) ! * credit : Roman Malarev (romutis), MarcMoris ! * ! * $Id$ ! */ ! // ---------------------------------------------------------------------START ! // This file defines specific constants for the module ! // ------------------------------------------------------------------------- ! define( 'PAGE_ACTIVITY', -12 ); ! define( 'PAGE_PLAYING_GAMES', -13 ); ! ! /* ! // iNetAngel Activity Data ! define('iNA', $mx_table_prefix.'ina_data'); ! ! // iNetAngel Games Data ! define('iNA_GAMES', $mx_table_prefix.'ina_games'); ! define('iNA_SCORES', $mx_table_prefix.'ina_scores'); ! ! // Addon ! define('INA_TROPHY', $mx_table_prefix .'ina_top_scores'); ! define('INA_CHEAT', $mx_table_prefix .'ina_cheat_fix'); ! define('INA_BAN', $mx_table_prefix .'ina_ban'); ! ! // MX ! define("iNA_CONFIG", $mx_table_prefix .'ina_config'); ! */ ! ! define( 'iNA', $mx_table_prefix . 'ina_data' ); ! ! define( 'iNA_GAMES', $mx_table_prefix . 'ina_games' ); ! define( 'iNA_SCORES', $mx_table_prefix . 'ina_scores' ); ! ! define( 'INA_TROPHY', $mx_table_prefix . 'ina_top_scores' ); ! define( 'INA_CHEAT', $mx_table_prefix . 'ina_cheat_fix' ); ! define( 'INA_BAN', $mx_table_prefix . 'ina_ban' ); ! ! define( 'INA_CATEGORY', $mx_table_prefix . 'ina_categories' ); ! define( 'INA_CATEGORY_MAIN', $mx_table_prefix . 'ina_main_categories' ); ! define( 'INA_CATEGORY_DATA', $mx_table_prefix . 'ina_categories_data' ); ! define( 'INA_DISABLE', $mx_table_prefix . 'ina_hidden' ); ! define( 'INA_CHALLENGE', $mx_table_prefix . 'ina_challenge_tracker' ); ! define( 'INA_CHALLENGE_USERS', $mx_table_prefix . 'ina_challenge_users' ); ! ! define( "iNA_TROPHY_COMMENTS", $mx_table_prefix . 'ina_trophy_comments' ); ! define( "iNA_CONFIG", $mx_table_prefix . 'ina_config' ); ! define( "iNA_SCORE_FIX", $mx_table_prefix . 'scores_fixer' ); ! // ********************************************************************** ! // Read language definition ! // ********************************************************************** ! if ( !file_exists( $mx_root_path . 'modules/mx_act/language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ) ) ! { ! include( $mx_root_path . 'modules/mx_act/language/lang_english/lang_main.' . $phpEx ); ! $link_language = 'lang_english'; ! } ! else ! { ! include( $mx_root_path . 'modules/mx_act/language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ); ! $link_language = 'lang_' . $board_config['default_lang']; ! } ! // ********************************************************************** ! // Read theme definition ! // ********************************************************************** ! if ( file_exists( $module_root_path . "templates/" . $theme['template_name'] . "/images" ) ) ! { ! // ---------- ! $current_template_images = $module_root_path . "templates/" . $theme['template_name'] . "/images" ; ! // ---------- ! } ! else ! { ! // ---------- ! $current_template_images = $module_root_path . "templates/" . "subSilver" . "/images" ; ! // ---------- ! } ! // ********************************************************************** ! // Read image language in theme definition ! // ********************************************************************** ! if ( file_exists( "$current_template_images/$link_language/kb.gif" ) ) ! { ! // ---------- ! $images['icon_approve'] = "$current_template_images/icon_approve.gif"; ! $images['icon_unapprove'] = "$current_template_images/icon_unapprove.gif"; ! $images['kb_title'] = "$current_template_images/$link_language/kb.gif"; ! // ---------- ! } ! else ! { ! // ---------- ! $images['icon_approve'] = "$current_template_images/icon_approve.gif"; ! $images['icon_unapprove'] = "$current_template_images/icon_unapprove.gif"; ! $images['kb_title'] = "$current_template_images/lang_english/kb.gif"; ! // ---------- ! } ! ! // Pull all config data ! ! $sql = "SELECT * ! FROM " . iNA_CONFIG; ! if ( !$result = $db->sql_query( $sql ) ) ! { ! mx_message_die( CRITICAL_ERROR, "Could not query config information in act_config", "", __LINE__, __FILE__, $sql ); ! } ! else ! { ! while ( $row = $db->sql_fetchrow( $result ) ) ! { ! $config_name = $row['config_name']; ! $config_value = $row['config_value']; ! $act_config[$config_name] = $config_value; ! } ! } ! ! $mxbb_footer_addup[] = 'mxBB Activity Games Module'; ! ! ?> \ No newline at end of file --- 1,132 ---- ! <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, (c)2002 www.iNetAngel.com ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- ! * ! * $Id$ ! */ ! ! /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. ! */ ! ! // ---------------------------------------------------------------------START ! // This file defines specific constants for the module ! // ------------------------------------------------------------------------- ! define( 'PAGE_ACTIVITY', -12 ); ! define( 'PAGE_PLAYING_GAMES', -13 ); ! ! /* ! // iNetAngel Activity Data ! define('iNA', $mx_table_prefix.'ina_data'); ! ! // iNetAngel Games Data ! define('iNA_GAMES', $mx_table_prefix.'ina_games'); ! define('iNA_SCORES', $mx_table_prefix.'ina_scores'); ! ! // Addon ! define('INA_TROPHY', $mx_table_prefix .'ina_top_scores'); ! define('INA_CHEAT', $mx_table_prefix .'ina_cheat_fix'); ! define('INA_BAN', $mx_table_prefix .'ina_ban'); ! ! // MX ! define("iNA_CONFIG", $mx_table_prefix .'ina_config'); ! */ ! ! define( 'iNA', $mx_table_prefix . 'ina_data' ); ! ! define( 'iNA_GAMES', $mx_table_prefix . 'ina_games' ); ! define( 'iNA_SCORES', $mx_table_prefix . 'ina_scores' ); ! ! define( 'INA_TROPHY', $mx_table_prefix . 'ina_top_scores' ); ! define( 'INA_CHEAT', $mx_table_prefix . 'ina_cheat_fix' ); ! define( 'INA_BAN', $mx_table_prefix . 'ina_ban' ); ! ! define( 'INA_CATEGORY', $mx_table_prefix . 'ina_categories' ); ! define( 'INA_CATEGORY_MAIN', $mx_table_prefix . 'ina_main_categories' ); ! define( 'INA_CATEGORY_DATA', $mx_table_prefix . 'ina_categories_data' ); ! define( 'INA_DISABLE', $mx_table_prefix . 'ina_hidden' ); ! define( 'INA_CHALLENGE', $mx_table_prefix . 'ina_challenge_tracker' ); ! define( 'INA_CHALLENGE_USERS', $mx_table_prefix . 'ina_challenge_users' ); ! ! define( "iNA_TROPHY_COMMENTS", $mx_table_prefix . 'ina_trophy_comments' ); ! define( "iNA_CONFIG", $mx_table_prefix . 'ina_config' ); ! define( "iNA_SCORE_FIX", $mx_table_prefix . 'scores_fixer' ); ! // ********************************************************************** ! // Read language definition ! // ********************************************************************** ! if ( !file_exists( $mx_root_path . 'modules/mx_act/language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ) ) ! { ! include( $mx_root_path . 'modules/mx_act/language/lang_english/lang_main.' . $phpEx ); ! $link_language = 'lang_english'; ! } ! else ! { ! include( $mx_root_path . 'modules/mx_act/language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ); ! $link_language = 'lang_' . $board_config['default_lang']; ! } ! // ********************************************************************** ! // Read theme definition ! // ********************************************************************** ! if ( file_exists( $module_root_path . "templates/" . $theme['template_name'] . "/images" ) ) ! { ! // ---------- ! $current_template_images = $module_root_path . "templates/" . $theme['template_name'] . "/images" ; ! // ---------- ! } ! else ! { ! // ---------- ! $current_template_images = $module_root_path . "templates/" . "subSilver" . "/images" ; ! // ---------- ! } ! // ********************************************************************** ! // Read image language in theme definition ! // ********************************************************************** ! if ( file_exists( "$current_template_images/$link_language/kb.gif" ) ) ! { ! // ---------- ! $images['icon_approve'] = "$current_template_images/icon_approve.gif"; ! $images['icon_unapprove'] = "$current_template_images/icon_unapprove.gif"; ! $images['kb_title'] = "$current_template_images/$link_language/kb.gif"; ! // ---------- ! } ! else ! { ! // ---------- ! $images['icon_approve'] = "$current_template_images/icon_approve.gif"; ! $images['icon_unapprove'] = "$current_template_images/icon_unapprove.gif"; ! $images['kb_title'] = "$current_template_images/lang_english/kb.gif"; ! // ---------- ! } ! ! // Pull all config data ! ! $sql = "SELECT * ! FROM " . iNA_CONFIG; ! if ( !$result = $db->sql_query( $sql ) ) ! { ! mx_message_die( CRITICAL_ERROR, "Could not query config information in act_config", "", __LINE__, __FILE__, $sql ); ! } ! else ! { ! while ( $row = $db->sql_fetchrow( $result ) ) ! { ! $config_name = $row['config_name']; ! $config_value = $row['config_value']; ! $act_config[$config_name] = $config_value; ! } ! } ! ! $mxbb_footer_addup[] = 'mxBB Activity Games Module'; ! ! ?> \ No newline at end of file Index: act_top_scores_search.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/includes/act_top_scores_search.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** act_top_scores_search.php 9 Jan 2005 21:30:35 -0000 1.2 --- act_top_scores_search.php 1 Oct 2005 14:11:39 -0000 1.3 *************** *** 1,10 **** <?php /** ! * activity_top_scores_search.php ! * -------------------------------- ! * Version : 1.0.3 ! * Email : aus...@ho... ! * Site : austin-inc.com/ ! * Copyright : © aUsTiN-Inc 2003/4 */ --- 1,20 ---- <?php + /** ------------------------------------------------------------------------ + * Subject : mxBB - a fully modular portal and CMS (for phpBB) + * Author : Jon Ohlsson and the mxBB Team + * Credits : The phpBB Group & Marc Morisette, (c)2002 www.iNetAngel.com + * Copyright : (C) 2002-2005 mxBB Portal + * Email : jo...@mx... + * Project site : www.mxbb-portal.com + * ------------------------------------------------------------------------- + * + * $Id$ + */ + /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ Index: act_footer.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/includes/act_footer.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** act_footer.php 9 Jan 2005 21:30:35 -0000 1.2 --- act_footer.php 1 Oct 2005 14:11:39 -0000 1.3 *************** *** 1,9 **** <?php ! /** ! * kb_footer.php ! * ------------------- ! * begin : Monday, Mar 31, 2003 ! * copyright : (C) 2001 The phpBB Group ! * email : su...@ph... * * $Id$ --- 1,11 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, (c)2002 www.iNetAngel.com ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- * * $Id$ Index: act_trophy_comments.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/includes/act_trophy_comments.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** act_trophy_comments.php 9 Jan 2005 21:30:35 -0000 1.2 --- act_trophy_comments.php 1 Oct 2005 14:11:39 -0000 1.3 *************** *** 1,13 **** <?php /** ! * trophy_comments.php ! * --------------------- ! * Version : 1.0.3 ! * Email : aus...@ho... ! * Site : austin-inc.com/Blend/ ! * Copyright : © aUsTiN-Inc 2003/4 (Blend Portal System) */ ! /* Start Restriction Checks */ /* Start Ban Check */ --- 1,22 ---- <?php + /** ------------------------------------------------------------------------ + * Subject : mxBB - a fully modular portal and CMS (for phpBB) + * Author : Jon Ohlsson and the mxBB Team + * Credits : The phpBB Group & Marc Morisette, (c)2002 www.iNetAngel.com + * Copyright : (C) 2002-2005 mxBB Portal + * Email : jo...@mx... + * Project site : www.mxbb-portal.com + * ------------------------------------------------------------------------- + * + * $Id$ + */ /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ ! /* Start Restriction Checks */ /* Start Ban Check */ Index: act_trophy.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/includes/act_trophy.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** act_trophy.php 9 Jan 2005 21:30:35 -0000 1.3 --- act_trophy.php 1 Oct 2005 14:11:39 -0000 1.4 *************** *** 1,10 **** <?php /** ! * activity_trophy_holders.php ! * ----------------------------- ! * Version : 1.0.3 ! * Email : aus...@ho... ! * Site : austin-inc.com/ ! * Copyright : © aUsTiN-Inc 2003/4 */ --- 1,20 ---- <?php + /** ------------------------------------------------------------------------ + * Subject : mxBB - a fully modular portal and CMS (for phpBB) + * Author : Jon Ohlsson and the mxBB Team + * Credits : The phpBB Group & Marc Morisette, (c)2002 www.iNetAngel.com + * Copyright : (C) 2002-2005 mxBB Portal + * Email : jo...@mx... + * Project site : www.mxbb-portal.com + * ------------------------------------------------------------------------- + * + * $Id$ + */ + /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ Index: act_main.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/includes/act_main.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** act_main.php 9 Jan 2005 21:30:35 -0000 1.4 --- act_main.php 1 Oct 2005 14:11:39 -0000 1.5 *************** *** 1,23 **** <?php ! // ////////////////////////////////////////////////////////////////////////// ! // / ___ ! // / / /\ ___ ! // / ### ### / /::\ / /\ ! // / ## #### ## / /:/\:\ / /:/ ! // / ## ## ## ## / /:/~/::\ /__/::\ ! // / ## ## ## /__/:/ /:/\:\ \__\/\:\__ ! // / ## ## ## ## \ \:\/:/__\/ /¯¯¯/ \ \:\/\ ! // / ## #### ## \ \::/ \__\::/ ! // / ### ### \ \:\ /__/:/ ! // / \ \:\ \__\/ ! // / \__\/ ! // ////////////////////////////////////////////////////////////////////////// /** ! * activity.php ! * ---------------- ! * My Version : 1.0.4 ! * Email : au...@au... ! * Site : austin-inc.com/ ! * Copyright : © aUsTiN-Inc 2003/4 */ --- 1,20 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, (c)2002 www.iNetAngel.com ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- ! * ! * $Id$ ! */ ! /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ Index: act_top_scores.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/includes/act_top_scores.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** act_top_scores.php 9 Jan 2005 21:30:35 -0000 1.3 --- act_top_scores.php 1 Oct 2005 14:11:39 -0000 1.4 *************** *** 1,23 **** <?php ! // ////////////////////////////////////////////////////////////////////////// ! // / ___ ! // / / /\ ___ ! // / ### ### / /::\ / /\ ! // / ## #### ## / /:/\:\ / /:/ ! // / ## ## ## ## / /:/~/::\ /__/::\ ! // / ## ## ## /__/:/ /:/\:\ \__\/\:\__ ! // / ## ## ## ## \ \:\/:/__\/ /¯¯¯/ \ \:\/\ ! // / ## #### ## \ \::/ \__\::/ ! // / ### ### \ \:\ /__/:/ ! // / \ \:\ \__\/ ! // / \__\/ ! // ////////////////////////////////////////////////////////////////////////// /** ! * activity_top_scores.php ! * ----------------------- ! * Version : 1.0.2 ! * Email : aus...@ho... ! * Site : austin-inc.com/ ! * Copyright : © aUsTiN-Inc 2003/4 */ --- 1,20 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, (c)2002 www.iNetAngel.com ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- ! * ! * $Id$ ! */ ! /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ Index: act_functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/includes/act_functions.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** act_functions.php 9 Jan 2005 21:30:35 -0000 1.3 --- act_functions.php 1 Oct 2005 14:11:39 -0000 1.4 *************** *** 1,9 **** <?php ! /** ! * kb_functions.php ! * ------------------- ! * begin : Wednesday, June 11, 2003 ! * copyright : (C) 2001 The phpBB Group ! * email : er...@ww... * * $Id$ --- 1,11 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, (c)2002 www.iNetAngel.com ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- * * $Id$ *************** *** 17,22 **** */ - /* Start Trophies Mod For activity.php mod By aUsTiN */ - function UpdateTrophyStats() { --- 19,22 ---- Index: act_cat_play.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/includes/act_cat_play.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** act_cat_play.php 9 Jan 2005 21:30:34 -0000 1.2 --- act_cat_play.php 1 Oct 2005 14:11:39 -0000 1.3 *************** *** 1,3 **** --- 1,22 ---- <?php + /** ------------------------------------------------------------------------ + * Subject : mxBB - a fully modular portal and CMS (for phpBB) + * Author : Jon Ohlsson and the mxBB Team + * Credits : The phpBB Group & Marc Morisette, (c)2002 www.iNetAngel.com + * Copyright : (C) 2002-2005 mxBB Portal + * Email : jo...@mx... + * Project site : www.mxbb-portal.com + * ------------------------------------------------------------------------- + * + * $Id$ + */ + + /** + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + */ + $cat = $_GET['cat']; Index: act_challenges_main.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/includes/act_challenges_main.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** act_challenges_main.php 9 Jan 2005 21:30:35 -0000 1.2 --- act_challenges_main.php 1 Oct 2005 14:11:39 -0000 1.3 *************** *** 1,3 **** --- 1,22 ---- <?php + /** ------------------------------------------------------------------------ + * Subject : mxBB - a fully modular portal and CMS (for phpBB) + * Author : Jon Ohlsson and the mxBB Team + * Credits : The phpBB Group & Marc Morisette, (c)2002 www.iNetAngel.com + * Copyright : (C) 2002-2005 mxBB Portal + * Email : jo...@mx... + * Project site : www.mxbb-portal.com + * ------------------------------------------------------------------------- + * + * $Id$ + */ + + /** + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + */ + $who = $_GET['user']; $who_id = $_GET['user']; Index: act_scores.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/includes/act_scores.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** act_scores.php 9 Jan 2005 21:30:35 -0000 1.2 --- act_scores.php 1 Oct 2005 14:11:39 -0000 1.3 *************** *** 1,4 **** --- 1,22 ---- <?php + /** ------------------------------------------------------------------------ + * Subject : mxBB - a fully modular portal and CMS (for phpBB) + * Author : Jon Ohlsson and the mxBB Team + * Credits : The phpBB Group & Marc Morisette, (c)2002 www.iNetAngel.com + * Copyright : (C) 2002-2005 mxBB Portal + * Email : jo...@mx... + * Project site : www.mxbb-portal.com + * ------------------------------------------------------------------------- + * + * $Id$ + */ + /** + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + */ + $game_name = ( !empty( $HTTP_POST_VARS['game_name'] ) ) ? $HTTP_POST_VARS['game_name'] : $HTTP_GET_VARS['game_name']; Index: act_stats.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/includes/act_stats.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** act_stats.php 9 Jan 2005 21:30:35 -0000 1.3 --- act_stats.php 1 Oct 2005 14:11:39 -0000 1.4 *************** *** 1,3 **** --- 1,22 ---- <?php + /** ------------------------------------------------------------------------ + * Subject : mxBB - a fully modular portal and CMS (for phpBB) + * Author : Jon Ohlsson and the mxBB Team + * Credits : The phpBB Group & Marc Morisette, (c)2002 www.iNetAngel.com + * Copyright : (C) 2002-2005 mxBB Portal + * Email : jo...@mx... + * Project site : www.mxbb-portal.com + * ------------------------------------------------------------------------- + * + * $Id$ + */ + + /** + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + */ + $game_id = ( isset( $HTTP_GET_VARS['id'] ) ) ? intval( $HTTP_GET_VARS['id'] ) : 0; // Grab Game info from game_id Index: rewards_api.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/includes/rewards_api.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** rewards_api.php 9 Jan 2005 21:30:35 -0000 1.3 --- rewards_api.php 1 Oct 2005 14:11:39 -0000 1.4 *************** *** 1,9 **** <?php ! /** ! * rewards_api.php ! * ------------------- ! * begin : Monday, Dec 15, 2003 ! * copyright : (C) 2003 Xore, Napoleon ! * email : mo...@xo..., su...@in... * * $Id$ --- 1,11 ---- <?php ! /** ------------------------------------------------------------------------ ! * Subject : mxBB - a fully modular portal and CMS (for phpBB) ! * Author : Jon Ohlsson and the mxBB Team ! * Credits : The phpBB Group & Marc Morisette, (c)2002 www.iNetAngel.com ! * Copyright : (C) 2002-2005 mxBB Portal ! * Email : jo...@mx... ! * Project site : www.mxbb-portal.com ! * ------------------------------------------------------------------------- * * $Id$ *************** *** 16,19 **** --- 18,22 ---- * (at your option) any later version. */ + // give rewards to the user function add_reward( $user_id, $amount ) Index: act_challenges.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/includes/act_challenges.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** act_challenges.php 9 Jan 2005 21:30:35 -0000 1.2 --- act_challenges.php 1 Oct 2005 14:11:39 -0000 1.3 *************** *** 1,10 **** <?php /** ! * challenges.php ! * ---------------- ! * Version : 1.0.3 ! * Email : aus...@ho... ! * Site : austin-inc.com/ ! * Copyright : © aUsTiN-Inc 2003/4 */ --- 1,20 ---- <?php + /** ------------------------------------------------------------------------ + * Subject : mxBB - a fully modular portal and CMS (for phpBB) + * Author : Jon Ohlsson and the mxBB Team + * Credits : The phpBB Group & Marc Morisette, (c)2002 www.iNetAngel.com + * Copyright : (C) 2002-2005 mxBB Portal + * Email : jo...@mx... + * Project site : www.mxbb-portal.com + * ------------------------------------------------------------------------- + * + * $Id$ + */ + /** ! * This program is free software; you can redistribute it and/or modify ! * it under the terms of the GNU General Public License as published by ! * the Free Software Foundation; either version 2 of the License, or ! * (at your option) any later version. */ Index: act_games.php =================================================================== RCS file: /cvsroot/mxbb/mx_act/includes/act_games.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** act_games.php 9 Jan 2005 21:30:35 -0000 1.3 --- act_games.php 1 Oct 2005 14:11:39 -0000 1.4 *************** *** 1,4 **** --- 1,22 ---- <?php + /** ------------------------------------------------------------------------ + * Subject : mxBB - a fully modular portal and CMS (for phpBB) + * Author : Jon Ohlsson and the mxBB Team + * Credits : The phpBB Group & Marc Morisette, (c)2002 www.iNetAngel.com + * Copyright : (C) 2002-2005 mxBB Portal + * Email : jo...@mx... + * Project site : www.mxbb-portal.com + * ------------------------------------------------------------------------- + * + * $Id$ + */ + /** + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + */ + $game_id = ( isset( $HTTP_GET_VARS['id'] ) ) ? intval( $HTTP_GET_VARS['id'] ) : 0; // Grab Game info from game_id |