You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
(95) |
Apr
(270) |
May
(111) |
Jun
|
Jul
|
Aug
(64) |
Sep
(130) |
Oct
(319) |
Nov
(17) |
Dec
(191) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(53) |
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
(387) |
Jul
(102) |
Aug
(247) |
Sep
(120) |
Oct
(1) |
Nov
(8) |
Dec
(21) |
| 2007 |
Jan
(38) |
Feb
(36) |
Mar
|
Apr
(32) |
May
(135) |
Jun
(523) |
Jul
(192) |
Aug
(103) |
Sep
(533) |
Oct
(77) |
Nov
(23) |
Dec
(203) |
| 2008 |
Jan
(312) |
Feb
(1193) |
Mar
(404) |
Apr
(67) |
May
(62) |
Jun
(497) |
Jul
(297) |
Aug
(110) |
Sep
(335) |
Oct
(256) |
Nov
(50) |
Dec
(118) |
| 2009 |
Jan
(67) |
Feb
(10) |
Mar
(1) |
Apr
(1) |
May
|
Jun
(10) |
Jul
(61) |
Aug
|
Sep
(16) |
Oct
(45) |
Nov
(12) |
Dec
(14) |
| 2010 |
Jan
(30) |
Feb
|
Mar
|
Apr
(4) |
May
|
Jun
|
Jul
(7) |
Aug
(7) |
Sep
(5) |
Oct
(5) |
Nov
|
Dec
|
| 2011 |
Jan
(7) |
Feb
(3) |
Mar
(89) |
Apr
(11) |
May
(5) |
Jun
|
Jul
(8) |
Aug
(1) |
Sep
(2) |
Oct
|
Nov
(2) |
Dec
(89) |
| 2012 |
Jan
(7) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(3) |
Oct
(42) |
Nov
(1) |
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
(19) |
Apr
(90) |
May
(38) |
Jun
(235) |
Jul
(38) |
Aug
(10) |
Sep
|
Oct
(29) |
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
(6) |
May
(52) |
Jun
|
Jul
(7) |
Aug
|
Sep
(17) |
Oct
|
Nov
|
Dec
|
|
From: OryNider <ory...@us...> - 2007-06-26 17:41:21
|
Update of /cvsroot/mxbb/mx_online_adv In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23160 Modified Files: mx_online_adv.php Log Message: This is temporaly fix :P Index: mx_online_adv.php =================================================================== RCS file: /cvsroot/mxbb/mx_online_adv/mx_online_adv.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mx_online_adv.php 26 Jun 2007 16:39:41 -0000 1.2 --- mx_online_adv.php 26 Jun 2007 17:41:16 -0000 1.3 *************** *** 306,311 **** $guests_online = $howmanyspiders; ! $period=$period+2; drop_spiders_surfing($period); } } --- 306,316 ---- $guests_online = $howmanyspiders; ! /* ! $nullperiod = $period+2; drop_spiders_surfing($period); + */ + + $nullperiod = '120000'; + drop_spiders_surfing($nullperiod); } } |
|
From: OryNider <ory...@us...> - 2007-06-26 16:39:49
|
Update of /cvsroot/mxbb/mx_online_adv In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv13522 Modified Files: db_install.php db_uninstall.php mx_online_adv.php readme.txt Log Message: Credit added :P Index: mx_online_adv.php =================================================================== RCS file: /cvsroot/mxbb/mx_online_adv/mx_online_adv.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_online_adv.php 26 Jun 2007 16:01:51 -0000 1.1 --- mx_online_adv.php 26 Jun 2007 16:39:41 -0000 1.2 *************** *** 2,12 **** /** * ! * @package mxBB Portal Module - mx_coreblocks * @version $Id$ ! * @copyright (c) 2002-2006 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ if( !defined('IN_PORTAL') || !is_object($mx_block)) { --- 2,13 ---- /** * ! * @package mxBB Portal Module - mx_online_adv * @version $Id$ ! * @copyright (c) 2006 [Horace, OryNider] mxBB Development Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ + if( !defined('IN_PORTAL') || !is_object($mx_block)) { Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_online_adv/db_install.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** db_install.php 26 Jun 2007 16:01:49 -0000 1.1 --- db_install.php 26 Jun 2007 16:39:41 -0000 1.2 *************** *** 4,8 **** * @package mxBB Portal Module - mx_online_adv * @version $Id$ ! * @copyright (c) 2003 [ory...@rd..., OryNider] mxBB Development Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_online_adv * @version $Id$ ! * @copyright (c) 2006 [Horace, OryNider] mxBB Development Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * *************** *** 36,40 **** $mx_module_version = '1.0.0'; ! $mx_module_copy = 'mxBB <i> - mx_online_adv</i> module by Horace & <a href="http://www.mxbb.net" target="_blank">OryNider</a>'; // If fresh install --- 36,40 ---- $mx_module_version = '1.0.0'; ! $mx_module_copy = 'mxBB <i> - mx_online_adv</i> module by Goofy Horace & <a href="http://www.mxbb.net" target="_blank">mxBB-Development Team</a>'; // If fresh install Index: readme.txt =================================================================== RCS file: /cvsroot/mxbb/mx_online_adv/readme.txt,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** readme.txt 26 Jun 2007 16:01:51 -0000 1.1 --- readme.txt 26 Jun 2007 16:39:41 -0000 1.2 *************** *** 10,14 **** --- 10,18 ---- | Who is Online Advance statistics. | + | author : mxBB-Development Team + | (see additional credit below) | + | additional credit : This module is based on mx_online_adv block + | created by ~~Goofy Horace~~ | | *************** *** 24,30 **** - Note: In order for this module to install you must have a working phpBB and mxBB installation. - phpbbroot refers to where your phpBB2 install is located, e.g in phpBB2/ or forum/ - 1) Copy the folder: --- 28,31 ---- Index: db_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_online_adv/db_uninstall.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** db_uninstall.php 26 Jun 2007 16:01:50 -0000 1.1 --- db_uninstall.php 26 Jun 2007 16:39:41 -0000 1.2 *************** *** 4,8 **** * @package mxBB Portal Module - mx_online_adv * @version $Id$ ! * @copyright (c) 2003 [ory...@rd..., OryNider] mxBB Development Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_online_adv * @version $Id$ ! * @copyright (c) 2006 [Horace, OryNider] mxBB Development Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * |
|
From: OryNider <ory...@us...> - 2007-06-26 16:02:19
|
Update of /cvsroot/mxbb/mx_online_adv/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25899/templates/subSilver Added Files: mx_online_adv.tpl Log Message: --- NEW FILE: mx_online_adv.tpl --- <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" style="border-top:none;"> <tr> <!-- BEGIN hide_left_icon --> <td class="row1" align="center" valign="middle" rowspan="3"> <a href="{U_VIEWONLINE}" class="cattitle"><img src="{ONLINE_IMG}" alt="{L_WHO_IS_ONLINE}" border="0" /></a> </td> <!-- END hide_left_icon --> <td class="row1" align="left" width="100%"> <span class="gensmall">{TOTAL_POSTS}<br />{TOTAL_USERS}<br />{NEWEST_USER}</span> </td> </tr> <!-- BEGIN show_today_mode_top --> <tr> <td class="row1" align="left"><span class="gensmall">{show_today_mode_top.UOT_TITLE}: {show_today_mode_top.UOT_LIST} </span></td> </tr> <!-- END show_today_mode_top --> <tr> <td class="row1" align="left"> <span class="gensmall">{TOTAL_USERS_ONLINE} [ {L_WHOSONLINE_ADMIN} ] [ {L_WHOSONLINE_MOD} ]<br />{RECORD_USERS}<br />{LOGGED_IN_USER_LIST}<br />{SEARCH_ENGINES_LIST}</span> </td> </tr> <!-- BEGIN show_today_mode_bottom --> <tr> <td class="row1" align="left"><span class="gensmall">{show_today_mode_bottom.UOT_TITLE}: {show_today_mode_bottom.UOT_LIST} </span></td> </tr> <!-- END show_today_mode_bottom --> </table> |
|
From: OryNider <ory...@us...> - 2007-06-26 16:02:19
|
Update of /cvsroot/mxbb/mx_online_adv/language/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25899/language/lang_english Added Files: lang_main.php Log Message: --- NEW FILE: lang_main.php --- <?php // // The format of this file is: // // ---> $lang["message"] = "text"; // // Specify your language character encoding... [optional] // // setlocale(LC_ALL, "en"); // Module $lang['Guest'] = 'Guest'; $lang['Seach_Engines'] = 'Seach Engines'; $lang['google'] = 'Google Bot'; $lang['inktomi'] = 'Yahoo/Inktomi Bot'; $lang['lycos'] = 'Lycos Bot'; $lang['infoseek'] = 'InfoSeek Bot'; $lang['msn'] = 'MSN Bot'; $lang['altavista'] = 'Altavista Bot'; $lang['excite'] = 'Excite Bot'; $lang['northernlight'] = 'Northen Light Bot'; $lang['wisenut'] = 'Wisenut Bot'; $lang['askjeeves'] = 'Ask Jeeves Bot'; $lang['UOT_title'] = 'There has been <b>%d</b> user(s) online today'; $lang['UOT_none'] = 'None'; $lang['UOT_hidden_start'] = ''; $lang['UOT_hidden_end'] = ' (hidden)'; $lang['UOT_hidden'] = ' (%d hidden)'; // // That's all Folks! // ------------------------------------------------- ?> |
|
From: OryNider <ory...@us...> - 2007-06-26 16:02:19
|
Update of /cvsroot/mxbb/mx_online_adv/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25899/includes Added Files: functions.php online_adv_hack.php online_common.php Log Message: --- NEW FILE: online_common.php --- <?php /** * * @package mxBB Portal Module - mx_online_adv * @version $Id: online_common.php,v 1.1 2007/06/26 16:02:12 orynider Exp $ * @copyright (c) 2002-2006 [OryNider] mxBB Development Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ // // Security check // if( !defined('IN_PORTAL') ) { die("Hacking attempt"); } // // Define table names. // // Online Adv Tables !defined('ONLINE_ADV_SESSION_TABLE') ? define('ONLINE_ADV_SESSION_TABLE', $mx_table_prefix.'online_adv_session') : false; // ********************************************************************** // Read language definition // ********************************************************************** if ( !file_exists( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ) ) { include( $module_root_path . 'language/lang_english/lang_main.' . $phpEx ); $link_language='lang_english'; } else { include( $module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx ); $link_language='lang_' . $board_config['default_lang']; } include_once($module_root_path . 'includes/functions.'.$phpEx); // //Set Time and Period // //$period = 1240000000; $period = 1200000000; $time = date("U"); //$this_period = $board_config['session_length']*1000000; // //Get The User Agent // global $_SERVER, $HTTP_USER_AGENT, $HTTP_SERVER_VARS; if ( !empty( $_SERVER['HTTP_USER_AGENT'] ) ) { $HTTP_USER_AGENT = $_SERVER['HTTP_USER_AGENT']; } else if ( !empty( $HTTP_SERVER_VARS['HTTP_USER_AGENT'] ) ) { $HTTP_USER_AGENT = $HTTP_SERVER_VARS['HTTP_USER_AGENT']; } else if ( !isset( $HTTP_USER_AGENT ) ) { $HTTP_USER_AGENT = ''; } if ( empty( $user_agent ) ) { $user_agent = $HTTP_USER_AGENT; } $user_agent = strtolower( $user_agent ); // Determine browser and version // The order in which we test the agents patterns is important // Intentionally ignore Konquerer. It should show up as Mozilla. // post-Netscape Mozilla versions using Gecko show up as Mozilla 5.0 // known browsers, list will be updated routinely, check back now and then // covers Netscape 6-7, K-Meleon, Most linux versions, uses moz array below // search engine spider bots: // various http utility libaries // download apps if ( preg_match( '/(googlebot |google\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(google )([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(googlebot )([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(googlebot-mobile )([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(googlebot-image )([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(adsbot-google )([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(mediapartners-google |adsense\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/([Gg][Oo][Oo][Gg][Ll][Ee]*)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(yahoo-verticalcrawler |yahoo\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(yahoo! slurp |yahoo\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(yahooseeker |yahoo\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(yahoo-mm |yahoomm\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(inktomi |inktomi\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(lycosbot |lycos\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(infoseekbot |infoseek\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(slurp |inktomi\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(fast-webcrawler |fast\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(msnbot |msn\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(msnbot )([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(msnbot-media |msnbot\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(msnbot-newsblogs |msnbot\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(msnbot-products |msnbot\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(msnbot-academic |msnbot\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(msn )([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(altavistabot |altavista\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(excitebot |excite\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(ask jeeves |ask\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(teoma |ask\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(scooter |scooter\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(openbot |openbot\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(ia_archiver |ia_archiver\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(zyborg |looksmart\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(almaden |ibm\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(baiduspider |baidu\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(psbot |psbot\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(gigabot |gigabot\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(naverbot |naverbot\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(surveybot |surveybot\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(boitho.com-dc |boitho\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(objectssearch |objectsearch\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(answerbus |answerbus\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(sohu-search |sohu\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(iltrovatore-setaccio |il-set\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(opera |opera\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(msie )([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(mozilla\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(phoenix\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(firebird\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(omniweb |omni\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(konqueror |konq\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(safari |saf\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(gecko |moz\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(netpositive |netp\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(lynx |lynx\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(elinks |elinks\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(links |links\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(w3m |w3m\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(webtv |webtv\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(amaya |amaya\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(dillo |dillo\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(ibrowsevibrowse |ibrowsevibrowse\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(icab |icab\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(crazy browser |ie\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(sonyericssonp800 |sonyericssonp800\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(aol )([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(camino )([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(w3c_validator |w3c\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(wdg_validator |wdg\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(libwww-perl |libwww-perl\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(jakarta commons-httpclient |jakarta\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(python-urllib |python-urllib\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(getright |getright\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(wget |wget\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; else { $matches[1] = 'unknown'; $matches[2] = 0; $matches[3] = 0; } $majorver = $matches[2]; $minorver = $matches[3]; $ver = $matches[2] . '.' . $matches[3]; switch ($matches[1]) { case 'googlebot ': case 'google ': case 'googlebot-mobile ': case 'googlebot-image ': case 'adsbot-google ': case 'mediapartners-google ': case 'adsense ': $agent = 'google'; $bot_id = '1'; break; case 'yahoo-verticalcrawler ': case 'yahoo ': case 'yahoo! slurp ': case 'yahoo-mm ': case 'yahoomm ': case 'inktomi ': $agent = 'yahoo'; $bot_id = '2'; break; case 'lycosbot ': case 'lycos ': $agent = 'lycos'; $bot_id = '3'; break; case 'infoseekbot ': case 'infoseek ': $agent = 'infoseek'; $bot_id = '4'; break; case 'msnbot ': case 'msn ': case 'msnbot-newsblogs ': case 'msnbot-products ': case 'msnbot-academic ': $agent = 'msn'; $bot_id = '5'; break; case 'altavistabot ': case 'altavista ': $agent = 'altavista'; $bot_id = '6'; break; case 'excitebot ': case 'excite ': $agent = 'excite'; $bot_id = '7'; break; case 'ask jeeves ': case 'ask ': $agent = 'askjeeves'; $bot_id = '8'; break; case 'slurp ': case 'fast-webcrawler ': case 'teoma ': case 'scooter ': case 'openbot ': case 'ia_archiver ': case 'zyborg ': case 'looksmart ': case 'almaden ': case 'baiduspider ': case 'baidu ': case 'psbot ': case 'gigabot ': case 'naverbot ': case 'surveybot ': case 'boitho.com-dc ': case 'boitho ': case 'objectssearch ': case 'answerbus ': case 'sohu-search ': case 'sohu ': case 'iltrovatore-setaccio ': case 'il-set ': $agent = 'BOT'; $bot_id = '9'; break; default: $agent = 'browser'; $bot_id = ''; } // Determine platform // This is very incomplete for platforms other than Win/Mac if ( preg_match( '/(win|mac|linux|unix|x11|freebsd|beos|os2|irix|sunos|aix)/', $user_agent, $matches ) ); else $matches[1] = 'unknown'; switch ($matches[1]) { case 'win': $platform = 'Win'; break; case 'mac': $platform = 'Mac'; break; case 'linux': $platform = 'Linux'; break; case 'unix': case 'x11': $platform = 'Unix'; break; case 'freebsd': $platform = 'FreeBSD'; break; case 'beos': $platform = 'BeOS'; break; case 'os2': $platform = 'OS2'; break; case 'irix': $platform = 'IRIX'; break; case 'sunos': $platform = 'SunOS'; break; case 'aix': $platform = 'Aix'; break; case 'palm': $platform = 'PalmOS'; break; case 'unknown': $platform = 'Other'; break; default: $platform = 'Oops!'; } //$agent = 'google'; //$bot_id = '1'; if ( !empty($bot_id) ) { online_spider_surfing($agent,$bot_id); } else { if(strpos($user_agent, 'googlebot') > -1) { $agent = 'google'; $bot_id = '1'; } elseif(strpos($user_agent, 'google') > -1) { $agent = 'google'; $bot_id = '1'; } elseif(strpos($user_agent, 'yahoo') > -1) { $agent = 'yahoo'; $bot_id = '2'; } elseif(strpos($user_agent, 'lycos') > -1) { $agent = 'lycos'; $bot_id = '3'; } elseif(strpos($user_agent, 'msnbot') > -1) { $agent = 'msn'; $bot_id = '5'; } if ( !empty($bot_id) ) { online_spider_surfing($agent,$bot_id); } } $sql = "SELECT * FROM ". ONLINE_ADV_SESSION_TABLE ." WHERE bot_id = $bot_id"; if( !($result = $db->sql_query($sql)) ) { if ($bot_id) { online_spider_surfing($agent,$bot_id); } } else { update_spiders_surfing($agent,$time,$bot_id); } $current_time=date("U"); //prevent delay $period=$period+2; // Calcul max_time $max_time=$current_time-$period; $sql2 = "SELECT * FROM ". ONLINE_ADV_SESSION_TABLE ." WHERE time<'$max_time'"; if( ($result = $db->sql_query($sql2)) ) { drop_spiders_surfing($period); } ?> --- NEW FILE: online_adv_hack.php --- <?php /** * * @package mxBB Portal Module - mx_online_adv * @version $Id: online_adv_hack.php,v 1.1 2007/06/26 16:02:04 orynider Exp $ * @copyright (c) 2002-2006 [OryNider, Horace] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ /****************************************************************** * MODIFICATIONS * --------------- * started : 26/06/2007 * copyright : © mxBB-Development Team (OryNider) * email : ory...@rd... * version : 1.0 * * MODIFICATIONS: * * 26/06/2007 - First Try * (This file to be inluded in common.php) * ******************************************************************/ /********************************************************************** // Code to be inluded at the end of common.php for mx_online_adv BEGIN if (file_exists($mx_root_path . 'modules/mx_online_adv/includes/online_adv_hack.'.$phpEx)) { include_once($mx_root_path . 'modules/mx_online_adv/includes/online_adv_hack.'.$phpEx); } // Code to be inluded at the end of common.php for mx_online_adv END **********************************************************************/ if ( !defined( 'IN_PORTAL' ) ) { die( "Hacking attempt" ); } // // Define table names. // // Online Adv Tables !defined('ONLINE_ADV_SESSION_TABLE') ? define('ONLINE_ADV_SESSION_TABLE', $mx_table_prefix.'online_adv_session') : false; include_once($mx_root_path . 'modules/mx_online_adv/includes/functions.'.$phpEx); // //Set Time and Period // //$this_period = 1240000000; $this_period = 1190000000; $time = date("U"); //$this_period = $board_config['session_length']*1000000; // //Get The User Agent // // //Get The User Agent // global $_SERVER, $HTTP_USER_AGENT, $HTTP_SERVER_VARS; if ( !empty( $_SERVER['HTTP_USER_AGENT'] ) ) { $HTTP_USER_AGENT = $_SERVER['HTTP_USER_AGENT']; } else if ( !empty( $HTTP_SERVER_VARS['HTTP_USER_AGENT'] ) ) { $HTTP_USER_AGENT = $HTTP_SERVER_VARS['HTTP_USER_AGENT']; } else if ( !isset( $HTTP_USER_AGENT ) ) { $HTTP_USER_AGENT = ''; } if ( empty( $user_agent ) ) { $user_agent = $HTTP_USER_AGENT; } $user_agent = strtolower( $user_agent ); // Determine browser and version // The order in which we test the agents patterns is important // Intentionally ignore Konquerer. It should show up as Mozilla. // post-Netscape Mozilla versions using Gecko show up as Mozilla 5.0 // known browsers, list will be updated routinely, check back now and then // covers Netscape 6-7, K-Meleon, Most linux versions, uses moz array below // search engine spider bots: // various http utility libaries // download apps if ( preg_match( '/(googlebot |google\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(google )([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(googlebot )([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(googlebot-mobile )([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(googlebot-image )([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(adsbot-google )([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(mediapartners-google |adsense\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/([Gg][Oo][Oo][Gg][Ll][Ee]*)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(yahoo-verticalcrawler |yahoo\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(yahoo! slurp |yahoo\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(yahooseeker |yahoo\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(yahoo-mm |yahoomm\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(inktomi |inktomi\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(lycosbot |lycos\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(infoseekbot |infoseek\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(slurp |inktomi\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(fast-webcrawler |fast\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(msnbot |msn\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(msnbot )([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(msnbot-media |msnbot\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(msnbot-newsblogs |msnbot\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(msnbot-products |msnbot\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(msnbot-academic |msnbot\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(msn )([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(altavistabot |altavista\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(excitebot |excite\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(ask jeeves |ask\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(teoma |ask\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(scooter |scooter\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(openbot |openbot\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(ia_archiver |ia_archiver\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(zyborg |looksmart\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(almaden |ibm\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(baiduspider |baidu\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(psbot |psbot\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(gigabot |gigabot\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(naverbot |naverbot\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(surveybot |surveybot\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(boitho.com-dc |boitho\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(objectssearch |objectsearch\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(answerbus |answerbus\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(sohu-search |sohu\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(iltrovatore-setaccio |il-set\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(opera |opera\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(msie )([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(mozilla\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(phoenix\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(firebird\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(omniweb |omni\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(konqueror |konq\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(safari |saf\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(gecko |moz\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(netpositive |netp\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(lynx |lynx\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(elinks |elinks\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(links |links\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(w3m |w3m\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(webtv |webtv\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(amaya |amaya\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(dillo |dillo\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(ibrowsevibrowse |ibrowsevibrowse\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(icab |icab\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(crazy browser |ie\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(sonyericssonp800 |sonyericssonp800\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(aol )([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(camino )([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(w3c_validator |w3c\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(wdg_validator |wdg\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(libwww-perl |libwww-perl\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(jakarta commons-httpclient |jakarta\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(python-urllib |python-urllib\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(getright |getright\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; elseif ( preg_match( '/(wget |wget\/)([0-9]*).([0-9]{1,2})/', $user_agent, $matches ) ) ; else { $matches[1] = 'unknown'; $matches[2] = 0; $matches[3] = 0; } $majorver = $matches[2]; $minorver = $matches[3]; $ver = $matches[2] . '.' . $matches[3]; switch ($matches[1]) { case 'googlebot ': case 'google ': case 'googlebot-mobile ': case 'googlebot-image ': case 'adsbot-google ': case 'mediapartners-google ': case 'adsense ': $this_agent = 'google'; $this_bot_id = '1'; break; case 'yahoo-verticalcrawler ': case 'yahoo ': case 'yahoo! slurp ': case 'yahoo-mm ': case 'yahoomm ': case 'inktomi ': $this_agent = 'yahoo'; $this_bot_id = '2'; break; case 'lycosbot ': case 'lycos ': $this_agent = 'lycos'; $this_bot_id = '3'; break; case 'infoseekbot ': case 'infoseek ': $this_agent = 'infoseek'; $this_bot_id = '4'; break; case 'msnbot ': case 'msn ': case 'msnbot-newsblogs ': case 'msnbot-products ': case 'msnbot-academic ': $this_agent = 'msn'; $this_bot_id = '5'; break; case 'altavistabot ': case 'altavista ': $this_agent = 'altavista'; $this_bot_id = '6'; break; case 'excitebot ': case 'excite ': $this_agent = 'excite'; $this_bot_id = '7'; break; case 'ask jeeves ': case 'ask ': $this_agent = 'askjeeves'; $this_bot_id = '8'; break; case 'slurp ': case 'fast-webcrawler ': case 'teoma ': case 'scooter ': case 'openbot ': case 'ia_archiver ': case 'zyborg ': case 'looksmart ': case 'almaden ': case 'baiduspider ': case 'baidu ': case 'psbot ': case 'gigabot ': case 'naverbot ': case 'surveybot ': case 'boitho.com-dc ': case 'boitho ': case 'objectssearch ': case 'answerbus ': case 'sohu-search ': case 'sohu ': case 'iltrovatore-setaccio ': case 'il-set ': $this_agent = 'BOT'; $this_bot_id = '9'; break; default: $this_agent = 'browser'; $this_bot_id = ''; } // Determine platform // This is very incomplete for platforms other than Win/Mac if ( preg_match( '/(win|mac|linux|unix|x11|freebsd|beos|os2|irix|sunos|aix)/', $user_agent, $matches ) ); else $matches[1] = 'unknown'; switch ($matches[1]) { case 'win': $platform = 'Win'; break; case 'mac': $platform = 'Mac'; break; case 'linux': $platform = 'Linux'; break; case 'unix': case 'x11': $platform = 'Unix'; break; case 'freebsd': $platform = 'FreeBSD'; break; case 'beos': $platform = 'BeOS'; break; case 'os2': $platform = 'OS2'; break; case 'irix': $platform = 'IRIX'; break; case 'sunos': $platform = 'SunOS'; break; case 'aix': $platform = 'Aix'; break; case 'palm': $platform = 'PalmOS'; break; case 'unknown': $platform = 'Other'; break; default: $platform = 'Oops!'; } //$this_agent = 'msn'; //$this_bot_id = '5'; if ( !empty($this_bot_id) ) { online_spider_surfing($this_agent,$this_bot_id); } else { if(strpos($user_agent, 'googlebot') > -1) { $this_agent = 'google'; $this_bot_id = '1'; } elseif(strpos($user_agent, 'google') > -1) { $this_agent = 'google'; $this_bot_id = '1'; } elseif(strpos($user_agent, 'yahoo') > -1) { $this_agent = 'yahoo'; $this_bot_id = '2'; } elseif(strpos($user_agent, 'lycos') > -1) { $this_agent = 'lycos'; $this_bot_id = '3'; } elseif(strpos($user_agent, 'msnbot') > -1) { $this_agent = 'msn'; $this_bot_id = '5'; } if ( !empty($this_bot_id) ) { online_spider_surfing($this_agent,$this_bot_id); } } $sql = "SELECT * FROM ". ONLINE_ADV_SESSION_TABLE ." WHERE bot_id = $this_bot_id"; if( !($result = $db->sql_query($sql)) ) { if ($this_bot_id) { online_spider_surfing($this_agent,$this_bot_id); } } else { update_spiders_surfing($this_agent,$time,$this_bot_id); } $current_time=date("U"); //prevent delay $this_period=$this_period+2; // Calcul max_time $max_time=$current_time-$this_period; $sql2 = "SELECT * FROM ". ONLINE_ADV_SESSION_TABLE ." WHERE time<'$max_time'"; if( ($result = $db->sql_query($sql2)) ) { drop_spiders_surfing($this_period); } // -------------------------------------------------------------------------------- // That's all Folks! // -------------------------------------------------------------------------------- ?> --- NEW FILE: functions.php --- <?php /** * * @package mxBBmodule_mx_pafileDB * @version $Id: functions.php,v 1.1 2007/06/26 16:01:52 orynider Exp $ * @copyright (c) 2002-2006 [Mohd Basri, PHP Arena, pafileDB, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ if ( !defined( 'IN_PORTAL' ) ) { die( "Hacking attempt" ); } function online_spider_surfing($nick,$bot_id) { global $db; $current_time=date("U"); $sql = "DELETE FROM ".ONLINE_ADV_SESSION_TABLE." WHERE username = '".addslashes($nick)."'"; if( !$result = $db->sql_query($sql) ) { mx_message_die(GENERAL_ERROR, 'SQL Error in function online_spider_surfing()', '', __LINE__, __FILE__, $sql); } $sql = "INSERT INTO ".ONLINE_ADV_SESSION_TABLE." (username, time, bot_id)" . " VALUES ('" .addslashes($nick). "', '" .$current_time. "', '" .$bot_id. "')"; if( !$result = $db->sql_query($sql) ) { mx_message_die(GENERAL_ERROR, 'SQL Error in function online_spider_surfing()', '', __LINE__, __FILE__, $sql); } } function update_spiders_surfing($nick,$time,$bot_id) { global $board_config, $db, $lang; $sql="update ".ONLINE_ADV_SESSION_TABLE." set time='$time' and bot_id='$bot_id' where username='$nick'"; if( !$result = $db->sql_query($sql) ) { mx_message_die(GENERAL_ERROR, 'SQL Error in function update_spiders_surfing()', '', __LINE__, __FILE__, $sql); } } function drop_spiders_surfing($period) { global $board_config, $db, $lang; $current_time=date("U"); //prevent delay $period=$period+2; // Calcul max_time $max_time=$current_time-$period; $sql = "DELETE FROM " . ONLINE_ADV_SESSION_TABLE . " WHERE time < '$max_time'"; if( !$result = $db->sql_query($sql) ) { mx_message_die(GENERAL_ERROR, 'SQL Error in function drop_spiders_surfing()', '', __LINE__, __FILE__, $sql); } } ?> |
|
From: OryNider <ory...@us...> - 2007-06-26 16:02:01
|
Update of /cvsroot/mxbb/mx_online_adv In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25899 Added Files: db_install.php db_uninstall.php mx_online_adv.pak mx_online_adv.php readme.txt Log Message: --- NEW FILE: db_install.php --- <?php /** * * @package mxBB Portal Module - mx_online_adv * @version $Id: db_install.php,v 1.1 2007/06/26 16:01:49 orynider Exp $ * @copyright (c) 2003 [ory...@rd..., OryNider] mxBB Development Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ //ini_set( 'display_errors', '1' ); define( 'IN_PORTAL', true ); if ( !defined( 'IN_ADMIN' ) ) { $mx_root_path = './../../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include( $mx_root_path . 'common.' . $phpEx ); // Start session management $mx_user->init($user_ip, PAGE_INDEX); // End session management if ( !$userdata['session_logged_in'] ) { die( "Hacking attempt(1)" ); } if ( $userdata['user_level'] != ADMIN ) { die( "Hacking attempt(2)" ); } } $mx_module_version = '1.0.0'; $mx_module_copy = 'mxBB <i> - mx_online_adv</i> module by Horace & <a href="http://www.mxbb.net" target="_blank">OryNider</a>'; // If fresh install if ( !$result = $db->sql_query( "SELECT username from " . $mx_table_prefix . "online_adv_session" ) ) { $message = "<b>This is a fresh install!</b><br/><br/>"; $sql = array(); $sql[] = "DROP TABLE IF EXISTS " . $mx_table_prefix . "online_adv_session"; $sql[] = "CREATE TABLE ".$mx_table_prefix."online_adv_session ( username varchar(99) NOT NULL, time bigint(20) NOT NULL, bot_id INTEGER NOT NULL DEFAULT '0', UNIQUE username (username) ) TYPE=MyISAM"; $sql[] = "UPDATE " . $mx_table_prefix . "module" . " SET module_version = '" . $mx_module_version . "', module_copy = '" . $mx_module_copy . "' WHERE module_id = '" . $mx_module_id . "'"; $message .= mx_do_install_upgrade( $sql ); } else { // If already installed $message = "<b>Module is already installed... consider upgrading ;)</b><br/><br/>"; } echo "<br /><br />"; echo "<table width=\"90%\" align=\"center\" cellpadding=\"4\" cellspacing=\"1\" border=\"0\" class=\"forumline\">"; echo "<tr><th class=\"thHead\" align=\"center\">Module Installation/Upgrading/Uninstallation Information - Module specific DB tables</th></tr>"; echo "<tr><td class=\"row1\" align=\"left\"><span class=\"gen\">" . $message . "</span></td></tr>"; echo "</table><br />"; ?> --- NEW FILE: mx_online_adv.php --- <?php /** * * @package mxBB Portal Module - mx_coreblocks * @version $Id: mx_online_adv.php,v 1.1 2007/06/26 16:01:51 orynider Exp $ * @copyright (c) 2002-2006 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ if( !defined('IN_PORTAL') || !is_object($mx_block)) { die("Hacking attempt"); } // // Start session management // $mx_user->init($user_ip, PAGE_INDEX); // // End session management // include_once($module_root_path . 'includes/online_common.'.$phpEx); // Get all remain sessions $sql = "SELECT * FROM ".ONLINE_ADV_SESSION_TABLE; if (!$sol = $db->sql_query($sql)) { mx_message_die(GENERAL_ERROR, "Could not query Online Advance Session information", "", __LINE__, __FILE__, $sql); } $howmanyspiders = $db->sql_numrows($sol); // Return this $isimler[0] = $db->sql_numrows($sol); $i = 1; while ($record = $db->sql_fetchrow($sol)) { $isimler[$i++] = $record['username']; } if ( !empty($howmanyspiders) ) { $bot_count = $howmanyspiders; } else { $bot_count = 0; } $spiders = ( empty($isimler[1]) ? '' : $isimler[1] ); for($s = 2; $s <= $isimler[0]; $s++) { $spiders .= ', ' . $isimler[$s]; } // // Get basic (usernames + totals) online // situation // $logged_visible_online = 0; $logged_hidden_online = 0; $guests_online = ''; $online_userlist = ''; $l_online_users = ''; $uot_this_timestamp_array = getdate(); $uot_when_from = mktime(0, 0, 0, $uot_this_timestamp_array[mon], $uot_this_timestamp_array[mday], $uot_this_timestamp_array[year]); $uot_hidden_count = 0; // ================================================================================ // The following code is backported from includes/page_header.php (phpBB 2.0.13) // ================================================================================ /* $block_config = read_block_config($block_id); $parm1_display_today = $block_config[$block_id]['Display Todays Users']['parameter_value']; $parm2_put_today_bottom = $block_config[$block_id]['Todays Users On Bottom']['parameter_value']; $parm3_show_icon = $block_config[$block_id]['Show Left Icon']['parameter_value']; */ $parm1_display_today = $mx_block->get_parameters( 'Display Todays Users' ); $parm2_put_today_bottom = $mx_block->get_parameters( 'Todays Users On Bottom' ); $parm3_show_icon = $mx_block->get_parameters( 'Show Left Icon' ); // Start of Advanced mx_online block if ($parm1_display_today == 'TRUE') { $sql = "SELECT count(*) cnt FROM " . USERS_TABLE . " u WHERE u.user_session_time >= " . $uot_when_from . " ORDER BY u.username ASC"; if (!($uot_result = $db->sql_query($sql))) { mx_message_die(GENERAL_ERROR, 'Could not obtain regd user/online information', '', __LINE__, __FILE__, $sql); } $row = $db->sql_fetchrow($uot_result); $uot_count = $row['cnt']; $sql = "SELECT u.user_id, u.username, u.user_allow_viewonline, u.user_level, user_session_time FROM " . USERS_TABLE . " u WHERE u.user_session_time >= " . $uot_when_from . " ORDER BY u.username ASC"; if (!($uot_result = $db->sql_query($sql))) { mx_message_die(GENERAL_ERROR, 'Could not obtain regd user/online information', '', __LINE__, __FILE__, $sql); } $users_online_today = array(); while ($row = $db->sql_fetchrow($uot_result)) { $$which_counter++; $row_color = ($$which_counter % 2) ? $theme['td_color1'] : $theme['td_color2']; $row_class = ($$which_counter % 2) ? $theme['td_class1'] : $theme['td_class2']; //generate the user name (robbed from the code above) $uot_user_id = $row['user_id']; //reset the style... $uot_style = ''; if ($uot_user_id != $prev_user) { $uot_username_plain = $uot_username = $row['username']; if ($row['user_level'] == ADMIN) { $uot_style = 'style="color:#' . $theme['fontcolor3'] . ';"'; $uot_username = '<b>' . $uot_username . '</b>'; } else if ($row['user_level'] == MOD) { $uot_style = 'style="color:#' . $theme['fontcolor2'] . ';"'; $uot_username = '<b>' . $uot_username . '</b>'; } if (!$row['user_allow_viewonline']) { $uot_hidden_count++; $view_online = ( $userdata['user_level'] == ADMIN ) ? true : false; $uot_username = $lang['UOT_hidden_start'] . $uot_username . $lang['UOT_hidden_end']; } else { $view_online = true; } } //annon does not have a profile... if($row['user_id'] > 0) { $uot_username = sprintf('<a href="' . PHPBB_URL . 'profile.php?mode=viewprofile&u=%d" title="%s was last here at: %s" %s>%s</a>',$uot_user_id,$uot_username_plain,create_date('g:ia', $row['user_session_time'], $board_config['board_timezone']),$uot_style,$uot_username); } //this will show just the user's name, with the time in the tool tip. if($view_online) { array_push($users_online_today, $uot_username); } } if(count($users_online_today)==0) { array_push($users_online_today,$lang['UOT_none']); } if( $userdata['user_level'] == ADMIN && $uot_hidden_count>0) { array_push($users_online_today,sprintf($lang['UOT_hidden'], $uot_hidden_count)); } if ($parm2_put_today_bottom == 'TRUE') { $template->assign_block_vars('show_today_mode_bottom', array( 'UOT_TITLE' => sprintf($lang['UOT_title'], $uot_count), 'UOT_COUNT' => $uot_count, 'UOT_LIST' => implode(", ",$users_online_today) ) ); } else { $template->assign_block_vars('show_today_mode_top', array( 'UOT_TITLE' => sprintf($lang['UOT_title'], $uot_count), 'UOT_COUNT' => $uot_count, 'UOT_LIST' => implode(", ",$users_online_today) ) ); } } if ($parm3_show_icon == 'TRUE') { $template->assign_block_vars('hide_left_icon', array( ) ); } // End of Advanced mx_online block $sql = "SELECT u.username, u.user_id, u.user_allow_viewonline, u.user_level, s.session_logged_in, s.session_ip FROM ".USERS_TABLE." u, ".SESSIONS_TABLE." s WHERE u.user_id = s.session_user_id AND s.session_time >= ".( time() - 300 ) . " ORDER BY u.username ASC, s.session_ip ASC"; if( !($result = $db->sql_query($sql)) ) { mx_message_die(GENERAL_ERROR, 'Could not obtain user/online information', '', __LINE__, __FILE__, $sql); } $userlist_ary = array(); $userlist_visible = array(); $prev_user_id = 0; $prev_user_ip = $prev_session_ip = ''; while( $row = $db->sql_fetchrow($result) ) { // User is logged in and therefor not a guest if ( $row['session_logged_in'] ) { // Skip multiple sessions for one user if ( $row['user_id'] != $prev_user_id ) { $style_color = ''; if ( $row['user_level'] == ADMIN ) { $row['username'] = '<b>' . $row['username'] . '</b>'; $style_color = 'style="color:#' . $theme['fontcolor3'] . '"'; } else if ( $row['user_level'] == MOD ) { $row['username'] = '<b>' . $row['username'] . '</b>'; $style_color = 'style="color:#' . $theme['fontcolor2'] . '"'; } if ( $row['user_allow_viewonline'] ) { $user_online_link = '<a href="' . append_sid(PHPBB_URL."profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'>' . $row['username'] . '</a>'; $logged_visible_online++; } else { $user_online_link = '<a href="' . append_sid(PHPBB_URL."profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $row['user_id']) . '"' . $style_color .'><i>' . $row['username'] . '</i></a>'; $logged_hidden_online++; } if ( $row['user_allow_viewonline'] || $userdata['user_level'] == ADMIN ) { $online_userlist .= ( $online_userlist != '' ) ? ', ' . $user_online_link : $user_online_link; } } $prev_user_id = $row['user_id']; } else { // Skip multiple sessions for one user if ( $row['session_ip'] != $prev_session_ip ) { $guests_online++; } } $prev_session_ip = $row['session_ip']; } $db->sql_freeresult($result); if ( empty($online_userlist) ) { $online_userlist = $lang['None']; } if ( empty($spiders) ) { $spiders = $lang['None']; } $msn_color = 'style="font-weight: bold; color:#' . $theme['fontcolor1'] . '"'; $yahoo_color = 'style="font-weight: bold; color: #DD2222;"'; $lycos_color = 'style="font-weight: bold;"'; $spiders = str_replace('google','<span style="font-weight: bold; color: #2244BB;">G</span><span style="font-weight: bold; color: #DD2222;">o</span><span style="font-weight: bold; color: #EEBB00;">o</span><span style="font-weight: bold; color: #2244BB;">g</span><span style="font-weight: bold; color: #339933;">l</span><span style="font-weight: bold; color: #DD2222;">e</span>',$spiders); $spiders = str_replace('msn','<span ' . $msn_color . '>msn</span>',$spiders); $spiders = str_replace('lycos','<span ' . $lycos_color . '>lycos</span>',$spiders); $spiders = str_replace('yahoo','<span ' . $yahoo_color . '>Yahoo!</span>',$spiders); $online_userlist = ( ( isset($forum_id) ) ? $lang['Browsing_forum'] : $lang['Registered_users'] ) . ' ' . $online_userlist; $online_spiderlist = $lang['Seach_Engines'] . ': ' . $spiders; if ( !empty($howmanyspiders) ) { if ( $guests_online < $howmanyspiders ) { $guests_online = $howmanyspiders; $period=$period+2; drop_spiders_surfing($period); } } if ( $guests_online == 0 ) { if ( !empty($howmanyspiders) ) { $guests_online = $howmanyspiders; } $nullperiod = '2'; drop_spiders_surfing($nullperiod); } $total_online_users = $logged_visible_online + $logged_hidden_online + $guests_online; if ( $total_online_users > $board_config['record_online_users']) { $board_config['record_online_users'] = $total_online_users; $board_config['record_online_date'] = time(); $sql = "UPDATE " . CONFIG_TABLE . " SET config_value = '$total_online_users' WHERE config_name = 'record_online_users'"; if ( !$db->sql_query($sql,300) ) { mx_message_die(GENERAL_ERROR, 'Could not update online user record (nr of users)', '', __LINE__, __FILE__, $sql); } $sql = "UPDATE " . CONFIG_TABLE . " SET config_value = '" . $board_config['record_online_date'] . "' WHERE config_name = 'record_online_date'"; if ( !$db->sql_query($sql,300) ) { mx_message_die(GENERAL_ERROR, 'Could not update online user record (date)', '', __LINE__, __FILE__, $sql); } } if ( $total_online_users == 0 ) { $l_t_user_s = $lang['Online_users_zero_total']; } else if ( $total_online_users == 1 ) { $l_t_user_s = $lang['Online_user_total']; } else { $l_t_user_s = $lang['Online_users_total']; } if ( $logged_visible_online == 0 ) { $l_r_user_s = $lang['Reg_users_zero_total']; } else if ( $logged_visible_online == 1 ) { $l_r_user_s = $lang['Reg_user_total']; } else { $l_r_user_s = $lang['Reg_users_total']; } if ( $logged_hidden_online == 0 ) { $l_h_user_s = $lang['Hidden_users_zero_total']; } else if ( $logged_hidden_online == 1 ) { $l_h_user_s = $lang['Hidden_user_total']; } else { $l_h_user_s = $lang['Hidden_users_total']; } if ( $guests_online == 0 ) { if ( !empty($howmanyspiders) ) { $guests_online = $howmanyspiders; if ( $guests_online == 1 ) { $l_g_user_s = $lang['Guest_user_total']; } else { $l_g_user_s = $lang['Guest_users_total']; } } else { $l_g_user_s = $lang['Guest_users_zero_total']; } $nullperiod = '2'; drop_spiders_surfing($nullperiod); } else if ( $guests_online == 1 ) { $l_g_user_s = $lang['Guest_user_total']; } else { $l_g_user_s = $lang['Guest_users_total']; } $l_online_users = sprintf($l_t_user_s, $total_online_users); $l_online_users .= sprintf($l_r_user_s, $logged_visible_online); $l_online_users .= sprintf($l_h_user_s, $logged_hidden_online); $l_online_users .= sprintf($l_g_user_s, $guests_online); // ================================================================================ // The following code is backported from index.php (phpBB 2.0.13) // ================================================================================ // // If you don't use these stats on your index you may want to consider // removing them // $total_posts = mx_get_db_stat('postcount'); $total_users = mx_get_db_stat('usercount'); $newest_userdata = mx_get_db_stat('newestuser'); $newest_user = $newest_userdata['username']; $newest_uid = $newest_userdata['user_id']; if( $total_posts == 0 ) { $l_total_post_s = $lang['Posted_articles_zero_total']; } else if( $total_posts == 1 ) { $l_total_post_s = $lang['Posted_article_total']; } else { $l_total_post_s = $lang['Posted_articles_total']; } if( $total_users == 0 ) { $l_total_user_s = $lang['Registered_users_zero_total']; } else if( $total_users == 1 ) { $l_total_user_s = $lang['Registered_user_total']; } else { $l_total_user_s = $lang['Registered_users_total']; } // ================================================================================ // Send our Who's Online block to the browser // ================================================================================ $template->set_filenames(array( 'body_online' => 'mx_online_adv.tpl') ); $template->assign_vars(array( 'BLOCK_SIZE' => $block_size, 'TOTAL_USERS_ONLINE' => $l_online_users, 'SEARCH_ENGINES_LIST' => $online_spiderlist, 'LOGGED_IN_USER_LIST' => $online_userlist, 'RECORD_USERS' => sprintf($lang['Record_online_users'], $board_config['record_online_users'], create_date($board_config['default_dateformat'], $board_config['record_online_date'], $board_config['board_timezone'])), 'L_WHO_IS_ONLINE' => $lang['Who_is_Online'], 'L_WHOSONLINE_ADMIN' => sprintf($lang['Admin_online_color'], '<span style="color:#' . $theme['fontcolor3'] . '">', '</span>'), 'L_WHOSONLINE_MOD' => sprintf($lang['Mod_online_color'], '<span style="color:#' . $theme['fontcolor2'] . '">', '</span>'), 'ONLINE_IMG' => $images['mx_who_is_online'], 'U_VIEWONLINE' => append_sid(PHPBB_URL.'viewonline.'.$phpEx), 'TOTAL_POSTS' => sprintf($l_total_post_s, $total_posts), 'TOTAL_USERS' => sprintf($l_total_user_s, $total_users), 'NEWEST_USER' => sprintf($lang['Newest_user'], '<a href="' . append_sid(PHPBB_URL."profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$newest_uid") . '">', $newest_user, '</a>'), )); $template->pparse('body_online'); ?> --- NEW FILE: mx_online_adv.pak --- module=+:10=+:Online Advance=+:modules/mx_online_adv/=+:mxBB Online (Advance) Module=+:0 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:10=+:83=+:Who is Online (Advanced)=+:Who is Online Block Advanced Block=+:mx_online_adv.php=+: parameter=+:83=+:164=+:Display Todays Users=+:Boolean=+:FALSE=+:=+:1=+:0 parameter=+:83=+:165=+:Todays Users On Bottom=+:Boolean=+:FALSE=+:=+:1=+:0 parameter=+:83=+:166=+:Show Left Icon=+:Boolean=+:TRUE=+:=+:1=+:0 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - Who is Online (Advanced)=+:Demo block=+:83=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 --- NEW FILE: readme.txt --- /********************************************************************************\ | | subject : mx-portal, CMS & portal, module | name : mx_online | copyright : (C) 2002-2005 MX-System | mxBB project site : www.mx-system.com | | | description : The "mx_online_adv" block is a block with | Who is Online Advance statistics. | | | | \********************************************************************************/ /********************************************************************************\ | Installation Instructions \********************************************************************************/ Note: In order for this module to install you must have a working phpBB and mxBB installation. phpbbroot refers to where your phpBB2 install is located, e.g in phpBB2/ or forum/ 1) Copy the folder: mx_online_adv into your: {mxBB install}\modules\ folder on your web server. 2) From your website enter mxBB Admin Control Panel. 3) Under mxBB-Portal click on Management. 4) Now click on Modules Setup. 5) Under Module Administration use the pull down menu and choose: mx_online_adv 6) Press the Install Module button 7) Now, add the newly created mx_online_adv Block to a relevant portal page and replace, the now redundant mx_onlie block (Who is Online) for e.g. from portal home page. Using mxBB-Portal -> Management -> Page Control Pannel. 8) Modify your mxBB common.php # #-----[ OPEN ]------------------------------------------ # mxbb_root/common.php # #-----[ FIND ]------------------------------------------ # ?> # #-----[ REPLACE WITH ]------------------------------------------ # // Code to be inluded at the end of common.php for mx_online_adv BEGIN if (file_exists($mx_root_path . 'modules/mx_online_adv/includes/online_adv_hack.'.$phpEx)) { include_once($mx_root_path . 'modules/mx_online_adv/includes/online_adv_hack.'.$phpEx); } // Code to be inluded at the end of common.php for mx_online_adv END ?> # #-----[ SAVE/CLOSE ALL FILES ]------------------------------------------ # # EoM /********************************************************************************\ | End Of Document \********************************************************************************/ --- NEW FILE: db_uninstall.php --- <?php /** * * @package mxBB Portal Module - mx_online_adv * @version $Id: db_uninstall.php,v 1.1 2007/06/26 16:01:50 orynider Exp $ * @copyright (c) 2003 [ory...@rd..., OryNider] mxBB Development Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * */ define('IN_PORTAL', true); if ( !defined('IN_ADMIN') ) { $mx_root_path = '../../'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include($mx_root_path . 'common.'.$phpEx); // // Start session management // $mx_user->init($user_ip, PAGE_INDEX); if( !$userdata['session_logged_in'] ) { die("Hacking attempt(3)"); } if( $userdata['user_level'] != ADMIN ) { die("Hacking attempt(4)"); } // // End session management // } $sql = array( "DROP TABLE IF EXISTS ".$mx_table_prefix."online_adv_session" ); $n = 0; $message = "<b>This list is a result of the SQL queries needed to uninstall radio Module Addon</b><br/><br/>"; while($sql[$n]) { $message .= ($mods[$n-1] != $mods[$n]) ? '<p><b><font size=3>'.$mods[$n].'</font></b><br/>' : ''; if( !$result = $db->sql_query($sql[$n]) ) { $message .= '<b><font color=#FF0000>[Error or Already removed]</font></b> line: '.($n+1).' , '.$sql[$n].'<br />'; } else { $message .='<b><font color=#0000fF>[Removed]</font></b> line: '.($n+1).' , '.$sql[$n].'<br />'; } $n++; } $message .= ' <br />If you get some Error, relax, this is normal when updating modules'; echo '<br /> <br />'; echo '<table cellpadding="4" cellspacing="1" border="0" class="forumline">'; echo '<tr><th class="thHead" align="center">Module Installation Information</th></tr>'; echo '<tr><td class="row1" align="center"><span class="gen">' . $message . '</span></td></tr>'; echo '</table> <br />'; ?> |
|
From: OryNider <ory...@us...> - 2007-06-26 16:00:41
|
Update of /cvsroot/mxbb/mx_online_adv/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25371/subSilver Log Message: Directory /cvsroot/mxbb/mx_online_adv/templates/subSilver added to the repository |
|
From: OryNider <ory...@us...> - 2007-06-26 16:00:16
|
Update of /cvsroot/mxbb/mx_online_adv/language/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25290/lang_english Log Message: Directory /cvsroot/mxbb/mx_online_adv/language/lang_english added to the repository |
|
From: OryNider <ory...@us...> - 2007-06-26 15:59:57
|
Update of /cvsroot/mxbb/mx_online_adv/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24852/includes Log Message: Directory /cvsroot/mxbb/mx_online_adv/includes added to the repository |
|
From: OryNider <ory...@us...> - 2007-06-26 15:59:56
|
Update of /cvsroot/mxbb/mx_online_adv/language In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24852/language Log Message: Directory /cvsroot/mxbb/mx_online_adv/language added to the repository |
|
From: OryNider <ory...@us...> - 2007-06-26 15:59:55
|
Update of /cvsroot/mxbb/mx_online_adv/templates In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24852/templates Log Message: Directory /cvsroot/mxbb/mx_online_adv/templates added to the repository |
|
From: mhewitson <mhe...@us...> - 2007-06-25 18:37:41
|
Update of /cvsroot/mxbb/mx_blogs In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv11321 Modified Files: weblogs.php Log Message: - updated to use mx_message_die Index: weblogs.php =================================================================== RCS file: /cvsroot/mxbb/mx_blogs/weblogs.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** weblogs.php 7 Jun 2007 22:01:32 -0000 1.1 --- weblogs.php 25 Jun 2007 18:37:34 -0000 1.2 *************** *** 120,124 **** if( !$result = $db->sql_query($sql) ) { ! message_die(GENERAL_ERROR, "Couldn't obtain mood data from database", "", __LINE__, __FILE__, $sql); } $mood_data = $db->sql_fetchrowset($result); --- 120,124 ---- if( !$result = $db->sql_query($sql) ) { ! mx_message_die(GENERAL_ERROR, "Couldn't obtain mood data from database", "", __LINE__, __FILE__, $sql); } $mood_data = $db->sql_fetchrowset($result); *************** *** 132,136 **** if( !$result = $db->sql_query($sql) ) { ! message_die(GENERAL_ERROR, "Couldn't obtain action data from database", "", __LINE__, __FILE__, $sql); } $action_data = $db->sql_fetchrowset($result); --- 132,136 ---- if( !$result = $db->sql_query($sql) ) { ! mx_message_die(GENERAL_ERROR, "Couldn't obtain action data from database", "", __LINE__, __FILE__, $sql); } $action_data = $db->sql_fetchrowset($result); *************** *** 143,147 **** if ( !($result = $db->sql_query($sql)) ) { ! message_die(GENERAL_ERROR, 'Error querying to find user weblog information', '', __LINE__, __FILE__, $sql); } --- 143,147 ---- if ( !($result = $db->sql_query($sql)) ) { ! mx_message_die(GENERAL_ERROR, 'Error querying to find user weblog information', '', __LINE__, __FILE__, $sql); } *************** *** 163,167 **** if ( !($result = $db->sql_query($sql)) ) { ! message_die(GENERAL_ERROR, 'Could not query user weblog information', '', __LINE__, __FILE__, $sql); } --- 163,167 ---- if ( !($result = $db->sql_query($sql)) ) { ! mx_message_die(GENERAL_ERROR, 'Could not query user weblog information', '', __LINE__, __FILE__, $sql); } *************** *** 232,236 **** if ( !($result = $db->sql_query($sql)) ) { ! message_die(GENERAL_ERROR, 'Could not query user weblog information', '', __LINE__, __FILE__, $sql); } --- 232,236 ---- if ( !($result = $db->sql_query($sql)) ) { ! mx_message_die(GENERAL_ERROR, 'Could not query user weblog information', '', __LINE__, __FILE__, $sql); } *************** *** 433,437 **** if ( $total_weblogs == 0 ) { ! message_die(GENERAL_MESSAGE, $lang['No_weblogs']); } --- 433,437 ---- if ( $total_weblogs == 0 ) { ! mx_message_die(GENERAL_MESSAGE, $lang['No_weblogs']); } |
|
From: Selven <sel...@us...> - 2007-06-24 05:15:38
|
Update of /cvsroot/mxbb/mx_faq/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv20860/includes Modified Files: functions_tiny.php Log Message: Compatibility fix Index: functions_tiny.php =================================================================== RCS file: /cvsroot/mxbb/mx_faq/includes/functions_tiny.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** functions_tiny.php 12 Jun 2007 05:04:40 -0000 1.1 --- functions_tiny.php 24 Jun 2007 05:15:31 -0000 1.2 *************** *** 1,3 **** ! <? /*************************************************************************** * function_tiny.php --- 1,3 ---- ! <?php /*************************************************************************** * function_tiny.php |
|
From: Selven <sel...@us...> - 2007-06-24 05:15:37
|
Update of /cvsroot/mxbb/mx_faq/language In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv20860/language Modified Files: lang_faq_module.php Log Message: Compatibility fix Index: lang_faq_module.php =================================================================== RCS file: /cvsroot/mxbb/mx_faq/language/lang_faq_module.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** lang_faq_module.php 12 Jun 2007 05:04:40 -0000 1.1 --- lang_faq_module.php 24 Jun 2007 05:15:32 -0000 1.2 *************** *** 1,3 **** ! <? /*************************************************************************** * lang_faq_module.php --- 1,3 ---- ! <?php /*************************************************************************** * lang_faq_module.php |
|
From: OryNider <ory...@us...> - 2007-06-22 06:37:31
|
Update of /cvsroot/mxbb/mx_glance/contrib In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv32291 Modified Files: mx_glance_sdesc.php Log Message: fogot a branch "{" :P Index: mx_glance_sdesc.php =================================================================== RCS file: /cvsroot/mxbb/mx_glance/contrib/mx_glance_sdesc.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mx_glance_sdesc.php 22 Jun 2007 05:08:29 -0000 1.2 --- mx_glance_sdesc.php 22 Jun 2007 06:37:25 -0000 1.3 *************** *** 155,158 **** --- 155,159 ---- // if ( $glance_num_news ) + { $sql = " |
|
From: OryNider <ory...@us...> - 2007-06-22 05:08:34
|
Update of /cvsroot/mxbb/mx_glance In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3563 Modified Files: mx_glance.php Log Message: upgraded the file for Simple Topic Description Mod and the template. Index: mx_glance.php =================================================================== RCS file: /cvsroot/mxbb/mx_glance/mx_glance.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** mx_glance.php 19 Jun 2007 21:00:57 -0000 1.3 --- mx_glance.php 22 Jun 2007 05:08:29 -0000 1.4 *************** *** 9,12 **** --- 9,20 ---- */ + /******************************************************************************* + * mx_glance.php * + ******************************************************************************* + * History: * + *OryNider (31/01/2007) : 1st try * + * * + *******************************************************************************/ + if( !defined('IN_PORTAL') || !is_object($mx_block)) { *************** *** 93,97 **** // NEWS BULLET OLD ! $glance_news_bullet_old = '<span class="genmed"><b>›</b> </span>'; // CAN ALSO BE AN IMAGE // RECENT TOPIC BULLET OLD --- 101,105 ---- // NEWS BULLET OLD ! $glance_news_bullet_old = '<span class="genmed"><b>*</b> </span>'; // CAN ALSO BE AN IMAGE // RECENT TOPIC BULLET OLD *************** *** 99,103 **** // NEWS BULLET NEW ! $glance_news_bullet_new = '<span class="genmed" style="color:#FFA34F"><b>›</b> </span>'; // CAN ALSO BE AN IMAGE // RECENT TOPIC BULLET NEW --- 107,111 ---- // NEWS BULLET NEW ! $glance_news_bullet_new = '<span class="genmed" style="color:#FFA34F"><b>*</b> </span>'; // CAN ALSO BE AN IMAGE // RECENT TOPIC BULLET NEW |
|
From: OryNider <ory...@us...> - 2007-06-22 05:08:34
|
Update of /cvsroot/mxbb/mx_glance/contrib In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3563/contrib Modified Files: mx_glance_sdesc.php Log Message: upgraded the file for Simple Topic Description Mod and the template. Index: mx_glance_sdesc.php =================================================================== RCS file: /cvsroot/mxbb/mx_glance/contrib/mx_glance_sdesc.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_glance_sdesc.php 6 Jun 2007 21:47:47 -0000 1.1 --- mx_glance_sdesc.php 22 Jun 2007 05:08:29 -0000 1.2 *************** *** 18,22 **** * {news.TOPIC_DESCRIPTION} / {recent.TOPIC_DESCRIPTION} * to your template files ;) ! ****************************************************************************** if( !defined('IN_PORTAL') || !is_object($mx_block)) --- 18,22 ---- * {news.TOPIC_DESCRIPTION} / {recent.TOPIC_DESCRIPTION} * to your template files ;) ! ******************************************************************************/ if( !defined('IN_PORTAL') || !is_object($mx_block)) *************** *** 153,168 **** // // GET THE LATEST NEWS TOPIC ! // if ( $glance_num_news ) ! { ! $news_data = $db->sql_fetchrow($result); ! ! /* ! if ( 1 ) ! { ! $sql_select = ", p.post_time"; ! $sql_from = ", " . POSTS_TABLE . " p"; ! $sql_where = " AND p.post_id = t.topic_last_post_id"; ! } ! */ $sql = " --- 153,158 ---- // // GET THE LATEST NEWS TOPIC ! // ! if ( $glance_num_news ) $sql = " |
|
From: Selven <sel...@us...> - 2007-06-21 18:21:27
|
Update of /cvsroot/mxbb/mx_shoutbox/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27703/templates/subSilver Added Files: index.html mx_shout_edit.tpl mx_shout_msg.tpl mx_shoutbox.tpl Log Message: First Upload --- NEW FILE: index.html --- --- NEW FILE: mx_shout_edit.tpl --- <script language="JavaScript" type="text/javascript"> <!-- function trimLength(textarea, maxChars) { if(textarea.value.length <= maxChars) return; textarea.value = textarea.value.substr(0, maxChars) } function canAddCharacter(textarea, maxChars) { if(typeof(textarea.onkeypress.arguments[0]) != 'undefined') var keyCode = textarea.onkeypress.arguments[0].keyCode; else { if(document.selection.createRange().text.length != 0) return true; var keyCode = event.keyCode; } var allowedChars = new Array(8, 37, 38, 39, 40, 46); //Backspace, delete and arrow keys for(var x=0; x<allowedChars.length; x++) if(allowedChars[x] == keyCode) return true; if(textarea.value.length < maxChars) return true; return false; } //--> </script> <form name="editform" action="{S_SHOUT_ACTION}" method="post" onsubmit="return checkAlbumForm()"> <table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline"> <tr> <th class="thTop" height="25" colspan="2">{L_EDIT_SHOUT_INFO}</th> </tr> <tr> <td class="row2"><textarea class="post" cols="24" rows="4" name="shout_text" wrap="physical" onkeypress="return canAddCharacter(this, {SHOUT_SIZE})" onchange="trimLength(this, {SHOUT_SIZE})">{SHOUT_TEXT}</textarea></td> </tr> <tr> <td class="catBottom" align="center" height="28" colspan="2"><input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /></td> </tr> </table> </form> --- NEW FILE: mx_shoutbox.tpl --- <script language="JavaScript" type="text/javascript"> <!-- function trimLength(textarea, maxChars) { if(textarea.value.length <= maxChars) return; textarea.value = textarea.value.substr(0, maxChars) } function canAddCharacter(textarea, maxChars) { if(typeof(textarea.onkeypress.arguments[0]) != 'undefined') var keyCode = textarea.onkeypress.arguments[0].keyCode; else { if(document.selection.createRange().text.length != 0) return true; var keyCode = event.keyCode; } var allowedChars = new Array(8, 37, 38, 39, 40, 46); //Backspace, delete and arrow keys for(var x=0; x<allowedChars.length; x++) if(allowedChars[x] == keyCode) return true; if(textarea.value.length < maxChars) return true; return false; } function checkForm() { formErrors = false; if (document.post.message.value.length < 1) { formErrors = "{L_FORM_ERROR}"; } if (formErrors) { alert(formErrors); return false; } else { bbstyle(-1); //formObj.preview.disabled = true; //formObj.submit.disabled = true; return true; } } //--> </script> <!-- BEGIN switch_view --> <table width="100%" cellpadding="3" cellspacing="0" border="0" class="forumline"> <tr> <td align="left" valign="bottom" > <span class="gensmall"> <!-- BEGIN switch_user_logged_in --> {LAST_VISIT_DATE}<br /> <!-- END switch_user_logged_in --> {CURRENT_TIME}<br /> </span> <span class="nav"> <a href="{U_INDEX}" class="nav">{L_INDEX}</a> </span> </td> </tr> </table> <!-- END switch_view --> <table width="100%" cellpadding="3" cellspacing="0" border="0" class="forumline"> <!-- BEGIN postrow --> <tr> <td class="{postrow.ROW}" align="left" width="100%"> <span class="gen"><a href="{postrow.U_DELETE}" onClick="return confirm('{postrow.L_CONFIRM_DELETE}');">{postrow.DEL_IMG}</a><a href="{postrow.U_EDIT}">{postrow.EDT_IMG}</a> <b>{postrow.U_USER_PROFILE}</b></span><br /> <div{BOX_HEIGHT}> <span class="postbody">{postrow.MESSAGE}</span><br/ ><br /> </div> <span class="copyright">{postrow.DATETIME}</span> </td> </tr> <!-- END postrow --> <tr> <td class="row3" align="center" width="100%"> <!-- BEGIN switch_logged_in --> <form action="{S_FORM_ACTION}" method="post" name="post" onsubmit="return checkForm(this)"> <!-- BEGIN switch_guest_namebox --> <span class="gensmall">{L_NAME}:</span><br /> <input name="username" type="text" value="" class="post" /><br /> <!-- END switch_guest_namebox --> <textarea class="post" name="message" wrap="physical" cols="24" rows="4" onkeypress="return canAddCharacter(this, {SHOUT_SIZE})" onchange="trimLength(this, {SHOUT_SIZE})"></textarea> <span class="gensmall">{SHOUT_SIZE_EXPL} {SHOUT_SIZE}</span> {S_HIDDEN_FIELDS} <input name="submit" type="submit" value="{L_SUBMIT}" class=\"mainoption\" /> </form> <!-- END switch_logged_in --> <!-- BEGIN switch_logged_out --> <span class="gen">{L_LOGIN}</span><br /><br /> <!-- END switch_logged_out --> <br /><span class="gensmall"><a href="{U_EMOTICONS}" onclick="window.open('{U_EMOTICONS}', '_phpbbsmilies', 'HEIGHT=300,resizable=yes,scrollbars=yes,WIDTH=400');return false;" target="_phpbbsmilies" class="gensmall">{L_EMOTICONS}</a></span> <div align="right"><span class="copyright">{SHOUT_PAGE}</span></div> </td> </tr> </table> <br clear="all" /> --- NEW FILE: mx_shout_msg.tpl --- <table width="100%" cellpadding="3" cellspacing="0" border="0" class="forumline"> <tr> <td align="center" class="row2" width="100%">{SHOUT_MSG}</td> </tr> </table> |
|
From: Selven <sel...@us...> - 2007-06-21 18:21:24
|
Update of /cvsroot/mxbb/mx_shoutbox/templates In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27703/templates Added Files: index.html Log Message: First Upload --- NEW FILE: index.html --- |
|
From: Selven <sel...@us...> - 2007-06-21 18:21:24
|
Update of /cvsroot/mxbb/mx_shoutbox/templates/subSilver/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27703/templates/subSilver/admin Added Files: index.html mx_shoutbox_admin.tpl Log Message: First Upload --- NEW FILE: index.html --- --- NEW FILE: mx_shoutbox_admin.tpl --- <h1>{L_SHOUT_CONFIG}</h1> <p>{L_SHOUT_CONFIG_EXPLAIN}</p> <form action="{S_CONFIG_ACTION}" method="post"><table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline"> <tr> <th class="thHead" colspan="2">{L_SHOUTBOX_SETTINGS}</th> </tr> <tr> <td class="row1">{L_LIST_INDEX}<br /><span class="gensmall">{L_LIST_INDEX_EXPLAIN}</span></td> <td class="row2" width="100"><input name="list_index" type="text" class="post" value="{LIST_INDEX}" size="5" maxlength="5" /></td> </tr> <tr> <td class="row1">{L_SHOUT_SIZE}<br /><span class="gensmall">{L_SHOUT_SIZE_EXPLAIN}</span></td> <td class="row2" width="100"><input name="shout_size" type="text" class="post" value="{SHOUT_SIZE}" size="5" maxlength="5" /></td> </tr> <tr> <td class="row1">{L_ALLOW_GUEST}<br /><span class="gensmall">{L_ALLOW_GUEST_EXPLAIN}</span></td> <td class="row2" width="100"><input type="radio" name="allow_guest" value="1" {GUEST_YES} /> {L_YES} <input type="radio" name="allow_guest" value="0" {GUEST_NO} /> {L_NO}</td> </tr> <tr> <td class="row1">{L_ALLOW_MEMBER_DEL}<br /><span class="gensmall">{L_ALLOW_MEMBER_DEL_EXPLAIN}</span></td> <td class="row2" width="100"><input type="radio" name="allow_member_del" value="1" {MEMBER_YES} /> {L_YES} <input type="radio" name="allow_member_del" value="0" {MEMBER_NO} /> {L_NO}</td> </tr> <tr> <td class="row1">{L_ALLOW_MEMBER_EDIT}<br /><span class="gensmall">{L_ALLOW_MEMBER_EDIT_EXPLAIN}</span></td> <td class="row2" width="100"><input type="radio" name="allow_member_edit" value="1" {MEMBER_EDIT_YES} /> {L_YES} <input type="radio" name="allow_member_edit" value="0" {MEMBER_EDIT_NO} /> {L_NO}</td> </tr> <tr> <td class="row1">{L_ALLOW_BBCODE}<br /><span class="gensmall">{L_ALLOW_BBCODE_EXPLAIN}</span></td> <td class="row2" width="100"><input type="radio" name="allow_bbcode" value="1" {BBCODE_YES} /> {L_YES} <input type="radio" name="allow_bbcode" value="0" {BBCODE_NO} /> {L_NO}</td> </tr> <tr> <td class="row1">{L_STATIC_BOX}<br /><span class="gensmall">{L_STATIC_BOX_EXPLAIN}</span></td> <td class="row2" width="100"><input type="radio" name="static_box" value="1" {STATIC_YES} /> {L_YES} <input type="radio" name="static_box" value="0" {STATIC_NO} /> {L_NO}</td> </tr> <tr> <td class="row1">{L_STATIC_BOX_SIZE}<br /><span class="gensmall">{L_STATIC_BOX_SIZE_EXPLAIN}</span></td> <td class="row2" width="100"><input name="static_box_height" type="text" class="post" value="{STATIC_HEIGHT}" size="5" maxlength="5" /></td> </tr> <tr> <td class="catBottom" colspan="2" align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /> <input type="reset" value="{L_RESET}" class="liteoption" /></td> </tr> </table></form> <br clear="all" /> |
|
From: Selven <sel...@us...> - 2007-06-21 18:21:23
|
Update of /cvsroot/mxbb/mx_shoutbox/language/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27703/language/lang_english Added Files: index.html lang_admin.php lang_main.php Log Message: First Upload --- NEW FILE: index.html --- --- NEW FILE: lang_main.php --- <?php /// ------------------------------------------------------------- // // // FILENAME : lang_main.php // COPYRIGHT : © 2002, 2003 apegaming.net // WWW : http://www.blame-the-french.com.com/ // LICENCE : GPL vs2.0 [ see /docs/COPYING ] // // ------------------------------------------------------------- // // The format of this file is: // // ---> $lang['message'] = "text"; // // You should also try to set a locale and a character // encoding (plus direction). The encoding and direction // will be sent to the template. The locale may or may // not work, it's dependent on OS support and the syntax // varies ... give it your best guess! // // Module $lang['Shout_title'] = "Shoutbox"; $lang['Shout_form_error'] = "You must enter a message when posting."; $lang['Shout_delete_shout'] = "Do you want to delete this shout?"; $lang['Shout_alt_delete'] = "Delete this shout"; $lang['Edit_Shout_Info'] = "Edit this shout"; $lang['shout_updated_successfully'] = "Shout Updated Successfully"; $lang['click_continue'] = "Click here to continue"; $lang['shout_size_expl'] = "Max size of message:"; $lang['Shout_guest'] = "Guest"; $lang['Shout_message'] = "Message"; $lang['Shout_username'] = "Name"; $lang['Shout_submit'] = "Shout!"; $lang['Shout_emoticons'] = "Emoticons"; $lang['Shout_log_on'] = "You must be logged in to shout."; // Posting $lang['Shout_delete_error'] = "Delete was called without a shout ID."; $lang['Shout_edit_error'] = "Edit was called without a shout ID."; $lang['Shout_edit_perm_error'] = "You don't have permission to edit this shout."; $lang['Shout_message_delete'] = "The shout has been deleted."; $lang['Shout_message_return'] = "%sReturn%s"; $lang['Shout_message_add'] = "Shout entered."; $lang['Shout_error'] = "Error."; // // That's all Folks! // ------------------------------------------------- ?> --- NEW FILE: lang_admin.php --- <?php // ------------------------------------------------------------- // // // FILENAME : lang_admin.php // COPYRIGHT : © 2002, 2003 apegaming.net // WWW : http://www.blame-the-french.com.com/ // LICENCE : GPL vs2.0 [ see /docs/COPYING ] // // ------------------------------------------------------------- // // The format of this file is: // // ---> $lang['message'] = "text"; // // You should also try to set a locale and a character // encoding (plus direction). The encoding and direction // will be sent to the template. The locale may or may // not work, it's dependent on OS support and the syntax // varies ... give it your best guess! // // Admin $lang['Yes'] = "Yes"; $lang['No'] = "No"; $lang['Shout_config'] = "MX Shoutbox Configuration"; $lang['Shout_config_explain'] = "Configuration of the MX Shoutbox Module"; $lang['Shout_settings'] = "Shoutbox Settings"; $lang['Shout_list_index'] = "Number of shouts per page"; $lang['Shout_list_index_explain'] = "Define how may shout posts to display on your page. (Default is 5)"; $lang['Shout_size'] = "Max shout size"; $lang['Shout_size_explain'] = "Maximum number of characters allowed per shout"; $lang['Shout_list_expand_'] = "Number of expanded shouts per page"; $lang['Shout_list_expand_explain'] = "Define how many shout posts to display on the expanded page.<br />0 = Unlimited (Default is 100)"; $lang['Shout_allow_guest'] = "Allow guests to shout?"; $lang['Shout_allow_guest_explain'] = "Setting this to Yes will allow unregistered members to post shouts. Setting this to No will only allow registered members to post shouts. (Default is No)"; $lang['Shout_allow_member_del'] = "Allow members to delete their shouts?"; $lang['Shout_allow_member_del_explain'] = "Setting this to Yes will allow registered members to delete their own shouts, if they chose to. Otherwise, setting this to No will only allow administrators to delete. (Default is Yes)"; $lang['Shout_allow_member_edit'] = "Allow members to edit their shouts?"; $lang['Shout_allow_member_edit_explain'] = "Setting this to Yes will allow registered members to edit their own shouts, if they chose to. Otherwise, setting this to No will only allow administrators to edit. (Default is Yes)"; $lang['Shout_allow_bbcode'] = "Allow BBCode in shouts?"; $lang['Shout_allow_bbcode_explain'] = "Setting this to Yes will allow BBCode in shouts. Setting to no will not. (Default is No)"; $lang['Shout_allow_span'] = "Allow shouts to span pages?"; $lang['Shout_allow_span_explain'] = "Setting this to Yes will allow the shouts to span across multiple pages, and display a list of page numbers. Setting to No disables. (Default is Yes)"; $lang['Shout_fixed_height'] = "Fix the height of shout boxes?"; $lang['Shout_fixed_height_explain'] = "Setting this to yes will fix all shouts to a certain height. If the shout is very long then a scroll bar will appear"; $lang['Shout_box_height'] = "Shoutbox height"; $lang['Shout_box_height_explain'] = "This value sets the height of the box each shout is displayed in. The value is in pixels. This value is only relevant if shout boxes are set to fixed"; $lang['Submit'] = "Submit"; $lang['Reset'] = "Reset"; $lang['shout_config_updated'] = "MX Shoutbox configuration has been saved."; $lang['Click_return_shout_config'] = "Click %sHere%s to return to Shoutbox Administration"; // // That's all Folks! // ------------------------------------------------- ?> |
|
From: Selven <sel...@us...> - 2007-06-21 18:21:22
|
Update of /cvsroot/mxbb/mx_shoutbox/docs/css In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27703/docs/css Added Files: index.htm subSilver.css Log Message: First Upload --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> --- NEW FILE: subSilver.css --- <? /** * * @package mxBB Portal 2.8.0 * @version $Id: subSilver.css,v 1.1 2007/06/21 18:21:06 selven81 Exp $ * @copyright (c) 2002-2005 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @project_site http://www.mxbb.net * * * 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. * */ /** * Note that this is the original subSilver style, with a few minor changes * and additions done to suit our needs. All copyrights and essential credits are * of course listed below. * * Again, thanks to subBlue Design for making this CSS file available. * */ ?> /* The original subSilver Theme for phpBB version 2+ Created by subBlue design http://www.subBlue.com */ /* General page style. The scroll bar colours only visible in IE5.5+ */ body { background-color: #E5E5E5; scrollbar-face-color: #DEE3E7; scrollbar-highlight-color: #FFFFFF; scrollbar-shadow-color: #DEE3E7; scrollbar-3dlight-color: #D1D7DC; scrollbar-arrow-color: #006699; scrollbar-track-color: #EFEFEF; scrollbar-darkshadow-color: #98AAB1; } /* General font families for common tags */ font,th,td,p { font-family: Verdana, Arial, Helvetica, sans-serif } a:link,a:active,a:visited { color : #006699; } a:hover { text-decoration: underline; color : #DD6900; } hr { height: 0px; border: solid #D1D7DC 0px; border-top-width: 1px;} /* This is the border line & background colour round the entire page */ .bodyline { background-color: #FFFFFF; border: 1px #006699 solid; } /* This is the outline round the main forum tables */ .forumline { background-color: #FFFFFF; border: 2px #006699 solid; } /* Main table cell colours and backgrounds */ td.row1 { background-color: #EFEFEF; } td.row2 { background-color: #DEE3E7; } td.row3 { background-color: #D1D7DC; } /* This is for the table cell above the Topics, Post & Last posts on the index.php page By default this is the fading out gradiated silver background. However, you could replace this with a bitmap specific for each forum */ td.rowpic { background-color: #FFFFFF; background-image: url(images/cellpic2.jpg); background-repeat: repeat-y; } /* Header cells - the blue and silver gradient backgrounds */ th { color: #FFA34F; font-size: 11px; font-weight : bold; background-color: #006699; height: 25px; background-image: url(images/cellpic3.gif); } td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom { background-image: url(images/cellpic1.gif); background-color:#D1D7DC; border: #FFFFFF; border-style: solid; height: 28px; } /* Setting additional nice inner borders for the main table cells. The names indicate which sides the border will be on. Don't worry if you don't understand this, just ignore it :-) */ td.cat,td.catHead,td.catBottom { height: 29px; border-width: 0px 0px 0px 0px; } th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR { font-weight: bold; border: #FFFFFF; border-style: solid; height: 28px; } td.row3Right,td.spaceRow { background-color: #D1D7DC; border: #FFFFFF; border-style: solid; } th.thHead,td.catHead { font-size: 12px; border-width: 1px 1px 0px 1px; } th.thSides,td.catSides,td.spaceRow { border-width: 0px 1px 0px 1px; } th.thRight,td.catRight,td.row3Right { border-width: 0px 1px 0px 0px; } th.thLeft,td.catLeft { border-width: 0px 0px 0px 1px; } th.thBottom,td.catBottom { border-width: 0px 1px 1px 1px; } th.thTop { border-width: 1px 0px 0px 0px; } th.thCornerL { border-width: 1px 0px 0px 1px; } th.thCornerR { border-width: 1px 1px 0px 0px; } /* The largest text used in the index page title and toptic title etc. */ .maintitle,h1,h2 { font-weight: bold; font-size: 22px; font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif; text-decoration: none; line-height : 120%; color : #000000; } /* General text */ .gen { font-size : 12px; } .genmed { font-size : 11px; } .gensmall { font-size : 10px; } .gen,.genmed,.gensmall { color : #000000; } a.gen,a.genmed,a.gensmall { color: #006699; text-decoration: none; } a.gen:hover,a.genmed:hover,a.gensmall:hover { color: #DD6900; text-decoration: underline; } /* The register, login, search etc links at the top of the page */ .mainmenu { font-size : 11px; color : #000000 } a.mainmenu { text-decoration: none; color : #006699; } a.mainmenu:hover{ text-decoration: underline; color : #DD6900; } /* Forum category titles */ .cattitle { font-weight: bold; font-size: 12px ; letter-spacing: 1px; color : #006699} a.cattitle { text-decoration: none; color : #006699; } a.cattitle:hover{ text-decoration: underline; } /* Forum title: Text and link to the forums used in: index.php */ .forumlink { font-weight: bold; font-size: 12px; color : #006699; } a.forumlink { text-decoration: none; color : #006699; } a.forumlink:hover{ text-decoration: underline; color : #DD6900; } /* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */ .nav { font-weight: bold; font-size: 11px; color : #000000;} a.nav { text-decoration: none; color : #006699; } a.nav:hover { text-decoration: underline; } /* titles for the topics: could specify viewed link colour too */ .topictitle { font-weight: bold; font-size: 11px; color : #000000; } a.topictitle:link { text-decoration: none; color : #006699; } a.topictitle:visited { text-decoration: none; color : #5493B4; } a.topictitle:hover { text-decoration: underline; color : #DD6900; } /* Name of poster in viewmsg.php and viewtopic.php and other places */ .name { font-size : 11px; color : #000000;} /* Location, number of posts, post date etc */ .postdetails { font-size : 10px; color : #000000; } /* The content of the posts (body of text) */ .postbody { font-size : 12px;} a.postlink:link { text-decoration: none; color : #006699 } a.postlink:visited { text-decoration: none; color : #5493B4; } a.postlink:hover { text-decoration: underline; color : #DD6900} /* Quote & Code blocks */ .code { font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #006600; background-color: #FAFAFA; border: #D1D7DC; border-style: solid; border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px } .quote { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #444444; line-height: 125%; background-color: #FAFAFA; border: #D1D7DC; border-style: solid; border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px } /* Copyright and bottom info */ .copyright { font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #444444; letter-spacing: -1px;} a.copyright { color: #444444; text-decoration: none;} a.copyright:hover { color: #000000; text-decoration: underline;} /* Form elements */ input,textarea, select { color : #000000; font: normal 11px Verdana, Arial, Helvetica, sans-serif; border-color : #000000; } /* The text input fields background colour */ input.post, textarea.post, select { background-color : #FFFFFF; } input { text-indent : 2px; } /* The buttons used for bbCode styling in message post */ input.button { background-color : #EFEFEF; color : #000000; font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif; } /* The main submit button option */ input.mainoption { background-color : #FAFAFA; font-weight : bold; } /* None-bold submit button */ input.liteoption { background-color : #FAFAFA; font-weight : normal; } /* This is the line in the posting page which shows the rollover help line. This is actually a text box, but if set to be the same colour as the background no one will know ;) */ .helpline { background-color: #DEE3E7; border-style: none; } /* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */ @import url("formIE.css"); /* Special mxBB-specific stuff */ p,ul,td { font-size:10pt; } .h2 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12pt; font-weight: bold; } .h3 { color: blue; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12pt; } ul.list { margin: 0; padding: 0; list-style: none; } ul.list ul { padding: 0; padding-left: 10px; margin: 0; list-style: none; } ul.list ul ul { margin: 0; } ul.list a { padding-left: 15px; color: #000000; } li.cat a { background: url(../images/li_bullet_blue.gif) no-repeat; font-weight: bold; } li.item a { color: #006699; background: url(../images/li_small_arrow_right_black.gif) no-repeat; font-weight: normal; } li.folder a { margin-left: 10px; background: url(../images/li_folders.gif) no-repeat; font-weight: normal; } li.cat ul ul a{ margin-left: 18px; background: url(../images/li_small_arrow_right_black.gif) no-repeat; font-weight: normal; } |
|
From: Selven <sel...@us...> - 2007-06-21 18:21:21
|
Update of /cvsroot/mxbb/mx_shoutbox/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27703/includes Added Files: constants.php functions.php index.html Log Message: First Upload --- NEW FILE: functions.php --- <?php // ------------------------------------------------------------- // // // FILENAME : functions.php // COPYRIGHT : © 2002, 2003 apegaming.net // WWW : http://www.blame-the-french.com.com/ // LICENCE : GPL vs2.0 [ see /docs/COPYING ] // // ------------------------------------------------------------- if ( !defined('IN_PORTAL') ) { die("Hacking attempt"); } function shout_msg($message) { global $template; $template->set_filenames(array( 'body' => 'mx_shout_msg.tpl') ); $template->assign_vars(array( 'SHOUT_MSG' => $message ) ); $template->pparse('body'); } ?> --- NEW FILE: index.html --- --- NEW FILE: constants.php --- <?php // ------------------------------------------------------------- // // // FILENAME : constants.php // COPYRIGHT : © 2002, 2003 apegaming.net // WWW : http://www.blame-the-french.com.com/ // LICENCE : GPL vs2.0 [ see /docs/COPYING ] // // ------------------------------------------------------------- if ( !defined('IN_PORTAL') ) { die("Hacking attempt"); } // Table names define('SHOUTBOX_TABLE', $mx_table_prefix.'shoutbox'); define('SHOUTBOX_CONFIG_TABLE', $mx_table_prefix.'shoutbox_config'); define('SH_VERSION','2.2.4'); ?> |
|
From: Selven <sel...@us...> - 2007-06-21 18:21:21
|
Update of /cvsroot/mxbb/mx_shoutbox/language In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27703/language Added Files: index.html Log Message: First Upload --- NEW FILE: index.html --- |
|
From: Selven <sel...@us...> - 2007-06-21 18:21:17
|
Update of /cvsroot/mxbb/mx_shoutbox/docs/images In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27703/docs/images Added Files: cellpic1.gif cellpic2.jpg cellpic3.gif index.htm li_bullet_blue.gif li_folders.gif li_small_arrow_right_black.gif li_small_arrow_right_blue.gif li_small_square_black.gif mxbb-portal.gif spacer.gif Log Message: First Upload --- NEW FILE: li_folders.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: spacer.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: li_small_square_black.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: li_small_arrow_right_blue.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: li_bullet_blue.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: cellpic1.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: cellpic3.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: mxbb-portal.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: li_small_arrow_right_black.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: cellpic2.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: index.htm --- <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body bgcolor="#FFFFFF" text="#000000"> </body> </html> |