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: Jon O. <jon...@us...> - 2006-08-13 19:43:54
|
Update of /cvsroot/mxbb/mx_linkdb/linkdb/includes In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv18674/modules/mx_linkdb/linkdb/includes Modified Files: functions.php functions_linkdb.php linkdb_constants.php Log Message: Updated copyrights file header Index: functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/includes/functions.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** functions.php 4 Aug 2006 16:31:34 -0000 1.14 --- functions.php 13 Aug 2006 19:43:51 -0000 1.15 *************** *** 4,8 **** * @package mxBB Portal Module - mx_linkdb * @version $Id$ ! * @copyright (c) 2002-2006 [CRLin, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_linkdb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: functions_linkdb.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/includes/functions_linkdb.php,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** functions_linkdb.php 13 Aug 2006 18:52:32 -0000 1.19 --- functions_linkdb.php 13 Aug 2006 19:43:51 -0000 1.20 *************** *** 4,8 **** * @package mxBB Portal Module - mx_linkdb * @version $Id$ ! * @copyright (c) 2002-2006 [CRLin, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_linkdb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: linkdb_constants.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/includes/linkdb_constants.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** linkdb_constants.php 1 Jul 2006 21:32:19 -0000 1.9 --- linkdb_constants.php 13 Aug 2006 19:43:51 -0000 1.10 *************** *** 4,8 **** * @package mxBB Portal Module - mx_linkdb * @version $Id$ ! * @copyright (c) 2002-2006 [CRLin, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_linkdb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * |
|
From: Jon O. <jon...@us...> - 2006-08-13 19:43:54
|
Update of /cvsroot/mxbb/mx_linkdb/linkdb/admin In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv18674/modules/mx_linkdb/linkdb/admin Modified Files: admin_auth_manage.php admin_cat_manage.php admin_custom_manage.php admin_setting.php Log Message: Updated copyrights file header Index: admin_custom_manage.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/admin/admin_custom_manage.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** admin_custom_manage.php 1 Aug 2006 21:02:19 -0000 1.1 --- admin_custom_manage.php 13 Aug 2006 19:43:51 -0000 1.2 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [wGEric, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package mxBB Portal Module - mx_linkdb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: admin_cat_manage.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/admin/admin_cat_manage.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** admin_cat_manage.php 1 Aug 2006 21:02:19 -0000 1.9 --- admin_cat_manage.php 13 Aug 2006 19:43:51 -0000 1.10 *************** *** 4,8 **** * @package mxBB Portal Module - mx_linkdb * @version $Id$ ! * @copyright (c) 2002-2006 [CRLin, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_linkdb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: admin_auth_manage.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/admin/admin_auth_manage.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** admin_auth_manage.php 1 Aug 2006 21:02:19 -0000 1.3 --- admin_auth_manage.php 13 Aug 2006 19:43:51 -0000 1.4 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [wGEric, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 2,8 ---- /** * ! * @package mxBB Portal Module - mx_linkdb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: admin_setting.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/admin/admin_setting.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** admin_setting.php 1 Aug 2006 21:02:19 -0000 1.12 --- admin_setting.php 13 Aug 2006 19:43:51 -0000 1.13 *************** *** 4,8 **** * @package mxBB Portal Module - mx_linkdb * @version $Id$ ! * @copyright (c) 2002-2006 [CRLin, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_linkdb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * |
|
From: Jon O. <jon...@us...> - 2006-08-13 19:43:54
|
Update of /cvsroot/mxbb/mx_linkdb/linkdb In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv18674/modules/mx_linkdb/linkdb Modified Files: linkdb_common.php Log Message: Updated copyrights file header Index: linkdb_common.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb/linkdb_common.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** linkdb_common.php 1 Aug 2006 21:02:19 -0000 1.4 --- linkdb_common.php 13 Aug 2006 19:43:51 -0000 1.5 *************** *** 4,8 **** * @package mxBB Portal Module - mx_linkdb * @version $Id$ ! * @copyright (c) 2002-2006 [CRLin, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_linkdb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * |
|
From: Jon O. <jon...@us...> - 2006-08-13 19:43:54
|
Update of /cvsroot/mxbb/mx_linkdb In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv18674/modules/mx_linkdb Modified Files: db_install.php db_uninstall.php db_upgrade.php linkdb.php linkdb_lists.php linkdb_mini.php Log Message: Updated copyrights file header Index: db_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/db_uninstall.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** db_uninstall.php 2 May 2006 23:27:29 -0000 1.7 --- db_uninstall.php 13 Aug 2006 19:43:51 -0000 1.8 *************** *** 4,8 **** * @package mxBB Portal Module - mx_linkdb * @version $Id$ ! * @copyright (c) 2002-2006 [CRLin, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_linkdb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/db_upgrade.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** db_upgrade.php 4 Aug 2006 16:31:34 -0000 1.16 --- db_upgrade.php 13 Aug 2006 19:43:51 -0000 1.17 *************** *** 4,8 **** * @package mxBB Portal Module - mx_linkdb * @version $Id$ ! * @copyright (c) 2002-2006 [CRLin, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_linkdb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: linkdb_mini.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb_mini.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** linkdb_mini.php 13 Aug 2006 18:52:33 -0000 1.1 --- linkdb_mini.php 13 Aug 2006 19:43:51 -0000 1.2 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_pafiledb * @version $Id$ ! * @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 * --- 2,8 ---- /** * ! * @package mxBB Portal Module - mx_linkdb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/db_install.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** db_install.php 4 Aug 2006 16:31:34 -0000 1.15 --- db_install.php 13 Aug 2006 19:43:51 -0000 1.16 *************** *** 4,8 **** * @package mxBB Portal Module - mx_linkdb * @version $Id$ ! * @copyright (c) 2002-2006 [CRLin, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_linkdb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: linkdb_lists.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb_lists.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** linkdb_lists.php 13 Aug 2006 18:52:33 -0000 1.1 --- linkdb_lists.php 13 Aug 2006 19:43:51 -0000 1.2 *************** *** 4,8 **** * @package mxBB Portal Module - mx_linkdb * @version $Id$ ! * @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 * --- 4,8 ---- * @package mxBB Portal Module - mx_linkdb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: linkdb.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/linkdb.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** linkdb.php 1 Aug 2006 21:02:19 -0000 1.12 --- linkdb.php 13 Aug 2006 19:43:51 -0000 1.13 *************** *** 4,8 **** * @package mxBB Portal Module - mx_linkdb * @version $Id$ ! * @copyright (c) 2002-2006 [CRLin, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_linkdb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * |
|
From: Jon O. <jon...@us...> - 2006-08-13 19:43:54
|
Update of /cvsroot/mxbb/mx_linkdb/language/lang_english In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv18674/modules/mx_linkdb/language/lang_english Modified Files: lang_admin.php lang_main.php Log Message: Updated copyrights file header Index: lang_main.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/language/lang_english/lang_main.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** lang_main.php 4 Aug 2006 16:31:34 -0000 1.7 --- lang_main.php 13 Aug 2006 19:43:51 -0000 1.8 *************** *** 4,8 **** * @package mxBB Portal Module - mx_linkdb * @version $Id$ ! * @copyright (c) 2002-2006 [CRLin, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_linkdb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: lang_admin.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/language/lang_english/lang_admin.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** lang_admin.php 13 Aug 2006 18:52:32 -0000 1.9 --- lang_admin.php 13 Aug 2006 19:43:51 -0000 1.10 *************** *** 4,8 **** * @package mxBB Portal Module - mx_linkdb * @version $Id$ ! * @copyright (c) 2002-2006 [CRLin, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_linkdb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * |
|
From: Jon O. <jon...@us...> - 2006-08-13 19:43:53
|
Update of /cvsroot/mxbb/mx_linkdb/admin In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv18674/modules/mx_linkdb/admin Modified Files: admin_linkdb.php mx_module_defs.php Log Message: Updated copyrights file header Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/admin/mx_module_defs.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_module_defs.php 13 Aug 2006 18:52:33 -0000 1.1 --- mx_module_defs.php 13 Aug 2006 19:43:50 -0000 1.2 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_pafiledb * @version $Id$ ! * @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 * --- 2,8 ---- /** * ! * @package mxBB Portal Module - mx_linkdb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: admin_linkdb.php =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/admin/admin_linkdb.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** admin_linkdb.php 4 Aug 2006 16:31:33 -0000 1.11 --- admin_linkdb.php 13 Aug 2006 19:43:50 -0000 1.12 *************** *** 4,8 **** * @package mxBB Portal Module - mx_linkdb * @version $Id$ ! * @copyright (c) 2002-2006 [CRLin, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_linkdb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * |
|
From: Jon O. <jon...@us...> - 2006-08-13 19:43:13
|
Update of /cvsroot/mxbb/mx_kb In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv18197/modules/mx_kb Modified Files: db_install.php db_uninstall.php db_upgrade.php install_kb_tables.php kb.php kb_article_reader.php kb_last_article.php kb_lists.php kb_mini.php upgrade_kb_tables.php Log Message: Updated copyrights file header Index: kb.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb.php,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -d -r1.40 -r1.41 *** kb.php 4 Aug 2006 20:10:43 -0000 1.40 --- kb.php 13 Aug 2006 19:43:07 -0000 1.41 *************** *** 4,8 **** * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [wGEric, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: upgrade_kb_tables.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/upgrade_kb_tables.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** upgrade_kb_tables.php 5 Apr 2006 22:34:48 -0000 1.5 --- upgrade_kb_tables.php 13 Aug 2006 19:43:07 -0000 1.6 *************** *** 4,8 **** * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [wGEric, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * *************** *** 16,20 **** include($phpbb_root_path . 'config.'.$phpEx); include($phpbb_root_path . 'includes/constants.'.$phpEx); ! include($phpbb_root_path . 'common.'.$phpEx); include($phpbb_root_path . 'includes/db.'.$phpEx); include($phpbb_root_path . 'includes/kb_constants.'.$phpEx); --- 16,20 ---- include($phpbb_root_path . 'config.'.$phpEx); include($phpbb_root_path . 'includes/constants.'.$phpEx); ! include($phpbb_root_path . 'common.'.$phpEx); include($phpbb_root_path . 'includes/db.'.$phpEx); include($phpbb_root_path . 'includes/kb_constants.'.$phpEx); *************** *** 24,33 **** define( 'kbconstants_ok', defined( 'KB_CUSTOM_TABLE' ) ); ! if ( !phpBBroot_ok ) { message_die(GENERAL_ERROR, "This install/upgrade script should be uploaded to the phpBB root."); } ! if ( !kbconstants_ok ) { message_die(GENERAL_ERROR, "You haven't uploaded latest kb_constants.php."); --- 24,33 ---- define( 'kbconstants_ok', defined( 'KB_CUSTOM_TABLE' ) ); ! if ( !phpBBroot_ok ) { message_die(GENERAL_ERROR, "This install/upgrade script should be uploaded to the phpBB root."); } ! if ( !kbconstants_ok ) { message_die(GENERAL_ERROR, "You haven't uploaded latest kb_constants.php."); *************** *** 57,61 **** <body bgcolor="#FFFFFF" text="#000000" link="#006699" vlink="#5584AA"> ! <table width="100%" border="0" cellspacing="0" cellpadding="10" align="center"> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> --- 57,61 ---- <body bgcolor="#FFFFFF" text="#000000" link="#006699" vlink="#5584AA"> ! <table width="100%" border="0" cellspacing="0" cellpadding="10" align="center"> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> *************** *** 75,80 **** // get the phpBB version ! $sql = "SELECT config_value ! FROM " . CONFIG_TABLE . " WHERE config_name = 'version'"; if ( !($result = $db->sql_query($sql)) ) --- 75,80 ---- // get the phpBB version ! $sql = "SELECT config_value ! FROM " . CONFIG_TABLE . " WHERE config_name = 'version'"; if ( !($result = $db->sql_query($sql)) ) *************** *** 121,125 **** $upgrade_201 = 0; $upgrade_202 = 0; ! // validate before 1.01 if( !$result = $db->sql_query("SELECT article_rating from ".KB_ARTICLES_TABLE)) --- 121,125 ---- $upgrade_201 = 0; $upgrade_202 = 0; ! // validate before 1.01 if( !$result = $db->sql_query("SELECT article_rating from ".KB_ARTICLES_TABLE)) *************** *** 182,189 **** $upgrade_202 = 1; $res_message .= "Upgrading to v. 2.02...<br />"; ! if ( $submit ) { ! switch ( SQL_LAYER ) { --- 182,189 ---- $upgrade_202 = 1; $res_message .= "Upgrading to v. 2.02...<br />"; ! if ( $submit ) { ! switch ( SQL_LAYER ) { *************** *** 194,198 **** $sql[] = 'ALTER TABLE ' . KB_ARTICLES_TABLE . ' ADD article_rating double(6,4) NOT NULL default "0.0000" ;'; $sql[] = 'ALTER TABLE ' . KB_ARTICLES_TABLE . ' ADD article_totalvotes int(255) NOT NULL default "0" ;'; ! $sql[] = 'INSERT INTO '.KB_CONFIG_TABLE.' (config_name, config_value) VALUES ("allow_rating", "0") ;'; $sql[] = 'INSERT INTO '.KB_CONFIG_TABLE.' (config_name, config_value) VALUES ("allow_anonymos_rating", "0") ;'; --- 194,198 ---- $sql[] = 'ALTER TABLE ' . KB_ARTICLES_TABLE . ' ADD article_rating double(6,4) NOT NULL default "0.0000" ;'; $sql[] = 'ALTER TABLE ' . KB_ARTICLES_TABLE . ' ADD article_totalvotes int(255) NOT NULL default "0" ;'; ! $sql[] = 'INSERT INTO '.KB_CONFIG_TABLE.' (config_name, config_value) VALUES ("allow_rating", "0") ;'; $sql[] = 'INSERT INTO '.KB_CONFIG_TABLE.' (config_name, config_value) VALUES ("allow_anonymos_rating", "0") ;'; *************** *** 202,206 **** $sql[] = 'INSERT INTO '.KB_CONFIG_TABLE.' (config_name, config_value) VALUES ("stats_list", "1") ;'; $sql[] = 'INSERT INTO '.KB_CONFIG_TABLE.' (config_name, config_value) VALUES ("header_banner", "1") ;'; ! $sql[] = 'CREATE TABLE '.KB_VOTES_TABLE.' ( votes_ip varchar(50) NOT NULL default "0", --- 202,206 ---- $sql[] = 'INSERT INTO '.KB_CONFIG_TABLE.' (config_name, config_value) VALUES ("stats_list", "1") ;'; $sql[] = 'INSERT INTO '.KB_CONFIG_TABLE.' (config_name, config_value) VALUES ("header_banner", "1") ;'; ! $sql[] = 'CREATE TABLE '.KB_VOTES_TABLE.' ( votes_ip varchar(50) NOT NULL default "0", *************** *** 209,213 **** ) TYPE=MyISAM'; } ! if ( $upgrade_102 == 1 ) { --- 209,213 ---- ) TYPE=MyISAM'; } ! if ( $upgrade_102 == 1 ) { *************** *** 225,231 **** $sql[] = 'INSERT INTO '.KB_CONFIG_TABLE.' (config_name, config_value) VALUES ("news_sort_par", "ASC");'; } ! if ( $upgrade_200 == 1 ) ! { $sql[] = 'ALTER TABLE ' . KB_CATEGORIES_TABLE . ' ADD auth_view tinyint(3) NOT NULL DEFAULT "0" ;'; $sql[] = 'ALTER TABLE ' . KB_CATEGORIES_TABLE . ' ADD auth_post tinyint(3) NOT NULL DEFAULT "0" ;'; --- 225,231 ---- $sql[] = 'INSERT INTO '.KB_CONFIG_TABLE.' (config_name, config_value) VALUES ("news_sort_par", "ASC");'; } ! if ( $upgrade_200 == 1 ) ! { $sql[] = 'ALTER TABLE ' . KB_CATEGORIES_TABLE . ' ADD auth_view tinyint(3) NOT NULL DEFAULT "0" ;'; $sql[] = 'ALTER TABLE ' . KB_CATEGORIES_TABLE . ' ADD auth_post tinyint(3) NOT NULL DEFAULT "0" ;'; *************** *** 246,260 **** $sql[] = 'ALTER TABLE ' . KB_CATEGORIES_TABLE . ' ADD auth_moderator_groups varchar(255) ;'; $sql[] = 'ALTER TABLE ' . KB_CATEGORIES_TABLE . ' ADD comments_forum_id tinyint(3) NOT NULL DEFAULT "-1" ;'; ! $sql[] = 'UPDATE ' . KB_CONFIG_TABLE . ' SET config_name = "use_comments", config_value = "1" WHERE config_name = "comments" ;'; ! $sql[] = 'UPDATE ' . KB_CONFIG_TABLE . ' SET config_name = "use_ratings", config_value = "1" ! WHERE config_name = "allow_rating" ;'; ! $sql[] = 'INSERT INTO '.KB_CONFIG_TABLE.' (config_name, config_value) VALUES ("wysiwyg", "0");'; $sql[] = 'INSERT INTO '.KB_CONFIG_TABLE.' (config_name, config_value) VALUES ("allow_html", "1");'; --- 246,260 ---- $sql[] = 'ALTER TABLE ' . KB_CATEGORIES_TABLE . ' ADD auth_moderator_groups varchar(255) ;'; $sql[] = 'ALTER TABLE ' . KB_CATEGORIES_TABLE . ' ADD comments_forum_id tinyint(3) NOT NULL DEFAULT "-1" ;'; ! $sql[] = 'UPDATE ' . KB_CONFIG_TABLE . ' SET config_name = "use_comments", config_value = "1" WHERE config_name = "comments" ;'; ! $sql[] = 'UPDATE ' . KB_CONFIG_TABLE . ' SET config_name = "use_ratings", config_value = "1" ! WHERE config_name = "allow_rating" ;'; ! $sql[] = 'INSERT INTO '.KB_CONFIG_TABLE.' (config_name, config_value) VALUES ("wysiwyg", "0");'; $sql[] = 'INSERT INTO '.KB_CONFIG_TABLE.' (config_name, config_value) VALUES ("allow_html", "1");'; *************** *** 262,266 **** $sql[] = 'INSERT INTO '.KB_CONFIG_TABLE.' (config_name, config_value) VALUES ("allow_smilies", "1");'; $sql[] = 'INSERT INTO '.KB_CONFIG_TABLE.' (config_name, config_value) VALUES ("allowed_html_tags", "b,i,u,a");'; ! $sql[] = 'CREATE TABLE ' . KB_CUSTOM_TABLE . ' ( custom_id int(50) NOT NULL auto_increment, --- 262,266 ---- $sql[] = 'INSERT INTO '.KB_CONFIG_TABLE.' (config_name, config_value) VALUES ("allow_smilies", "1");'; $sql[] = 'INSERT INTO '.KB_CONFIG_TABLE.' (config_name, config_value) VALUES ("allowed_html_tags", "b,i,u,a");'; ! $sql[] = 'CREATE TABLE ' . KB_CUSTOM_TABLE . ' ( custom_id int(50) NOT NULL auto_increment, *************** *** 272,277 **** regex varchar(255) NOT NULL default "", PRIMARY KEY (custom_id) ! ) TYPE=MyISAM;'; ! $sql[] = 'CREATE TABLE ' . KB_CUSTOM_DATA_TABLE . ' ( customdata_file int(50) NOT NULL default "0", --- 272,277 ---- regex varchar(255) NOT NULL default "", PRIMARY KEY (custom_id) ! ) TYPE=MyISAM;'; ! $sql[] = 'CREATE TABLE ' . KB_CUSTOM_DATA_TABLE . ' ( customdata_file int(50) NOT NULL default "0", *************** *** 279,285 **** data text NOT NULL ) TYPE=MyISAM;'; ! } ! if ( $upgrade_201 == 1 ) { --- 279,285 ---- data text NOT NULL ) TYPE=MyISAM;'; ! } ! if ( $upgrade_201 == 1 ) { *************** *** 288,292 **** $sql[] = 'ALTER TABLE ' . KB_ARTICLES_TABLE . ' MODIFY article_author_id mediumint(8) NOT NULL ;'; } ! if ( $upgrade_202 == 1 ) // Old fix for those upgraded from old old version { --- 288,292 ---- $sql[] = 'ALTER TABLE ' . KB_ARTICLES_TABLE . ' MODIFY article_author_id mediumint(8) NOT NULL ;'; } ! if ( $upgrade_202 == 1 ) // Old fix for those upgraded from old old version { *************** *** 296,305 **** $sql[] = 'ALTER TABLE '. KB_CONFIG_TABLE.' DROP PRIMARY KEY, ADD PRIMARY KEY (config_name) ;'; } ! break; ! case 'mssql': case 'mssql-odbc': ! default: die("/!\ No Database Abstraction Layer (DBAL) found /!\\"); --- 296,305 ---- $sql[] = 'ALTER TABLE '. KB_CONFIG_TABLE.' DROP PRIMARY KEY, ADD PRIMARY KEY (config_name) ;'; } ! break; ! case 'mssql': case 'mssql-odbc': ! default: die("/!\ No Database Abstraction Layer (DBAL) found /!\\"); Index: install_kb_tables.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/install_kb_tables.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** install_kb_tables.php 5 Apr 2006 22:34:48 -0000 1.5 --- install_kb_tables.php 13 Aug 2006 19:43:06 -0000 1.6 *************** *** 4,8 **** * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [wGEric, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * *************** *** 16,20 **** include($phpbb_root_path . 'config.'.$phpEx); include($phpbb_root_path . 'includes/constants.'.$phpEx); ! include($phpbb_root_path . 'common.'.$phpEx); include($phpbb_root_path . 'includes/db.'.$phpEx); include($phpbb_root_path . 'includes/kb_constants.'.$phpEx); --- 16,20 ---- include($phpbb_root_path . 'config.'.$phpEx); include($phpbb_root_path . 'includes/constants.'.$phpEx); ! include($phpbb_root_path . 'common.'.$phpEx); include($phpbb_root_path . 'includes/db.'.$phpEx); include($phpbb_root_path . 'includes/kb_constants.'.$phpEx); *************** *** 24,33 **** define( 'kbconstants_ok', defined( 'KB_CUSTOM_TABLE' ) ); ! if ( !phpBBroot_ok ) { message_die(GENERAL_ERROR, "This install/upgrade script should be uploaded to the phpBB root."); } ! if ( !kbconstants_ok ) { message_die(GENERAL_ERROR, "You haven't uploaded latest kb_constants.php."); --- 24,33 ---- define( 'kbconstants_ok', defined( 'KB_CUSTOM_TABLE' ) ); ! if ( !phpBBroot_ok ) { message_die(GENERAL_ERROR, "This install/upgrade script should be uploaded to the phpBB root."); } ! if ( !kbconstants_ok ) { message_die(GENERAL_ERROR, "You haven't uploaded latest kb_constants.php."); *************** *** 57,61 **** <body bgcolor="#FFFFFF" text="#000000" link="#006699" vlink="#5584AA"> ! <table width="100%" border="0" cellspacing="0" cellpadding="10" align="center"> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> --- 57,61 ---- <body bgcolor="#FFFFFF" text="#000000" link="#006699" vlink="#5584AA"> ! <table width="100%" border="0" cellspacing="0" cellpadding="10" align="center"> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0"> *************** *** 75,80 **** // get the phpBB version ! $sql = "SELECT config_value ! FROM " . CONFIG_TABLE . " WHERE config_name = 'version'"; if ( !($result = $db->sql_query($sql)) ) --- 75,80 ---- // get the phpBB version ! $sql = "SELECT config_value ! FROM " . CONFIG_TABLE . " WHERE config_name = 'version'"; if ( !($result = $db->sql_query($sql)) ) *************** *** 137,141 **** KEY article_id (article_id) ) TYPE=MyISAM;'; ! $sql[] = 'INSERT INTO '. KB_ARTICLES_TABLE .' VALUES ( 1, 1, "Test Article", "This is a test article for your KB", "1057708235", 2, "", "93074f48a9", "This is a test article for your Knowledge Base. This MOD is based on code written by wGEric < er...@eg... > (Eric Faerber) - http://eric.best-1.biz/, now supervised by _Haplo < jon...@ho... > (Jon Ohlsson) - http://www.mx-system.com/ \r\n\r\nBe sure you add categories and article types in the ACP and also change the Configuration to your liking.\r\n\r\nHave fun and enjoy your new Knowledge Base! :D", 1, 1, 0, 0,0,0 --- 137,141 ---- KEY article_id (article_id) ) TYPE=MyISAM;'; ! $sql[] = 'INSERT INTO '. KB_ARTICLES_TABLE .' VALUES ( 1, 1, "Test Article", "This is a test article for your KB", "1057708235", 2, "", "93074f48a9", "This is a test article for your Knowledge Base. This MOD is based on code written by wGEric < er...@eg... > (Eric Faerber) - http://eric.best-1.biz/, now supervised by _Haplo < jon...@ho... > (Jon Ohlsson) - http://www.mx-system.com/ \r\n\r\nBe sure you add categories and article types in the ACP and also change the Configuration to your liking.\r\n\r\nHave fun and enjoy your new Knowledge Base! :D", 1, 1, 0, 0,0,0 *************** *** 143,149 **** $sql[] = 'CREATE TABLE '.KB_CATEGORIES_TABLE.' ( ! category_id mediumint(8) unsigned NOT NULL auto_increment, ! category_name VARCHAR(255) binary NOT NULL, ! category_details VARCHAR(255) binary NOT NULL, number_articles mediumint(8) unsigned NOT NULL, parent mediumint(8) unsigned, --- 143,149 ---- $sql[] = 'CREATE TABLE '.KB_CATEGORIES_TABLE.' ( ! category_id mediumint(8) unsigned NOT NULL auto_increment, ! category_name VARCHAR(255) binary NOT NULL, ! category_details VARCHAR(255) binary NOT NULL, number_articles mediumint(8) unsigned NOT NULL, parent mediumint(8) unsigned, *************** *** 169,182 **** KEY category_id (category_id) ) TYPE=MyISAM'; ! ! $sql[] = 'INSERT INTO '.KB_CATEGORIES_TABLE.' VALUES (1, "Test Category 1", "This is a test category", "0", "0", "10", "0", "0", "0", "0", "0", "2", "0", "0", "", "", "", "", "", "", "", "", "", "0" );'; $sql[] = 'CREATE TABLE '.KB_CONFIG_TABLE.' ( ! config_name VARCHAR(255) NOT NULL default "", config_value varchar(255) NOT NULL default "", PRIMARY KEY (config_name) ) TYPE=MyISAM'; ! $sql[] = 'INSERT INTO '.KB_CONFIG_TABLE.' (config_name, config_value) VALUES ("allow_new", "1")'; $sql[] = 'INSERT INTO '.KB_CONFIG_TABLE.' (config_name, config_value) VALUES ("notify", "1")'; --- 169,182 ---- KEY category_id (category_id) ) TYPE=MyISAM'; ! ! $sql[] = 'INSERT INTO '.KB_CATEGORIES_TABLE.' VALUES (1, "Test Category 1", "This is a test category", "0", "0", "10", "0", "0", "0", "0", "0", "2", "0", "0", "", "", "", "", "", "", "", "", "", "0" );'; $sql[] = 'CREATE TABLE '.KB_CONFIG_TABLE.' ( ! config_name VARCHAR(255) NOT NULL default "", config_value varchar(255) NOT NULL default "", PRIMARY KEY (config_name) ) TYPE=MyISAM'; ! $sql[] = 'INSERT INTO '.KB_CONFIG_TABLE.' (config_name, config_value) VALUES ("allow_new", "1")'; $sql[] = 'INSERT INTO '.KB_CONFIG_TABLE.' (config_name, config_value) VALUES ("notify", "1")'; *************** *** 208,218 **** $sql[] = 'INSERT INTO '.KB_CONFIG_TABLE.' (config_name, config_value) VALUES ("formatting_fixup", "0");'; $sql[] = 'INSERT INTO '.KB_CONFIG_TABLE.' (config_name, config_value) VALUES ("allowed_html_tags", "b,i,u,a");'; ! $sql[] = 'CREATE TABLE ' . KB_TYPES_TABLE . ' ( ! id mediumint(8) unsigned NOT NULL auto_increment, ! type varchar(255) binary DEFAULT "" NOT NULL, KEY id (id) ) TYPE=MyISAM'; ! $sql[] = 'INSERT INTO '. KB_TYPES_TABLE . ' VALUES (1, "Test Type 1")'; --- 208,218 ---- $sql[] = 'INSERT INTO '.KB_CONFIG_TABLE.' (config_name, config_value) VALUES ("formatting_fixup", "0");'; $sql[] = 'INSERT INTO '.KB_CONFIG_TABLE.' (config_name, config_value) VALUES ("allowed_html_tags", "b,i,u,a");'; ! $sql[] = 'CREATE TABLE ' . KB_TYPES_TABLE . ' ( ! id mediumint(8) unsigned NOT NULL auto_increment, ! type varchar(255) binary DEFAULT "" NOT NULL, KEY id (id) ) TYPE=MyISAM'; ! $sql[] = 'INSERT INTO '. KB_TYPES_TABLE . ' VALUES (1, "Test Type 1")'; *************** *** 245,249 **** KEY post_id (article_id), KEY word_id (word_id) ! ) TYPE=MyISAM;'; $sql[] = 'CREATE TABLE ' . KB_CUSTOM_TABLE . ' ( --- 245,249 ---- KEY post_id (article_id), KEY word_id (word_id) ! ) TYPE=MyISAM;'; $sql[] = 'CREATE TABLE ' . KB_CUSTOM_TABLE . ' ( *************** *** 256,272 **** regex varchar(255) NOT NULL default "", PRIMARY KEY (custom_id) ! ) TYPE=MyISAM;'; ! $sql[] = 'CREATE TABLE ' . KB_CUSTOM_DATA_TABLE . ' ( customdata_file int(50) NOT NULL default "0", customdata_custom int(50) NOT NULL default "0", data text NOT NULL ! ) TYPE=MyISAM;'; ! break; ! case 'mssql': case 'mssql-odbc': ! default: die("/!\ No Database Abstraction Layer (DBAL) found /!\\"); --- 256,272 ---- regex varchar(255) NOT NULL default "", PRIMARY KEY (custom_id) ! ) TYPE=MyISAM;'; ! $sql[] = 'CREATE TABLE ' . KB_CUSTOM_DATA_TABLE . ' ( customdata_file int(50) NOT NULL default "0", customdata_custom int(50) NOT NULL default "0", data text NOT NULL ! ) TYPE=MyISAM;'; ! break; ! case 'mssql': case 'mssql-odbc': ! default: die("/!\ No Database Abstraction Layer (DBAL) found /!\\"); Index: db_upgrade.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/db_upgrade.php,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** db_upgrade.php 1 Aug 2006 21:00:37 -0000 1.37 --- db_upgrade.php 13 Aug 2006 19:43:06 -0000 1.38 *************** *** 4,8 **** * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [wGEric, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: db_install.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/db_install.php,v retrieving revision 1.44 retrieving revision 1.45 diff -C2 -d -r1.44 -r1.45 *** db_install.php 1 Aug 2006 21:00:37 -0000 1.44 --- db_install.php 13 Aug 2006 19:43:06 -0000 1.45 *************** *** 4,8 **** * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [wGEric, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: kb_mini.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb_mini.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** kb_mini.php 13 Aug 2006 18:51:37 -0000 1.1 --- kb_mini.php 13 Aug 2006 19:43:07 -0000 1.2 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_pafiledb * @version $Id$ ! * @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 * --- 2,8 ---- /** * ! * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: kb_article_reader.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb_article_reader.php,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** kb_article_reader.php 5 Jul 2006 22:48:25 -0000 1.19 --- kb_article_reader.php 13 Aug 2006 19:43:07 -0000 1.20 *************** *** 4,8 **** * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [wGEric, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: kb_lists.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb_lists.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** kb_lists.php 13 Aug 2006 18:51:37 -0000 1.3 --- kb_lists.php 13 Aug 2006 19:43:07 -0000 1.4 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_pafiledb * @version $Id$ ! * @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 * --- 2,8 ---- /** * ! * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: kb_last_article.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb_last_article.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** kb_last_article.php 28 Jun 2006 20:52:30 -0000 1.2 --- kb_last_article.php 13 Aug 2006 19:43:07 -0000 1.3 *************** *** 4,8 **** * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: db_uninstall.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/db_uninstall.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** db_uninstall.php 27 Jun 2006 18:13:45 -0000 1.18 --- db_uninstall.php 13 Aug 2006 19:43:06 -0000 1.19 *************** *** 4,8 **** * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [wGEric, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * |
|
From: Jon O. <jon...@us...> - 2006-08-13 19:43:12
|
Update of /cvsroot/mxbb/mx_kb/language/lang_english In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv18197/modules/mx_kb/language/lang_english Modified Files: lang_admin.php lang_main.php Log Message: Updated copyrights file header Index: lang_main.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/language/lang_english/lang_main.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** lang_main.php 4 Aug 2006 16:30:30 -0000 1.14 --- lang_main.php 13 Aug 2006 19:43:08 -0000 1.15 *************** *** 4,8 **** * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [wGEric, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: lang_admin.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/language/lang_english/lang_admin.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** lang_admin.php 13 Aug 2006 19:26:10 -0000 1.8 --- lang_admin.php 13 Aug 2006 19:43:08 -0000 1.9 *************** *** 4,8 **** * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [wGEric, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * |
|
From: Jon O. <jon...@us...> - 2006-08-13 19:43:12
|
Update of /cvsroot/mxbb/mx_kb/kb/modules In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv18197/modules/mx_kb/kb/modules Modified Files: kb_lists.php kb_mcp.php kb_mini.php kb_post_comment.php Log Message: Updated copyrights file header Index: kb_mini.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_mini.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** kb_mini.php 13 Aug 2006 18:51:37 -0000 1.1 --- kb_mini.php 13 Aug 2006 19:43:07 -0000 1.2 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_pafiledb * @version $Id$ ! * @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 * --- 2,8 ---- /** * ! * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: kb_lists.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_lists.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** kb_lists.php 13 Aug 2006 18:51:37 -0000 1.1 --- kb_lists.php 13 Aug 2006 19:43:07 -0000 1.2 *************** *** 2,8 **** /** * ! * @package mxBB Portal Module - mx_pafiledb * @version $Id$ ! * @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 * --- 2,8 ---- /** * ! * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: kb_mcp.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_mcp.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** kb_mcp.php 1 Aug 2006 21:00:38 -0000 1.1 --- kb_mcp.php 13 Aug 2006 19:43:07 -0000 1.2 *************** *** 4,8 **** * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [Mohd Basri, PHP Arena, linkdb, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: kb_post_comment.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/modules/kb_post_comment.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** kb_post_comment.php 1 Aug 2006 21:00:38 -0000 1.9 --- kb_post_comment.php 13 Aug 2006 19:43:07 -0000 1.10 *************** *** 4,8 **** * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [wGEric, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * |
|
From: Jon O. <jon...@us...> - 2006-08-13 19:43:11
|
Update of /cvsroot/mxbb/mx_kb/kb/admin In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv18197/modules/mx_kb/kb/admin Modified Files: admin_auth_manage.php admin_cat_manage.php admin_custom_manage.php admin_settings.php admin_types_manage.php Log Message: Updated copyrights file header Index: admin_custom_manage.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/admin/admin_custom_manage.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** admin_custom_manage.php 1 Aug 2006 21:00:37 -0000 1.2 --- admin_custom_manage.php 13 Aug 2006 19:43:07 -0000 1.3 *************** *** 4,8 **** * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [wGEric, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: admin_cat_manage.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/admin/admin_cat_manage.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** admin_cat_manage.php 1 Aug 2006 21:00:37 -0000 1.2 --- admin_cat_manage.php 13 Aug 2006 19:43:07 -0000 1.3 *************** *** 4,8 **** * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [wGEric, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: admin_types_manage.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/admin/admin_types_manage.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** admin_types_manage.php 1 Aug 2006 21:00:37 -0000 1.2 --- admin_types_manage.php 13 Aug 2006 19:43:07 -0000 1.3 *************** *** 4,8 **** * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [wGEric, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: admin_settings.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/admin/admin_settings.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** admin_settings.php 1 Aug 2006 21:00:37 -0000 1.2 --- admin_settings.php 13 Aug 2006 19:43:07 -0000 1.3 *************** *** 4,8 **** * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [wGEric, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: admin_auth_manage.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/admin/admin_auth_manage.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** admin_auth_manage.php 1 Aug 2006 21:00:37 -0000 1.2 --- admin_auth_manage.php 13 Aug 2006 19:43:07 -0000 1.3 *************** *** 4,8 **** * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [wGEric, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * |
|
From: Jon O. <jon...@us...> - 2006-08-13 19:43:11
|
Update of /cvsroot/mxbb/mx_kb/kb In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv18197/modules/mx_kb/kb Modified Files: kb_common.php Log Message: Updated copyrights file header Index: kb_common.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb/kb_common.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** kb_common.php 1 Aug 2006 21:00:38 -0000 1.8 --- kb_common.php 13 Aug 2006 19:43:07 -0000 1.9 *************** *** 4,8 **** * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [wGEric, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * |
|
From: Jon O. <jon...@us...> - 2006-08-13 19:43:11
|
Update of /cvsroot/mxbb/mx_kb/admin In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv18197/modules/mx_kb/admin Modified Files: admin_kb.php mx_module_defs.php Log Message: Updated copyrights file header Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/admin/mx_module_defs.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** mx_module_defs.php 13 Aug 2006 18:51:37 -0000 1.12 --- mx_module_defs.php 13 Aug 2006 19:43:06 -0000 1.13 *************** *** 4,8 **** * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [wGEric, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * Index: admin_kb.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/admin/admin_kb.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** admin_kb.php 4 Aug 2006 16:30:30 -0000 1.3 --- admin_kb.php 13 Aug 2006 19:43:06 -0000 1.4 *************** *** 4,8 **** * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [CRLin, Jon Ohlsson] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * --- 4,8 ---- * @package mxBB Portal Module - mx_kb * @version $Id$ ! * @copyright (c) 2002-2006 [Jon Ohlsson, Mohd Basri, wGEric, PHP Arena, pafileDB, CRLin] mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * |
|
From: Jon O. <jon...@us...> - 2006-08-13 19:27:33
|
Update of /cvsroot/mxbb/mx_pafiledb In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv10371/modules/mx_pafiledb Modified Files: pafiledb.pak Log Message: updated pak Index: pafiledb.pak =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb.pak,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** pafiledb.pak 13 Aug 2006 18:53:09 -0000 1.14 --- pafiledb.pak 13 Aug 2006 19:27:30 -0000 1.15 *************** *** 1,33 **** ! module=+:54=+:PafileDB download=+:modules/mx_pafiledb/=+:PafileDB download module=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:54=+:58=+:PafileDB=+:PafileDB download=+:dload.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - PafileDB=+:Demo block=+:58=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 ! function=+:0=+:0=+:0=+:endoflist=+:0=+:0 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:54=+:59=+:PafileDB_list=+:PafileDB download toplists=+:dload_lists.php=+: ! parameter=+:59=+:115=+:target_block=+:Function=+:0=+:get_list_formatted("block_list","{parameter_value}","{parameter_id}[]", "dload.php")=+:0 ! parameter=+:59=+:154=+:toplist_cat_id=+:pa_quick_cat=+:0=+:=+:1 ! parameter=+:59=+:152=+:toplist_display_options=+:Checkbox_multiple_select=+:a:1:{i:0;s:4:"date";}=+:a:4:{i:0;s:4:"date";i:1;s:8:"username";i:2;s:7:"counter";i:3;s:4:"rate";}=+:1 ! parameter=+:59=+:155=+:toplist_filter_date=+:Function=+:5=+:get_list_static("{parameter_id}[]",array("no limit", "1 day", "2 days", "3 days", "1 week", "2 weeks", "3 weeks", "1 month", "2 months", "3 months", "6 months", "1 year"),"{parameter_value}")=+:1 ! parameter=+:59=+:114=+:toplist_pagination=+:Number=+:3=+:=+:0 ! parameter=+:59=+:109=+:toplist_sort_method=+:Menu_single_select=+:latest=+:a:4:{i:0;s:6:"latest";i:1;s:12:"most_popular";i:2;s:8:"toprated";i:3;s:6:"random";}=+:1 ! parameter=+:59=+:113=+:toplist_use_pagination=+:Boolean=+:TRUE=+:=+:1 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - PafileDB_list=+:Demo block=+:59=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 ! function=+:0=+:0=+:0=+:endoflist=+:0=+:0 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:54=+:90=+:PafileDB_mini=+:Mini navigation block=+:dload_mini.php=+: ! parameter=+:90=+:156=+:mini_default_cat_id=+:pa_quick_cat=+:0=+:=+:1 ! parameter=+:90=+:158=+:mini_display_options=+:Checkbox_multiple_select=+:a:1:{i:0;s:4:"date";}=+:a:4:{i:0;s:4:"date";i:1;s:8:"username";i:2;s:7:"counter";i:3;s:4:"rate";}=+:1 ! parameter=+:90=+:157=+:mini_pagination=+:Number=+:5=+:=+:1 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - PafileDB_mini=+:Demo block=+:90=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 ! function=+:0=+:0=+:0=+:endoflist=+:0=+:0 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:54=+:60=+:Quick dl=+:Quick download block - blog=+:dload_quickdl.php=+: ! parameter=+:60=+:116=+:pa_mapping=+:pa_mapping=+:=+:=+:0 ! parameter=+:60=+:117=+:pa_quick_cat=+:pa_quick_cat=+:1=+:=+:0 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - Quick dl=+:Demo block=+:60=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 --- 1,30 ---- ! module=+:54=+:Files Manager=+:modules/mx_pafiledb/=+:Files Manager module=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:54=+:58=+:PafileDB - Main=+:File Manager=+:dload.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - PafileDB - Main=+:Demo block=+:58=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:54=+:59=+:PafileDB - Lists=+:PafileDB download toplists=+:dload_lists.php=+: ! parameter=+:59=+:115=+:target_block=+:Function=+:0=+:get_list_formatted("block_list","{parameter_value}","{parameter_id}[]", "dload.php")=+:0=+:10 ! parameter=+:59=+:154=+:toplist_cat_id=+:pa_quick_cat=+:0=+:=+:1=+:20 ! parameter=+:59=+:109=+:toplist_sort_method=+:Menu_single_select=+:latest=+:a:4:{i:0;s:6:"latest";i:1;s:12:"most_popular";i:2;s:8:"toprated";i:3;s:6:"random";}=+:1=+:30 ! parameter=+:59=+:152=+:toplist_display_options=+:Checkbox_multiple_select=+:a:1:{i:0;s:4:"date";}=+:a:4:{i:0;s:4:"date";i:1;s:8:"username";i:2;s:7:"counter";i:3;s:4:"rate";}=+:1=+:40 ! parameter=+:59=+:114=+:toplist_pagination=+:Number=+:3=+:=+:0=+:50 ! parameter=+:59=+:113=+:toplist_use_pagination=+:Boolean=+:TRUE=+:=+:1=+:60 ! parameter=+:59=+:155=+:toplist_filter_date=+:Function=+:5=+:get_list_static("{parameter_id}[]",array("no limit", "1 day", "2 days", "3 days", "1 week", "2 weeks", "3 weeks", "1 month", "2 months", "3 months", "6 months", "1 year"),"{parameter_value}")=+:1=+:70 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - PafileDB - Lists=+:Demo block=+:59=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:54=+:90=+:PafileDB - Mini=+:Mini/quick PafileDB block=+:dload_mini.php=+: ! parameter=+:90=+:156=+:mini_default_cat_id=+:pa_quick_cat=+:0=+:=+:1=+:0 ! parameter=+:90=+:157=+:mini_pagination=+:Number=+:5=+:=+:1=+:0 ! parameter=+:90=+:158=+:mini_display_options=+:Checkbox_multiple_select=+:a:1:{i:0;s:4:"date";}=+:a:4:{i:0;s:4:"date";i:1;s:8:"username";i:2;s:7:"counter";i:3;s:4:"rate";}=+:1=+:0 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - PafileDB - Mini=+:Demo block=+:90=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:54=+:60=+:PafileDB - Quick dl=+:Quick download block - blog=+:dload_quickdl.php=+: ! parameter=+:60=+:116=+:pa_mapping=+:pa_mapping=+:=+:=+:0=+:0 ! parameter=+:60=+:117=+:pa_quick_cat=+:pa_quick_cat=+:1=+:=+:0=+:0 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - PafileDB - Quick dl=+:Demo block=+:60=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 |
|
From: Jon O. <jon...@us...> - 2006-08-13 19:26:48
|
Update of /cvsroot/mxbb/mx_linkdb In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv9637/modules/mx_linkdb Modified Files: mx_linkdb.pak Log Message: updated pak Index: mx_linkdb.pak =================================================================== RCS file: /cvsroot/mxbb/mx_linkdb/mx_linkdb.pak,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** mx_linkdb.pak 13 Aug 2006 18:52:32 -0000 1.3 --- mx_linkdb.pak 13 Aug 2006 19:26:44 -0000 1.4 *************** *** 1,26 **** ! module=+:53=+:mx_linkdb=+:modules/mx_linkdb/=+:Links module=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:53=+:95=+:linkdb=+:Links block=+:linkdb.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - linkdb=+:Demo block=+:95=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 ! function=+:0=+:0=+:0=+:endoflist=+:0=+:0 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:53=+:59=+:LinkDb_list=+:LinkDb toplists=+:linkdb_lists.php=+: ! parameter=+:59=+:115=+:target_block=+:Function=+:0=+:get_list_formatted("block_list","{parameter_value}","{parameter_id}[]", "linkdb.php")=+:0 ! parameter=+:59=+:154=+:toplist_cat_id=+:link_quick_cat=+:0=+:=+:1 ! parameter=+:59=+:152=+:toplist_display_options=+:Checkbox_multiple_select=+:a:1:{i:0;s:4:"date";}=+:a:4:{i:0;s:4:"date";i:1;s:8:"username";i:2;s:7:"counter";i:3;s:4:"rate";}=+:1 ! parameter=+:59=+:155=+:toplist_filter_date=+:Function=+:5=+:get_list_static("{parameter_id}[]",array("no limit", "1 day", "2 days", "3 days", "1 week", "2 weeks", "3 weeks", "1 month", "2 months", "3 months", "6 months", "1 year"),"{parameter_value}")=+:1 ! parameter=+:59=+:114=+:toplist_pagination=+:Number=+:3=+:=+:0 ! parameter=+:59=+:109=+:toplist_sort_method=+:Menu_single_select=+:latest=+:a:4:{i:0;s:6:"latest";i:1;s:12:"most_popular";i:2;s:8:"toprated";i:3;s:6:"random";}=+:1 ! parameter=+:59=+:113=+:toplist_use_pagination=+:Boolean=+:TRUE=+:=+:1 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - LinkDb_list=+:Demo block=+:59=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 ! function=+:0=+:0=+:0=+:endoflist=+:0=+:0 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:53=+:90=+:LinkDb_mini=+:Mini navigation block=+:linkdb_mini.php=+: ! parameter=+:90=+:156=+:mini_default_cat_id=+:link_quick_cat=+:0=+:=+:1 ! parameter=+:90=+:158=+:mini_display_options=+:Checkbox_multiple_select=+:a:1:{i:0;s:4:"date";}=+:a:4:{i:0;s:4:"date";i:1;s:8:"username";i:2;s:7:"counter";i:3;s:4:"rate";}=+:1 ! parameter=+:90=+:157=+:mini_pagination=+:Number=+:5=+:=+:1 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - LinkDb_mini=+:Demo block=+:90=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 --- 1,24 ---- ! module=+:62=+:Links Manager=+:modules/mx_linkdb/=+:Links Manager module=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:62=+:89=+:LinkDb - Main=+:Links Manager=+:linkdb.php=+: parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - LinkDb - Main=+:Demo block=+:89=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:62=+:91=+:LinkDb - Lists=+:LinkDb toplists=+:linkdb_lists.php=+: ! parameter=+:91=+:159=+:target_block=+:Function=+:0=+:get_list_formatted("block_list","{parameter_value}","{parameter_id}[]", "linkdb.php")=+:0=+:10 ! parameter=+:91=+:160=+:toplist_cat_id=+:link_quick_cat=+:0=+:=+:1=+:20 ! parameter=+:91=+:164=+:toplist_sort_method=+:Menu_single_select=+:latest=+:a:4:{i:0;s:6:"latest";i:1;s:12:"most_popular";i:2;s:8:"toprated";i:3;s:6:"random";}=+:1=+:30 ! parameter=+:91=+:161=+:toplist_display_options=+:Checkbox_multiple_select=+:a:1:{i:0;s:4:"date";}=+:a:4:{i:0;s:4:"date";i:1;s:8:"username";i:2;s:7:"counter";i:3;s:4:"rate";}=+:1=+:40 ! parameter=+:91=+:163=+:toplist_pagination=+:Number=+:3=+:=+:0=+:50 ! parameter=+:91=+:165=+:toplist_use_pagination=+:Boolean=+:TRUE=+:=+:1=+:60 ! parameter=+:91=+:162=+:toplist_filter_date=+:Function=+:5=+:get_list_static("{parameter_id}[]",array("no limit", "1 day", "2 days", "3 days", "1 week", "2 weeks", "3 weeks", "1 month", "2 months", "3 months", "6 months", "1 year"),"{parameter_value}")=+:1=+:70 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - LinkDb - Lists=+:Demo block=+:91=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:62=+:92=+:LinkDb - Mini=+:Mini/quick LinkDb block=+:linkdb_mini.php=+: ! parameter=+:92=+:166=+:mini_default_cat_id=+:link_quick_cat=+:0=+:=+:1=+:0 ! parameter=+:92=+:167=+:mini_display_options=+:Checkbox_multiple_select=+:a:1:{i:0;s:4:"date";}=+:a:4:{i:0;s:4:"date";i:1;s:8:"username";i:2;s:7:"counter";i:3;s:4:"rate";}=+:1=+:0 ! parameter=+:92=+:168=+:mini_pagination=+:Number=+:5=+:=+:1=+:0 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - LinkDb - Mini=+:Demo block=+:92=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 |
|
From: Jon O. <jon...@us...> - 2006-08-13 19:26:13
|
Update of /cvsroot/mxbb/mx_kb In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv9305/modules/mx_kb Modified Files: KnowledgeBase.pak Log Message: updated pak Index: KnowledgeBase.pak =================================================================== RCS file: /cvsroot/mxbb/mx_kb/KnowledgeBase.pak,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** KnowledgeBase.pak 13 Aug 2006 18:51:37 -0000 1.12 --- KnowledgeBase.pak 13 Aug 2006 19:26:10 -0000 1.13 *************** *** 1,47 **** ! module=+:55=+:Knowledge Base=+:modules/mx_kb/=+:Knowledge Base module=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:55=+:61=+:KB=+:Knowledge Base Module=+:kb.php=+: ! parameter=+:61=+:118=+:kb_type_select=+:kb_type_select=+:=+:=+:0 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - KB=+:Demo block=+:61=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:55=+:62=+:Article_reader=+:Block to display articles only. No category navigation. To be used with newssuite.=+:kb_article_reader.php=+: ! parameter=+:62=+:119=+:default_article_id=+:Number=+:1=+:=+:0 ! parameter=+:62=+:120=+:kb_type_select=+:kb_type_select=+:array('init'=>'1')=+:=+:0 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - Article_reader=+:Demo block=+:62=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:55=+:63=+:Last Articles=+:KB Last Articles Function=+:kb_last_article.php=+: ! parameter=+:63=+:131=+:article_filter_date=+:Function=+:5=+:get_list_static("{parameter_id}[]",array("no limit", "1 day", "2 days", "3 days", "1 week", "2 weeks", "3 weeks", "1 month", "2 months", "3 months", "6 months", "1 year"),"{parameter_value}")=+:0 ! parameter=+:63=+:121=+:Last_Article_Align=+:Values=+:left=+:=+:0 ! parameter=+:63=+:127=+:Last_Article_Cat=+:kb_type_select=+:array()=+:=+:0 ! parameter=+:63=+:122=+:Last_Article_Display_Author=+:Boolean=+:FALSE=+:=+:0 ! parameter=+:63=+:124=+:Last_Article_Display_Cat=+:Boolean=+:TRUE=+:=+:0 ! parameter=+:63=+:123=+:Last_Article_Display_Date=+:Boolean=+:TRUE=+:=+:0 ! parameter=+:63=+:125=+:Last_Article_Display_Icon_View=+:Boolean=+:TRUE=+:=+:0 ! parameter=+:63=+:126=+:Last_Article_Display_Last_Author=+:Boolean=+:TRUE=+:=+:0 ! parameter=+:63=+:132=+:Last_Article_Mode=+:Menu_single_select=+:KB=+:a:2:{i:0;s:2:"KB";i:1;s:9:"KB_Reader";}=+:0 ! parameter=+:63=+:128=+:Last_Article_Number_Title=+:Number=+:15=+:=+:0 ! parameter=+:63=+:129=+:Last_Article_Target=+:Values=+:_blank=+:=+:0 ! parameter=+:63=+:130=+:Last_Article_Title_Length=+:Number=+:30=+:=+:0 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - Last Articles=+:Demo block=+:63=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:55=+:59=+:KB_list=+:KB toplists=+:kb_lists.php=+: ! parameter=+:59=+:115=+:target_block=+:Function=+:0=+:get_list_formatted("block_list","{parameter_value}","{parameter_id}[]", "kb.php")=+:0 ! parameter=+:59=+:154=+:toplist_cat_id=+:kb_quick_cat=+:0=+:=+:1 ! parameter=+:59=+:152=+:toplist_display_options=+:Checkbox_multiple_select=+:a:1:{i:0;s:4:"date";}=+:a:4:{i:0;s:4:"date";i:1;s:8:"username";i:2;s:7:"counter";i:3;s:4:"rate";}=+:1 ! parameter=+:59=+:155=+:toplist_filter_date=+:Function=+:5=+:get_list_static("{parameter_id}[]",array("no limit", "1 day", "2 days", "3 days", "1 week", "2 weeks", "3 weeks", "1 month", "2 months", "3 months", "6 months", "1 year"),"{parameter_value}")=+:1 ! parameter=+:59=+:114=+:toplist_pagination=+:Number=+:3=+:=+:0 ! parameter=+:59=+:109=+:toplist_sort_method=+:Menu_single_select=+:latest=+:a:4:{i:0;s:6:"latest";i:1;s:12:"most_popular";i:2;s:8:"toprated";i:3;s:6:"random";}=+:1 ! parameter=+:59=+:113=+:toplist_use_pagination=+:Boolean=+:TRUE=+:=+:1 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - KB_list=+:Demo block=+:59=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:55=+:90=+:kb_mini=+:Mini navigation block=+:kb_mini.php=+: ! parameter=+:90=+:156=+:mini_default_cat_id=+:kb_quick_cat=+:0=+:=+:1 ! parameter=+:90=+:158=+:mini_display_options=+:Checkbox_multiple_select=+:a:1:{i:0;s:4:"date";}=+:a:4:{i:0;s:4:"date";i:1;s:8:"username";i:2;s:7:"counter";i:3;s:4:"rate";}=+:1 ! parameter=+:90=+:157=+:mini_pagination=+:Number=+:5=+:=+:1 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - KB_mini=+:Demo block=+:90=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 --- 1,47 ---- ! module=+:55=+:Knowledge Base=+:modules/mx_kb/=+:Knowledge Base Articles module=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:55=+:61=+:KB - Main=+:Knowledge Base Module=+:kb.php=+: ! parameter=+:61=+:118=+:kb_type_select=+:kb_type_select=+:=+:=+:0=+:0 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - KB - Main=+:Demo block=+:61=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:55=+:62=+:KB - Article reader=+:Articles only. No category navigation. To be used with other navigation blocks.=+:kb_article_reader.php=+: ! parameter=+:62=+:120=+:kb_type_select=+:kb_type_select=+:array('init'=>'1')=+:=+:0=+:10 ! parameter=+:62=+:119=+:default_article_id=+:Number=+:1=+:=+:0=+:20 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - KB - Article reader=+:Demo block=+:62=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:55=+:63=+:KB - Last Articles=+:KB Last Articles=+:kb_last_article.php=+: ! parameter=+:63=+:127=+:Last_Article_Cat=+:kb_type_select=+:array()=+:=+:0=+:10 ! parameter=+:63=+:128=+:Last_Article_Number_Title=+:Number=+:15=+:=+:0=+:20 ! parameter=+:63=+:131=+:article_filter_date=+:Function=+:5=+:get_list_static("{parameter_id}[]",array("no limit", "1 day", "2 days", "3 days", "1 week", "2 weeks", "3 weeks", "1 month", "2 months", "3 months", "6 months", "1 year"),"{parameter_value}")=+:0=+:30 ! parameter=+:63=+:129=+:Last_Article_Target=+:Values=+:_blank=+:=+:0=+:40 ! parameter=+:63=+:130=+:Last_Article_Title_Length=+:Number=+:30=+:=+:0=+:50 ! parameter=+:63=+:126=+:Last_Article_Display_Last_Author=+:Boolean=+:TRUE=+:=+:0=+:60 ! parameter=+:63=+:125=+:Last_Article_Display_Icon_View=+:Boolean=+:TRUE=+:=+:0=+:70 ! parameter=+:63=+:121=+:Last_Article_Align=+:Values=+:left=+:=+:0=+:80 ! parameter=+:63=+:122=+:Last_Article_Display_Author=+:Boolean=+:FALSE=+:=+:0=+:90 ! parameter=+:63=+:123=+:Last_Article_Display_Date=+:Boolean=+:TRUE=+:=+:0=+:100 ! parameter=+:63=+:124=+:Last_Article_Display_Cat=+:Boolean=+:TRUE=+:=+:0=+:110 ! parameter=+:63=+:132=+:Last_Article_Mode=+:Menu_single_select=+:KB=+:a:2:{i:0;s:2:"KB";i:1;s:9:"KB_Reader";}=+:0=+:120 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - KB - Last Articles=+:Demo block=+:63=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:55=+:93=+:KB - Lists=+:Sorted articles block=+:kb_lists.php=+: ! parameter=+:93=+:169=+:target_block=+:Function=+:0=+:get_list_formatted("block_list","{parameter_value}","{parameter_id}[]", "kb.php")=+:0=+:10 ! parameter=+:93=+:170=+:toplist_cat_id=+:kb_quick_cat=+:0=+:=+:1=+:20 ! parameter=+:93=+:174=+:toplist_sort_method=+:Menu_single_select=+:latest=+:a:4:{i:0;s:6:"latest";i:1;s:12:"most_popular";i:2;s:8:"toprated";i:3;s:6:"random";}=+:1=+:30 ! parameter=+:93=+:171=+:toplist_display_options=+:Checkbox_multiple_select=+:a:1:{i:0;s:4:"date";}=+:a:4:{i:0;s:4:"date";i:1;s:8:"username";i:2;s:7:"counter";i:3;s:4:"rate";}=+:1=+:40 ! parameter=+:93=+:173=+:toplist_pagination=+:Number=+:3=+:=+:0=+:50 ! parameter=+:93=+:175=+:toplist_use_pagination=+:Boolean=+:TRUE=+:=+:1=+:60 ! parameter=+:93=+:172=+:toplist_filter_date=+:Function=+:5=+:get_list_static("{parameter_id}[]",array("no limit", "1 day", "2 days", "3 days", "1 week", "2 weeks", "3 weeks", "1 month", "2 months", "3 months", "6 months", "1 year"),"{parameter_value}")=+:1=+:70 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - KB - Lists=+:Demo block=+:93=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:55=+:94=+:KB - Mini=+:Mini/quick KB block=+:kb_mini.php=+: ! parameter=+:94=+:176=+:mini_default_cat_id=+:kb_quick_cat=+:0=+:=+:1=+:0 ! parameter=+:94=+:177=+:mini_display_options=+:Checkbox_multiple_select=+:a:1:{i:0;s:4:"date";}=+:a:4:{i:0;s:4:"date";i:1;s:8:"username";i:2;s:7:"counter";i:3;s:4:"rate";}=+:1=+:0 ! parameter=+:94=+:178=+:mini_pagination=+:Number=+:5=+:=+:1=+:0 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Demo - KB - Mini=+:Demo block=+:94=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 |
|
From: Jon O. <jon...@us...> - 2006-08-13 19:26:13
|
Update of /cvsroot/mxbb/mx_kb/language/lang_english In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv9305/modules/mx_kb/language/lang_english Modified Files: lang_admin.php Log Message: updated pak Index: lang_admin.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/language/lang_english/lang_admin.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** lang_admin.php 13 Aug 2006 18:51:38 -0000 1.7 --- lang_admin.php 13 Aug 2006 19:26:10 -0000 1.8 *************** *** 385,389 **** $lang['toplist_filter_date_explain'] = "- Show posts from last week, month, year..."; $lang['toplist_cat_id'] = 'Limit to category'; ! $lang['target_block'] = 'Associated (target) pafileDB Block'; // --- 385,389 ---- $lang['toplist_filter_date_explain'] = "- Show posts from last week, month, year..."; $lang['toplist_cat_id'] = 'Limit to category'; ! $lang['target_block'] = 'Associated (target) KB Block'; // |
|
From: Jon O. <jon...@us...> - 2006-08-13 19:25:29
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv8947/includes Modified Files: mx_functions_admincp.php Log Message: Minor fix for modules import/export Index: mx_functions_admincp.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_admincp.php,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** mx_functions_admincp.php 30 Jun 2006 12:21:03 -0000 1.26 --- mx_functions_admincp.php 13 Aug 2006 19:25:26 -0000 1.27 *************** *** 2419,2422 **** --- 2419,2423 ---- } + echo('<br>HERE<br>'.$module_data['3'].'<br>'.$module_id.'<br>'.$module_data['5']); $safe_row = mx_get_info(FUNCTION_TABLE, 'module_id', $module_id, 'function_file', $module_data['5']); *************** *** 2643,2648 **** $key = $module_data[2]; ! $sql_add = "INSERT INTO " . PARAMETER_TABLE . " (function_id, parameter_id, parameter_name, parameter_type, parameter_default, parameter_function, parameter_auth) ! VALUES ( '" . intval($module_data[1]) . "', '" . intval($module_data[2]) . "', '" . str_replace("\'", "''", $module_data[3]) . "', '" . str_replace("\'", "''",$module_data[4]) . "', '" . str_replace("\'", "''", $module_data[5]) . "', '" . str_replace("\'", "''", $module_data[6]) . "', '" . str_replace("\'", "''", $module_data[7]) . "' ) "; $sql_update = "UPDATE " . PARAMETER_TABLE . " --- 2644,2649 ---- $key = $module_data[2]; ! $sql_add = "INSERT INTO " . PARAMETER_TABLE . " (function_id, parameter_id, parameter_name, parameter_type, parameter_default, parameter_function, parameter_auth, parameter_order) ! VALUES ( '" . intval($module_data[1]) . "', '" . intval($module_data[2]) . "', '" . str_replace("\'", "''", $module_data[3]) . "', '" . str_replace("\'", "''",$module_data[4]) . "', '" . str_replace("\'", "''", $module_data[5]) . "', '" . str_replace("\'", "''", $module_data[6]) . "', '" . str_replace("\'", "''", $module_data[7]) . "', '" . str_replace("\'", "''", $module_data[8]) . "' ) "; $sql_update = "UPDATE " . PARAMETER_TABLE . " *************** *** 2652,2656 **** parameter_default = '" . str_replace("\'", "''", $module_data[5]) . "', parameter_function = '" . str_replace("\'", "''",$module_data[6]) . "', ! parameter_auth = '" . str_replace("\'", "''",$module_data[7]) . "' WHERE parameter_id = '" . intval( $module_data[2] ) . "'"; --- 2653,2658 ---- parameter_default = '" . str_replace("\'", "''", $module_data[5]) . "', parameter_function = '" . str_replace("\'", "''",$module_data[6]) . "', ! parameter_auth = '" . str_replace("\'", "''",$module_data[7]) . "', ! parameter_order = '" . str_replace("\'", "''",$module_data[8]) . "' WHERE parameter_id = '" . intval( $module_data[2] ) . "'"; *************** *** 2934,2938 **** // Parameter ! $sql = "SELECT * FROM " . PARAMETER_TABLE . " WHERE function_id = $function_id ORDER BY parameter_name"; if( !($result = $db->sql_query($sql)) ) { --- 2936,2940 ---- // Parameter ! $sql = "SELECT * FROM " . PARAMETER_TABLE . " WHERE function_id = $function_id ORDER BY parameter_order"; if( !($result = $db->sql_query($sql)) ) { *************** *** 2942,2946 **** // 0: parameter, 1: function_id, 2: parameter_id, 3: parameter_name, ! // 4: parameter_type, 5: parameter_default, 6: parameter_function, 7: parameter_auth for( $p = 0; $p < count($resultset_param); $p++ ) { --- 2944,2948 ---- // 0: parameter, 1: function_id, 2: parameter_id, 3: parameter_name, ! // 4: parameter_type, 5: parameter_default, 6: parameter_function, 7: parameter_auth, 8: parameter_order for( $p = 0; $p < count($resultset_param); $p++ ) { *************** *** 2951,2955 **** $module_pak .= $resultset_param[$p]['parameter_default'] . $delimeter; $module_pak .= $resultset_param[$p]['parameter_function'] . $delimeter; ! $module_pak .= $resultset_param[$p]['parameter_auth'] . "\n"; $paramater_id = $resultset_param[$p]['parameter_id']; --- 2953,2958 ---- $module_pak .= $resultset_param[$p]['parameter_default'] . $delimeter; $module_pak .= $resultset_param[$p]['parameter_function'] . $delimeter; ! $module_pak .= $resultset_param[$p]['parameter_auth'] . $delimeter; ! $module_pak .= $resultset_param[$p]['parameter_order'] . "\n"; $paramater_id = $resultset_param[$p]['parameter_id']; *************** *** 2978,2992 **** $module_pak .= '1' . $delimeter; $module_pak .= '1' . "\n"; - - // - // End function def - // - $module_pak .= 'function' . $delimeter . '0' . $delimeter; - $module_pak .= '0' . $delimeter; - $module_pak .= '0' . $delimeter; - $module_pak .= 'endoflist' . $delimeter; - $module_pak .= '0' . $delimeter; - $module_pak .= '0' . "\n"; } } --- 2981,2995 ---- $module_pak .= '1' . $delimeter; $module_pak .= '1' . "\n"; } + + // + // End function def + // + $module_pak .= 'function' . $delimeter . '0' . $delimeter; + $module_pak .= '0' . $delimeter; + $module_pak .= '0' . $delimeter; + $module_pak .= 'endoflist' . $delimeter; + $module_pak .= '0' . $delimeter; + $module_pak .= '0' . "\n"; } |
|
From: Jon O. <jon...@us...> - 2006-08-13 18:53:16
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/modules In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv28185/modules/mx_pafiledb/pafiledb/modules Modified Files: pa_category.php pa_quickdl.php pa_viewall.php Added Files: pa_lists.php pa_mini.php Log Message: More module blocks - Mini block - Latest Item block Index: pa_viewall.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_viewall.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** pa_viewall.php 4 Aug 2006 20:11:50 -0000 1.18 --- pa_viewall.php 13 Aug 2006 18:53:10 -0000 1.19 *************** *** 103,107 **** )); ! $this->display_items( $sort_method, $sort_order, $start, true ); // =================================================== --- 103,107 ---- )); ! $this->display_items( $sort_method, $sort_order, $start, false, true ); // =================================================== Index: pa_quickdl.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_quickdl.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** pa_quickdl.php 1 Aug 2006 21:03:25 -0000 1.10 --- pa_quickdl.php 13 Aug 2006 18:53:10 -0000 1.11 *************** *** 181,185 **** } ! $this->display_items_quickdl( $sort_method, $sort_order, $start, $no_file_message, $pa_cat_id ); $this->display( $lang['Download'], 'pa_quickdl_cat_body.tpl' ); --- 181,186 ---- } ! //$this->display_items_quickdl( $sort_method, $sort_order, $start, $no_file_message, $pa_cat_id ); ! $this->display_items( $sort_method, $sort_order, $start, $pa_cat_id, $no_file_message ); $this->display( $lang['Download'], 'pa_quickdl_cat_body.tpl' ); --- NEW FILE: pa_mini.php --- <?php /** * * @package mxBB Portal Module - mx_pafiledb * @version $Id: pa_mini.php,v 1.1 2006/08/13 18:53:10 jonohlsson 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" ); } /** * Enter description here... * */ class pafiledb_mini extends pafiledb_public { /** * Enter description here... * * @param unknown_type $action */ function main( $action ) { global $pafiledb_template, $lang, $phpEx, $pafiledb_config, $userdata; global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars, $mini_config; global $page_id; // ======================================================= // Request vars // ======================================================= $start = $mx_request_vars->request('mini_start', MX_TYPE_INT, 0); $cat_id = $mx_request_vars->request('cat_id', MX_TYPE_INT, $mini_config['mini_default_cat_id']); if ( empty( $cat_id ) ) { //mx_message_die( GENERAL_MESSAGE, $lang['Cat_not_exist'] ); } // // Sorting of items // $sort_method = $pafiledb_config['sort_method']; $sort_order = $pafiledb_config['sort_order']; // ======================================================= // If user not allowed to view file listing (read) and there is no sub Category // or the user is not allowed to view these category we gave him a nice message. // ======================================================= $show_category = false; if ( isset( $this->subcat_rowset[$cat_id] ) ) { foreach( $this->subcat_rowset[$cat_id] as $sub_cat_id => $sub_cat_row ) { if ( $this->auth_user[$sub_cat_id]['auth_view'] ) { $show_category = true; break; } } } if ( ( !$this->auth_user[$cat_id]['auth_read'] ) && ( !$show_category ) ) { if ( !$userdata['session_logged_in'] ) { // mx_redirect(append_sid($mx_root_path . "login.$phpEx?redirect=". $this->this_mxurl("action=category&cat_id=" . $cat_id, true), true)); } $message = sprintf( $lang['Sorry_auth_view'], $this->auth_user[$cat_id]['auth_read_type'] ); mx_message_die( GENERAL_MESSAGE, $message ); } if ( !isset( $this->cat_rowset[$cat_id] ) ) { //mx_message_die( GENERAL_MESSAGE, $lang['Cat_not_exist'] ); } $no_file_message = true; $filelist = false; $sort_options_list = unserialize($mini_config['mini_display_options']); $pafiledb_config['pagination'] = $mini_config['mini_pagination']; $total_num_items = $this->display_items( $sort_method, $sort_order, $start, $cat_id, $no_file_message, $sort_options_list ); $pafiledb_template->assign_vars( array( 'U_DOWNLOAD' => append_sid( $this->this_mxurl() ), 'DOWNLOAD' => $pafiledb_config['module_name'], 'BLOCK_JUMPMENU' => $this->generate_jumpbox( $mini_config['mini_default_cat_id'], 0, array( $_GET['cat_id'] => 1 ) ), 'MX_PAGE' => $page_id, 'S_JUMPBOX_ACTION' => append_sid( $this->this_mxurl( ) ), 'BLOCK_PAGINATION' => mx_generate_pagination(append_sid( $this->this_mxurl( 'cat_id=' . $cat_id, false, false ) ), $total_num_items, $mini_config['mini_pagination'], $start, true, true, true, false, 'mini_start'), )); $this->display( $lang['Download'], 'pa_mini.tpl' ); } } ?> --- NEW FILE: pa_lists.php --- <?php /** * * @package mxBB Portal Module - mx_pafiledb * @version $Id: pa_lists.php,v 1.1 2006/08/13 18:53:10 jonohlsson 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" ); } /** * Enter description here... * */ class pafiledb_lists extends pafiledb_public { /** * Enter description here... * * @param unknown_type $action */ function main( $action ) { global $pafiledb_template, $lang, $phpEx, $pafiledb_config, $userdata; global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars; global $toplist_page_id, $toplist_config; // ======================================================= // Request vars // ======================================================= $start = $mx_request_vars->request('pa_start', MX_TYPE_INT, 0); // // Sorting of items // if ( isset( $toplist_config['toplist_sort_method'] ) ) { switch ( $toplist_config['toplist_sort_method'] ) { case 'latest': $sort_method = 'file_time'; break; case 'most_popular': $sort_method = 'file_dls'; break; case 'toprated': $sort_method = 'rating'; break; case 'random': $sort_method = 'RAND()'; break; default: $sort_method = $pafiledb_config['sort_method']; } } else { $sort_method = $pafiledb_config['sort_method']; } $sort_order = 'DESC'; $msg_today = date('mdY'); switch( $toplist_config['toplist_filter_date'] ) { case '0': $msg_time_filter_lo = 'no'; break; case '1': $msg_time_filter_lo = mktime(0, 0, 0 , intval(substr($msg_today, 0, 2)), intval(substr($msg_today, 2, 2) - 1), intval(substr($msg_today, 4, 4))); break; case '2': $msg_time_filter_lo = mktime(0, 0, 0 , intval(substr($msg_today, 0, 2)), intval(substr($msg_today, 2, 2) - 1), intval(substr($msg_today, 4, 4))); break; case '3': $msg_time_filter_lo = mktime(0, 0, 0 , intval(substr($msg_today, 0, 2)), intval(substr($msg_today, 2, 2) - 1), intval(substr($msg_today, 4, 4))); break; case '4': $msg_time_filter_lo = mktime(0, 0, 0 , intval(substr($msg_today, 0, 2)), intval(substr($msg_today, 2, 2) - 7), intval(substr($msg_today, 4, 4))); break; case '5': $msg_time_filter_lo = mktime(0, 0, 0 , intval(substr($msg_today, 0, 2)), intval(substr($msg_today, 2, 2) - 14), intval(substr($msg_today, 4, 4))); break; case '6': $msg_time_filter_lo = mktime(0, 0, 0 , intval(substr($msg_today, 0, 2)), intval(substr($msg_today, 2, 2) - 21), intval(substr($msg_today, 4, 4))); break; case '7': $msg_time_filter_lo = mktime(0, 0, 0 , intval(substr($msg_today, 0, 2) - 1), intval(substr($msg_today, 2, 2)), intval(substr($msg_today, 4, 4))); break; case '8': $msg_time_filter_lo = mktime(0, 0, 0 , intval(substr($msg_today, 0, 2) - 2), intval(substr($msg_today, 2, 2)), intval(substr($msg_today, 4, 4))); break; case '9': $msg_time_filter_lo = mktime(0, 0, 0 , intval(substr($msg_today, 0, 2) - 3), intval(substr($msg_today, 2, 2)), intval(substr($msg_today, 4, 4))); break; case '10': $msg_time_filter_lo = mktime(0, 0, 0 , intval(substr($msg_today, 0, 2) - 6), intval(substr($msg_today, 2, 2)), intval(substr($msg_today, 4, 4))); break; case '11': $msg_time_filter_lo = mktime(0, 0, 0 , intval(substr($msg_today, 0, 2)), intval(substr($msg_today, 2, 2)), intval(substr($msg_today, 4, 4) - 1)); break; default: $msg_time_filter_lo = 'no'; break; } if ( $msg_time_filter_lo != 'no' && !empty($msg_time_filter_lo) ) { $sql_xtra = " AND f1.file_time > " . $msg_time_filter_lo; } $filter_cat_id = false; if (intval($toplist_config['toplist_cat_id']) > 0) { $filter_cat_id = array(); $filter_cat_id['parent'] = $toplist_config['toplist_cat_id']; } $no_file_message = true; $filelist = false; $sort_options_list = unserialize($toplist_config['toplist_display_options']); $pafiledb_config['pagination'] = $toplist_config['toplist_pagination']; $total_num_items = $this->display_items( $sort_method, $sort_order, $start, $filter_cat_id, true, $sort_options_list, $sql_xtra, $toplist_page_id ); $pafiledb_template->assign_vars( array( 'U_DOWNLOAD' => append_sid( $this->this_mxurl() ), 'DOWNLOAD' => $pafiledb_config['module_name'], 'BLOCK_PAGINATION' => mx_generate_pagination(append_sid( $this->this_mxurl( '', false, false ) ), $total_num_items, $toplist_config['toplist_pagination'], $start, true, true, true, false, 'pa_start'), )); if ($toplist_config['toplist_use_pagination'] == 'TRUE') { $pafiledb_template->assign_block_vars( "toplist_pagination", array()); } $this->display( $lang['Download'], 'pa_lists.tpl' ); } } ?> Index: pa_category.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/modules/pa_category.php,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** pa_category.php 1 Aug 2006 21:03:24 -0000 1.17 --- pa_category.php 13 Aug 2006 18:53:10 -0000 1.18 *************** *** 163,167 **** } ! $this->display_items( $sort_method, $sort_order, $start, $no_file_message, $cat_id ); // --- 163,167 ---- } ! $this->display_items( $sort_method, $sort_order, $start, $cat_id, $no_file_message ); // |
|
From: Jon O. <jon...@us...> - 2006-08-13 18:53:15
|
Update of /cvsroot/mxbb/mx_pafiledb/templates/subSilver In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv28185/modules/mx_pafiledb/templates/subSilver Modified Files: pa_lists.tpl pa_quickdl_cat_body.tpl Added Files: pa_mini.tpl Log Message: More module blocks - Mini block - Latest Item block --- NEW FILE: pa_mini.tpl --- <table width="100%" cellpadding="0" cellspacing="0" border="0" class="forumline" style="border-top:none;"><tr><td> <tr> <td> <table width="100%" cellpadding="2" cellspacing="0"> <tr><td align="center" class="row2"> <form method="get" name="jumpbox" action="{S_JUMPBOX_ACTION}" onSubmit="if(document.jumpbox.cat_id.value == -1){return false;}"> <input type="hidden" name="action" value="category" /> <input type="hidden" name="page" value="{MX_PAGE}" /> <select name="cat_id" onchange="if(this.options[this.selectedIndex].value != -1){ forms['jumpbox'].submit() }"> <option value="-1">{L_QUICK_JUMP}</option> {BLOCK_JUMPMENU} </select> <!--<input type="submit" value="{L_QUICK_GO}" class="liteoption" />--> </span> </form> </td></tr> </table> </td> </tr> <tr> <td align="center"> <!-- IF FILELIST --> <table width="100%" cellpadding="2" cellspacing="0"> <!-- BEGIN file_rows --> <tr> <td rowspan="2" class="{file_rows.COLOR}" valign="middle"> <img src="{file_rows.PIN_IMAGE}" border="0" ></td> <td width="100%" class="{file_rows.COLOR}"> <a href="{file_rows.U_FILE_JUMP}" class="topictitle">{file_rows.FILE_NAME}</a> <!-- BEGIN IS_NEW_FILE --> <!-- <img src="{file_rows.FILE_NEW_IMAGE}" border="0" alt="{L_NEW_FILE}"> --> <!-- END IS_NEW_FILE --> <br><span class="genmed">{file_rows.FILE_DESC}</span> </td> </tr> <tr> <td valign="top" align="left" class="{file_rows.COLOR}"> <span class="gensmall"> <!-- BEGIN display_username --> • {L_SUBMITED_BY} {file_rows.POSTER}<br /> <!-- END display_username --> <!-- BEGIN display_date --> • {L_UPDATE_TIME}: {file_rows.DATE}<br /> <!-- END display_date --> <!-- BEGIN display_counter --> • {L_DOWNLOADS}: {file_rows.FILE_DLS}<br /> <!-- END display_counter --> <!-- BEGIN display_rate --> • {file_rows.L_RATING}: {file_rows.RATING} ({file_rows.FILE_VOTES} {L_VOTES}) {file_rows.DO_RATE}<br /> <!-- END display_rate --> </span> </td> </tr> <!-- END file_rows --> <tr valign="middle"> <td align="right" colspan="2" valign="top" nowrap="nowrap" height="28" class="cat"><span class="gensmall">{BLOCK_PAGINATION}</span></td> </tr> </table> <!-- ENDIF --> <!-- IF NO_FILE --> <table width="100%" cellspacing="1" cellpadding="4"> <tr> <td class="row1" align="center" height="30"><span class="genmed">{L_NO_FILES_CAT}</span></td> </tr> </table> <!-- ENDIF --> </td></tr></table> Index: pa_lists.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/templates/subSilver/pa_lists.tpl,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** pa_lists.tpl 5 Apr 2006 21:30:45 -0000 1.6 --- pa_lists.tpl 13 Aug 2006 18:53:10 -0000 1.7 *************** *** 1,117 **** ! <table width="100%" cellpadding="0" cellspacing="1" border="0" class="forumline" style="border-top:none;"> <tr> ! <td> ! <!-- BEGIN recent_pics_block --> ! <table width="100%" cellpadding="3" cellspacing="0" border="0"> ! <tr> ! <td class="cat" height="25" align="left" colspan="{S_COLS}" nowrap="nowrap"> <span class="cattitle">{L_RECENT_PUBLIC_PICS}</span></td> ! </tr> ! <!-- BEGIN no_pics --> ! <tr> ! <td class="row1" align="center" colspan="{S_COLS}" height="50"><span class="gen">{L_NO_PICS}</span></td> ! </tr> ! <!-- END no_pics --> ! <!-- BEGIN recent_pics --> ! <tr> ! <!-- BEGIN recent_col --> ! <td class="row1" width="{S_COL_WIDTH}" align="center">{recent_pics_block.recent_pics.recent_col.SS}</td> ! <!-- END recent_col --> ! </tr> ! <tr> ! <!-- BEGIN recent_detail --> ! <td class="row1"><span class="gensmall">{recent_pics_block.recent_pics.recent_detail.TITLE}{L_FILE_DESC}: {recent_pics_block.recent_pics.recent_detail.DESC}<br /> ! {L_POSTER}: {recent_pics_block.recent_pics.recent_detail.POSTER}, {L_VIEW}: {recent_pics_block.recent_pics.recent_detail.VIEW}<br />{L_UPDATE_TIME}: {recent_pics_block.recent_pics.recent_detail.UPDATED}<br /> ! {recent_pics_block.recent_pics.recent_detail.RATING}{recent_pics_block.recent_pics.recent_detail.COMMENTS}</span> ! </td> ! <!-- END recent_detail --> ! </tr> ! <!-- END recent_pics --> ! </table> ! <!-- END recent_pics_block --> ! ! <!-- BEGIN most_pics_block --> ! <table width="100%" cellpadding="3" cellspacing="0" border="0" > ! <tr> ! <td class="cat" height="25" align="left" colspan="{S_COLS}" nowrap="nowrap"> <span class="cattitle">{L_MOST_PUBLIC_PICS}</span></td> ! </tr> ! <!-- BEGIN no_pics --> ! <tr> ! <td class="row1" align="center" colspan="{S_COLS}" height="50"><span class="gen">{L_NO_PICS}</span></td> ! </tr> ! <!-- END no_pics --> ! <!-- BEGIN most_pics --> ! <tr> ! <!-- BEGIN most_col --> ! <td class="row1" width="{S_COL_WIDTH}" align="center">{most_pics_block.most_pics.most_col.SS}</td> ! <!-- END most_col --> ! </tr> ! <tr> ! <!-- BEGIN most_detail --> ! <td class="row1"><span class="gensmall">{most_pics_block.most_pics.most_detail.TITLE}{L_FILE_DESC}: {most_pics_block.most_pics.most_detail.DESC}<br /> ! {L_POSTER}: {most_pics_block.most_pics.most_detail.POSTER}, {L_VIEW}: {most_pics_block.most_pics.most_detail.VIEW}<br />{L_UPDATE_TIME}: {most_pics_block.most_pics.most_detail.UPDATED}<br /> ! {most_pics_block.most_pics.most_detail.RATING}{most_pics_block.most_pics.most_detail.COMMENTS}</span> ! </td> ! <!-- END most_detail --> ! </tr> ! <!-- END most_pics --> ! </table> ! <!-- END most_pics_block --> ! ! <!-- BEGIN highest_pics_block --> ! <table width="100%" cellpadding="3" cellspacing="0" border="0" > ! <tr> ! <td class="cat" height="25" align="left" colspan="{S_COLS}" nowrap="nowrap"> <span class="cattitle">{L_TOPRATED_PUBLIC_PICS}</span></td> ! </tr> ! <!-- BEGIN no_pics --> ! <tr> ! <td class="row1" align="center" colspan="{S_COLS}" height="50"><span class="gen">{L_NO_PICS}</span></td> ! </tr> ! <!-- END no_pics --> ! <!-- BEGIN highest_pics --> ! <tr> ! <!-- BEGIN highest_col --> ! <td class="row1" width="{S_COL_WIDTH}" align="center">{highest_pics_block.highest_pics.highest_col.SS}</td> ! <!-- END highest_col --> ! </tr> ! <tr> ! <!-- BEGIN highest_detail --> ! <td class="row1"><span class="gensmall">{highest_pics_block.highest_pics.highest_detail.H_TITLE}{L_FILE_DESC}: {highest_pics_block.highest_pics.highest_detail.H_DESC}<br /> ! {L_POSTER}: {highest_pics_block.highest_pics.highest_detail.H_POSTER}, {L_VIEW}: {highest_pics_block.highest_pics.highest_detail.H_VIEW}<br />{L_UPDATE_TIME}: {highest_pics_block.highest_pics.highest_detail.UPDATED}<br /> ! {highest_pics_block.highest_pics.highest_detail.H_RATING}{highest_pics_block.highest_pics.highest_detail.H_COMMENTS}</span> ! </td> ! <!-- END highest_detail --> ! </tr> ! <!-- END highest_pics --> ! </table> ! <!-- END highest_pics_block --> ! ! <!-- BEGIN random_pics_block --> ! <table width="100%" cellpadding="4" cellspacing="0" border="0" > ! <tr> ! <td class="cat" height="25" align="left" colspan="{S_COLS}" nowrap="nowrap"> <span class="cattitle">{L_RANDOM_PUBLIC_PICS}</span></td> ! </tr> ! <!-- BEGIN no_pics --> ! <tr> ! <td class="row1" align="center" colspan="{S_COLS}" height="50"><span class="gen">{L_NO_PICS}</span></td> ! </tr> ! <!-- END no_pics --> ! <!-- BEGIN rand_pics --> ! <tr> ! <!-- BEGIN rand_col --> ! <td class="row1" width="{S_COL_WIDTH}" align="center">{random_pics_block.rand_pics.rand_col.SS}</td> ! <!-- END rand_col --> ! </tr> ! <tr> ! <!-- BEGIN rand_detail --> ! <td class="row1"><span class="gensmall">{random_pics_block.rand_pics.rand_detail.TITLE}{L_FILE_DESC}: {random_pics_block.rand_pics.rand_detail.DESC}<br /> ! {L_POSTER}: {random_pics_block.rand_pics.rand_detail.POSTER}, {L_VIEW}: {random_pics_block.rand_pics.rand_detail.VIEW}<br />{L_UPDATE_TIME}: {random_pics_block.rand_pics.rand_detail.UPDATED}<br /> ! {random_pics_block.rand_pics.rand_detail.RATING}{random_pics_block.rand_pics.rand_detail.COMMENTS}</span> ! </td> ! <!-- END rand_detail --> ! </tr> ! <!-- END rand_pics --> ! </table> ! <!-- END random_pics_block --> </td> </tr> ! </table> \ No newline at end of file --- 1,51 ---- ! <!-- IF FILELIST --> ! <table width="100%" cellpadding="0" cellspacing="0" border="0" class="forumline" style="border-top:none;"><tr><td> ! ! <table width="100%" cellpadding="2" cellspacing="0"> ! <!-- BEGIN file_rows --> <tr> ! <td rowspan="2" class="{file_rows.COLOR}" valign="middle"> <img src="{file_rows.PIN_IMAGE}" border="0" ></td> ! <td width="100%" class="{file_rows.COLOR}"> ! <a href="{file_rows.U_FILE}" class="topictitle">{file_rows.FILE_NAME}</a> ! <!-- BEGIN IS_NEW_FILE --> ! <!-- <img src="{file_rows.FILE_NEW_IMAGE}" border="0" alt="{L_NEW_FILE}"> --> ! <!-- END IS_NEW_FILE --> ! <br><span class="genmed">{file_rows.FILE_DESC}</span> </td> </tr> ! <tr> ! <td valign="top" align="left" class="{file_rows.COLOR}"> ! <span class="gensmall"> ! <!-- BEGIN display_username --> ! • {L_SUBMITED_BY} {file_rows.POSTER}<br /> ! <!-- END display_username --> ! <!-- BEGIN display_date --> ! • {L_UPDATE_TIME}: {file_rows.DATE}<br /> ! <!-- END display_date --> ! <!-- BEGIN display_counter --> ! • {L_DOWNLOADS}: {file_rows.FILE_DLS}<br /> ! <!-- END display_counter --> ! <!-- BEGIN display_rate --> ! • {file_rows.L_RATING}: {file_rows.RATING} ({file_rows.FILE_VOTES} {L_VOTES}) {file_rows.DO_RATE}<br /> ! <!-- END display_rate --> ! </span> ! </td> ! </tr> ! <!-- END file_rows --> ! <!-- BEGIN toplist_pagination --> ! <tr valign="middle"> ! <td align="right" colspan="2" valign="top" nowrap="nowrap" height="28" class="cat"><span class="gensmall">{BLOCK_PAGINATION}</span></td> ! </tr> ! <!-- END toplist_pagination --> ! </table> ! ! </td></tr></table> ! <!-- ENDIF --> ! ! <!-- IF NO_FILE --> ! <table width="100%" cellspacing="1" cellpadding="4"> ! <tr> ! <td class="row1" align="center" height="30"><span class="genmed">{L_NO_FILES_CAT}</span></td> ! </tr> ! </table> ! <!-- ENDIF --> \ No newline at end of file Index: pa_quickdl_cat_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/templates/subSilver/pa_quickdl_cat_body.tpl,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** pa_quickdl_cat_body.tpl 27 Jun 2006 21:38:43 -0000 1.5 --- pa_quickdl_cat_body.tpl 13 Aug 2006 18:53:10 -0000 1.6 *************** *** 45,52 **** <!-- IF NO_FILE --> ! <table class="forumline" width="100%" cellspacing="0" cellpadding="3"> ! <tr> ! <th class="thHead">{L_NO_FILES}</th> ! </tr> <tr> <td class="row1" align="center" height="30"><span class="genmed">{L_NO_FILES_CAT}</span></td> --- 45,49 ---- <!-- IF NO_FILE --> ! <table width="100%" cellspacing="0" cellpadding="3"> <tr> <td class="row1" align="center" height="30"><span class="genmed">{L_NO_FILES_CAT}</span></td> |
|
From: Jon O. <jon...@us...> - 2006-08-13 18:53:15
|
Update of /cvsroot/mxbb/mx_pafiledb In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv28185/modules/mx_pafiledb Modified Files: dload_lists.php dload_quickdl.php pafiledb.pak Added Files: dload_mini.php Log Message: More module blocks - Mini block - Latest Item block Index: dload_lists.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/dload_lists.php,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** dload_lists.php 1 Aug 2006 21:03:24 -0000 1.22 --- dload_lists.php 13 Aug 2006 18:53:09 -0000 1.23 *************** *** 9,55 **** */ ! if ( !function_exists( 'read_block_config' ) ) { ! define( 'IN_PORTAL', true ); ! $mx_root_path = '../../'; ! $phpEx = substr(strrchr(__FILE__, '.'), 1); ! include_once( $mx_root_path . 'common.' . $phpEx ); ! ! // ! // Start session management ! // ! $mx_user->init($user_ip, PAGE_INDEX); ! // ! // End session management ! // ! ! $block_id = ( !empty( $HTTP_GET_VARS['block_id'] ) ) ? $HTTP_GET_VARS['block_id'] : $HTTP_POST_VARS['id']; ! if ( empty( $block_id ) ) ! { ! $sql = "SELECT * FROM " . BLOCK_TABLE . " WHERE block_title = 'PafileDB_toplist' LIMIT 1"; ! if ( !$result = $db->sql_query( $sql ) ) ! { ! mx_message_die( GENERAL_ERROR, "Could not query PafileDB_toplist module information", "", __LINE__, __FILE__, $sql ); ! } ! $row = $db->sql_fetchrow( $result ); ! $block_id = $row['block_id']; ! } ! $is_block = false; } - else - { - if( !defined('IN_PORTAL') || !is_object($mx_block)) - { - die("Hacking attempt"); - } - // - // Read Block Settings - // - $title = $mx_block->block_info['block_title']; - $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); ! $is_block = true; ! global $images; ! } // --- 9,25 ---- */ ! if( !defined('IN_PORTAL') || !is_object($mx_block)) { ! die("Hacking attempt"); } ! // ! // Read Block Settings ! // ! $title = $mx_block->block_info['block_title']; ! $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); ! ! $is_block = true; ! global $images; // *************** *** 59,561 **** define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); - // =================================================== - // Include the common file - // =================================================== - include_once( $module_root_path . 'pafiledb/pafiledb_common.' . $phpEx ); - // ! // Read block Configuration // ! $album_sp_config['img_rows'] = $mx_block->get_parameters( 'num_of_rows' ); ! $album_sp_config['img_cols'] = $mx_block->get_parameters( 'num_of_cols' ); ! ! $album_sp_config['disp_late'] = $mx_block->get_parameters( 'display_latest_posts' ) == 'TRUE' ? 1 : 0; ! $album_sp_config['disp_high'] = $mx_block->get_parameters( 'display_top_ranked' ) == 'TRUE' ? 1 : 0; ! $album_sp_config['disp_rand'] = $mx_block->get_parameters( 'display_random_posts' ) == 'TRUE' ? 1 : 0; ! $album_sp_config['disp_most'] = $mx_block->get_parameters( 'display_most_posts' ) == 'TRUE' ? 1 : 0; ! ! $album_config['rate'] = 1; ! $album_config['fullpic_popup'] = 0; ! $album_config['comment'] = 1; ! $album_sp_config['rate_type'] = 1; // // Get pafiledb target block // ! $pafiledb_block_id = $mx_block->get_parameters( 'target_block' ); ! $pafiledb_page_id = intval($pafiledb_block_id) > 0 ? get_page_id( $pafiledb_block_id ) : get_page_id( 'dload.php', true ); ! ! // ! // Build Categories Index ! // ! $sql = "SELECT c.*, COUNT(p.file_id) AS count ! FROM " . PA_CATEGORY_TABLE . " AS c ! LEFT JOIN " . PA_FILES_TABLE . " AS p ON c.cat_id = p.file_catid ! WHERE cat_id <> 0 ! GROUP BY cat_id ! ORDER BY cat_order ASC"; ! if ( !( $result = $db->sql_query( $sql ) ) ) ! { ! mx_message_die( GENERAL_ERROR, 'Could not query categories list', '', __LINE__, __FILE__, $sql ); ! } ! ! $catrows = array(); ! ! $pafiledb = new pafiledb_public(); ! $pafiledb->init(); ! ! while ( $row = $db->sql_fetchrow( $result ) ) ! { ! // $album_user_access = album_user_access($row['cat_id'], $row, 1, 0, 0, 0, 0, 0); // VIEW ! if ( $pafiledb->auth_user[$row['cat_id']]['auth_read'] ) ! { ! $catrows[] = $row; ! } ! } ! ! $allowed_cat = ''; // For Recent Public Pics below ! // $catrows now stores all categories which this user can view. Dump them out! ! for ( $i = 0; $i < count( $catrows ); $i++ ) ! { ! // -------------------------------- ! // Build allowed category-list (for recent pics after here) ! // -------------------------------- ! $allowed_cat .= ( $allowed_cat == '' ) ? $catrows[$i]['cat_id'] : ',' . $catrows[$i]['cat_id']; ! } ! // END of Categories Index ! /* ! +---------------------------------------------------------- ! | Recent Public Pics ! +---------------------------------------------------------- ! */ ! if ( $album_sp_config['disp_late'] == 1 ) ! { ! if ( $allowed_cat != '' ) ! { ! $sql = "SELECT p.file_ssurl, p.file_id, p.file_name, p.file_desc, p.user_id, p.poster_ip, p.file_creator, p.file_time, p.file_update_time, p.file_catid, p.file_dls, u.user_id, u.username, r.votes_file, AVG(r.rate_point) AS rating, COUNT(DISTINCT c.comments_id) AS comments ! FROM " . PA_FILES_TABLE . " AS p ! LEFT JOIN " . USERS_TABLE . " AS u ON p.user_id = u.user_id ! LEFT JOIN " . PA_CATEGORY_TABLE . " AS ct ON p.file_catid = ct.cat_id ! LEFT JOIN " . PA_VOTES_TABLE . " AS r ON p.file_id = r.votes_file ! LEFT JOIN " . PA_COMMENTS_TABLE . " AS c ON p.file_id = c.file_id ! WHERE p.file_catid IN ($allowed_cat) AND p.file_approved = 1 ! GROUP BY p.file_id ! ORDER BY file_time DESC ! LIMIT " . $album_sp_config['img_cols'] * $album_sp_config['img_rows']; ! if ( !( $result = $db->sql_query( $sql ) ) ) ! { ! mx_message_die( GENERAL_ERROR, 'Could not query recent pics information', '', __LINE__, __FILE__, $sql ); ! } ! ! $recentrow = array(); ! ! while ( $row = $db->sql_fetchrow( $result ) ) ! { ! $recentrow[] = $row; ! } ! ! $template->assign_block_vars( 'recent_pics_block', array() ); ! ! if ( count( $recentrow ) > 0 ) ! { ! for ( $i = 0; $i < count( $recentrow ); $i += $album_sp_config['img_cols'] ) ! { ! $template->assign_block_vars( 'recent_pics_block.recent_pics', array() ); ! ! for ( $j = $i; $j < ( $i + $album_sp_config['img_cols'] ); $j++ ) ! { ! if ( $j >= count( $recentrow ) ) ! { ! break; ! } ! $file_screenshot_url = trim( $recentrow[$j]['file_ssurl'] ); ! $template->assign_block_vars( 'recent_pics_block.recent_pics.recent_col', array( ! // 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid($pafiledb->this_mxurl("smartor_mode=album_pic&pic_id=". $recentrow[$j]['pic_id'])) : append_sid($pafiledb->this_mxurl("smartor_mode=album_showpage&pic_id=". $recentrow[$j]['pic_id'])), ! // 'THUMBNAIL' => append_sid($pafiledb->this_mxurl("smartor_mode=album_thumbnail&pic_id=". $recentrow[$j]['pic_id'], TRUE)), ! // 'DESC' => $recentrow[$j]['pic_desc'] ! 'SS' => ( !empty( $file_screenshot_url ) ) ? '<hr><a href="' . append_sid( $pafiledb->this_mxurl_list( "action=file&file_id=" . $recentrow[$j]['file_id'], false, $pafiledb_page_id ) ) . '"><img src="' . $file_screenshot_url . '" width="100" border="0"></a><br /><span class="genmed"><i><a href="' . append_sid( $pafiledb->this_mxurl_list( "action=file&file_id=" . $recentrow[$j]['file_id'], false, $pafiledb_page_id ) ) . '">' . $recentrow[$j]['file_name'] . '</a></i></span>' : '' ! )); ! ! if ( ( $recentrow[$j]['user_id'] == ALBUM_GUEST ) or ( $recentrow[$j]['username'] == '' ) ) ! { ! $recent_poster = ( $recentrow[$j]['file_creator'] == '' ) ? $lang['Guest'] : $recentrow[$j]['file_creator']; ! } ! else ! { ! $recent_poster = '<a href="' . append_sid( PHPBB_URL . "profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $recentrow[$j]['user_id'] ) . '">' . $recentrow[$j]['username'] . '</a>'; ! } ! ! $rating_image = paImageRating( $recentrow[$j]['rating'] ); ! ! $template->assign_block_vars( 'recent_pics_block.recent_pics.recent_detail', array( ! 'TITLE' => ( empty( $file_screenshot_url ) ) ? '<b>' . $lang['File_Title'] . ': <a href="' . append_sid( $pafiledb->this_mxurl_list( "action=file&file_id=" . $recentrow[$j]['file_id'], false, $pafiledb_page_id ) ) . '">' . $recentrow[$j]['file_name'] . '</a></b><br />' : '', ! 'DESC' => $recentrow[$j]['file_desc'], ! 'POSTER' => $recent_poster, ! 'TIME' => create_date( $board_config['default_dateformat'], $recentrow[$j]['file_time'], $board_config['board_timezone'] ), ! 'UPDATED' => create_date( $board_config['default_dateformat'], $recentrow[$j]['file_update_time'], $board_config['board_timezone'] ), ! 'VIEW' => $recentrow[$j]['file_dls'], ! 'RATING' => ( $pafiledb->ratings[$recentrow[$j]['file_catid']]['activated'] ) ? ( $lang['Rating'] . ': ' . $rating_image . ', ' ) : '', ! 'COMMENTS' => ( $pafiledb->comments[$recentrow[$j]['file_catid']]['activated'] ) ? ( '<a href="' . append_sid( $pafiledb->this_mxurl_list( "action=file&file_id=" . $recentrow[$j]['file_id'], false, $pafiledb_page_id ) ) . '">' . $lang['Comments'] . '</a>: ' . $recentrow[$j]['comments'] . '<br />' ) : '' ! // 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://www.nic.com/cgi-bin/whois.cgi?query=' . decode_ip($recentrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($recentrow[$j]['pic_user_ip']) .'</a><br />' : '' ! )); ! } ! } ! } ! else ! { ! // ! // No Pics Found ! // ! $template->assign_block_vars( 'recent_pics_block.no_pics', array() ); ! } ! } ! else ! { ! // ! // No Cats Found ! // ! $template->assign_block_vars( 'recent_pics_block.no_pics', array() ); ! } ! } ! ! /* ! +---------------------------------------------------------- ! | Most downloaded/viewed ! +---------------------------------------------------------- ! */ ! if ( $album_sp_config['disp_most'] == 1 ) ! { ! if ( $allowed_cat != '' ) ! { ! $sql = "SELECT p.file_ssurl, p.file_id, p.file_name, p.file_desc, p.user_id, p.poster_ip, p.file_creator, p.file_time, p.file_update_time, p.file_catid, p.file_dls, u.user_id, u.username, r.votes_file, AVG(r.rate_point) AS rating, COUNT(DISTINCT c.comments_id) AS comments ! FROM " . PA_FILES_TABLE . " AS p ! LEFT JOIN " . USERS_TABLE . " AS u ON p.user_id = u.user_id ! LEFT JOIN " . PA_CATEGORY_TABLE . " AS ct ON p.file_catid = ct.cat_id ! LEFT JOIN " . PA_VOTES_TABLE . " AS r ON p.file_id = r.votes_file ! LEFT JOIN " . PA_COMMENTS_TABLE . " AS c ON p.file_id = c.file_id ! WHERE p.file_catid IN ($allowed_cat) AND p.file_approved = 1 ! GROUP BY p.file_id ! ORDER BY file_dls DESC ! LIMIT " . $album_sp_config['img_cols'] * $album_sp_config['img_rows']; ! if ( !( $result = $db->sql_query( $sql ) ) ) ! { ! mx_message_die( GENERAL_ERROR, 'Could not query recent pics information', '', __LINE__, __FILE__, $sql ); ! } ! ! $mostrow = array(); ! ! while ( $row = $db->sql_fetchrow( $result ) ) ! { ! $mostrow[] = $row; ! } ! ! $template->assign_block_vars( 'most_pics_block', array() ); ! ! if ( count( $mostrow ) > 0 ) ! { ! for ( $i = 0; $i < count( $mostrow ); $i += $album_sp_config['img_cols'] ) ! { ! $template->assign_block_vars( 'most_pics_block.most_pics', array() ); ! ! for ( $j = $i; $j < ( $i + $album_sp_config['img_cols'] ); $j++ ) ! { ! if ( $j >= count( $mostrow ) ) ! { ! break; ! } ! $file_screenshot_url = trim( $mostrow[$j]['file_ssurl'] ); ! $template->assign_block_vars( 'most_pics_block.most_pics.most_col', array( ! // 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=". $recentrow[$j]['pic_id'])) : append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=". $recentrow[$j]['pic_id'])), ! // 'THUMBNAIL' => append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=". $recentrow[$j]['pic_id'], TRUE)), ! // 'DESC' => $recentrow[$j]['pic_desc'] ! 'SS' => ( !empty( $file_screenshot_url ) ) ? '<hr><a href="' . append_sid( $pafiledb->this_mxurl_list( "action=file&file_id=" . $mostrow[$j]['file_id'], false, $pafiledb_page_id ) ) . '"><img src="' . $file_screenshot_url . '" width="100" border="0"></a><br /><span class="genmed"><i><a href="' . append_sid( $pafiledb->this_mxurl_list( "action=file&file_id=" . $mostrow[$j]['file_id'], false, $pafiledb_page_id ) ) . '">' . $mostrow[$j]['file_name'] . '</a></i></span>' : '' ! )); ! ! if ( ( $mostrow[$j]['user_id'] == ALBUM_GUEST ) or ( $mostrow[$j]['username'] == '' ) ) ! { ! $most_poster = ( $mostrow[$j]['file_creator'] == '' ) ? $lang['Guest'] : $mostrow[$j]['file_creator']; ! } ! else ! { ! $most_poster = '<a href="' . append_sid( PHPBB_URL . "profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $mostrow[$j]['user_id'] ) . '">' . $mostrow[$j]['username'] . '</a>'; ! } ! ! $rating_image = paImageRating( $mostrow[$j]['rating'] ); ! ! $template->assign_block_vars( 'most_pics_block.most_pics.most_detail', array( ! 'TITLE' => ( empty( $file_screenshot_url ) ) ? '<b>' . $lang['File_Title'] . ': <a href="' . append_sid( $pafiledb->this_mxurl_list( "action=file&file_id=" . $mostrow[$j]['file_id'], false, $pafiledb_page_id ) ) . '">' . $mostrow[$j]['file_name'] . '</a></b><br />' : '', ! 'DESC' => $mostrow[$j]['file_desc'], ! 'POSTER' => $most_poster, ! 'TIME' => create_date( $board_config['default_dateformat'], $mostrow[$j]['file_time'], $board_config['board_timezone'] ), ! 'UPDATED' => create_date( $board_config['default_dateformat'], $mostrow[$j]['file_update_time'], $board_config['board_timezone'] ), ! 'VIEW' => $mostrow[$j]['file_dls'], ! 'RATING' => ( $pafiledb->ratings[$mostrow[$j]['file_catid']]['activated'] ) ? ( $lang['Rating'] . ': ' . $rating_image . ', ' ) : '', ! 'COMMENTS' => ( $pafiledb->comments[$mostrow[$j]['file_catid']]['activated'] ) ? ( '<a href="' . append_sid( $pafiledb->this_mxurl_list( "action=file&file_id=" . $mostrow[$j]['file_id'], false, $pafiledb_page_id ) ) . '">' . $lang['Comments'] . '</a>: ' . $mostrow[$j]['comments'] . '<br />' ) : '' ! // 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://www.nic.com/cgi-bin/whois.cgi?query=' . decode_ip($recentrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($recentrow[$j]['pic_user_ip']) .'</a><br />' : '' ! )); ! } ! } ! } ! else ! { ! // ! // No Pics Found ! // ! $template->assign_block_vars( 'most_pics_block.no_pics', array() ); ! } ! } ! else ! { ! // ! // No Cats Found ! // ! $template->assign_block_vars( 'most_pics_block.no_pics', array() ); ! } ! } ! ! /* ! +---------------------------------------------------------- ! | Highest Rated Pics ! | by MarkFulton.com ! +---------------------------------------------------------- ! */ ! if ( $album_sp_config['disp_high'] == 1 ) ! { ! if ( $allowed_cat != '' ) ! { ! $sql = "SELECT p.file_ssurl, p.file_id, p.file_name, p.file_desc, p.user_id, p.poster_ip, p.file_creator, p.file_time, p.file_update_time, p.file_catid, p.file_dls, u.user_id, u.username, r.votes_file, AVG(r.rate_point) AS rating, COUNT(DISTINCT c.comments_id) AS comments ! FROM " . PA_FILES_TABLE . " AS p ! LEFT JOIN " . USERS_TABLE . " AS u ON p.user_id = u.user_id ! LEFT JOIN " . PA_CATEGORY_TABLE . " AS ct ON p.file_catid = ct.cat_id ! LEFT JOIN " . PA_VOTES_TABLE . " AS r ON p.file_id = r.votes_file ! LEFT JOIN " . PA_COMMENTS_TABLE . " AS c ON p.file_id = c.file_id ! WHERE p.file_catid IN ($allowed_cat) AND p.file_approved = 1 ! GROUP BY p.file_id ! ORDER BY rating DESC ! LIMIT " . $album_sp_config['img_cols'] * $album_sp_config['img_rows']; ! if ( !( $result = $db->sql_query( $sql ) ) ) ! { ! mx_message_die( GENERAL_ERROR, 'Could not query highest rated pics information', '', __LINE__, __FILE__, $sql ); ! } ! ! $highestrow = array(); ! ! while ( $row = $db->sql_fetchrow( $result ) ) ! { ! $highestrow[] = $row; ! } ! ! $template->assign_block_vars( 'highest_pics_block', array() ); ! ! if ( count( $highestrow ) > 0 ) ! { ! for ( $i = 0; $i < count( $highestrow ); $i += $album_sp_config['img_cols'] ) ! { ! $template->assign_block_vars( 'highest_pics_block.highest_pics', array() ); ! ! for ( $j = $i; $j < ( $i + $album_sp_config['img_cols'] ); $j++ ) ! { ! if ( $j >= count( $highestrow ) ) ! { ! break; ! } ! $file_screenshot_url = trim( $highestrow[$j]['file_ssurl'] ); ! $template->assign_block_vars( 'highest_pics_block.highest_pics.highest_col', array( ! // 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_smartor_mxurl("smartor_mode=album_pic&pic_id=". $highestrow[$j]['pic_id'])) : append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=". $highestrow[$j]['pic_id'])), ! // 'THUMBNAIL' => append_sid(this_smartor_mxurl("smartor_mode=album_thumbnail&pic_id=". $highestrow[$j]['pic_id'], TRUE)), ! // 'DESC' => $highestrow[$j]['pic_desc'] ! 'SS' => ( !empty( $file_screenshot_url ) ) ? '<hr><a href="' . append_sid( $pafiledb->this_mxurl_list( "action=file&file_id=" . $highestrow[$j]['file_id'], false, $pafiledb_page_id ) ) . '"><img src="' . $file_screenshot_url . '" width="100" border="0"></a><br /><span class="genmed"><i><a href="' . append_sid( $pafiledb->this_mxurl_list( "action=file&file_id=" . $highestrow[$j]['file_id'], false, $pafiledb_page_id ) ) . '">' . $highestrow[$j]['file_name'] . '</a></i></span>' : '' ! )); ! ! if ( ( $highestrow[$j]['user_id'] == ALBUM_GUEST ) or ( $highestrow[$j]['username'] == '' ) ) ! { ! $highest_poster = ( $highestrow[$j]['file_creator'] == '' ) ? $lang['Guest'] : $highestrow[$j]['file_creator']; ! } ! else ! { ! $highest_poster = '<a href="' . append_sid( PHPBB_URL . "profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $highestrow[$j]['user_id'] ) . '">' . $highestrow[$j]['username'] . '</a>'; ! } ! ! $rating_image = paImageRating( $highestrow[$j]['rating'] ); ! ! $template->assign_block_vars( 'highest_pics_block.highest_pics.highest_detail', array( ! 'H_TITLE' => ( empty( $file_screenshot_url ) ) ? '<b>' . $lang['File_Title'] . ': <a href="' . append_sid( $pafiledb->this_mxurl_list( "action=file&file_id=" . $highestrow[$j]['file_id'], false, $pafiledb_page_id ) ) . '">' . $highestrow[$j]['file_name'] . '</a></b><br />' : '', ! 'H_DESC' => $highestrow[$j]['file_desc'], ! 'H_POSTER' => $highest_poster, ! 'H_TIME' => create_date( $board_config['default_dateformat'], $highestrow[$j]['file_time'], $board_config['board_timezone'] ), ! 'UPDATED' => create_date( $board_config['default_dateformat'], $highestrow[$j]['file_update_time'], $board_config['board_timezone'] ), ! 'H_VIEW' => $highestrow[$j]['file_dls'], ! 'H_RATING' => ( $pafiledb->ratings[$highestrow[$j]['file_catid']]['activated'] ) ? ( $lang['Rating'] . ': ' . $rating_image . ', ' ) : '', ! 'H_COMMENTS' => ( $pafiledb->comments[$highestrow[$j]['file_catid']]['activated'] ) ? ( '<a href="' . append_sid( $pafiledb->this_mxurl_list( "action=file&file_id=" . $highestrow[$j]['file_id'], false, $pafiledb_page_id ) ) . '">' . $lang['Comments'] . '</a>: ' . $highestrow[$j]['comments'] . '<br />' ) : '' ! // 'H_IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://www.nic.com/cgi-bin/whois.cgi?query=' . decode_ip($highestrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($highestrow[$j]['pic_user_ip']) .'</a><br />' : '' ! )); ! } ! } ! } ! else ! { ! // ! // No Pics Found ! // ! $template->assign_block_vars( 'highest_pics_block.no_pics', array() ); ! } ! } ! else ! { ! // ! // No Cats Found ! // ! $template->assign_block_vars( 'highest_pics_block.no_pics', array() ); ! } ! } ! ! /* ! +---------------------------------------------------------- ! | Random Pics ! | by CLowN ! +---------------------------------------------------------- ! */ ! if ( $album_sp_config['disp_rand'] == 1 ) ! { ! if ( $allowed_cat != '' ) ! { ! $sql = "SELECT p.file_id, p.file_name, p.file_desc, p.user_id, p.poster_ip, p.file_creator, p.file_time, p.file_update_time, p.file_catid, p.file_dls, p.file_ssurl, u.user_id, u.username, r.votes_file, AVG(r.rate_point) AS rating, COUNT(DISTINCT c.comments_id) AS comments ! FROM " . PA_FILES_TABLE . " AS p ! LEFT JOIN " . USERS_TABLE . " AS u ON p.user_id = u.user_id ! LEFT JOIN " . PA_CATEGORY_TABLE . " AS ct ON p.file_catid = ct.cat_id ! LEFT JOIN " . PA_VOTES_TABLE . " AS r ON p.file_id = r.votes_file ! LEFT JOIN " . PA_COMMENTS_TABLE . " AS c ON p.file_id = c.file_id ! WHERE p.file_catid IN ($allowed_cat) AND p.file_approved = 1 ! GROUP BY p.file_id ! ORDER BY RAND() ! LIMIT " . $album_sp_config['img_cols'] * $album_sp_config['img_rows']; ! if ( !( $result = $db->sql_query( $sql ) ) ) ! { ! mx_message_die( GENERAL_ERROR, 'Could not query rand pics information', '', __LINE__, __FILE__, $sql ); ! } ! ! $randrow = array(); ! ! while ( $row = $db->sql_fetchrow( $result ) ) ! { ! $randrow[] = $row; ! } ! ! $template->assign_block_vars( 'random_pics_block', array() ); ! ! if ( count( $randrow ) > 0 ) ! { ! for ( $i = 0; $i < count( $randrow ); $i += $album_sp_config['img_cols'] ) ! { ! $template->assign_block_vars( 'random_pics_block.rand_pics', array() ); ! ! for ( $j = $i; $j < ( $i + $album_sp_config['img_cols'] ); $j++ ) ! { ! if ( $j >= count( $randrow ) ) ! { ! break; ! } ! ! $file_screenshot_url = trim( $randrow[$j]['file_ssurl'] ); ! $template->assign_block_vars( 'random_pics_block.rand_pics.rand_col', array( ! // 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid($pafiledb->this_mxurl_list("smartor_mode=album_pic&pic_id=". $randrow[$j]['pic_id'])) : append_sid($pafiledb->this_mxurl_list("smartor_mode=album_showpage&pic_id=". $randrow[$j]['pic_id'])), ! // 'THUMBNAIL' => append_sid($pafiledb->this_mxurl_list("smartor_mode=album_thumbnail&pic_id=". $randrow[$j]['pic_id'], TRUE)), ! // 'DESC' => $randrow[$j]['file_desc'] ! 'SS' => ( !empty( $file_screenshot_url ) ) ? '<hr><a href="' . append_sid( $pafiledb->this_mxurl_list( "action=file&file_id=" . $randrow[$j]['file_id'], false, $pafiledb_page_id ) ) . '"><img src="' . $file_screenshot_url . '" width="100" border="0"></a><br /><span class="genmed"><i><a href="' . append_sid( $pafiledb->this_mxurl_list( "action=file&file_id=" . $randrow[$j]['file_id'], false, $pafiledb_page_id ) ) . '">' . $randrow[$j]['file_name'] . '</a></i></span>' : '' ! )); ! ! if ( ( $randrow[$j]['user_id'] == ALBUM_GUEST ) or ( $randrow[$j]['username'] == '' ) ) ! { ! $rand_poster = ( $randrow[$j]['file_creator'] == '' ) ? $lang['Guest'] : $randrow[$j]['file_creator']; ! } ! else ! { ! $rand_poster = '<a href="' . append_sid( PHPBB_URL . "profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $randrow[$j]['user_id'] ) . '">' . $randrow[$j]['username'] . '</a>'; ! } ! ! $rating_image = paImageRating( $randrow[$j]['rating'] ); ! ! $template->assign_block_vars( 'random_pics_block.rand_pics.rand_detail', array( ! 'TITLE' => ( empty( $file_screenshot_url ) ) ? '<b>' . $lang['File_Title'] . ': <a href="' . append_sid( $pafiledb->this_mxurl_list( "action=file&file_id=" . $randrow[$j]['file_id'], false, $pafiledb_page_id ) ) . '">' . $randrow[$j]['file_name'] . '</a></b><br />' : '', ! 'DESC' => $randrow[$j]['file_desc'], ! 'POSTER' => $rand_poster, ! 'TIME' => create_date( $board_config['default_dateformat'], $randrow[$j]['file_time'], $board_config['board_timezone'] ), ! 'UPDATED' => create_date( $board_config['default_dateformat'], $randrow[$j]['file_update_time'], $board_config['board_timezone'] ), ! 'VIEW' => $randrow[$j]['file_dls'], ! 'RATING' => ( $pafiledb->ratings[$randrow[$j]['file_catid']]['activated'] ) ? ( $lang['Rating'] . ': ' . $rating_image . ', ' ) : '', ! 'COMMENTS' => ( $pafiledb->comments[$randrow[$j]['file_catid']]['activated'] ) ? ( '<a href="' . append_sid( $pafiledb->this_mxurl_list( "action=file&file_id=" . $randrow[$j]['file_id'], false, $pafiledb_page_id ) ) . '">' . $lang['Comments'] . '</a>: ' . $randrow[$j]['comments'] . '<br />' ) : '' ! // 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://www.nic.com/cgi-bin/whois.cgi?query=' . decode_ip($randrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($randrow[$j]['pic_user_ip']) .'</a><br />' : '' ! )); ! } ! } ! } ! else ! { ! // ! // No Pics Found ! // ! $template->assign_block_vars( 'random_pics_block.no_pics', array() ); ! } ! } ! else ! { ! // ! // No Cats Found ! // ! $template->assign_block_vars( 'random_pics_block.no_pics', array() ); ! } ! } ! /* ! +---------------------------------------------------------- ! | Start output the page ! +---------------------------------------------------------- ! */ ! $page_title = $lang['Album']; ! if ( !$is_block ) { ! include( $mx_root_path . 'includes/page_header.' . $phpEx ); } ! $template->set_filenames( array( 'body' => 'pa_lists.tpl' ) ); ! ! $template->assign_vars( array( ! 'L_CATEGORY' => $lang['Category'], ! 'L_PICS' => $lang['Pics'], ! 'L_LAST_PIC' => $lang['Last_Pic'], ! ! 'U_YOUR_PERSONAL_GALLERY' => append_sid( $pafiledb->this_mxurl_list( "smartor_mode=album_personal&user_id=" . $userdata['user_id'] ) ), ! 'L_YOUR_PERSONAL_GALLERY' => $lang['Your_Personal_Gallery'], ! ! 'U_USERS_PERSONAL_GALLERIES' => append_sid( $pafiledb->this_mxurl_list( "smartor_mode=album_personal_index" ) ), ! 'L_USERS_PERSONAL_GALLERIES' => $lang['Users_Personal_Galleries'], ! ! 'S_COLS' => $album_sp_config['img_cols'], ! 'S_COL_WIDTH' => ( 100 / $album_sp_config['img_cols'] ) . '%', ! 'TARGET_BLANK' => ( $album_config['fullpic_popup'] ) ? 'target="_blank"' : '', ! 'L_RECENT_PUBLIC_PICS' => $lang['Recent_Public_Files'], ! 'L_TOPRATED_PUBLIC_PICS' => $lang['Toprated_Public_Files'], ! 'L_RANDOM_PUBLIC_PICS' => $lang['Random_Public_Files'], ! 'L_MOST_PUBLIC_PICS' => $lang['Most_Public_Files'], ! 'L_NO_PICS' => $lang['No_Pics'], ! 'L_FILE_TITLE' => $lang['File_Title'], ! 'L_FILE_DESC' => $lang['File_Desc'], ! 'L_VIEW' => $lang['Dls'], ! 'L_POSTER' => $lang['Poster'], ! 'L_POSTED' => $lang['Posted'], ! 'L_UPDATE_TIME' => $lang['Update_time'], ! 'L_PUBLIC_CATS' => $lang['Public_Categories'] ) ! ); ! ! // ! // Generate the page ! // ! $template->pparse( 'body' ); ! if ( !$is_block ) ! { ! include( $mx_root_path . 'includes/page_tail.' . $phpEx ); ! } ?> \ No newline at end of file --- 29,70 ---- define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); // ! // Setup config parameters // ! $config_name = array( 'toplist_sort_method', 'toplist_display_options', 'toplist_pagination', 'toplist_use_pagination', 'toplist_filter_date', 'toplist_cat_id' ); ! for( $i = 0; $i < count( $config_name ); $i++ ) ! { ! $config_value = $mx_block->get_parameters( $config_name[$i] ); ! $toplist_config[$config_name[$i]] = $config_value; ! } // // Get pafiledb target block // ! $toplist_block_id = $mx_block->get_parameters( 'target_block' ); ! $toplist_page_id = intval($toplist_block_id) > 0 ? get_page_id( $toplist_block_id ) : get_page_id( 'dload.php', true ); ! // =================================================== ! // Include the common file ! // =================================================== ! include_once( $module_root_path . 'pafiledb/pafiledb_common.' . $phpEx ); ! $pafiledb_template->destroy(); ! // =================================================== ! // if the database disabled give them a nice message ! // =================================================== ! if ( intval( $pafiledb_config['module_enable'] ) ) { ! mx_message_die( GENERAL_MESSAGE, $lang['pafiledb_disable'] ); } ! // =================================================== ! // an array of all expected actions ! // =================================================== ! $actions = array( 'lists' => 'lists' ); ! $action = 'lists'; ! $pafiledb->module( $actions[$action] ); ! $pafiledb->modules[$actions[$action]]->main( $action ); ?> \ No newline at end of file --- NEW FILE: dload_mini.php --- <?php /** * * @package mxBB Portal Module - mx_pafiledb * @version $Id: dload_mini.php,v 1.1 2006/08/13 18:53:09 jonohlsson 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') || !is_object($mx_block)) { die("Hacking attempt"); } // // Read Block Settings // $title = $mx_block->block_info['block_title']; $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); $is_block = true; global $images; // // Definitions // define( 'MXBB_MODULE', true ); define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); list( $trash, $mx_script_name_temp ) = split ( trim( $board_config['server_name'] ), PORTAL_URL ); $mx_script_name = preg_replace( '#^\/?(.*?)\/?$#', '\1', trim( $mx_script_name_temp ) ); // // Setup config parameters // $config_name = array( 'mini_default_cat_id', 'mini_display_options', 'mini_pagination' ); for( $i = 0; $i < count( $config_name ); $i++ ) { $config_value = $mx_block->get_parameters( $config_name[$i] ); $mini_config[$config_name[$i]] = $config_value; } // =================================================== // Include the common file // =================================================== include_once( $module_root_path . 'pafiledb/pafiledb_common.' . $phpEx ); $pafiledb_template->destroy(); // =================================================== // Get action variable other wise set it to the main // =================================================== $action = ( isset( $_REQUEST['action_mini'] ) ) ? htmlspecialchars( $_REQUEST['action_mini'] ) : 'mini'; // =================================================== // if the database disabled give them a nice message // =================================================== if ( intval( $pafiledb_config['module_enable'] ) ) { mx_message_die( GENERAL_MESSAGE, $lang['pafiledb_disable'] ); } // =================================================== // an array of all expected actions // =================================================== $actions = array( 'mini' => 'mini', 'download' => 'download' ); // =================================================== // Lets Build the page // =================================================== $page_title = $lang['Download']; if ( $action != 'download' ) { if ( !$is_block ) { include( $mx_root_path . 'includes/page_header.' . $phpEx ); } } $pafiledb->module( $actions[$action] ); $pafiledb->modules[$actions[$action]]->main( $action ); if ( $action != 'download' ) { if ( !$is_block ) { include( $mx_root_path . 'includes/page_tail.' . $phpEx ); } } ?> Index: pafiledb.pak =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb.pak,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** pafiledb.pak 30 Jun 2006 12:23:00 -0000 1.13 --- pafiledb.pak 13 Aug 2006 18:53:09 -0000 1.14 *************** *** 7,21 **** New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:54=+:59=+:PafileDB_list=+:PafileDB download toplists=+:dload_lists.php=+: - parameter=+:59=+:109=+:display_latest_posts=+:Boolean=+:TRUE=+:=+:0 - parameter=+:59=+:110=+:display_most_posts=+:Boolean=+:TRUE=+:=+:0 - parameter=+:59=+:111=+:display_random_posts=+:Boolean=+:TRUE=+:=+:0 - parameter=+:59=+:112=+:display_top_ranked=+:Boolean=+:TRUE=+:=+:0 - parameter=+:59=+:113=+:num_of_cols=+:Number=+:1=+:=+:0 - parameter=+:59=+:114=+:num_of_rows=+:Number=+:3=+:=+:0 parameter=+:59=+:115=+:target_block=+:Function=+:0=+:get_list_formatted("block_list","{parameter_value}","{parameter_id}[]", "dload.php")=+:0 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - PafileDB_list=+:Demo block=+:59=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:54=+:60=+:Quick dl=+:Quick download block - blog=+:dload_quickdl.php=+: parameter=+:60=+:116=+:pa_mapping=+:pa_mapping=+:=+:=+:0 --- 7,29 ---- New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:54=+:59=+:PafileDB_list=+:PafileDB download toplists=+:dload_lists.php=+: parameter=+:59=+:115=+:target_block=+:Function=+:0=+:get_list_formatted("block_list","{parameter_value}","{parameter_id}[]", "dload.php")=+:0 + parameter=+:59=+:154=+:toplist_cat_id=+:pa_quick_cat=+:0=+:=+:1 + parameter=+:59=+:152=+:toplist_display_options=+:Checkbox_multiple_select=+:a:1:{i:0;s:4:"date";}=+:a:4:{i:0;s:4:"date";i:1;s:8:"username";i:2;s:7:"counter";i:3;s:4:"rate";}=+:1 + parameter=+:59=+:155=+:toplist_filter_date=+:Function=+:5=+:get_list_static("{parameter_id}[]",array("no limit", "1 day", "2 days", "3 days", "1 week", "2 weeks", "3 weeks", "1 month", "2 months", "3 months", "6 months", "1 year"),"{parameter_value}")=+:1 + parameter=+:59=+:114=+:toplist_pagination=+:Number=+:3=+:=+:0 + parameter=+:59=+:109=+:toplist_sort_method=+:Menu_single_select=+:latest=+:a:4:{i:0;s:6:"latest";i:1;s:12:"most_popular";i:2;s:8:"toprated";i:3;s:6:"random";}=+:1 + parameter=+:59=+:113=+:toplist_use_pagination=+:Boolean=+:TRUE=+:=+:1 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 block=+:=+:Demo - PafileDB_list=+:Demo block=+:59=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 function=+:0=+:0=+:0=+:endoflist=+:0=+:0 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 + function=+:54=+:90=+:PafileDB_mini=+:Mini navigation block=+:dload_mini.php=+: + parameter=+:90=+:156=+:mini_default_cat_id=+:pa_quick_cat=+:0=+:=+:1 + parameter=+:90=+:158=+:mini_display_options=+:Checkbox_multiple_select=+:a:1:{i:0;s:4:"date";}=+:a:4:{i:0;s:4:"date";i:1;s:8:"username";i:2;s:7:"counter";i:3;s:4:"rate";}=+:1 + parameter=+:90=+:157=+:mini_pagination=+:Number=+:5=+:=+:1 + parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 + block=+:=+:Demo - PafileDB_mini=+:Demo block=+:90=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 + function=+:0=+:0=+:0=+:endoflist=+:0=+:0 + New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 function=+:54=+:60=+:Quick dl=+:Quick download block - blog=+:dload_quickdl.php=+: parameter=+:60=+:116=+:pa_mapping=+:pa_mapping=+:=+:=+:0 Index: dload_quickdl.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/dload_quickdl.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** dload_quickdl.php 27 Jun 2006 21:38:43 -0000 1.12 --- dload_quickdl.php 13 Aug 2006 18:53:09 -0000 1.13 *************** *** 9,55 **** */ ! if ( !function_exists( 'read_block_config' ) ) { ! define( 'IN_PORTAL', true ); ! $mx_root_path = '../../'; ! $phpEx = substr(strrchr(__FILE__, '.'), 1); ! include_once( $mx_root_path . 'common.' . $phpEx ); ! // ! // Start session management ! // ! $mx_user->init($user_ip, PAGE_INDEX); ! // ! // End session management ! // ! $block_id = ( !empty( $HTTP_GET_VARS['block_id'] ) ) ? $HTTP_GET_VARS['block_id'] : $HTTP_POST_VARS['id']; ! if ( empty( $block_id ) ) ! { ! $sql = "SELECT * FROM " . BLOCK_TABLE . " WHERE block_title = 'PafileDB' LIMIT 1"; ! if ( !$result = $db->sql_query( $sql ) ) ! { ! mx_message_die( GENERAL_ERROR, "Could not query PafileDB module information", "", __LINE__, __FILE__, $sql ); ! } ! $row = $db->sql_fetchrow( $result ); ! $block_id = $row['block_id']; ! } ! $is_block = false; ! } ! else ! { ! if( !defined('IN_PORTAL') || !is_object($mx_block)) ! { ! die("Hacking attempt"); ! } ! // ! // Read Block Settings ! // ! $title = $mx_block->block_info['block_title']; ! $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); ! $is_block = true; ! global $images; ! } list( $trash, $mx_script_name_temp ) = split ( trim( $board_config['server_name'] ), PORTAL_URL ); --- 9,31 ---- */ ! if( !defined('IN_PORTAL') || !is_object($mx_block)) { ! die("Hacking attempt"); ! } ! // ! // Read Block Settings ! // ! $title = $mx_block->block_info['block_title']; ! $block_size = ( isset( $block_size ) && !empty( $block_size ) ? $block_size : '100%' ); ! $is_block = true; ! global $images; ! // ! // Definitions ! // ! define( 'MXBB_MODULE', true ); ! define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); list( $trash, $mx_script_name_temp ) = split ( trim( $board_config['server_name'] ), PORTAL_URL ); |
|
From: Jon O. <jon...@us...> - 2006-08-13 18:53:13
|
Update of /cvsroot/mxbb/mx_pafiledb/templates/subSilver/admin In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv28185/modules/mx_pafiledb/templates/subSilver/admin Modified Files: mx_module_parameters.tpl Log Message: More module blocks - Mini block - Latest Item block Index: mx_module_parameters.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/templates/subSilver/admin/mx_module_parameters.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_module_parameters.tpl 12 Oct 2005 16:32:32 -0000 1.1 --- mx_module_parameters.tpl 13 Aug 2006 18:53:10 -0000 1.2 *************** *** 6,17 **** <td class="row1" width="50%" align="right"> <span class="topictitle">{select.PARAMETER_TITLE}:</span> ! <span class="gensmall">{select.PARAMETER_TITLE_EXPLAIN}</span> </td> <td class="row1"> <select name="{select.FIELD_ID}" class="post"> {select.SELECT_LIST} </select> </td> ! </tr> </table> </td> --- 6,18 ---- <td class="row1" width="50%" align="right"> <span class="topictitle">{select.PARAMETER_TITLE}:</span> ! <span class="gensmall">{select.PARAMETER_TITLE_EXPLAIN}</span> </td> <td class="row1"> <select name="{select.FIELD_ID}" class="post"> + <option value="0">{select.L_NONE}</option> {select.SELECT_LIST} </select> </td> ! </tr> </table> </td> |
|
From: Jon O. <jon...@us...> - 2006-08-13 18:53:13
|
Update of /cvsroot/mxbb/mx_pafiledb/pafiledb/includes In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv28185/modules/mx_pafiledb/pafiledb/includes Modified Files: functions.php functions_pafiledb.php Log Message: More module blocks - Mini block - Latest Item block Index: functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/functions.php,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** functions.php 4 Aug 2006 16:32:19 -0000 1.29 --- functions.php 13 Aug 2006 18:53:09 -0000 1.30 *************** *** 321,325 **** function page_footer() { ! global $pafiledb_cache, $lang, $pafiledb_template, $board_config, $_GET, $pafiledb, $userdata, $phpbb_root_path; global $phpEx, $template, $do_gzip_compress, $debug, $db, $starttime; global $mx_root_path, $module_root_path, $is_block, $phpEx, $page_id; --- 321,325 ---- function page_footer() { ! global $pafiledb_cache, $lang, $pafiledb_template, $board_config, $pafiledb, $userdata, $phpbb_root_path; global $phpEx, $template, $do_gzip_compress, $debug, $db, $starttime; global $mx_root_path, $module_root_path, $is_block, $phpEx, $page_id; Index: functions_pafiledb.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/pafiledb/includes/functions_pafiledb.php,v retrieving revision 1.39 retrieving revision 1.40 diff -C2 -d -r1.39 -r1.40 *** functions_pafiledb.php 4 Aug 2006 20:11:50 -0000 1.39 --- functions_pafiledb.php 13 Aug 2006 18:53:09 -0000 1.40 *************** *** 1044,1051 **** * @param unknown_type $sort_order * @param unknown_type $start - * @param unknown_type $show_file_message * @param unknown_type $cat_id */ ! function display_items( $sort_method, $sort_order, $start, $show_file_message, $cat_id = false ) { global $db, $pafiledb_config, $pafiledb_template, $board_config; --- 1044,1054 ---- * @param unknown_type $sort_order * @param unknown_type $start * @param unknown_type $cat_id + * @param unknown_type $show_file_message + * @param unknown_type $sort_options_list + * @param unknown_type $sql_xtra + * @param unknown_type $target_page_id */ ! function display_items( $sort_method, $sort_order, $start, $cat_id = false, $show_file_message = true, $sort_options_list = false, $sql_xtra = '', $target_page_id = false ) { global $db, $pafiledb_config, $pafiledb_template, $board_config; *************** *** 1055,1062 **** $filelist = false; // // Category SQL // ! $cat_where = empty( $cat_id ) ? "AND f1.file_catid IN (" . $this->gen_cat_ids( '0' ) . ")" : "AND f1.file_catid = $cat_id"; // --- 1058,1080 ---- $filelist = false; + $file_rowset = array(); + $total_file = 0; + // // Category SQL // ! if (!$cat_id) ! { ! $cat_where = "AND f1.file_catid IN (" . $this->gen_cat_ids( '0' ) . ")"; ! } ! else if (is_array($cat_id)) ! { ! $cat_where = "AND f1.file_catid IN (" . $this->gen_cat_ids( $cat_id['parent'] ) . ")"; ! $cat_id = false; ! } ! else ! { ! $cat_where = "AND f1.file_catid = $cat_id"; ! } // *************** *** 1075,1078 **** --- 1093,1097 ---- AND f1.file_catid = cat.cat_id $cat_where + $sql_xtra GROUP BY f1.file_id ORDER BY $sort_method $sort_order"; *************** *** 1089,1092 **** --- 1108,1112 ---- AND f1.file_approved = 1 $cat_where + $sql_xtra GROUP BY f1.file_id ORDER BY $sort_method $sort_order"; *************** *** 1126,1129 **** --- 1146,1150 ---- AND f1.file_catid = cat.cat_id $cat_where + $sql_xtra GROUP BY f1.file_id ORDER BY $sort_method $sort_order"; *************** *** 1139,1142 **** --- 1160,1164 ---- AND f1.file_approved = 1 $cat_where + $sql_xtra GROUP BY f1.file_id ORDER BY $sort_method $sort_order"; *************** *** 1162,1166 **** FROM " . PA_FILES_TABLE . " AS f1 WHERE f1.file_approved='1' ! $cat_where"; if ( !( $result = $db->sql_query( $sql ) ) ) --- 1184,1189 ---- FROM " . PA_FILES_TABLE . " AS f1 WHERE f1.file_approved='1' ! $cat_where ! $sql_xtra"; if ( !( $result = $db->sql_query( $sql ) ) ) *************** *** 1259,1263 **** 'U_CAT' => $cat_url, 'SHOW_RATINGS' => ( $pa_use_ratings ? true : false ), ! 'U_FILE' => append_sid( $this->this_mxurl( 'action=file&file_id=' . $file_rowset[$i]['file_id'] ) ), 'COLOR' => ( ( $i % 2 ) ? "row2" : "row1" ), 'POSTER' => $file_poster, --- 1282,1287 ---- 'U_CAT' => $cat_url, 'SHOW_RATINGS' => ( $pa_use_ratings ? true : false ), ! 'U_FILE' => append_sid( $this->this_mxurl( 'action=file&file_id=' . $file_rowset[$i]['file_id'], false, false, $target_page_id ) ), ! 'U_FILE_JUMP' => append_sid( $this->this_mxurl( 'action=download&file_id=' . $file_rowset[$i]['file_id'], false, false, $target_page_id ) ), 'COLOR' => ( ( $i % 2 ) ? "row2" : "row1" ), 'POSTER' => $file_poster, *************** *** 1270,1273 **** --- 1294,1322 ---- )); + // + // Options (only used for the toplist block) + // + if ($sort_options_list) + { + foreach ($sort_options_list as $sort_option => $options_value) + { + switch ($sort_option) + { + case 'date': + $pafiledb_template->assign_block_vars( "file_rows.display_date", array()); + break; + case 'username': + $pafiledb_template->assign_block_vars( "file_rows.display_username", array()); + break; + case 'counter': + $pafiledb_template->assign_block_vars( "file_rows.display_counter", array()); + break; + case 'rate': + $pafiledb_template->assign_block_vars( "file_rows.display_rate", array()); + break; + } + } + } + $filelist = true; $pa_use_ratings = $this->ratings[$file_rowset[$i]['file_catid']]['activated']; *************** *** 1332,1335 **** --- 1381,1386 ---- ); } + + return $total_file; } *************** *** 1343,1346 **** --- 1394,1398 ---- * @param unknown_type $cat_id */ + /* function display_items_quickdl( $sort_method, $sort_order, $start, $show_file_message, $cat_id = false ) { *************** *** 1580,1583 **** --- 1632,1636 ---- } } + */ /** *************** *** 1613,1651 **** * @return unknown */ ! function this_mxurl( $args = '', $force_standalone_mode = false, $non_html_amp = false ) { global $mx_root_path, $module_root_path, $page_id, $phpEx, $is_block; ! if ( $force_standalone_mode || !$is_block ) { $mxurl = $module_root_path . 'dload.' . $phpEx . ( $args == '' ? '' : '?' . $args ); } - else - { - $mxurl = $mx_root_path . 'index.' . $phpEx; - - if ( is_numeric( $page_id ) ) - { - $mxurl .= '?page=' . $page_id . ( $args == '' ? '' : ( $non_html_amp ? '&' : '&' ) . $args ); - } - else - { - $mxurl .= ( $args == '' ? '' : '?' . $args ); - } - } - return $mxurl; - } - - /** - * Enter description here... - * - * @param unknown_type $args - * @param unknown_type $force_standalone_mode - * @param unknown_type $page_id - * @return unknown - */ - function this_mxurl_list( $args = '', $force_standalone_mode = false, $page_id = 1 ) - { - global $mx_root_path, $module_root_path, $phpEx, $is_block; if ( $force_standalone_mode || !$is_block ) --- 1666,1680 ---- * @return unknown */ ! function this_mxurl( $args = '', $force_standalone_mode = false, $non_html_amp = false, $pageId = '' ) { global $mx_root_path, $module_root_path, $page_id, $phpEx, $is_block; ! $pageId = empty($pageId) ? $page_id : $pageId; ! ! if ( !MXBB_MODULE ) { $mxurl = $module_root_path . 'dload.' . $phpEx . ( $args == '' ? '' : '?' . $args ); + return $mxurl; } if ( $force_standalone_mode || !$is_block ) *************** *** 1656,1662 **** { $mxurl = $mx_root_path . 'index.' . $phpEx; ! if ( is_numeric( $page_id ) ) { ! $mxurl .= '?page=' . $page_id . ( $args == '' ? '' : '&' . $args ); } else --- 1685,1691 ---- { $mxurl = $mx_root_path . 'index.' . $phpEx; ! if ( is_numeric( $pageId ) ) { ! $mxurl .= '?page=' . $pageId . ( $args == '' ? '' : ( $non_html_amp ? '&' : '&' ) . $args ); } else |
|
From: Jon O. <jon...@us...> - 2006-08-13 18:53:12
|
Update of /cvsroot/mxbb/mx_pafiledb/language/lang_english In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv28185/modules/mx_pafiledb/language/lang_english Modified Files: lang_admin.php Log Message: More module blocks - Mini block - Latest Item block Index: lang_admin.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/language/lang_english/lang_admin.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** lang_admin.php 1 Aug 2006 21:03:24 -0000 1.12 --- lang_admin.php 13 Aug 2006 18:53:09 -0000 1.13 *************** *** 406,418 **** // Admin Panels - Toplists // ! $lang['display_most_posts'] = 'Most visited/viewed/downloaded<br />'; ! $lang['display_random_posts'] = 'Random<br />'; ! $lang['display_top_ranked'] = 'Top-rated<br />'; ! $lang['display_latest_posts'] = 'Latest<br />'; ! $lang['num_of_cols'] = 'Number of columns<br />'; ! $lang['num_of_rows'] = 'Number of rows<br />'; $lang['target_block'] = 'Associated (target) pafileDB Block'; // // Quickdl // --- 406,426 ---- // Admin Panels - Toplists // ! $lang['toplist_sort_method'] = 'Toplist type'; ! $lang['toplist_display_options'] = 'Display options'; ! $lang['toplist_use_pagination'] = 'Use Pagination (Previous/Next \'Number of rows\')'; ! $lang['toplist_pagination'] = 'Number of rows'; ! $lang['toplist_filter_date'] = "Filter by time"; ! $lang['toplist_filter_date_explain'] = "- Show posts from last week, month, year..."; ! $lang['toplist_cat_id'] = 'Limit to category'; $lang['target_block'] = 'Associated (target) pafileDB Block'; // + // Admin Panels - Mini + // + $lang['mini_display_options'] = 'Display options'; + $lang['mini_pagination'] = 'Number of rows'; + $lang['mini_default_cat_id'] = 'Limit to category'; + + // // Quickdl // |
|
From: Jon O. <jon...@us...> - 2006-08-13 18:53:12
|
Update of /cvsroot/mxbb/mx_pafiledb/admin In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv28185/modules/mx_pafiledb/admin Modified Files: mx_module_defs.php Log Message: More module blocks - Mini block - Latest Item block Index: mx_module_defs.php =================================================================== RCS file: /cvsroot/mxbb/mx_pafiledb/admin/mx_module_defs.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** mx_module_defs.php 17 Jun 2006 20:13:22 -0000 1.7 --- mx_module_defs.php 13 Aug 2006 18:53:09 -0000 1.8 *************** *** 66,69 **** --- 66,70 ---- $parameter_opt = ''; + /* switch ( $parameter_data['parameter_type'] ) { *************** *** 83,86 **** --- 84,88 ---- $parameter_value = prepare_message(trim($parameter_value), $html_on, $bbcode_on, $smilies_on, $bbcode_uid); $parameter_opt = $bbcode_uid; + */ return array('parameter_value' => $parameter_value, 'parameter_opt' => $parameter_opt); *************** *** 132,135 **** --- 134,138 ---- 'PARAMETER_TITLE' => ( !empty($lang[$parameter_data['parameter_name']]) ) ? $lang[$parameter_data['parameter_name']] : $parameter_data['parameter_name'], 'PARAMETER_TITLE_EXPLAIN' => ( !empty($lang[$parameter_data['parameter_name']. "_explain"]) ) ? '<br />' . $lang[$parameter_data['parameter_name']. "_explain"] : '', + 'L_NONE' => $lang['None'], 'SELECT_LIST' => $parameter_datas, |
|
From: Jon O. <jon...@us...> - 2006-08-13 18:52:36
|
Update of /cvsroot/mxbb/mx_linkdb/linkdb/modules In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv28103/modules/mx_linkdb/linkdb/modules Added Files: link_lists.php link_mini.php Log Message: More module blocks - Mini block - Latest Item block --- NEW FILE: link_mini.php --- <?php /** * * @package mxBB Portal Module - mx_pafiledb * @version $Id: link_mini.php,v 1.1 2006/08/13 18:52:33 jonohlsson 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" ); } /** * Enter description here... * */ class linkdb_mini extends linkdb_public { /** * Enter description here... * * @param unknown_type $action */ function main( $action ) { global $template, $lang, $phpEx, $linkdb_config, $userdata; global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars, $mini_config; global $page_id; // ======================================================= // Request vars // ======================================================= $start = $mx_request_vars->request('mini_start', MX_TYPE_INT, 0); $cat_id = $mx_request_vars->request('cat_id', MX_TYPE_INT, $mini_config['mini_default_cat_id']); if ( empty( $cat_id ) ) { //mx_message_die( GENERAL_MESSAGE, $lang['Cat_not_exist'] ); } // // Sorting of items // $sort_method = $linkdb_config['sort_method']; $sort_order = $linkdb_config['sort_order']; // ======================================================= // If user not allowed to view file listing (read) and there is no sub Category // or the user is not allowed to view these category we gave him a nice message. // ======================================================= $show_category = false; if ( isset( $this->subcat_rowset[$cat_id] ) ) { foreach( $this->subcat_rowset[$cat_id] as $sub_cat_id => $sub_cat_row ) { if ( $this->auth_user[$sub_cat_id]['auth_view'] ) { $show_category = true; break; } } } if ( ( !$this->auth_user[$cat_id]['auth_read'] ) && ( !$show_category ) ) { if ( !$userdata['session_logged_in'] ) { // mx_redirect(append_sid($mx_root_path . "login.$phpEx?redirect=". $this->this_mxurl("action=category&cat_id=" . $cat_id, true), true)); } $message = sprintf( $lang['Sorry_auth_view'], $this->auth_user[$cat_id]['auth_read_type'] ); mx_message_die( GENERAL_MESSAGE, $message ); } if ( !isset( $this->cat_rowset[$cat_id] ) ) { //mx_message_die( GENERAL_MESSAGE, $lang['Cat_not_exist'] ); } $no_file_message = true; $filelist = false; $template->set_filenames( array( 'body' => 'link_mini.tpl' ) ); $sort_options_list = unserialize($mini_config['mini_display_options']); $linkdb_config['pagination'] = $mini_config['mini_pagination']; $total_num_items = $this->display_items( $sort_method, $sort_order, $start, $cat_id, $no_file_message, $sort_options_list ); $template->assign_vars( array( 'U_LINK' => append_sid( $this->this_mxurl() ), 'LINK' => $linkdb_config['module_name'], 'BLOCK_JUMPMENU' => $this->generate_jumpbox( $mini_config['mini_default_cat_id'], 0, array( $_GET['cat_id'] => 1 ) ), 'MX_PAGE' => $page_id, 'S_JUMPBOX_ACTION' => append_sid( $this->this_mxurl( ) ), 'BLOCK_PAGINATION' => mx_generate_pagination(append_sid( $this->this_mxurl( 'cat_id=' . $cat_id, false, false ) ), $total_num_items, $mini_config['mini_pagination'], $start, true, true, true, false, 'mini_start'), )); $this->display( $lang['Links'], 'link_mini.tpl' ); } } ?> --- NEW FILE: link_lists.php --- <?php /** * * @package mxBB Portal Module - mx_pafiledb * @version $Id: link_lists.php,v 1.1 2006/08/13 18:52:33 jonohlsson 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" ); } /** * Enter description here... * */ class linkdb_lists extends linkdb_public { /** * Enter description here... * * @param unknown_type $action */ function main( $action ) { global $template, $lang, $phpEx, $linkdb_config, $userdata; global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars; global $toplist_page_id, $toplist_config; // ======================================================= // Request vars // ======================================================= $start = $mx_request_vars->request('link_start', MX_TYPE_INT, 0); // // Sorting of items // if ( isset( $toplist_config['toplist_sort_method'] ) ) { switch ( $toplist_config['toplist_sort_method'] ) { case 'latest': $sort_method = 'link_time'; break; case 'most_popular': $sort_method = 'link_dls'; break; case 'toprated': $sort_method = 'rating'; break; case 'random': $sort_method = 'RAND()'; break; default: $sort_method = $linkdb_config['sort_method']; } } else { $sort_method = $linkdb_config['sort_method']; } $sort_order = 'DESC'; $msg_today = date('mdY'); switch( $toplist_config['toplist_filter_date'] ) { case '0': $msg_time_filter_lo = 'no'; break; case '1': $msg_time_filter_lo = mktime(0, 0, 0 , intval(substr($msg_today, 0, 2)), intval(substr($msg_today, 2, 2) - 1), intval(substr($msg_today, 4, 4))); break; case '2': $msg_time_filter_lo = mktime(0, 0, 0 , intval(substr($msg_today, 0, 2)), intval(substr($msg_today, 2, 2) - 1), intval(substr($msg_today, 4, 4))); break; case '3': $msg_time_filter_lo = mktime(0, 0, 0 , intval(substr($msg_today, 0, 2)), intval(substr($msg_today, 2, 2) - 1), intval(substr($msg_today, 4, 4))); break; case '4': $msg_time_filter_lo = mktime(0, 0, 0 , intval(substr($msg_today, 0, 2)), intval(substr($msg_today, 2, 2) - 7), intval(substr($msg_today, 4, 4))); break; case '5': $msg_time_filter_lo = mktime(0, 0, 0 , intval(substr($msg_today, 0, 2)), intval(substr($msg_today, 2, 2) - 14), intval(substr($msg_today, 4, 4))); break; case '6': $msg_time_filter_lo = mktime(0, 0, 0 , intval(substr($msg_today, 0, 2)), intval(substr($msg_today, 2, 2) - 21), intval(substr($msg_today, 4, 4))); break; case '7': $msg_time_filter_lo = mktime(0, 0, 0 , intval(substr($msg_today, 0, 2) - 1), intval(substr($msg_today, 2, 2)), intval(substr($msg_today, 4, 4))); break; case '8': $msg_time_filter_lo = mktime(0, 0, 0 , intval(substr($msg_today, 0, 2) - 2), intval(substr($msg_today, 2, 2)), intval(substr($msg_today, 4, 4))); break; case '9': $msg_time_filter_lo = mktime(0, 0, 0 , intval(substr($msg_today, 0, 2) - 3), intval(substr($msg_today, 2, 2)), intval(substr($msg_today, 4, 4))); break; case '10': $msg_time_filter_lo = mktime(0, 0, 0 , intval(substr($msg_today, 0, 2) - 6), intval(substr($msg_today, 2, 2)), intval(substr($msg_today, 4, 4))); break; case '11': $msg_time_filter_lo = mktime(0, 0, 0 , intval(substr($msg_today, 0, 2)), intval(substr($msg_today, 2, 2)), intval(substr($msg_today, 4, 4) - 1)); break; default: $msg_time_filter_lo = 'no'; break; } if ( $msg_time_filter_lo != 'no' && !empty($msg_time_filter_lo) ) { $sql_xtra = " AND f1.link_time > " . $msg_time_filter_lo; } $filter_cat_id = false; if (intval($toplist_config['toplist_cat_id']) > 0) { $filter_cat_id = array(); $filter_cat_id['parent'] = $toplist_config['toplist_cat_id']; } $no_file_message = true; $filelist = false; $template->set_filenames( array( 'body' => 'link_lists.tpl' ) ); $sort_options_list = unserialize($toplist_config['toplist_display_options']); $linkdb_config['pagination'] = $toplist_config['toplist_pagination']; $total_num_items = $this->display_items( $sort_method, $sort_order, $start, $filter_cat_id, true, $sort_options_list, $sql_xtra, $toplist_page_id ); $template->assign_vars( array( 'U_LINK' => append_sid( $this->this_mxurl() ), 'LINK' => $linkdb_config['module_name'], 'BLOCK_PAGINATION' => mx_generate_pagination(append_sid( $this->this_mxurl( '', false, false ) ), $total_num_items, $toplist_config['toplist_pagination'], $start, true, true, true, false, 'link_start'), )); if ($toplist_config['toplist_use_pagination'] == 'TRUE') { $template->assign_block_vars( "toplist_pagination", array()); } $this->display( $lang['Links'], 'link_lists.tpl' ); } } ?> |