You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
(95) |
Apr
(270) |
May
(111) |
Jun
|
Jul
|
Aug
(64) |
Sep
(130) |
Oct
(319) |
Nov
(17) |
Dec
(191) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(53) |
Feb
|
Mar
|
Apr
|
May
(6) |
Jun
(387) |
Jul
(102) |
Aug
(247) |
Sep
(120) |
Oct
(1) |
Nov
(8) |
Dec
(21) |
| 2007 |
Jan
(38) |
Feb
(36) |
Mar
|
Apr
(32) |
May
(135) |
Jun
(523) |
Jul
(192) |
Aug
(103) |
Sep
(533) |
Oct
(77) |
Nov
(23) |
Dec
(203) |
| 2008 |
Jan
(312) |
Feb
(1193) |
Mar
(404) |
Apr
(67) |
May
(62) |
Jun
(497) |
Jul
(297) |
Aug
(110) |
Sep
(335) |
Oct
(256) |
Nov
(50) |
Dec
(118) |
| 2009 |
Jan
(67) |
Feb
(10) |
Mar
(1) |
Apr
(1) |
May
|
Jun
(10) |
Jul
(61) |
Aug
|
Sep
(16) |
Oct
(45) |
Nov
(12) |
Dec
(14) |
| 2010 |
Jan
(30) |
Feb
|
Mar
|
Apr
(4) |
May
|
Jun
|
Jul
(7) |
Aug
(7) |
Sep
(5) |
Oct
(5) |
Nov
|
Dec
|
| 2011 |
Jan
(7) |
Feb
(3) |
Mar
(89) |
Apr
(11) |
May
(5) |
Jun
|
Jul
(8) |
Aug
(1) |
Sep
(2) |
Oct
|
Nov
(2) |
Dec
(89) |
| 2012 |
Jan
(7) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(3) |
Oct
(42) |
Nov
(1) |
Dec
|
| 2013 |
Jan
|
Feb
|
Mar
(19) |
Apr
(90) |
May
(38) |
Jun
(235) |
Jul
(38) |
Aug
(10) |
Sep
|
Oct
(29) |
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
|
Apr
(6) |
May
(52) |
Jun
|
Jul
(7) |
Aug
|
Sep
(17) |
Oct
|
Nov
|
Dec
|
|
From: OryNider <ory...@us...> - 2008-01-15 22:25:43
|
Update of /cvsroot/mxbb/core/includes/shared/phpbb3/includes/acp In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv11120/acp Log Message: Directory /cvsroot/mxbb/core/includes/shared/phpbb3/includes/acp added to the repository |
|
From: OryNider <ory...@us...> - 2008-01-15 18:51:52
|
Update of /cvsroot/mxbb/core/includes/db In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv11245 Modified Files: dbal.php firebird.php mssql.php mssql_odbc.php mysql.php mysql4.php mysqli.php oracle.php postgres.php sqlite.php Log Message: vars version; Index: mysqli.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/mysqli.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** mysqli.php 15 Jan 2008 17:47:58 -0000 1.9 --- mysqli.php 15 Jan 2008 18:51:47 -0000 1.10 *************** *** 35,38 **** --- 35,39 ---- class dbal_mysqli extends dbal { + var $multi_insert = true; /** * Connect to server Index: postgres.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/postgres.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** postgres.php 15 Jan 2008 17:47:59 -0000 1.9 --- postgres.php 15 Jan 2008 18:51:47 -0000 1.10 *************** *** 35,38 **** --- 35,39 ---- { var $last_query_text = ''; + var $pgsql_version; /** Index: mysql4.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/mysql4.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** mysql4.php 15 Jan 2008 17:47:58 -0000 1.9 --- mysql4.php 15 Jan 2008 18:51:47 -0000 1.10 *************** *** 37,40 **** --- 37,42 ---- class dbal_mysql4 extends dbal { + var $mysql_version; + var $multi_insert = true; /** * Connect to server Index: mysql.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/mysql.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** mysql.php 15 Jan 2008 17:47:58 -0000 1.9 --- mysql.php 15 Jan 2008 18:51:47 -0000 1.10 *************** *** 34,37 **** --- 34,39 ---- class dbal_mysql extends dbal { + var $mysql_version; + var $multi_insert = true; /** * Connect to server Index: dbal.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/dbal.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** dbal.php 6 Aug 2007 20:07:03 -0000 1.6 --- dbal.php 15 Jan 2008 18:51:46 -0000 1.7 *************** *** 42,45 **** --- 42,65 ---- /** + * Constructor + */ + function dbal() + { + $this->num_queries = array( + 'cached' => 0, + 'normal' => 0, + 'total' => 0, + ); + + // Fill default sql layer based on the class being called. + // This can be changed by the specified layer itself later if needed. + $this->sql_layer = substr(get_class($this), 5); + + // Do not change this please! This variable is used to easy the use of it - and is hardcoded. + $this->any_char = chr(0) . '%'; + $this->one_char = chr(0) . '_'; + } + + /** * return on error or display error message */ |
Update of /cvsroot/mxbb/core/includes/db In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv19062 Modified Files: firebird.php mssql.php mssql_odbc.php mysql.php mysql4.php mysqli.php oracle.php postgres.php sqlite.php Log Message: function sql_server_info() Index: mysqli.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/mysqli.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** mysqli.php 6 Aug 2007 20:07:04 -0000 1.8 --- mysqli.php 15 Jan 2008 17:47:58 -0000 1.9 *************** *** 59,62 **** --- 59,70 ---- /** + * Version information about used database + */ + function sql_server_info() + { + return 'MySQL(i) ' . @mysqli_get_server_info($this->db_connect_id); + } + + /** * sql transaction */ Index: sqlite.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/sqlite.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** sqlite.php 6 Aug 2007 20:07:05 -0000 1.8 --- sqlite.php 15 Jan 2008 17:47:59 -0000 1.9 *************** *** 55,58 **** --- 55,66 ---- /** + * Version information about used database + */ + function sql_server_info() + { + return 'SQLite ' . @sqlite_libversion(); + } + + /** * sql transaction */ Index: postgres.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/postgres.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** postgres.php 6 Aug 2007 20:07:05 -0000 1.8 --- postgres.php 15 Jan 2008 17:47:59 -0000 1.9 *************** *** 88,91 **** --- 88,99 ---- /** + * Version information about used database + */ + function sql_server_info() + { + return 'PostgreSQL ' . $this->pgsql_version; + } + + /** * sql transaction */ Index: mysql4.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/mysql4.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** mysql4.php 6 Aug 2007 20:07:04 -0000 1.8 --- mysql4.php 15 Jan 2008 17:47:58 -0000 1.9 *************** *** 61,64 **** --- 61,72 ---- /** + * Version information about used database + */ + function sql_server_info() + { + return 'MySQL ' . $this->mysql_version; + } + + /** * sql transaction */ Index: firebird.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/firebird.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** firebird.php 6 Aug 2007 20:07:04 -0000 1.8 --- firebird.php 15 Jan 2008 17:47:57 -0000 1.9 *************** *** 52,55 **** --- 52,72 ---- /** + * Connect to server + */ + function sql_connect($sqlserver, $sqluser, $sqlpassword, $database, $port = false, $persistency = false, $new_link = false) + { + $this->persistency = $persistency; + $this->user = $sqluser; + $this->server = $sqlserver . (($port) ? ':' . $port : ''); + $this->dbname = $database; + + $this->db_connect_id = ($this->persistency) ? @ibase_pconnect($this->server . ':' . $this->dbname, $this->user, $sqlpassword, false, false, 3) : @ibase_connect($this->server . ':' . $this->dbname, $this->user, $sqlpassword, false, false, 3); + + $this->service_handle = (function_exists('ibase_service_attach')) ? @ibase_service_attach($this->server, $this->user, $sqlpassword) : false; + + return ($this->db_connect_id) ? $this->db_connect_id : $this->sql_error(''); + } + + /** * sql transaction */ Index: mssql.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/mssql.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** mssql.php 6 Aug 2007 20:07:04 -0000 1.8 --- mssql.php 15 Jan 2008 17:47:57 -0000 1.9 *************** *** 59,62 **** --- 59,84 ---- /** + * Version information about used database + */ + function sql_server_info() + { + $result_id = @mssql_query("SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY('productlevel'), SERVERPROPERTY('edition')", $this->db_connect_id); + + $row = false; + if ($result_id) + { + $row = @mssql_fetch_assoc($result_id); + @mssql_free_result($result_id); + } + + if ($row) + { + return 'MSSQL<br />' . implode(' ', $row); + } + + return 'MSSQL'; + } + + /** * sql transaction */ Index: mysql.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/mysql.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** mysql.php 6 Aug 2007 20:07:04 -0000 1.8 --- mysql.php 15 Jan 2008 17:47:58 -0000 1.9 *************** *** 59,62 **** --- 59,70 ---- /** + * Version information about used database + */ + function sql_server_info() + { + return 'MySQL ' . $this->mysql_version; + } + + /** * sql transaction */ Index: oracle.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/oracle.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** oracle.php 6 Aug 2007 20:07:05 -0000 1.8 --- oracle.php 15 Jan 2008 17:47:58 -0000 1.9 *************** *** 51,54 **** --- 51,62 ---- /** + * Version information about used database + */ + function sql_server_info() + { + return @ociserverversion($this->db_connect_id); + } + + /** * sql transaction */ Index: mssql_odbc.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/db/mssql_odbc.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** mssql_odbc.php 6 Aug 2007 20:07:04 -0000 1.8 --- mssql_odbc.php 15 Jan 2008 17:47:58 -0000 1.9 *************** *** 53,56 **** --- 53,78 ---- /** + * Version information about used database + */ + function sql_server_info() + { + $result_id = @odbc_exec($this->db_connect_id, "SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY('productlevel'), SERVERPROPERTY('edition')"); + + $row = false; + if ($result_id) + { + $row = @odbc_fetch_array($result_id); + @odbc_free_result($result_id); + } + + if ($row) + { + return 'MSSQL (ODBC)<br />' . implode(' ', $row); + } + + return 'MSSQL (ODBC)'; + } + + /** * sql transaction */ |
|
From: OryNider <ory...@us...> - 2008-01-15 17:09:54
|
Update of /cvsroot/mxbb/core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv1861 Modified Files: common.php Log Message: STRIP added Index: common.php =================================================================== RCS file: /cvsroot/mxbb/core/common.php,v retrieving revision 1.71 retrieving revision 1.72 diff -C2 -d -r1.71 -r1.72 *** common.php 20 Dec 2007 13:10:05 -0000 1.71 --- common.php 15 Jan 2008 17:09:49 -0000 1.72 *************** *** 27,30 **** --- 27,31 ---- //define( 'DEBUG_EXTRA', 1 ); // [Admin Option] Show memory usage. Show link to full SQL debug report in footer. Beware, this makes the page slow to load. For debugging only. //error_reporting(E_ALL); + //ini_set( 'display_errors', '1' ); error_reporting (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables include($mx_root_path . 'modules/mx_shared/ErrorHandler/prepend.php'); // For nice error output *************** *** 171,174 **** --- 172,196 ---- } + // If we are on PHP >= 6.0.0 we do not need some code + if (version_compare(PHP_VERSION, '6.0.0-dev', '>=')) + { + /** + * @ignore + */ + define('STRIP', false); + } + else + { + set_magic_quotes_runtime(0); + + // Be paranoid with passed vars + if (@ini_get('register_globals') == '1' || strtolower(@ini_get('register_globals')) == 'on' || !function_exists('ini_get')) + { + deregister_globals(); + } + + define('STRIP', (get_magic_quotes_gpc()) ? true : false); + } + // // Define some basic configuration arrays this also prevents |
|
From: OryNider <ory...@us...> - 2008-01-15 17:09:17
|
Update of /cvsroot/mxbb/core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv1753 Modified Files: Tag: core28x common.php Log Message: STRIP added Index: common.php =================================================================== RCS file: /cvsroot/mxbb/core/common.php,v retrieving revision 1.67.2.2 retrieving revision 1.67.2.3 diff -C2 -d -r1.67.2.2 -r1.67.2.3 *** common.php 11 Jan 2008 06:29:05 -0000 1.67.2.2 --- common.php 15 Jan 2008 17:09:08 -0000 1.67.2.3 *************** *** 169,172 **** --- 169,193 ---- } + // If we are on PHP >= 6.0.0 we do not need some code + if (version_compare(PHP_VERSION, '6.0.0-dev', '>=')) + { + /** + * @ignore + */ + define('STRIP', false); + } + else + { + set_magic_quotes_runtime(0); + + // Be paranoid with passed vars + if (@ini_get('register_globals') == '1' || strtolower(@ini_get('register_globals')) == 'on' || !function_exists('ini_get')) + { + deregister_globals(); + } + + define('STRIP', (get_magic_quotes_gpc()) ? true : false); + } + // // Define some basic configuration arrays this also prevents |
|
From: OryNider <ory...@us...> - 2008-01-15 12:39:56
|
Update of /cvsroot/mxbb/core/includes/shared/phpbb3/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv571 Modified Files: functions_module.php Log Message: big bugg =))))))))))))))))))) Index: functions_module.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/shared/phpbb3/includes/functions_module.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** functions_module.php 13 Jan 2008 12:09:21 -0000 1.1 --- functions_module.php 15 Jan 2008 12:39:46 -0000 1.2 *************** *** 407,411 **** global $mx_root_path, $phpbb_root_path, $phpbb_admin_path, $phpEx, $mx_user; ! $module_path = $mx_root_path, $phpbb_root_path . 'includes/' . $this->p_class; $icat = request_var('icat', ''); --- 407,411 ---- global $mx_root_path, $phpbb_root_path, $phpbb_admin_path, $phpEx, $mx_user; ! $module_path = $phpbb_root_path . 'includes/' . $this->p_class; $icat = request_var('icat', ''); *************** *** 461,465 **** else { ! $this->module->u_action = $mx_root_path, $phpbb_root_path . (($mx_user->page['page_dir']) ? $mx_user->page['page_dir'] . '/' : '') . $mx_user->page['page_name']; } --- 461,465 ---- else { ! $this->module->u_action = $phpbb_root_path . (($mx_user->page['page_dir']) ? $mx_user->page['page_dir'] . '/' : '') . $mx_user->page['page_name']; } |
|
From: OryNider <ory...@us...> - 2008-01-15 12:32:31
|
Update of /cvsroot/mxbb/core/includes/shared/phpbb3/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29700 Modified Files: functions_hook.php Log Message: Index: functions_hook.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/shared/phpbb3/includes/functions_hook.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** functions_hook.php 15 Jan 2008 12:29:05 -0000 1.1 --- functions_hook.php 15 Jan 2008 12:32:27 -0000 1.2 *************** *** 18,33 **** //include_once( $phpbb_root_path . 'adm/index.'. $phpEx); class phpbb3_hook { ! var $main_part = ''; var $current_tab = ''; ! ! function phpbb3() { ! } ! function hook( $part, $curr_tab = '', $mode = '') { --- 18,197 ---- //include_once( $phpbb_root_path . 'adm/index.'. $phpEx); + include_once( $mx_root_path . 'includes/shared/phpbb3/includes/functions.' . $phpEx ); + include_once( $mx_root_path . 'includes/shared/phpbb3/includes/functions_module.' . $phpEx ); + include_once( $mx_root_path . 'includes/sessions/phpbb3/auth.'.$phpEx); + include_once( $mx_root_path . 'includes/sessions/phpbb3/session.'. $phpEx); + + if ( !function_exists( 'function phpbb_user_session_handler')) + { + function phpbb_user_session_handler() + { + global $phpbb_hook; + + if (!empty($phpbb_hook) && $phpbb_hook->call_hook(__FUNCTION__)) + { + if ($phpbb_hook->hook_return(__FUNCTION__)) + { + return $phpbb_hook->hook_return_result(__FUNCTION__); + } + } + + return; + } + } + + if ( !function_exists( 'request_var')) + { + function request_var( $p1, $p2 = '', $p3 = false, $p4=false) + { + global $mx_request_vars; + return $mx_request_vars->request( $p1, $p2, $p3, $p4); + } + } + if ( !function_exists( 'append_sid')) + { + function append_sid( $url) + { + return mx_append_sid( $url); + } + } + + if ( !function_exists( 'adm_page_header')) + { + function adm_page_header($page_title) + { + global $config, $db, $user, $template; + global $phpbb_root_path, $phpbb_admin_path, $phpEx, $SID, $_SID; + + if (defined('HEADER_INC')) + { + return; + } + + define('HEADER_INC', true); + + // gzip_compression + if ($config['gzip_compress']) + { + if (@extension_loaded('zlib') && !headers_sent()) + { + ob_start('ob_gzhandler'); + } + } + + $template->assign_vars(array( + 'PAGE_TITLE' => $page_title, + 'USERNAME' => $user->data['username'], + + 'SID' => $SID, + '_SID' => $_SID, + 'SESSION_ID' => $user->session_id, + 'ROOT_PATH' => $phpbb_admin_path, + + 'U_LOGOUT' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'mode=logout'), + 'U_ADM_INDEX' => append_sid("{$phpbb_admin_path}index.$phpEx"), + 'U_INDEX' => append_sid("{$phpbb_root_path}index.$phpEx"), + + 'T_IMAGES_PATH' => "{$phpbb_root_path}images/", + 'T_SMILIES_PATH' => "{$phpbb_root_path}{$config['smilies_path']}/", + 'T_AVATAR_PATH' => "{$phpbb_root_path}{$config['avatar_path']}/", + 'T_AVATAR_GALLERY_PATH' => "{$phpbb_root_path}{$config['avatar_gallery_path']}/", + 'T_ICONS_PATH' => "{$phpbb_root_path}{$config['icons_path']}/", + 'T_RANKS_PATH' => "{$phpbb_root_path}{$config['ranks_path']}/", + 'T_UPLOAD_PATH' => "{$phpbb_root_path}{$config['upload_path']}/", + + 'ICON_MOVE_UP' => '<img src="' . $phpbb_admin_path . 'images/icon_up.gif" alt="' . $user->lang['MOVE_UP'] . '" title="' . $user->lang['MOVE_UP'] . '" />', + 'ICON_MOVE_UP_DISABLED' => '<img src="' . $phpbb_admin_path . 'images/icon_up_disabled.gif" alt="' . $user->lang['MOVE_UP'] . '" title="' . $user->lang['MOVE_UP'] . '" />', + 'ICON_MOVE_DOWN' => '<img src="' . $phpbb_admin_path . 'images/icon_down.gif" alt="' . $user->lang['MOVE_DOWN'] . '" title="' . $user->lang['MOVE_DOWN'] . '" />', + 'ICON_MOVE_DOWN_DISABLED' => '<img src="' . $phpbb_admin_path . 'images/icon_down_disabled.gif" alt="' . $user->lang['MOVE_DOWN'] . '" title="' . $user->lang['MOVE_DOWN'] . '" />', + 'ICON_EDIT' => '<img src="' . $phpbb_admin_path . 'images/icon_edit.gif" alt="' . $user->lang['EDIT'] . '" title="' . $user->lang['EDIT'] . '" />', + 'ICON_EDIT_DISABLED' => '<img src="' . $phpbb_admin_path . 'images/icon_edit_disabled.gif" alt="' . $user->lang['EDIT'] . '" title="' . $user->lang['EDIT'] . '" />', + 'ICON_DELETE' => '<img src="' . $phpbb_admin_path . 'images/icon_delete.gif" alt="' . $user->lang['DELETE'] . '" title="' . $user->lang['DELETE'] . '" />', + 'ICON_DELETE_DISABLED' => '<img src="' . $phpbb_admin_path . 'images/icon_delete_disabled.gif" alt="' . $user->lang['DELETE'] . '" title="' . $user->lang['DELETE'] . '" />', + 'ICON_SYNC' => '<img src="' . $phpbb_admin_path . 'images/icon_sync.gif" alt="' . $user->lang['RESYNC'] . '" title="' . $user->lang['RESYNC'] . '" />', + 'ICON_SYNC_DISABLED' => '<img src="' . $phpbb_admin_path . 'images/icon_sync_disabled.gif" alt="' . $user->lang['RESYNC'] . '" title="' . $user->lang['RESYNC'] . '" />', + + 'S_USER_LANG' => $user->lang['USER_LANG'], + 'S_CONTENT_DIRECTION' => $user->lang['DIRECTION'], + 'S_CONTENT_ENCODING' => 'UTF-8', + 'S_CONTENT_FLOW_BEGIN' => ($user->lang['DIRECTION'] == 'ltr') ? 'left' : 'right', + 'S_CONTENT_FLOW_END' => ($user->lang['DIRECTION'] == 'ltr') ? 'right' : 'left', + )); + + // application/xhtml+xml not used because of IE + header('Content-type: text/html; charset=UTF-8'); + + header('Cache-Control: private, no-cache="set-cookie"'); + header('Expires: 0'); + header('Pragma: no-cache'); + + return; + } + } + + if ( !function_exists( 'adm_page_footer')) + { + function adm_page_footer($copyright_html = true) + { + global $db, $config, $template, $user, $auth, $cache; + global $starttime, $phpbb_root_path, $phpbb_admin_path, $phpEx; + + // Output page creation time + if (defined('DEBUG')) + { + $mtime = explode(' ', microtime()); + $totaltime = $mtime[0] + $mtime[1] - $starttime; + + if (!empty($_REQUEST['explain']) && $auth->acl_get('a_') && defined('DEBUG_EXTRA') && method_exists($db, 'sql_report')) + { + $db->sql_report('display'); + } + + $debug_output = sprintf('Time : %.3fs | ' . $db->sql_num_queries() . ' Queries | GZIP : ' . (($config['gzip_compress']) ? 'On' : 'Off') . (($user->load) ? ' | Load : ' . $user->load : ''), $totaltime); + + if ($auth->acl_get('a_') && defined('DEBUG_EXTRA')) + { + if (function_exists('memory_get_usage')) + { + if ($memory_usage = memory_get_usage()) + { + global $base_memory_usage; + $memory_usage -= $base_memory_usage; + $memory_usage = ($memory_usage >= 1048576) ? round((round($memory_usage / 1048576 * 100) / 100), 2) . ' ' . $user->lang['MB'] : (($memory_usage >= 1024) ? round((round($memory_usage / 1024 * 100) / 100), 2) . ' ' . $user->lang['KB'] : $memory_usage . ' ' . $user->lang['BYTES']); + + $debug_output .= ' | Memory Usage: ' . $memory_usage; + } + } + + $debug_output .= ' | <a href="' . build_url() . '&explain=1">Explain</a>'; + } + } + + $template->assign_vars(array( + 'DEBUG_OUTPUT' => (defined('DEBUG')) ? $debug_output : '', + 'TRANSLATION_INFO' => (!empty($user->lang['TRANSLATION_INFO'])) ? $user->lang['TRANSLATION_INFO'] : '', + 'S_COPYRIGHT_HTML' => $copyright_html, + 'VERSION' => $config['version']) + ); + + $template->pparse('body'); + + //garbage_collection(); + //exit_handler(); + } + } + class phpbb3_hook { ! var $main_part = ''; var $current_tab = ''; ! ! function phpbb3_hook() { ! } ! function hook( $part, $curr_tab = '', $mode = '') { *************** *** 38,42 **** case 'admin': $this->main_part = $part; ! //print_r( $mx_user);die(); //include_once( $mx_user->lang_path . 'acp/common.'.$phpEx); --- 202,206 ---- case 'admin': $this->main_part = $part; ! //print_r( $mx_user);die(); //include_once( $mx_user->lang_path . 'acp/common.'.$phpEx); *************** *** 62,79 **** } } ! function admin_menu( $part) { if ( $this->main_part != 'admin') { ! return false; } ! global $db, $lang, $template, $mx_user, $phpEx; ! $sql = "SELECT m1.module_langname AS m1_langname, m2.module_langname AS m2_langname, m2.module_basename AS m2_basename, m2.module_mode AS m2_mode ! FROM " . MODULES_TABLE . " AS m1 RIGHT OUTER JOIN phpbb3_modules AS m2 ON m1.module_id = m2.parent_id AND m2.module_enabled = 1 AND m2.module_display = 1 ! WHERE m1.parent_id = '$part' AND m1.module_class = 'acp' ! ORDER BY m1.left_id "; if( !( $rs=$db->sql_query( $sql))) --- 226,243 ---- } } ! function admin_menu( $part) { if ( $this->main_part != 'admin') { ! return false; } ! global $db, $lang, $template, $mx_user, $phpEx; ! $sql = "SELECT m1.module_langname AS m1_langname, m2.module_langname AS m2_langname, m2.module_basename AS m2_basename, m2.module_mode AS m2_mode ! FROM " . MODULES_TABLE . " AS m1 RIGHT OUTER JOIN phpbb3_modules AS m2 ON m1.module_id = m2.parent_id AND m2.module_enabled = 1 AND m2.module_display = 1 ! WHERE m1.parent_id = '$part' AND m1.module_class = 'acp' ! ORDER BY m1.left_id "; if( !( $rs=$db->sql_query( $sql))) *************** *** 81,88 **** mx_message_die( GENERAL_ERROR, 'Could not obtain menu data form phpbb3 modules', 'Error', __LINE__, __FILE__, $sql); } ! $header= ''; $menu_ary = array(); ! while( $row = $db->sql_fetchrow( $rs) ) { --- 245,252 ---- mx_message_die( GENERAL_ERROR, 'Could not obtain menu data form phpbb3 modules', 'Error', __LINE__, __FILE__, $sql); } ! $header= ''; $menu_ary = array(); ! while( $row = $db->sql_fetchrow( $rs) ) { *************** *** 94,101 **** $menu_ary[$header][$row['m2_langname']] = $row['m2_basename'] ; } ! return $menu_ary; } ! function admin_tabs( $curr_tab) { --- 258,265 ---- $menu_ary[$header][$row['m2_langname']] = $row['m2_basename'] ; } ! return $menu_ary; } ! function admin_tabs( $curr_tab) { *************** *** 104,125 **** return false; } ! global $db, $lang, $template, $mx_user, $phpEx; ! $this->current_tab = $curr_tab; ! $sql = "SELECT m1.*, count(m2.module_id) AS subcount ! FROM " . MODULES_TABLE . " AS m1 LEFT OUTER JOIN phpbb3_modules AS m2 ON m1.module_id = m2.parent_id AND m2.module_enabled = 1 AND m2.module_display = 1 ! WHERE m1.parent_id =0 AND m1.module_class = 'acp' ! GROUP BY m1.module_id ! HAVING count(m2.module_id) > 0 ! ORDER BY m1.left_id "; ! if ( !($rs = $db->sql_query( $sql)) ) { mx_message_die( GENERAL_ERROR, 'Could not obtain data form phpbb3 modules', 'Error', __LINE__, __FILE__, $sql); ! } $return_category = ''; while ( $row = $db->sql_fetchrow( $rs)) --- 268,289 ---- return false; } ! global $db, $lang, $template, $mx_user, $phpEx; ! $this->current_tab = $curr_tab; ! $sql = "SELECT m1.*, count(m2.module_id) AS subcount ! FROM " . MODULES_TABLE . " AS m1 LEFT OUTER JOIN phpbb3_modules AS m2 ON m1.module_id = m2.parent_id AND m2.module_enabled = 1 AND m2.module_display = 1 ! WHERE m1.parent_id =0 AND m1.module_class = 'acp' ! GROUP BY m1.module_id ! HAVING count(m2.module_id) > 0 ! ORDER BY m1.left_id "; ! if ( !($rs = $db->sql_query( $sql)) ) { mx_message_die( GENERAL_ERROR, 'Could not obtain data form phpbb3 modules', 'Error', __LINE__, __FILE__, $sql); ! } $return_category = ''; while ( $row = $db->sql_fetchrow( $rs)) *************** *** 134,149 **** 'PARAMS' => '&i=' . $row['module_id'], 'L_MX_PHPBB' => (isset( $mx_user->lang[$row['module_langname']])?$mx_user->lang[$row['module_langname']]:$row['module_langname']), ! )); } ! return $return_category; ! } function admin_panel( $acp_panel, $mode = '') { $phpbb_admin_html = "<h1>In Progress</h1><p>Still not done.</p>"; ! $phpbb_admin_html .= "<p>ACP Panel: <strong>$acp_panel</strong></p>"; return $phpbb_admin_html; } --- 298,353 ---- 'PARAMS' => '&i=' . $row['module_id'], 'L_MX_PHPBB' => (isset( $mx_user->lang[$row['module_langname']])?$mx_user->lang[$row['module_langname']]:$row['module_langname']), ! )); } ! return $return_category; ! } function admin_panel( $acp_panel, $mode = '') { + global $phpbb_root_path, $phpbb_admin_path, $phpEx, $user, $mx_user, $mx_cache, $cache, $template; $phpbb_admin_html = "<h1>In Progress</h1><p>Still not done.</p>"; ! $phpbb_admin_html .= "<p>ACP Panel: <strong>$acp_panel</strong></p>"; + include_once( $phpbb_root_path . 'includes/acp/acp_' . $acp_panel . '.'. $phpEx); + $cache = $mx_cache; + $user = new user(); + $auth = new phpbb_auth_base(); + $user->session_begin(); + $auth->acl($user->data); + $user->setup('acp/common'); + //$phpbb_admin_path = (defined('PHPBB_ADMIN_PATH')) ? PHPBB_ADMIN_PATH : 'adm/'; + $module_id = $acp_panel; + + $user->theme['template_storedb'] = false; + //$template->set_custom_template($phpbb_admin_path . 'style', 'admin'); + $module = new p_master(); + + // Instantiate new module + $module = new p_master(); + + // Instantiate module system and generate list of available modules + $module->list_modules('acp'); + $module->p_name = $acp_panel; + // Select the active module + $module->set_active($acp_panel, $mode); + + // Assign data to the template engine for the list of modules + // We do this before loading the active module for correct menu display in trigger_error + $module->assign_tpl_vars(append_sid("{$phpbb_admin_path}index.$phpEx")); + + // Load and execute the relevant module + $module->load_active(); + + ob_start(); + adm_page_header($module->get_page_title()); + $template->set_filenames(array( + 'body' => $phpbb_root_path . 'adm/style/acp_' . $acp_panel . '.html', + )); + adm_page_footer(); + $phpbb_admin_html .= ob_get_contents(); + ob_end_clean(); + return $phpbb_admin_html; } |
|
From: OryNider <ory...@us...> - 2008-01-15 12:29:11
|
Update of /cvsroot/mxbb/core/includes/shared/phpbb3/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27707 Added Files: functions_hook.php Log Message: Culprit Olympus ACP stuff. --- NEW FILE: functions_hook.php --- <?php /** * * @package Functions_phpBB3 * @version $Id: functions_hook.php,v 1.1 2008/01/15 12:29:05 orynider Exp $ * @copyright (c) 2002-2006 mxBB Project Team * @license http://opensource.org/licenses/gpl-license.php GNU General Public License v2 * @link http://www.mxbb.net * */ if ( !defined( 'IN_PORTAL' ) ) { die( "Hacking attempt" ); } //error_reporting( E_ALL | !E_NOTICE); //include_once( $phpbb_root_path . 'adm/index.'. $phpEx); class phpbb3_hook { var $main_part = ''; var $current_tab = ''; function phpbb3() { } function hook( $part, $curr_tab = '', $mode = '') { global $lang, $mx_user, $phpEx; switch( $part) { case 'forum': case 'admin': $this->main_part = $part; //print_r( $mx_user);die(); //include_once( $mx_user->lang_path . 'acp/common.'.$phpEx); break; case 'tabs': if ( $this->main_part == 'admin') { return $this->admin_tabs( $curr_tab); } break; case 'menu': if( $this->main_part == 'admin') { return $this->admin_menu( $curr_tab); } break; case 'panel': if ( $this->main_part == 'admin') { return $this->admin_panel( $curr_tab, $mode); } break; } } function admin_menu( $part) { if ( $this->main_part != 'admin') { return false; } global $db, $lang, $template, $mx_user, $phpEx; $sql = "SELECT m1.module_langname AS m1_langname, m2.module_langname AS m2_langname, m2.module_basename AS m2_basename, m2.module_mode AS m2_mode FROM " . MODULES_TABLE . " AS m1 RIGHT OUTER JOIN phpbb3_modules AS m2 ON m1.module_id = m2.parent_id AND m2.module_enabled = 1 AND m2.module_display = 1 WHERE m1.parent_id = '$part' AND m1.module_class = 'acp' ORDER BY m1.left_id "; if( !( $rs=$db->sql_query( $sql))) { mx_message_die( GENERAL_ERROR, 'Could not obtain menu data form phpbb3 modules', 'Error', __LINE__, __FILE__, $sql); } $header= ''; $menu_ary = array(); while( $row = $db->sql_fetchrow( $rs) ) { if ( $header != $row['m1_langname']) { $header = $row['m1_langname']; $menu_ary[$header] = array(); } $menu_ary[$header][$row['m2_langname']] = $row['m2_basename'] ; } return $menu_ary; } function admin_tabs( $curr_tab) { if ( $this->main_part != 'admin') { return false; } global $db, $lang, $template, $mx_user, $phpEx; $this->current_tab = $curr_tab; $sql = "SELECT m1.*, count(m2.module_id) AS subcount FROM " . MODULES_TABLE . " AS m1 LEFT OUTER JOIN phpbb3_modules AS m2 ON m1.module_id = m2.parent_id AND m2.module_enabled = 1 AND m2.module_display = 1 WHERE m1.parent_id =0 AND m1.module_class = 'acp' GROUP BY m1.module_id HAVING count(m2.module_id) > 0 ORDER BY m1.left_id "; if ( !($rs = $db->sql_query( $sql)) ) { mx_message_die( GENERAL_ERROR, 'Could not obtain data form phpbb3 modules', 'Error', __LINE__, __FILE__, $sql); } $return_category = ''; while ( $row = $db->sql_fetchrow( $rs)) { if( $row['module_id']==$curr_tab) { $return_category = isset( $lang[$row['module_langname']])?$lang[$row['module_langname']]:$row['module_langname']; } $template->assign_block_vars( 'module_phpbb', array( // 'ACTIVETAB' => $row['module_id']==$curr_tab?' id="activetab"':'', 'CATEGORY' => PORTAL_BACKEND, 'PARAMS' => '&i=' . $row['module_id'], 'L_MX_PHPBB' => (isset( $mx_user->lang[$row['module_langname']])?$mx_user->lang[$row['module_langname']]:$row['module_langname']), )); } return $return_category; } function admin_panel( $acp_panel, $mode = '') { $phpbb_admin_html = "<h1>In Progress</h1><p>Still not done.</p>"; $phpbb_admin_html .= "<p>ACP Panel: <strong>$acp_panel</strong></p>"; return $phpbb_admin_html; } } ?> |
|
From: OryNider <ory...@us...> - 2008-01-15 11:55:10
|
Update of /cvsroot/mxbb/core/install/schemas In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv7678 Modified Files: Tag: core28x mysql_schema_install.sql mysql_schema_upgrade_to_2.8.1.sql Log Message: bug on selven hosting :P Index: mysql_schema_install.sql =================================================================== RCS file: /cvsroot/mxbb/core/install/schemas/mysql_schema_install.sql,v retrieving revision 1.41.2.1 retrieving revision 1.41.2.2 diff -C2 -d -r1.41.2.1 -r1.41.2.2 *** mysql_schema_install.sql 12 Aug 2007 20:48:21 -0000 1.41.2.1 --- mysql_schema_install.sql 15 Jan 2008 11:55:04 -0000 1.41.2.2 *************** *** 412,416 **** `page_desc` varchar(255) default NULL, `page_parent` int(50) default '0', ! `parents_data` text NOT NULL default '', `page_order` smallint(5) default '0', `page_icon` varchar(255) default NULL, --- 412,416 ---- `page_desc` varchar(255) default NULL, `page_parent` int(50) default '0', ! `parents_data` text NOT NULL, `page_order` smallint(5) default '0', `page_icon` varchar(255) default NULL, Index: mysql_schema_upgrade_to_2.8.1.sql =================================================================== RCS file: /cvsroot/mxbb/core/install/schemas/mysql_schema_upgrade_to_2.8.1.sql,v retrieving revision 1.4.2.3 retrieving revision 1.4.2.4 diff -C2 -d -r1.4.2.3 -r1.4.2.4 *** mysql_schema_upgrade_to_2.8.1.sql 12 Sep 2007 19:26:16 -0000 1.4.2.3 --- mysql_schema_upgrade_to_2.8.1.sql 15 Jan 2008 11:55:05 -0000 1.4.2.4 *************** *** 22,26 **** ALTER TABLE mx_table_page ADD page_parent int(50) default '0' AFTER page_desc; ! ALTER TABLE mx_table_page ADD parents_data text NOT NULL default '' AFTER page_parent; ALTER TABLE mx_table_page ADD page_order smallint(5) default '0' AFTER parents_data; --- 22,26 ---- ALTER TABLE mx_table_page ADD page_parent int(50) default '0' AFTER page_desc; ! ALTER TABLE mx_table_page ADD parents_data text NOT NULL AFTER page_parent; ALTER TABLE mx_table_page ADD page_order smallint(5) default '0' AFTER parents_data; |
|
From: OryNider <ory...@us...> - 2008-01-15 11:54:45
|
Update of /cvsroot/mxbb/core/install/schemas In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv7454 Modified Files: mysql_schema_install.sql mysql_schema_upgrade_to_2.8.1.sql Log Message: bug on selven hosting :P Index: mysql_schema_install.sql =================================================================== RCS file: /cvsroot/mxbb/core/install/schemas/mysql_schema_install.sql,v retrieving revision 1.47 retrieving revision 1.48 diff -C2 -d -r1.47 -r1.48 *** mysql_schema_install.sql 15 Dec 2007 23:57:16 -0000 1.47 --- mysql_schema_install.sql 15 Jan 2008 11:54:39 -0000 1.48 *************** *** 418,422 **** `page_desc` varchar(255) default NULL, `page_parent` int(50) default '0', ! `parents_data` text NOT NULL default '', `page_order` smallint(5) default '0', `page_icon` varchar(255) default NULL, --- 418,422 ---- `page_desc` varchar(255) default NULL, `page_parent` int(50) default '0', ! `parents_data` text NOT NULL, `page_order` smallint(5) default '0', `page_icon` varchar(255) default NULL, Index: mysql_schema_upgrade_to_2.8.1.sql =================================================================== RCS file: /cvsroot/mxbb/core/install/schemas/mysql_schema_upgrade_to_2.8.1.sql,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** mysql_schema_upgrade_to_2.8.1.sql 23 Jul 2007 21:36:43 -0000 1.4 --- mysql_schema_upgrade_to_2.8.1.sql 15 Jan 2008 11:54:39 -0000 1.5 *************** *** 22,26 **** ALTER TABLE mx_table_page ADD page_parent int(50) default '0' AFTER page_desc; ! ALTER TABLE mx_table_page ADD parents_data text NOT NULL default '' AFTER page_parent; ALTER TABLE mx_table_page ADD page_order smallint(5) default '0' AFTER parents_data; --- 22,26 ---- ALTER TABLE mx_table_page ADD page_parent int(50) default '0' AFTER page_desc; ! ALTER TABLE mx_table_page ADD parents_data text NOT NULL AFTER page_parent; ALTER TABLE mx_table_page ADD page_order smallint(5) default '0' AFTER parents_data; |
Update of /cvsroot/mxbb/mx_smartor In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29026 Modified Files: Smartor_album.pak album.php album_lists.php db_install.php db_upgrade.php mx_install_readme.htm welcome.php Log Message: Index: mx_install_readme.htm =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/mx_install_readme.htm,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** mx_install_readme.htm 4 Jul 2007 15:49:31 -0000 1.9 --- mx_install_readme.htm 15 Jan 2008 11:02:16 -0000 1.10 *************** *** 1,8 **** ! <html> <head> <title>Mx Portal installation - readme</title> ! <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <!-- link rel="stylesheet" href="templates/subSilver/subSilver.css" type="text/css" --> <style type="text/css"> <!-- /* --- 1,16 ---- ! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ! "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ! <html xmlns="http://www.w3.org/1999/xhtml"> ! <!-- $Id$ --> <head> + <meta name="generator" content= + "HTML Tidy for Windows (vers 19 September 2007), see www.w3.org" /> <title>Mx Portal installation - readme</title> ! <meta http-equiv="Content-Type" content= ! "text/html; charset=us-ascii" /> <!-- link rel="stylesheet" href="templates/subSilver/subSilver.css" type="text/css" --> + <style type="text/css"> + /*<![CDATA[*/ <!-- /* *************** *** 18,29 **** /* General page style. The scroll bar colours only visible in IE5.5+ */ body { ! background-color: #E5E5E5; ! scrollbar-face-color: #DEE3E7; ! scrollbar-highlight-color: #FFFFFF; ! scrollbar-shadow-color: #DEE3E7; ! scrollbar-3dlight-color: #D1D7DC; ! scrollbar-arrow-color: #006699; ! scrollbar-track-color: #EFEFEF; ! scrollbar-darkshadow-color: #98AAB1; } --- 26,37 ---- /* General page style. The scroll bar colours only visible in IE5.5+ */ body { ! background-color: #E5E5E5; ! scrollbar-face-color: #DEE3E7; ! scrollbar-highlight-color: #FFFFFF; ! scrollbar-shadow-color: #DEE3E7; ! scrollbar-3dlight-color: #D1D7DC; ! scrollbar-arrow-color: #006699; ! scrollbar-track-color: #EFEFEF; ! scrollbar-darkshadow-color: #98AAB1; } *************** *** 31,47 **** font, th, td, p { font-family: Verdana, Arial, Helvetica, sans-serif } a:link, a:active, a:visited { color : #006699; } ! a:hover { text-decoration: underline; color : #DD6900; } ! hr { height: 0px; border: solid #D1D7DC 0px; border-top-width: 1px;} /* This is the border line & background colour round the entire page */ ! .bodyline { background-color: #FFFFFF; border: 1px #98AAB1 solid; } /* This is the outline round the main forum tables */ ! .forumline { background-color: #FFFFFF; border: 2px #006699 solid; } /* Main table cell colours and backgrounds */ ! td.row1 { background-color: #EFEFEF; } ! td.row2 { background-color: #DEE3E7; } ! td.row3 { background-color: #D1D7DC; } /* --- 39,55 ---- font, th, td, p { font-family: Verdana, Arial, Helvetica, sans-serif } a:link, a:active, a:visited { color : #006699; } ! a:hover { text-decoration: underline; color : #DD6900; } ! hr { height: 0px; border: solid #D1D7DC 0px; border-top-width: 1px;} /* This is the border line & background colour round the entire page */ ! .bodyline { background-color: #FFFFFF; border: 1px #98AAB1 solid; } /* This is the outline round the main forum tables */ ! .forumline { background-color: #FFFFFF; border: 2px #006699 solid; } /* Main table cell colours and backgrounds */ ! td.row1 { background-color: #EFEFEF; } ! td.row2 { background-color: #DEE3E7; } ! td.row3 { background-color: #D1D7DC; } /* *************** *** 51,69 **** */ td.rowpic { ! background-color: #FFFFFF; ! background-image: url('../../install/templates/subSilver/images/cellpic2.jpg'); ! background-repeat: repeat-y } /* Header cells - the blue and silver gradient backgrounds */ ! th { ! color: #FFA34F; font-size: 11px; font-weight : bold; ! background-color: #006699; height: 25px; ! background-image: url('../../install/templates/subSilver/images/cellpic3.gif'); } td.cat, td.catHead, td.catSides, td.catLeft, td.catRight, td.catBottom { ! background-image: url('../../install/templates/subSilver/images/cellpic1.gif'); ! background-color:#D1D7DC; border: medium solid #FFFFFF; height: 28px } --- 59,77 ---- */ td.rowpic { ! background-color: #FFFFFF; ! background-image: url('../../install/templates/subSilver/images/cellpic2.jpg'); ! background-repeat: repeat-y } /* Header cells - the blue and silver gradient backgrounds */ ! th { ! color: #FFA34F; font-size: 11px; font-weight : bold; ! background-color: #006699; height: 25px; ! background-image: url('../../install/templates/subSilver/images/cellpic3.gif'); } td.cat, td.catHead, td.catSides, td.catLeft, td.catRight, td.catBottom { ! background-image: url('../../install/templates/subSilver/images/cellpic1.gif'); ! background-color:#D1D7DC; border: medium solid #FFFFFF; height: 28px } *************** *** 74,100 **** */ td.cat, td.catHead, td.catBottom { ! height: 29px; ! border-width: 0px 0px 0px 0px; } th.thHead, th.thSides, th.thTop, th.thLeft, th.thRight, th.thBottom, th.thCornerL, th.thCornerR { ! font-weight: bold; border: #FFFFFF; border-style: solid; height: 28px; } td.row3Right, td.spaceRow { ! background-color: #D1D7DC; border: #FFFFFF; border-style: solid; } th.thHead, td.catHead { font-size: 12px; border-width: 1px 1px 0px 1px; } ! th.thSides, td.catSides, td.spaceRow { border-width: 0px 1px 0px 1px; } ! th.thRight, td.catRight, td.row3Right { border-width: 0px 1px 0px 0px; } ! th.thLeft, td.catLeft { border-width: 0px 0px 0px 1px; } th.thBottom, td.catBottom { border-width: 0px 1px 1px 1px; } ! th.thTop { border-width: 1px 0px 0px 0px; } th.thCornerL { border-width: 1px 0px 0px 1px; } th.thCornerR { border-width: 1px 1px 0px 0px; } /* The largest text used in the index page title and toptic title etc. */ ! .maintitle { ! font-weight: bold; font-size: 22px; font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif; ! text-decoration: none; line-height : 120%; color : #000000; } --- 82,108 ---- */ td.cat, td.catHead, td.catBottom { ! height: 29px; ! border-width: 0px 0px 0px 0px; } th.thHead, th.thSides, th.thTop, th.thLeft, th.thRight, th.thBottom, th.thCornerL, th.thCornerR { ! font-weight: bold; border: #FFFFFF; border-style: solid; height: 28px; } td.row3Right, td.spaceRow { ! background-color: #D1D7DC; border: #FFFFFF; border-style: solid; } th.thHead, td.catHead { font-size: 12px; border-width: 1px 1px 0px 1px; } ! th.thSides, td.catSides, td.spaceRow { border-width: 0px 1px 0px 1px; } ! th.thRight, td.catRight, td.row3Right { border-width: 0px 1px 0px 0px; } ! th.thLeft, td.catLeft { border-width: 0px 0px 0px 1px; } th.thBottom, td.catBottom { border-width: 0px 1px 1px 1px; } ! th.thTop { border-width: 1px 0px 0px 0px; } th.thCornerL { border-width: 1px 0px 0px 1px; } th.thCornerR { border-width: 1px 1px 0px 0px; } /* The largest text used in the index page title and toptic title etc. */ ! .maintitle { ! font-weight: bold; font-size: 22px; font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif; ! text-decoration: none; line-height : 120%; color : #000000; } *************** *** 105,145 **** .gen, .genmed, .gensmall { color : #000000; } a.gen, a.genmed, a.gensmall { color: #006699; text-decoration: none; } ! a.gen:hover, a.genmed:hover, a.gensmall:hover { color: #DD6900; text-decoration: underline; } /* The register, login, search etc links at the top of the page */ ! .mainmenu { font-size : 11px; color : #000000 } ! a.mainmenu { text-decoration: none; color : #006699; } a.mainmenu:hover{ text-decoration: underline; color : #DD6900; } /* Forum category titles */ ! .cattitle { font-weight: bold; font-size: 12px ; letter-spacing: 1px; color : #006699} ! a.cattitle { text-decoration: none; color : #006699; } a.cattitle:hover{ text-decoration: underline; } /* Forum title: Text and link to the forums used in: index.php */ ! .forumlink { font-weight: bold; font-size: 12px; color : #006699; } ! a.forumlink { text-decoration: none; color : #006699; } a.forumlink:hover{ text-decoration: underline; color : #DD6900; } /* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */ ! .nav { font-weight: bold; font-size: 11px; color : #000000;} ! a.nav { text-decoration: none; color : #006699; } ! a.nav:hover { text-decoration: underline; } /* titles for the topics: could specify viewed link colour too */ ! .topictitle, h1, h2 { font-weight: bold; font-size: 11px; color : #000000; } a.topictitle:link { text-decoration: none; color : #006699; } a.topictitle:visited { text-decoration: none; color : #5493B4; } ! a.topictitle:hover { text-decoration: underline; color : #DD6900; } /* Name of poster in viewmsg.php and viewtopic.php and other places */ ! .name { font-size : 11px; color : #000000;} /* Location, number of posts, post date etc */ ! .postdetails { font-size : 10px; color : #000000; } /* The content of the posts (body of text) */ .postbody { font-size : 12px; line-height: 18px} ! a.postlink:link { text-decoration: none; color : #006699 } a.postlink:visited { text-decoration: none; color : #5493B4; } a.postlink:hover { text-decoration: underline; color : #DD6900} --- 113,153 ---- .gen, .genmed, .gensmall { color : #000000; } a.gen, a.genmed, a.gensmall { color: #006699; text-decoration: none; } ! a.gen:hover, a.genmed:hover, a.gensmall:hover { color: #DD6900; text-decoration: underline; } /* The register, login, search etc links at the top of the page */ ! .mainmenu { font-size : 11px; color : #000000 } ! a.mainmenu { text-decoration: none; color : #006699; } a.mainmenu:hover{ text-decoration: underline; color : #DD6900; } /* Forum category titles */ ! .cattitle { font-weight: bold; font-size: 12px ; letter-spacing: 1px; color : #006699} ! a.cattitle { text-decoration: none; color : #006699; } a.cattitle:hover{ text-decoration: underline; } /* Forum title: Text and link to the forums used in: index.php */ ! .forumlink { font-weight: bold; font-size: 12px; color : #006699; } ! a.forumlink { text-decoration: none; color : #006699; } a.forumlink:hover{ text-decoration: underline; color : #DD6900; } /* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */ ! .nav { font-weight: bold; font-size: 11px; color : #000000;} ! a.nav { text-decoration: none; color : #006699; } ! a.nav:hover { text-decoration: underline; } /* titles for the topics: could specify viewed link colour too */ ! .topictitle, h1, h2 { font-weight: bold; font-size: 11px; color : #000000; } a.topictitle:link { text-decoration: none; color : #006699; } a.topictitle:visited { text-decoration: none; color : #5493B4; } ! a.topictitle:hover { text-decoration: underline; color : #DD6900; } /* Name of poster in viewmsg.php and viewtopic.php and other places */ ! .name { font-size : 11px; color : #000000;} /* Location, number of posts, post date etc */ ! .postdetails { font-size : 10px; color : #000000; } /* The content of the posts (body of text) */ .postbody { font-size : 12px; line-height: 18px} ! a.postlink:link { text-decoration: none; color : #006699 } a.postlink:visited { text-decoration: none; color : #5493B4; } a.postlink:hover { text-decoration: underline; color : #DD6900} *************** *** 147,176 **** /* Quote & Code blocks */ .code { ! font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #006600; ! background-color: #FAFAFA; border: #D1D7DC; border-style: solid; ! border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px } .quote { ! font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #444444; line-height: 125%; ! background-color: #FAFAFA; border: #D1D7DC; border-style: solid; ! border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px } /* Copyright and bottom info */ ! .copyright { font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #444444; letter-spacing: -1px;} ! a.copyright { color: #444444; text-decoration: none;} a.copyright:hover { color: #000000; text-decoration: underline;} /* Form elements */ input, textarea, select { ! color : #000000; ! font: normal 11px Verdana, Arial, Helvetica, sans-serif; ! border-color : #000000; } /* The text input fields background colour */ input.post, textarea.post, select { ! background-color : #FFFFFF; } --- 155,184 ---- /* Quote & Code blocks */ .code { ! font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #006600; ! background-color: #FAFAFA; border: #D1D7DC; border-style: solid; ! border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px } .quote { ! font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #444444; line-height: 125%; ! background-color: #FAFAFA; border: #D1D7DC; border-style: solid; ! border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px } /* Copyright and bottom info */ ! .copyright { font-size: 10px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #444444; letter-spacing: -1px;} ! a.copyright { color: #444444; text-decoration: none;} a.copyright:hover { color: #000000; text-decoration: underline;} /* Form elements */ input, textarea, select { ! color : #000000; ! font: normal 11px Verdana, Arial, Helvetica, sans-serif; ! border-color : #000000; } /* The text input fields background colour */ input.post, textarea.post, select { ! background-color : #FFFFFF; } *************** *** 179,197 **** /* The buttons used for bbCode styling in message post */ input.button { ! background-color : #EFEFEF; ! color : #000000; ! font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif; } /* The main submit button option */ input.mainoption { ! background-color : #FAFAFA; ! font-weight : bold; } /* None-bold submit button */ input.liteoption { ! background-color : #FAFAFA; ! font-weight : normal; } --- 187,205 ---- /* The buttons used for bbCode styling in message post */ input.button { ! background-color : #EFEFEF; ! color : #000000; ! font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif; } /* The main submit button option */ input.mainoption { ! background-color : #FAFAFA; ! font-weight : bold; } /* None-bold submit button */ input.liteoption { ! background-color : #FAFAFA; ! font-weight : normal; } *************** *** 205,375 **** @import url("../../phpBB2/templates/subSilver/formIE.css"); --> </style> <script language="Javascript" type="text/javascript"> <!-- ! if ( 0 ) ! { ! window.open('privmsg.php?mode=newpm', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');; ! } //--> </script> </head> - <body bgcolor="#FFFFFF" text="#000000"> <table> ! <tr> ! <td colspan="2"><p><b><font style="font-size: 9pt">MX Module - Smartor Album ! FAP (Full Album Pack)<br> ! v. 2.0 RC 1</font></b></p> ! <p><span style="font-size: 9pt; line-height: normal; font-weight:bold">Module</span><span style="font-size: 9pt"> ! <br /> ! - for Mx Portal v. 2.8.0</span></p> ! <p><strong><span style="font-size: 9pt">Author</span></strong><span style="font-size: 9pt"><br /> ! Haplo, Smartor, Clown, Mighty Gorgon, OryNider (mxBB-Development Team)<br /> ! <br /> ! <span style="font-weight: bold">Description</span> <br /> ! This MODULE adds a full Album system, based on several MODS.<br> ! In Author Notes you can find more informations about the included MODS.<br> ! Some modifications on the original MODS have been applied to make this ! package more integrated, flexible and multilanguage.<br> ! </span></p> ! <p style="margin-top: 0; margin-bottom: 0"><strong> ! <span style="font-size: 9pt">Features</span></strong><span style="font-size: 9pt"> <br /> ! Picture SlideShow, Album, Image Archive Download, Nuffimage.</span></p> ! <p style="margin-top: 0; margin-bottom: 0"> </p> ! <p style="margin-top: 0; margin-bottom: 0"> ! <span style="font-size: 9pt; font-weight: 700">Beta/Comming Features</span></p> ! <p style="margin-top: 0; margin-bottom: 0"><span style="font-size: 9pt"> ! On The Fly Gallery, Multiple Uploads, Image ! Rotate/Resizing, Folders Upload Via FTP and many others...</span></p> ! <p> <span style="font-size: 9pt"> <br /> ! I. <a href="#install">Installation instructions</a> <br /> ! <br /> ! II. <a href="#themes">Additional styles</a> <br /> ! <br /> ! III. <a href="#languages">Additional languages</a><br /> ! <br /> ! <a href="http://www.mx-system.com" target="_blank" class="postlink">DEMO ! </a> <br /> ! <br /> ! <a href="http://www.mx-system.com/index.php?page=4" target="_blank" class="postlink"> ! DOWNLOAD </a> <br /> ! <br /><a name="install"> ! <br /> ! <span style="font-weight: bold">I. Installation Instructions</span> <br /> ! To install this module, follow these instructions. If you encounter any ! problems during install, visit the ! <a target="_blank" class="postlink" href="http://www.mx-system.com/forum/viewforum.php?f=55">module support forum</a>. ! </span> </p> ! <p><span style="font-size: 9pt">All install notes are maintained at www.mx-system.com, <a href="http://www.mx-system.com/forum/viewforum.php?f=11">here</a>.<br> ! <br> ! To summarize:<br> ! If installing from scratch, use import module in the AdminCP.<br> ! If upgrading, use the upgrade option in the AdminCP<br> ! If uninstalling, use the delete feature in the AdminCP</span></p> ! <p><span style="font-size: 9pt">Note: If upgrading, do NOT delete module prior to upgrading, or else ! you'll lose all module data!</span></p> ! <p style="margin-top: 0; margin-bottom: 0"><span style="font-size: 9pt">Special note IF UPGRADING:<br> ! 1) Delete all old files, BUT NOT THE UPLOAD FOLDER.<br> ! 2) If your version was MX prior MX ALBUM you must 'install' the smartor album, since this album ! is very much altered compared to the old one. But the install script 'feels' ! the old album and fetches all image data, so nothing will be lost :-)</span></p> ! <p style="margin-top: 0; margin-bottom: 0"><span style="font-size: 9pt">If ! your version was mx_smartor 1.0 - 1.2 you can 'upgrade' the smartor album.</span></p> ! <p style="margin-top: 0; margin-bottom: 0"> </p> ! <p style="margin-top: 0; margin-bottom: 0"><span style="font-size: 9pt">Special note for ! mx_smartor album:<br> ! # CHMOD 777 upload<br> ! # CHMOD 777 upload/cache<br> ! # CHMOD 777 upload/jupload<br> ! # CHMOD 777 upload/med_cache<br> ! # CHMOD 777 upload/wm_cache<br> ! # CHMOD 777 upload/otf<br> ! <br /> ! <b>LightBox Preview</b> ! <br /><span class="largetext">Description: ! <span style="font-style: italic"> ! This feature will show a LightBox with picture preview when moving the mouse over a thumbnail. ! </span> ! <br /> ! <br /> ! To Enable LightBox Preview: <br /> ! <br /> ! 1. ! <span style="text-decoration: underline"> ! Open ! </span> ! : overall_header.tpl <br /> ! <br /> ! ! <span style="text-decoration: underline"> ! Find ! </span> ! : <br /> ! <br /> ! ! <blockquote> ! <span class="smalltext">code:</span> ! <hr><font face="Courier"><script language="javascript" type="text/javascript" src="{U_PORTAL_ROOT_PATH}modules/mx_shared/lib/Toggle.js"></script> </font> ! <hr> ! <br> ! </blockquote> ! <br /> ! <br /> ! ! <span style="text-decoration: underline"> ! Add After ! </span> ! : <br /> ! <br /> - - <blockquote> - <span class="smalltext">code:</span> - <hr><font face="Courier"><script language="javascript" type="text/javascript" src="{U_PORTAL_ROOT_PATH}modules/mx_smartor/album_mod/fap_loader.js"></script> - </font> - <hr> - <br> - </blockquote> - <br /> ! <br /> ! 2. Enable LightBox Preview in Administration Pannel.</span><span class="smalltext"></span> ! <a href="#top"> Back to Top</a> <br /> ! <br /><a name="themes"> ! <br /> ! <span style="font-weight: bold">II. Additional Styles</span> <br /> ! This module is compatible with any theme/style. <br /> ! <br /> ! <a href="#top"> Back to Top</a> <br /> ! <br /><a name="languages"> ! <br /> ! <span style="font-weight: bold">III. Additional Languages</span> <br /> ! First check to see if your language is already translated. <br /> ! <br /> ! Translated languages are downloaded <a href="http://www.mx-system.com/index.php?page=4&action=category&cat_id=5" target="_blank" class="postlink"> ! here</a>. <br /> ! <br /> ! If exists, download and install in the modules/mx_modulename/language ! folder. If not, duplicate (copy and paste) any included language file, ! rename to match your language, translate using any texteditor, save and ! upload. <br /><br /> ! <a href="#top"> Back to Top</a> </span> </p> ! <p> <span style="font-size: 9pt">/mxBB-Development Team</span></p> ! </td> </tr> </table> </body> ! </html> \ No newline at end of file --- 213,376 ---- @import url("../../phpBB2/templates/subSilver/formIE.css"); --> + /*]]>*/ </style> + <script language="Javascript" type="text/javascript"> + //<![CDATA[ <!-- ! if ( 0 ) ! { ! window.open('privmsg.php?mode=newpm', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');; ! } //--> + //]]> </script> </head> <body bgcolor="#FFFFFF" text="#000000"> <table> ! <tr> ! <td colspan="2"> ! <p><b>MX Module - Smartor Album FAP (Full Album Pack)<font style= ! "font-size: 9pt"><br /> ! v. 2.0</font></b></p> ! <p><span style= ! "font-size: 9pt; line-height: normal; font-weight:bold">Module</span> ! <span style="font-size: 9pt"><br /> ! - for mxBB Portal v. 2.8.1</span></p> ! <p><strong><span style= ! "font-size: 9pt">Author</span></strong><span style= ! "font-size: 9pt"><br /> ! Haplo, Smartor, Clown, Mighty Gorgon, OryNider (mxBB-Development ! Team)<br /> <br /> ! <span style="font-weight: bold">Description</span><br /> ! This MODULE adds a full Album system, based on several MODS.<br /> ! In Author Notes you can find more informations about the included ! MODS.<br /> ! Some modifications on the original MODS have been applied to make ! this package more integrated,  flexible and ! multilanguage.<br /> !  </span></p> ! <p style="margin-top: 0; margin-bottom: 0"><strong><span style= ! "font-size: 9pt">Features</span></strong> <span style= ! "font-size: 9pt"><br /> ! Picture SlideShow, Album, Image Archive Download, Nuffimage, On The ! Fly Gallery, Multiple Uploads, Image Rotate/Resizing, Folders ! Upload Via FTP and many others...</span></p> ! <p><span style="font-size: 9pt"><br /> ! I. <a href="#install">Installation instructions</a><br /> <br /> ! II. <a href="#themes">Additional styles</a><br /> <br /> ! III. <a href="#languages">Additional languages</a><br /> <br /> ! <a href="http://www.mx-system.com" target="_blank" class= ! "postlink">DEMO</a><br /> <br /> ! <a href="http://www.mx-system.com/index.php?page=4" target="_blank" ! class="postlink">DOWNLOAD</a><br /> <br /> ! <a name="install" id="install"><br /> ! <span style="font-weight: bold">I. Installation ! Instructions</span><br /> ! To install this module, follow these instructions. If you encounter ! any problems during install, visit the</a> <a target="_blank" ! class="postlink" href= ! "http://www.mx-system.com/forum/viewforum.php?f=55">module support ! forum</a>.</span></p> ! <p><span style="font-size: 9pt"><span style="font-size: 9pt">All ! install notes are maintained at www.mx-system.com, <a href= ! "http://www.mx-system.com/forum/viewforum.php?f=11">here</a>.<br /> <br /> ! To summarize:<br /> ! If installing from scratch, use import module in the AdminCP.<br /> ! If upgrading, use the upgrade option in the AdminCP<br /> ! If uninstalling, use the delete feature in the ! AdminCP</span></span></p> ! <p><span style="font-size: 9pt">Note: If upgrading, do NOT delete ! module prior to upgrading, or else you'll lose all module ! data!</span></p> ! <p style="margin-top: 0; margin-bottom: 0"><span style= ! "font-size: 9pt">Special note IF UPGRADING:<br /> ! 1) Delete all old files, BUT NOT THE UPLOAD FOLDER.<br /> ! 2) If your version was MX prior MX ALBUM you must 'install' the ! smartor album, since this album is very much altered compared to ! the old one. But the install script 'feels' the old album and ! fetches all image data, so nothing will be lost :-)</span></p> ! <p style="margin-top: 0; margin-bottom: 0"><span style= ! "font-size: 9pt">If your version was mx_smartor 1.0 - 1.2 you can ! 'upgrade' the smartor album.</span></p> ! <p style="margin-top: 0; margin-bottom: 0"> </p> ! <p style="margin-top: 0; margin-bottom: 0"><span style= ! "font-size: 9pt">Special note for mx_smartor album:<br /> ! # CHMOD 777 upload<br /> ! # CHMOD 777 upload/cache<br /> ! # CHMOD 777 upload/jupload<br /> ! # CHMOD 777 upload/med_cache<br /> ! # CHMOD 777 upload/wm_cache<br /> ! # CHMOD 777 upload/otf<br /> <br /> ! <b>LightBox Preview</b><br /> ! <span class="largetext">Description: <span style= ! "font-style: italic">This feature will show a LightBox with picture ! preview when moving the mouse over a thumbnail.</span><br /> <br /> ! To Enable LightBox Preview:<br /> <br /> ! 1. <span style="text-decoration: underline">Open</span> : ! overall_header.tpl<br /> <br /> ! <span style="text-decoration: underline">Find</span> :<br /> ! <br /></span></span></p> ! <blockquote><span class="smalltext">code:</span> ! <hr /> ! <font face="Courier"><span style="font-size: 9pt"><script ! language="javascript" type="text/javascript" ! src="{U_PORTAL_ROOT_PATH}modules/mx_shared/lib/Toggle.js"></script></span></font> ! <hr /> ! <br /></blockquote> <br /> <br /> ! <span style="text-decoration: underline">Add After</span> :<br /> <br /> ! <blockquote><span class="smalltext">code:</span> ! <hr /> ! <font face="Courier"><span style="font-size: 9pt"><script ! language="javascript" type="text/javascript" ! src="{U_PORTAL_ROOT_PATH}modules/mx_smartor/album_mod/fap_loader.js"></script></span></font> ! <hr /> ! <br /></blockquote> ! <br /> ! <br /> ! <span style="font-size: 9pt">2. Enable LightBox Preview in ! Administration Pannel.</span> ! <p><a href="#top">Back to Top</a><br /> ! <br /> ! <a name="themes" id="themes"></a><br /> ! <span style="font-size: 9pt; font-weight: bold">II. Additional ! Styles</span><span style="font-size: 9pt"><br /> ! This module is compatible with any theme/style.</span><br /> ! <br /> ! <a href="#top">Back to Top</a><br /> ! <br /> ! <a name="languages" id="languages"></a><br /> ! <span style="font-size: 9pt; font-weight: bold">III. Additional ! Languages</span><span style="font-size: 9pt"><br /> ! First check to see if your language is already translated.<br /> ! <br /> ! Translated languages are downloaded <a href= ! "http://www.mx-system.com/index.php?page=4&action=category&cat_id=5" ! target="_blank" class="postlink">here</a>.<br /> ! <br /> ! If exists, download and install in the ! modules/mx_modulename/language folder. If not, duplicate (copy and ! paste) any included language file, rename to match your language, ! translate using any texteditor, save and upload.</span><br /> ! <br /> ! <a href="#top">Back to Top</a></p> ! <p><span style="font-size: 9pt">/mxBB Project Team</span></p> ! </td> </tr> </table> </body> ! </html> Index: album_lists.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_lists.php,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** album_lists.php 9 Aug 2007 13:16:52 -0000 1.21 --- album_lists.php 15 Jan 2008 11:02:16 -0000 1.22 *************** *** 13,22 **** die("Hacking attempt"); } - else - { - define( 'MXBB_MODULE', true ); - $is_block = TRUE; - } $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 13,17 ---- *************** *** 182,186 **** $template->assign_block_vars('recent_pics_block.recent_pics.recent_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_fap_toplisturl("smartor_mode=album_pic&pic_id=". $recentrow[$j]['pic_id'], TRUE)) : append_sid(this_fap_toplisturl("smartor_mode=album_showpage&pic_id=". $recentrow[$j]['pic_id'], TRUE)), 'THUMBNAIL' => append_sid(this_fap_toplisturl("smartor_mode=album_thumbnail&pic_id=". $recentrow[$j]['pic_id'], TRUE)), 'PIC_PREVIEW' => $pic_preview, --- 177,181 ---- $template->assign_block_vars('recent_pics_block.recent_pics.recent_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_fap_toplisturl("smartor_mode=album_pic&pic_id=". $recentrow[$j]['pic_id'], true)) : append_sid(this_fap_toplisturl("smartor_mode=album_showpage&pic_id=". $recentrow[$j]['pic_id'], false)), 'THUMBNAIL' => append_sid(this_fap_toplisturl("smartor_mode=album_thumbnail&pic_id=". $recentrow[$j]['pic_id'], TRUE)), 'PIC_PREVIEW' => $pic_preview, *************** *** 304,308 **** $template->assign_block_vars('most_pics_block.most_pics.most_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_fap_toplisturl("smartor_mode=album_pic&pic_id=". $mostrow[$j]['pic_id'], TRUE)) : append_sid(this_fap_toplisturl("smartor_mode=album_showpage&pic_id=". $mostrow[$j]['pic_id'], TRUE)), 'THUMBNAIL' => append_sid(this_fap_toplisturl("smartor_mode=album_thumbnail&pic_id=". $mostrow[$j]['pic_id'], TRUE)), 'PIC_PREVIEW' => $pic_preview, --- 299,303 ---- $template->assign_block_vars('most_pics_block.most_pics.most_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_fap_toplisturl("smartor_mode=album_pic&pic_id=". $mostrow[$j]['pic_id'], true)) : append_sid(this_fap_toplisturl("smartor_mode=album_showpage&pic_id=". $mostrow[$j]['pic_id'], false)), 'THUMBNAIL' => append_sid(this_fap_toplisturl("smartor_mode=album_thumbnail&pic_id=". $mostrow[$j]['pic_id'], TRUE)), 'PIC_PREVIEW' => $pic_preview, *************** *** 365,475 **** if ($allowed_cat != '') { - /* - $sql = "SELECT p.pic_id, p.pic_title, p.pic_desc, p.pic_user_id, p.pic_user_ip, p.pic_username, p.pic_time, p.pic_cat_id, p.pic_view_count, u.user_id, u.username, r.rate_pic_id, AVG(r.rate_point) AS rating, SUM( c.comment_id) AS comments - FROM ". ALBUM_TABLE ." AS p, ". ALBUM_COMMENT_TABLE ." AS c, ". USERS_TABLE ." AS u, ". ALBUM_CAT_TABLE ." AS ct , ". ALBUM_RATE_TABLE ." AS r - WHERE p.pic_user_id = u.user_id - AND p.pic_cat_id = ct.cat_id - AND p.pic_id = r.rate_pic_id - AND p.pic_id = c.comment_pic_id - AND p.pic_cat_id IN ($allowed_cat) AND ( p.pic_approval = 1 OR ct.cat_approval = 0 ) - GROUP BY p.pic_id - ORDER BY rating DESC - LIMIT ". $album_sp_config['img_cols'] * $album_sp_config['img_rows']; - */ - $sql = "SELECT p.pic_id, p.pic_title, p.pic_desc, p.pic_user_id, p.pic_user_ip, p.pic_username, p.pic_time, p.pic_cat_id, p.pic_view_count, u.user_id, u.username, r.rate_pic_id, AVG(r.rate_point) AS rating, COUNT(DISTINCT c.comment_id) AS comments - FROM ". ALBUM_TABLE ." AS p - LEFT JOIN ". USERS_TABLE ." AS u ON p.pic_user_id = u.user_id - LEFT JOIN ". ALBUM_CAT_TABLE ." AS ct ON p.pic_cat_id = ct.cat_id - LEFT JOIN ". ALBUM_RATE_TABLE ." AS r ON p.pic_id = r.rate_pic_id - LEFT JOIN ". ALBUM_COMMENT_TABLE ." AS c ON p.pic_id = c.comment_pic_id - WHERE p.pic_cat_id IN ($allowed_cat) AND ( p.pic_approval = 1 OR ct.cat_approval = 0 ) - GROUP BY p.pic_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; ! } ! if ($album_config['lb_preview'] == 0) ! { ! $pic_preview = ''; ! } ! else ! { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $highestrow[$j]['pic_id'])) . '\',\'' . addslashes($highestrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; ! } ! $template->assign_block_vars('highest_pics_block.highest_pics.highest_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_fap_toplisturl("smartor_mode=album_pic&pic_id=". $highestrow[$j]['pic_id'], TRUE)) : append_sid(this_fap_toplisturl("smartor_mode=album_showpage&pic_id=". $highestrow[$j]['pic_id'], TRUE)), ! 'THUMBNAIL' => append_sid(this_fap_toplisturl("smartor_mode=album_thumbnail&pic_id=". $highestrow[$j]['pic_id'], TRUE)), ! 'PIC_PREVIEW' => $pic_preview, ! 'DESC' => $highestrow[$j]['pic_desc'] ! ) ! ); ! if( ($highestrow[$j]['user_id'] == ALBUM_GUEST) or ($highestrow[$j]['username'] == '') ) ! { ! $highest_poster = ($highestrow[$j]['pic_username'] == '') ? $lang['Guest'] : $highestrow[$j]['pic_username']; ! } ! 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 = ImageRating($highestrow[$j]['rating']); ! ! $template->assign_block_vars('highest_pics_block.highest_pics.highest_detail', array( ! 'H_TITLE' => $highestrow[$j]['pic_title'], ! 'H_POSTER' => $highest_poster, ! 'H_TIME' => create_date($board_config['default_dateformat'], $highestrow[$j]['pic_time'], $board_config['board_timezone']), ! 'H_VIEW' => $highestrow[$j]['pic_view_count'], ! 'H_RATING' => ($album_config['rate'] == 1) ? ( $lang['Rating'] . ': ' . $rating_image . ', ') : '', ! 'H_COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="'. append_sid(this_fap_toplisturl("smartor_mode=album_showpage&pic_id=". $highestrow[$j]['pic_id'], TRUE)) . '">' . $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()); ! } } --- 360,459 ---- if ($allowed_cat != '') { ! $sql = "SELECT p.pic_id, p.pic_title, p.pic_desc, p.pic_user_id, p.pic_user_ip, p.pic_username, p.pic_time, p.pic_cat_id, p.pic_view_count, u.user_id, u.username, r.rate_pic_id, AVG(r.rate_point) AS rating, COUNT(DISTINCT c.comment_id) AS comments ! FROM ". ALBUM_TABLE ." AS p ! LEFT JOIN ". USERS_TABLE ." AS u ON p.pic_user_id = u.user_id ! LEFT JOIN ". ALBUM_CAT_TABLE ." AS ct ON p.pic_cat_id = ct.cat_id ! LEFT JOIN ". ALBUM_RATE_TABLE ." AS r ON p.pic_id = r.rate_pic_id ! LEFT JOIN ". ALBUM_COMMENT_TABLE ." AS c ON p.pic_id = c.comment_pic_id ! WHERE p.pic_cat_id IN ($allowed_cat) AND ( p.pic_approval = 1 OR ct.cat_approval = 0 ) ! GROUP BY p.pic_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; ! } ! if ($album_config['lb_preview'] == 0) ! { ! $pic_preview = ''; ! } ! else ! { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $highestrow[$j]['pic_id'])) . '\',\'' . addslashes($highestrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; ! } ! $template->assign_block_vars('highest_pics_block.highest_pics.highest_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_fap_toplisturl("smartor_mode=album_pic&pic_id=". $highestrow[$j]['pic_id'], true)) : append_sid(this_fap_toplisturl("smartor_mode=album_showpage&pic_id=". $highestrow[$j]['pic_id'], false)), ! 'THUMBNAIL' => append_sid(this_fap_toplisturl("smartor_mode=album_thumbnail&pic_id=". $highestrow[$j]['pic_id'], TRUE)), ! 'PIC_PREVIEW' => $pic_preview, ! 'DESC' => $highestrow[$j]['pic_desc'] ! ) ! ); ! if( ($highestrow[$j]['user_id'] == ALBUM_GUEST) or ($highestrow[$j]['username'] == '') ) ! { ! $highest_poster = ($highestrow[$j]['pic_username'] == '') ? $lang['Guest'] : $highestrow[$j]['pic_username']; ! } ! 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 = ImageRating($highestrow[$j]['rating']); ! ! $template->assign_block_vars('highest_pics_block.highest_pics.highest_detail', array( ! 'H_TITLE' => $highestrow[$j]['pic_title'], ! 'H_POSTER' => $highest_poster, ! 'H_TIME' => create_date($board_config['default_dateformat'], $highestrow[$j]['pic_time'], $board_config['board_timezone']), ! 'H_VIEW' => $highestrow[$j]['pic_view_count'], ! 'H_RATING' => ($album_config['rate'] == 1) ? ( $lang['Rating'] . ': ' . $rating_image . ', ') : '', ! 'H_COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="'. append_sid(this_fap_toplisturl("smartor_mode=album_showpage&pic_id=". $highestrow[$j]['pic_id'], TRUE)) . '">' . $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()); ! } } *************** *** 543,547 **** $template->assign_block_vars('random_pics_block.rand_pics.rand_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_fap_toplisturl("smartor_mode=album_pic&pic_id=". $randrow[$j]['pic_id'], TRUE)) : append_sid(this_fap_toplisturl("smartor_mode=album_showpage&pic_id=". $randrow[$j]['pic_id'], TRUE)), 'THUMBNAIL' => append_sid(this_fap_toplisturl("smartor_mode=album_thumbnail&pic_id=". $randrow[$j]['pic_id'], TRUE)), 'PIC_PREVIEW' => $pic_preview, --- 527,531 ---- $template->assign_block_vars('random_pics_block.rand_pics.rand_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_fap_toplisturl("smartor_mode=album_pic&pic_id=". $randrow[$j]['pic_id'], true)) : append_sid(this_fap_toplisturl("smartor_mode=album_showpage&pic_id=". $randrow[$j]['pic_id'], false)), 'THUMBNAIL' => append_sid(this_fap_toplisturl("smartor_mode=album_thumbnail&pic_id=". $randrow[$j]['pic_id'], TRUE)), 'PIC_PREVIEW' => $pic_preview, Index: Smartor_album.pak =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/Smartor_album.pak,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** Smartor_album.pak 5 Oct 2007 11:09:37 -0000 1.11 --- Smartor_album.pak 15 Jan 2008 11:02:16 -0000 1.12 *************** *** 1,26 **** ! module=+:61=+:Smartor album=+:modules/mx_smartor/=+:Smartor web photo album=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:61=+:71=+:Smartor_album=+:Smartor web photo album=+:album.php=+: ! parameter=+:71=+:130=+:base_album=+:Text=+:=+:=+:0=+:0 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Smartor_album=+:Demo block=+:71=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:61=+:72=+:Smartor_album_list=+:Smartor album toplists=+:album_lists.php=+: ! parameter=+:72=+:136=+:num_of_rows=+:Number=+:2=+:=+:0=+:0 ! parameter=+:72=+:135=+:num_of_cols=+:Number=+:1=+:=+:0=+:0 ! parameter=+:72=+:133=+:display_top_ranked=+:Boolean=+:TRUE=+:=+:0=+:0 ! parameter=+:72=+:134=+:display_latest_posts=+:Boolean=+:TRUE=+:=+:0=+:0 ! parameter=+:72=+:132=+:display_random_posts=+:Boolean=+:TRUE=+:=+:0=+:0 ! parameter=+:72=+:131=+:display_most_posts=+:Boolean=+:TRUE=+:=+:0=+:0 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Smartor_toplist=+:Demo block=+:72=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:61=+:102=+:Smartor_welcome=+:Smartor album welcome=+:welcome.php=+: ! parameter=+:102=+:216=+:Welcome_Msg=+:Text=+:Have a nice day !=+:=+:0=+:0 ! parameter=+:102=+:217=+:Register_Msg=+:Text=+:Not a member? %sClick here and Register Now!%s=+:=+:0=+:0 ! parameter=+:102=+:218=+:View_JumpTo=+:Boolean=+:FALSE=+:=+:0=+:0 ! parameter=+:102=+:219=+:Vertical_Layout=+:Boolean=+:TRUE=+:=+:0=+:0 ! parameter=+:102=+:221=+:View_PostCount=+:Boolean=+:TRUE=+:=+:0=+:0 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Smartor_welcome=+:Demo block=+:102=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 ! function=+:0=+:0=+:0=+:endoflist=+:0=+:0 \ No newline at end of file --- 1,26 ---- ! module=+:56=+:Smartor album=+:modules/mx_smartor/=+:Smartor web photo album=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:56=+:52=+:Smartor_album=+:Full Album Pack - Main=+:album.php=+: ! parameter=+:52=+:148=+:base_album=+:Text=+:=+:=+:0=+:0 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Smartor_album=+:Demo block=+:52=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:56=+:53=+:Smartor_album_list=+:Smartor Album TopLists=+:album_lists.php=+: ! parameter=+:53=+:98=+:num_of_rows=+:Number=+:2=+:=+:0=+:0 ! parameter=+:53=+:97=+:num_of_cols=+:Number=+:1=+:=+:0=+:0 ! parameter=+:53=+:96=+:display_latest_posts=+:Boolean=+:TRUE=+:=+:0=+:0 ! parameter=+:53=+:94=+:display_random_posts=+:Boolean=+:TRUE=+:=+:0=+:0 ! parameter=+:53=+:95=+:display_top_ranked=+:Boolean=+:TRUE=+:=+:0=+:0 ! parameter=+:53=+:93=+:display_most_posts=+:Boolean=+:TRUE=+:=+:0=+:0 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Smartor_album_list=+:Demo block=+:53=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:56=+:92=+:Smartor_welcome=+:Smartor album welcome=+:welcome.php=+: ! parameter=+:92=+:215=+:Welcome_Msg=+:Text=+:Have a nice day !=+:=+:0=+:0 ! parameter=+:92=+:216=+:Register_Msg=+:Text=+:Not a member? %sClick here and Register Now!%s=+:=+:0=+:0 ! parameter=+:92=+:217=+:View_JumpTo=+:Boolean=+:FALSE=+:=+:0=+:0 ! parameter=+:92=+:218=+:Vertical_Layout=+:Boolean=+:TRUE=+:=+:0=+:0 ! parameter=+:92=+:219=+:View_PostCount=+:Boolean=+:TRUE=+:=+:0=+:0 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Smartor_welcome=+:Demo block=+:92=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 ! function=+:0=+:0=+:0=+:endoflist=+:0=+:0 |
|
From: OryNider <ory...@us...> - 2008-01-15 11:02:27
|
Update of /cvsroot/mxbb/mx_smartor/album_mod In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29026/album_mod Modified Files: album_integration.php Log Message: Index: album_integration.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/album_integration.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** album_integration.php 5 Jul 2007 06:00:22 -0000 1.3 --- album_integration.php 15 Jan 2008 11:02:17 -0000 1.4 *************** *** 100,111 **** return $mxurl; } ! function this_fap_toplisturl($args = '') { ! global $mx_root_path, $module_root_path, $page_id, $album_index, $phpEx, $integration_enabled, $is_block; ! ! ! $mxurl = $mx_root_path . 'index.' . $phpEx . '?page=' . $album_index . ($args == '' ? '' : '&' . $args); ! return $mxurl; } --- 100,115 ---- return $mxurl; } ! function this_fap_toplisturl($args = '', $force_standalone_mode = false) { ! global $mx_root_path, $module_root_path, $page_id, $album_index, $phpEx, $integration_enabled; + if( $force_standalone_mode ) + { + $mxurl = $mx_root_path . 'modules/mx_smartor/' . 'album.' . $phpEx . ($args == '' ? '' : '?' . $args); + } + else + { + $mxurl = $mx_root_path . 'index.' . $phpEx . '?page=' . $album_index . ($args == '' ? '' : '&' . $args); + } return $mxurl; } |
|
From: OryNider <ory...@us...> - 2008-01-15 11:02:27
|
Update of /cvsroot/mxbb/mx_smartor/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29026/includes Modified Files: album_showpage.php Log Message: Index: album_showpage.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/includes/album_showpage.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** album_showpage.php 5 Oct 2007 11:09:44 -0000 1.14 --- album_showpage.php 15 Jan 2008 11:02:17 -0000 1.15 *************** *** 18,25 **** if ( $mode == 'smilies' ) { ! include_once($phpbb_root_path . 'includes/functions_post.'.$phpEx); ! ! smartor_generate_smilies('window', PAGE_POSTING); ! exit; } --- 18,25 ---- if ( $mode == 'smilies' ) { ! include_once($phpbb_root_path . 'includes/functions_post.'.$phpEx); ! ! smartor_generate_smilies('window', PAGE_POSTING); ! exit; } *************** *** 57,64 **** } ! if( !function_exists('smilies_pass') ) ! { ! include_once($phpbb_root_path . 'includes/bbcode.' . $phpEx); ! } // ------------------------------------ --- 57,64 ---- } ! if( !function_exists('smilies_pass')) ! { ! include_once($phpbb_root_path . 'includes/bbcode.'.$phpEx); ! } // ------------------------------------ |
Update of /cvsroot/mxbb/mx_smartor In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25079 Modified Files: Tag: core28x Smartor_album.pak album.php album_lists.php db_install.php db_upgrade.php welcome.php Log Message: Index: album_lists.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_lists.php,v retrieving revision 1.21 retrieving revision 1.21.2.1 diff -C2 -d -r1.21 -r1.21.2.1 *** album_lists.php 9 Aug 2007 13:16:52 -0000 1.21 --- album_lists.php 15 Jan 2008 10:56:07 -0000 1.21.2.1 *************** *** 13,22 **** die("Hacking attempt"); } - else - { - define( 'MXBB_MODULE', true ); - $is_block = TRUE; - } $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 13,17 ---- *************** *** 182,186 **** $template->assign_block_vars('recent_pics_block.recent_pics.recent_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_fap_toplisturl("smartor_mode=album_pic&pic_id=". $recentrow[$j]['pic_id'], TRUE)) : append_sid(this_fap_toplisturl("smartor_mode=album_showpage&pic_id=". $recentrow[$j]['pic_id'], TRUE)), 'THUMBNAIL' => append_sid(this_fap_toplisturl("smartor_mode=album_thumbnail&pic_id=". $recentrow[$j]['pic_id'], TRUE)), 'PIC_PREVIEW' => $pic_preview, --- 177,181 ---- $template->assign_block_vars('recent_pics_block.recent_pics.recent_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_fap_toplisturl("smartor_mode=album_pic&pic_id=". $recentrow[$j]['pic_id'], true)) : append_sid(this_fap_toplisturl("smartor_mode=album_showpage&pic_id=". $recentrow[$j]['pic_id'], false)), 'THUMBNAIL' => append_sid(this_fap_toplisturl("smartor_mode=album_thumbnail&pic_id=". $recentrow[$j]['pic_id'], TRUE)), 'PIC_PREVIEW' => $pic_preview, *************** *** 304,308 **** $template->assign_block_vars('most_pics_block.most_pics.most_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_fap_toplisturl("smartor_mode=album_pic&pic_id=". $mostrow[$j]['pic_id'], TRUE)) : append_sid(this_fap_toplisturl("smartor_mode=album_showpage&pic_id=". $mostrow[$j]['pic_id'], TRUE)), 'THUMBNAIL' => append_sid(this_fap_toplisturl("smartor_mode=album_thumbnail&pic_id=". $mostrow[$j]['pic_id'], TRUE)), 'PIC_PREVIEW' => $pic_preview, --- 299,303 ---- $template->assign_block_vars('most_pics_block.most_pics.most_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_fap_toplisturl("smartor_mode=album_pic&pic_id=". $mostrow[$j]['pic_id'], true)) : append_sid(this_fap_toplisturl("smartor_mode=album_showpage&pic_id=". $mostrow[$j]['pic_id'], false)), 'THUMBNAIL' => append_sid(this_fap_toplisturl("smartor_mode=album_thumbnail&pic_id=". $mostrow[$j]['pic_id'], TRUE)), 'PIC_PREVIEW' => $pic_preview, *************** *** 365,475 **** if ($allowed_cat != '') { - /* - $sql = "SELECT p.pic_id, p.pic_title, p.pic_desc, p.pic_user_id, p.pic_user_ip, p.pic_username, p.pic_time, p.pic_cat_id, p.pic_view_count, u.user_id, u.username, r.rate_pic_id, AVG(r.rate_point) AS rating, SUM( c.comment_id) AS comments - FROM ". ALBUM_TABLE ." AS p, ". ALBUM_COMMENT_TABLE ." AS c, ". USERS_TABLE ." AS u, ". ALBUM_CAT_TABLE ." AS ct , ". ALBUM_RATE_TABLE ." AS r - WHERE p.pic_user_id = u.user_id - AND p.pic_cat_id = ct.cat_id - AND p.pic_id = r.rate_pic_id - AND p.pic_id = c.comment_pic_id - AND p.pic_cat_id IN ($allowed_cat) AND ( p.pic_approval = 1 OR ct.cat_approval = 0 ) - GROUP BY p.pic_id - ORDER BY rating DESC - LIMIT ". $album_sp_config['img_cols'] * $album_sp_config['img_rows']; - */ - $sql = "SELECT p.pic_id, p.pic_title, p.pic_desc, p.pic_user_id, p.pic_user_ip, p.pic_username, p.pic_time, p.pic_cat_id, p.pic_view_count, u.user_id, u.username, r.rate_pic_id, AVG(r.rate_point) AS rating, COUNT(DISTINCT c.comment_id) AS comments - FROM ". ALBUM_TABLE ." AS p - LEFT JOIN ". USERS_TABLE ." AS u ON p.pic_user_id = u.user_id - LEFT JOIN ". ALBUM_CAT_TABLE ." AS ct ON p.pic_cat_id = ct.cat_id - LEFT JOIN ". ALBUM_RATE_TABLE ." AS r ON p.pic_id = r.rate_pic_id - LEFT JOIN ". ALBUM_COMMENT_TABLE ." AS c ON p.pic_id = c.comment_pic_id - WHERE p.pic_cat_id IN ($allowed_cat) AND ( p.pic_approval = 1 OR ct.cat_approval = 0 ) - GROUP BY p.pic_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; ! } ! if ($album_config['lb_preview'] == 0) ! { ! $pic_preview = ''; ! } ! else ! { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $highestrow[$j]['pic_id'])) . '\',\'' . addslashes($highestrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; ! } ! $template->assign_block_vars('highest_pics_block.highest_pics.highest_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_fap_toplisturl("smartor_mode=album_pic&pic_id=". $highestrow[$j]['pic_id'], TRUE)) : append_sid(this_fap_toplisturl("smartor_mode=album_showpage&pic_id=". $highestrow[$j]['pic_id'], TRUE)), ! 'THUMBNAIL' => append_sid(this_fap_toplisturl("smartor_mode=album_thumbnail&pic_id=". $highestrow[$j]['pic_id'], TRUE)), ! 'PIC_PREVIEW' => $pic_preview, ! 'DESC' => $highestrow[$j]['pic_desc'] ! ) ! ); ! if( ($highestrow[$j]['user_id'] == ALBUM_GUEST) or ($highestrow[$j]['username'] == '') ) ! { ! $highest_poster = ($highestrow[$j]['pic_username'] == '') ? $lang['Guest'] : $highestrow[$j]['pic_username']; ! } ! 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 = ImageRating($highestrow[$j]['rating']); ! ! $template->assign_block_vars('highest_pics_block.highest_pics.highest_detail', array( ! 'H_TITLE' => $highestrow[$j]['pic_title'], ! 'H_POSTER' => $highest_poster, ! 'H_TIME' => create_date($board_config['default_dateformat'], $highestrow[$j]['pic_time'], $board_config['board_timezone']), ! 'H_VIEW' => $highestrow[$j]['pic_view_count'], ! 'H_RATING' => ($album_config['rate'] == 1) ? ( $lang['Rating'] . ': ' . $rating_image . ', ') : '', ! 'H_COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="'. append_sid(this_fap_toplisturl("smartor_mode=album_showpage&pic_id=". $highestrow[$j]['pic_id'], TRUE)) . '">' . $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()); ! } } --- 360,459 ---- if ($allowed_cat != '') { ! $sql = "SELECT p.pic_id, p.pic_title, p.pic_desc, p.pic_user_id, p.pic_user_ip, p.pic_username, p.pic_time, p.pic_cat_id, p.pic_view_count, u.user_id, u.username, r.rate_pic_id, AVG(r.rate_point) AS rating, COUNT(DISTINCT c.comment_id) AS comments ! FROM ". ALBUM_TABLE ." AS p ! LEFT JOIN ". USERS_TABLE ." AS u ON p.pic_user_id = u.user_id ! LEFT JOIN ". ALBUM_CAT_TABLE ." AS ct ON p.pic_cat_id = ct.cat_id ! LEFT JOIN ". ALBUM_RATE_TABLE ." AS r ON p.pic_id = r.rate_pic_id ! LEFT JOIN ". ALBUM_COMMENT_TABLE ." AS c ON p.pic_id = c.comment_pic_id ! WHERE p.pic_cat_id IN ($allowed_cat) AND ( p.pic_approval = 1 OR ct.cat_approval = 0 ) ! GROUP BY p.pic_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; ! } ! if ($album_config['lb_preview'] == 0) ! { ! $pic_preview = ''; ! } ! else ! { ! $pic_preview = 'onmouseover="showtrail(\''. append_sid(this_fap_addonurl("smartor_mode=album_picm&pic_id=" . $highestrow[$j]['pic_id'])) . '\',\'' . addslashes($highestrow[$j]['pic_title']) . '\', ' . $album_sp_config['midthumb_width'] . ', ' . $album_sp_config['midthumb_height'] . ')" onmouseout="hidetrail()"'; ! } ! $template->assign_block_vars('highest_pics_block.highest_pics.highest_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_fap_toplisturl("smartor_mode=album_pic&pic_id=". $highestrow[$j]['pic_id'], true)) : append_sid(this_fap_toplisturl("smartor_mode=album_showpage&pic_id=". $highestrow[$j]['pic_id'], false)), ! 'THUMBNAIL' => append_sid(this_fap_toplisturl("smartor_mode=album_thumbnail&pic_id=". $highestrow[$j]['pic_id'], TRUE)), ! 'PIC_PREVIEW' => $pic_preview, ! 'DESC' => $highestrow[$j]['pic_desc'] ! ) ! ); ! if( ($highestrow[$j]['user_id'] == ALBUM_GUEST) or ($highestrow[$j]['username'] == '') ) ! { ! $highest_poster = ($highestrow[$j]['pic_username'] == '') ? $lang['Guest'] : $highestrow[$j]['pic_username']; ! } ! 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 = ImageRating($highestrow[$j]['rating']); ! ! $template->assign_block_vars('highest_pics_block.highest_pics.highest_detail', array( ! 'H_TITLE' => $highestrow[$j]['pic_title'], ! 'H_POSTER' => $highest_poster, ! 'H_TIME' => create_date($board_config['default_dateformat'], $highestrow[$j]['pic_time'], $board_config['board_timezone']), ! 'H_VIEW' => $highestrow[$j]['pic_view_count'], ! 'H_RATING' => ($album_config['rate'] == 1) ? ( $lang['Rating'] . ': ' . $rating_image . ', ') : '', ! 'H_COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="'. append_sid(this_fap_toplisturl("smartor_mode=album_showpage&pic_id=". $highestrow[$j]['pic_id'], TRUE)) . '">' . $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()); ! } } *************** *** 543,547 **** $template->assign_block_vars('random_pics_block.rand_pics.rand_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_fap_toplisturl("smartor_mode=album_pic&pic_id=". $randrow[$j]['pic_id'], TRUE)) : append_sid(this_fap_toplisturl("smartor_mode=album_showpage&pic_id=". $randrow[$j]['pic_id'], TRUE)), 'THUMBNAIL' => append_sid(this_fap_toplisturl("smartor_mode=album_thumbnail&pic_id=". $randrow[$j]['pic_id'], TRUE)), 'PIC_PREVIEW' => $pic_preview, --- 527,531 ---- $template->assign_block_vars('random_pics_block.rand_pics.rand_col', array( ! 'U_PIC' => ($album_config['fullpic_popup']) ? append_sid(this_fap_toplisturl("smartor_mode=album_pic&pic_id=". $randrow[$j]['pic_id'], true)) : append_sid(this_fap_toplisturl("smartor_mode=album_showpage&pic_id=". $randrow[$j]['pic_id'], false)), 'THUMBNAIL' => append_sid(this_fap_toplisturl("smartor_mode=album_thumbnail&pic_id=". $randrow[$j]['pic_id'], TRUE)), 'PIC_PREVIEW' => $pic_preview, Index: Smartor_album.pak =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/Smartor_album.pak,v retrieving revision 1.10.2.1 retrieving revision 1.10.2.2 diff -C2 -d -r1.10.2.1 -r1.10.2.2 *** Smartor_album.pak 5 Oct 2007 11:12:50 -0000 1.10.2.1 --- Smartor_album.pak 15 Jan 2008 10:56:06 -0000 1.10.2.2 *************** *** 1,26 **** ! module=+:61=+:Smartor album=+:modules/mx_smartor/=+:Smartor web photo album=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:61=+:71=+:Smartor_album=+:Smartor web photo album=+:album.php=+: ! parameter=+:71=+:130=+:base_album=+:Text=+:=+:=+:0=+:0 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Smartor_album=+:Demo block=+:71=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:61=+:72=+:Smartor_album_list=+:Smartor album toplists=+:album_lists.php=+: ! parameter=+:72=+:136=+:num_of_rows=+:Number=+:2=+:=+:0=+:0 ! parameter=+:72=+:135=+:num_of_cols=+:Number=+:1=+:=+:0=+:0 ! parameter=+:72=+:133=+:display_top_ranked=+:Boolean=+:TRUE=+:=+:0=+:0 ! parameter=+:72=+:134=+:display_latest_posts=+:Boolean=+:TRUE=+:=+:0=+:0 ! parameter=+:72=+:132=+:display_random_posts=+:Boolean=+:TRUE=+:=+:0=+:0 ! parameter=+:72=+:131=+:display_most_posts=+:Boolean=+:TRUE=+:=+:0=+:0 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Smartor_toplist=+:Demo block=+:72=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:61=+:102=+:Smartor_welcome=+:Smartor album welcome=+:welcome.php=+: ! parameter=+:102=+:216=+:Welcome_Msg=+:Text=+:Have a nice day !=+:=+:0=+:0 ! parameter=+:102=+:217=+:Register_Msg=+:Text=+:Not a member? %sClick here and Register Now!%s=+:=+:0=+:0 ! parameter=+:102=+:218=+:View_JumpTo=+:Boolean=+:FALSE=+:=+:0=+:0 ! parameter=+:102=+:219=+:Vertical_Layout=+:Boolean=+:TRUE=+:=+:0=+:0 ! parameter=+:102=+:221=+:View_PostCount=+:Boolean=+:TRUE=+:=+:0=+:0 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Smartor_welcome=+:Demo block=+:102=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 ! function=+:0=+:0=+:0=+:endoflist=+:0=+:0 \ No newline at end of file --- 1,26 ---- ! module=+:56=+:Smartor album=+:modules/mx_smartor/=+:Smartor web photo album=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:56=+:52=+:Smartor_album=+:Full Album Pack - Main=+:album.php=+: ! parameter=+:52=+:148=+:base_album=+:Text=+:=+:=+:0=+:0 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Smartor_album=+:Demo block=+:52=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:56=+:53=+:Smartor_album_list=+:Smartor Album TopLists=+:album_lists.php=+: ! parameter=+:53=+:98=+:num_of_rows=+:Number=+:2=+:=+:0=+:0 ! parameter=+:53=+:97=+:num_of_cols=+:Number=+:1=+:=+:0=+:0 ! parameter=+:53=+:96=+:display_latest_posts=+:Boolean=+:TRUE=+:=+:0=+:0 ! parameter=+:53=+:94=+:display_random_posts=+:Boolean=+:TRUE=+:=+:0=+:0 ! parameter=+:53=+:95=+:display_top_ranked=+:Boolean=+:TRUE=+:=+:0=+:0 ! parameter=+:53=+:93=+:display_most_posts=+:Boolean=+:TRUE=+:=+:0=+:0 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Smartor_album_list=+:Demo block=+:53=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0 ! function=+:56=+:92=+:Smartor_welcome=+:Smartor album welcome=+:welcome.php=+: ! parameter=+:92=+:215=+:Welcome_Msg=+:Text=+:Have a nice day !=+:=+:0=+:0 ! parameter=+:92=+:216=+:Register_Msg=+:Text=+:Not a member? %sClick here and Register Now!%s=+:=+:0=+:0 ! parameter=+:92=+:217=+:View_JumpTo=+:Boolean=+:FALSE=+:=+:0=+:0 ! parameter=+:92=+:218=+:Vertical_Layout=+:Boolean=+:TRUE=+:=+:0=+:0 ! parameter=+:92=+:219=+:View_PostCount=+:Boolean=+:TRUE=+:=+:0=+:0 parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0 ! block=+:=+:Smartor_welcome=+:Demo block=+:92=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1 ! function=+:0=+:0=+:0=+:endoflist=+:0=+:0 |
|
From: OryNider <ory...@us...> - 2008-01-15 10:56:18
|
Update of /cvsroot/mxbb/mx_smartor/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25079/includes Modified Files: Tag: core28x album_showpage.php Log Message: Index: album_showpage.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/includes/album_showpage.php,v retrieving revision 1.12.2.1 retrieving revision 1.12.2.2 diff -C2 -d -r1.12.2.1 -r1.12.2.2 *** album_showpage.php 28 Sep 2007 22:59:17 -0000 1.12.2.1 --- album_showpage.php 15 Jan 2008 10:56:13 -0000 1.12.2.2 *************** *** 18,25 **** if ( $mode == 'smilies' ) { ! include_once($phpbb_root_path . 'includes/functions_post.'.$phpEx); ! ! smartor_generate_smilies('window', PAGE_POSTING); ! exit; } --- 18,25 ---- if ( $mode == 'smilies' ) { ! include_once($phpbb_root_path . 'includes/functions_post.'.$phpEx); ! ! smartor_generate_smilies('window', PAGE_POSTING); ! exit; } *************** *** 57,64 **** } ! if( !function_exists('smilies_pass') ) ! { ! include_once($phpbb_root_path . 'includes/bbcode.' . $phpEx); ! } // ------------------------------------ --- 57,64 ---- } ! if( !function_exists('smilies_pass')) ! { ! include_once($phpbb_root_path . 'includes/bbcode.'.$phpEx); ! } // ------------------------------------ |
|
From: OryNider <ory...@us...> - 2008-01-15 10:56:17
|
Update of /cvsroot/mxbb/mx_smartor/album_mod In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25079/album_mod Modified Files: Tag: core28x album_integration.php Log Message: Index: album_integration.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/album_integration.php,v retrieving revision 1.3 retrieving revision 1.3.2.1 diff -C2 -d -r1.3 -r1.3.2.1 *** album_integration.php 5 Jul 2007 06:00:22 -0000 1.3 --- album_integration.php 15 Jan 2008 10:56:12 -0000 1.3.2.1 *************** *** 100,111 **** return $mxurl; } ! function this_fap_toplisturl($args = '') { ! global $mx_root_path, $module_root_path, $page_id, $album_index, $phpEx, $integration_enabled, $is_block; ! ! ! $mxurl = $mx_root_path . 'index.' . $phpEx . '?page=' . $album_index . ($args == '' ? '' : '&' . $args); ! return $mxurl; } --- 100,115 ---- return $mxurl; } ! function this_fap_toplisturl($args = '', $force_standalone_mode = false) { ! global $mx_root_path, $module_root_path, $page_id, $album_index, $phpEx, $integration_enabled; + if( $force_standalone_mode ) + { + $mxurl = $mx_root_path . 'modules/mx_smartor/' . 'album.' . $phpEx . ($args == '' ? '' : '?' . $args); + } + else + { + $mxurl = $mx_root_path . 'index.' . $phpEx . '?page=' . $album_index . ($args == '' ? '' : '&' . $args); + } return $mxurl; } |
|
From: OryNider <ory...@us...> - 2008-01-15 10:53:17
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv24087 Modified Files: mx_functions_core.php mx_functions_phpbb.php mx_functions_style.php Log Message: smilies Index: mx_functions_core.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_core.php,v retrieving revision 1.58 retrieving revision 1.59 diff -C2 -d -r1.58 -r1.59 *** mx_functions_core.php 13 Jan 2008 18:36:28 -0000 1.58 --- mx_functions_core.php 15 Jan 2008 10:53:13 -0000 1.59 *************** *** 107,115 **** * @return unknown */ ! function obtain_mxbb_config() { global $db; ! if ($config = $this->get('mxbb_config') && $portal_config['portal_version']) { return $config; --- 107,115 ---- * @return unknown */ ! function obtain_mxbb_config($force_refresh = false) { global $db; ! if ( ($config = $this->get('mxbb_config')) && !($force_refresh) ) { return $config; Index: mx_functions_phpbb.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_phpbb.php,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** mx_functions_phpbb.php 13 Jan 2008 21:42:25 -0000 1.37 --- mx_functions_phpbb.php 15 Jan 2008 10:53:13 -0000 1.38 *************** *** 145,148 **** --- 145,149 ---- * @return string */ + function mx_smilies_pass_old($message) { *************** *** 154,157 **** --- 155,163 ---- } + if( !function_exists('smilies_pass') && ((PORTAL_BACKEND == 'phpbb2') || (PORTAL_BACKEND == 'phpBB2')) ) + { + include_once($phpbb_root_path . 'includes/bbcode.'.$phpEx); + } + $smilies_path = $board_config['smilies_path']; $board_config['smilies_path'] = PHPBB_URL . $board_config['smilies_path']; *************** *** 161,164 **** --- 167,171 ---- } + /** * phpBB Smilies pass. |
|
From: OryNider <ory...@us...> - 2008-01-15 10:51:45
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv23155 Modified Files: Tag: core28x mx_functions_phpbb.php mx_functions_tools.php Log Message: smilies Index: mx_functions_phpbb.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_phpbb.php,v retrieving revision 1.32.2.3 retrieving revision 1.32.2.4 diff -C2 -d -r1.32.2.3 -r1.32.2.4 *** mx_functions_phpbb.php 13 Jan 2008 21:41:12 -0000 1.32.2.3 --- mx_functions_phpbb.php 15 Jan 2008 10:51:39 -0000 1.32.2.4 *************** *** 25,33 **** function mx_smilies_pass($message) { ! global $board_config, $phpbb_root_path, $phpEx; ! if( !function_exists('smilies_pass') ) { ! include_once($phpbb_root_path . 'includes/functions_post.'.$phpEx); } --- 25,33 ---- function mx_smilies_pass($message) { ! global $mx_page, $board_config, $phpbb_root_path, $phpEx; ! if( !function_exists('smilies_pass') && ((PORTAL_BACKEND == 'phpbb2') || (PORTAL_BACKEND == 'phpBB2')) ) { ! include_once($phpbb_root_path . 'includes/bbcode.'.$phpEx); } |
|
From: OryNider <ory...@us...> - 2008-01-15 05:42:02
|
Update of /cvsroot/mxbb/mx_smartor/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv32314 Modified Files: subSilver.cfg Log Message: Index: subSilver.cfg =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/templates/subSilver/subSilver.cfg,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** subSilver.cfg 5 Jul 2007 06:00:23 -0000 1.8 --- subSilver.cfg 15 Jan 2008 05:41:57 -0000 1.9 *************** *** 51,59 **** $mx_template_images = PORTAL_URL . $current_template_path . "/images"; ! $current_smartor_images = $module_root_path . "templates/". $mx_template_name ."/images"; $current_template_phpbb_images = PHPBB_URL . "templates/". $mx_template_name ."/images"; // phpBB graphics template ! if ( !file_exists( $current_smartor_images . '/lang_' . $board_config['default_lang'] ) ) { $link_language='lang_english'; --- 51,59 ---- $mx_template_images = PORTAL_URL . $current_template_path . "/images"; ! $current_module_images = PORTAL_URL . $module_root_path . "templates/". $mx_template_name ."/images"; $current_template_phpbb_images = PHPBB_URL . "templates/". $mx_template_name ."/images"; // phpBB graphics template ! if ( !file_exists( $current_module_images . '/lang_' . $board_config['default_lang'] ) ) { $link_language='lang_english'; *************** *** 78,105 **** // Mighty Gorgon - Full Album Pack - BEGIN ! $mx_images['icon_left_arrow3'] = "$current_smartor_images/icon_left_arrow3.gif"; ! $mx_images['icon_right_arrow3'] = "$current_smartor_images/icon_right_arrow3.gif"; ! $mx_images['no_thumbnail'] = "$current_smartor_images/nothumbnail.jpg"; ! $mx_images['spacer'] = "$current_smartor_images/spacer.gif"; $mx_images['mini_new_pictures'] = "$current_template_phpbb_images/icon_minipost_new.gif"; ! $mx_images['mini_all_pic_view_mode'] = "$current_smartor_images/icon_mini_showall.gif"; ! $mx_images['icon_album'] = "$current_smartor_images/" . LANG . "/icon_album.gif"; ! $mx_images['manage_pic'] = "$current_smartor_images/" . LANG . "/manage_pic.gif"; ! $mx_images['upload_pic'] = "$current_smartor_images/" . LANG . "/upload_pic.gif"; ! $mx_images['jupload_pic']= "$current_smartor_images/" . LANG . "/jupload_pic.gif"; ! $mx_images['download_pic'] = "$current_smartor_images/" . LANG . "/download.gif"; ! $mx_images['download_all_pic'] = "$current_smartor_images/" . LANG . "/download_all.gif"; ! $mx_images['all_pic_view_mode'] = "$current_smartor_images/" . LANG . "/simple_view.gif"; ! $mx_images['normal_pic_view_mode'] = "$current_smartor_images/" . LANG . "/normal_view.gif"; ! $mx_images['show_all_pics'] = "$current_smartor_images/" . LANG . "/show_all_pics.gif"; ! $mx_images['show_all_ratings'] = "$current_smartor_images/" . LANG . "/show_all_ratings.gif"; ! $mx_images['show_all_comments'] = "$current_smartor_images/" . LANG . "/show_all_comments.gif"; ! $mx_images['orange_dot'] = "$current_smartor_images/orange_dot.png"; ! $mx_images['blue_dot'] = "$current_smartor_images/blue_dot.png"; ! $mx_images['green_dot'] = "$current_smartor_images/green_dot.png"; ! $mx_images['yellow_dot'] = "$current_smartor_images/yellow_dot.png"; ! $mx_images['icon_dot'] = "$current_smartor_images/icon_dot.gif"; ! $mx_images['default_avatar'] = "$current_smartor_images/default_avatar.png"; ! $mx_images['guest_avatar'] = "$current_smartor_images/" . LANG . "/guest_avatar.png"; // Use standard phpBB graphics --- 78,105 ---- // Mighty Gorgon - Full Album Pack - BEGIN ! $mx_images['icon_left_arrow3'] = "$current_module_images/icon_left_arrow3.gif"; ! $mx_images['icon_right_arrow3'] = "$current_module_images/icon_right_arrow3.gif"; ! $mx_images['no_thumbnail'] = "$current_module_images/nothumbnail.jpg"; ! $mx_images['spacer'] = "$current_module_images/spacer.gif"; $mx_images['mini_new_pictures'] = "$current_template_phpbb_images/icon_minipost_new.gif"; ! $mx_images['mini_all_pic_view_mode'] = "$current_module_images/icon_mini_showall.gif"; ! $mx_images['icon_album'] = "$current_module_images/" . LANG . "/icon_album.gif"; ! $mx_images['manage_pic'] = "$current_module_images/" . LANG . "/manage_pic.gif"; ! $mx_images['upload_pic'] = "$current_module_images/" . LANG . "/upload_pic.gif"; ! $mx_images['jupload_pic']= "$current_module_images/" . LANG . "/jupload_pic.gif"; ! $mx_images['download_pic'] = "$current_module_images/" . LANG . "/download.gif"; ! $mx_images['download_all_pic'] = "$current_module_images/" . LANG . "/download_all.gif"; ! $mx_images['all_pic_view_mode'] = "$current_module_images/" . LANG . "/simple_view.gif"; ! $mx_images['normal_pic_view_mode'] = "$current_module_images/" . LANG . "/normal_view.gif"; ! $mx_images['show_all_pics'] = "$current_module_images/" . LANG . "/show_all_pics.gif"; ! $mx_images['show_all_ratings'] = "$current_module_images/" . LANG . "/show_all_ratings.gif"; ! $mx_images['show_all_comments'] = "$current_module_images/" . LANG . "/show_all_comments.gif"; ! $mx_images['orange_dot'] = "$current_module_images/orange_dot.png"; ! $mx_images['blue_dot'] = "$current_module_images/blue_dot.png"; ! $mx_images['green_dot'] = "$current_module_images/green_dot.png"; ! $mx_images['yellow_dot'] = "$current_module_images/yellow_dot.png"; ! $mx_images['icon_dot'] = "$current_module_images/icon_dot.gif"; ! $mx_images['default_avatar'] = "$current_module_images/default_avatar.png"; ! $mx_images['guest_avatar'] = "$current_module_images/" . LANG . "/guest_avatar.png"; // Use standard phpBB graphics |
|
From: OryNider <ory...@us...> - 2008-01-15 05:39:20
|
Update of /cvsroot/mxbb/mx_smartor/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv32155 Modified Files: Tag: core28x subSilver.cfg Log Message: Index: subSilver.cfg =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/templates/subSilver/subSilver.cfg,v retrieving revision 1.8 retrieving revision 1.8.2.1 diff -C2 -d -r1.8 -r1.8.2.1 *** subSilver.cfg 5 Jul 2007 06:00:23 -0000 1.8 --- subSilver.cfg 15 Jan 2008 05:39:16 -0000 1.8.2.1 *************** *** 51,59 **** $mx_template_images = PORTAL_URL . $current_template_path . "/images"; ! $current_smartor_images = $module_root_path . "templates/". $mx_template_name ."/images"; $current_template_phpbb_images = PHPBB_URL . "templates/". $mx_template_name ."/images"; // phpBB graphics template ! if ( !file_exists( $current_smartor_images . '/lang_' . $board_config['default_lang'] ) ) { $link_language='lang_english'; --- 51,59 ---- $mx_template_images = PORTAL_URL . $current_template_path . "/images"; ! $current_module_images = PORTAL_URL . $module_root_path . "templates/". $mx_template_name ."/images"; $current_template_phpbb_images = PHPBB_URL . "templates/". $mx_template_name ."/images"; // phpBB graphics template ! if ( !file_exists( $current_module_images . '/lang_' . $board_config['default_lang'] ) ) { $link_language='lang_english'; *************** *** 78,105 **** // Mighty Gorgon - Full Album Pack - BEGIN ! $mx_images['icon_left_arrow3'] = "$current_smartor_images/icon_left_arrow3.gif"; ! $mx_images['icon_right_arrow3'] = "$current_smartor_images/icon_right_arrow3.gif"; ! $mx_images['no_thumbnail'] = "$current_smartor_images/nothumbnail.jpg"; ! $mx_images['spacer'] = "$current_smartor_images/spacer.gif"; $mx_images['mini_new_pictures'] = "$current_template_phpbb_images/icon_minipost_new.gif"; ! $mx_images['mini_all_pic_view_mode'] = "$current_smartor_images/icon_mini_showall.gif"; ! $mx_images['icon_album'] = "$current_smartor_images/" . LANG . "/icon_album.gif"; ! $mx_images['manage_pic'] = "$current_smartor_images/" . LANG . "/manage_pic.gif"; ! $mx_images['upload_pic'] = "$current_smartor_images/" . LANG . "/upload_pic.gif"; ! $mx_images['jupload_pic']= "$current_smartor_images/" . LANG . "/jupload_pic.gif"; ! $mx_images['download_pic'] = "$current_smartor_images/" . LANG . "/download.gif"; ! $mx_images['download_all_pic'] = "$current_smartor_images/" . LANG . "/download_all.gif"; ! $mx_images['all_pic_view_mode'] = "$current_smartor_images/" . LANG . "/simple_view.gif"; ! $mx_images['normal_pic_view_mode'] = "$current_smartor_images/" . LANG . "/normal_view.gif"; ! $mx_images['show_all_pics'] = "$current_smartor_images/" . LANG . "/show_all_pics.gif"; ! $mx_images['show_all_ratings'] = "$current_smartor_images/" . LANG . "/show_all_ratings.gif"; ! $mx_images['show_all_comments'] = "$current_smartor_images/" . LANG . "/show_all_comments.gif"; ! $mx_images['orange_dot'] = "$current_smartor_images/orange_dot.png"; ! $mx_images['blue_dot'] = "$current_smartor_images/blue_dot.png"; ! $mx_images['green_dot'] = "$current_smartor_images/green_dot.png"; ! $mx_images['yellow_dot'] = "$current_smartor_images/yellow_dot.png"; ! $mx_images['icon_dot'] = "$current_smartor_images/icon_dot.gif"; ! $mx_images['default_avatar'] = "$current_smartor_images/default_avatar.png"; ! $mx_images['guest_avatar'] = "$current_smartor_images/" . LANG . "/guest_avatar.png"; // Use standard phpBB graphics --- 78,105 ---- // Mighty Gorgon - Full Album Pack - BEGIN ! $mx_images['icon_left_arrow3'] = "$current_module_images/icon_left_arrow3.gif"; ! $mx_images['icon_right_arrow3'] = "$current_module_images/icon_right_arrow3.gif"; ! $mx_images['no_thumbnail'] = "$current_module_images/nothumbnail.jpg"; ! $mx_images['spacer'] = "$current_module_images/spacer.gif"; $mx_images['mini_new_pictures'] = "$current_template_phpbb_images/icon_minipost_new.gif"; ! $mx_images['mini_all_pic_view_mode'] = "$current_module_images/icon_mini_showall.gif"; ! $mx_images['icon_album'] = "$current_module_images/" . LANG . "/icon_album.gif"; ! $mx_images['manage_pic'] = "$current_module_images/" . LANG . "/manage_pic.gif"; ! $mx_images['upload_pic'] = "$current_module_images/" . LANG . "/upload_pic.gif"; ! $mx_images['jupload_pic']= "$current_module_images/" . LANG . "/jupload_pic.gif"; ! $mx_images['download_pic'] = "$current_module_images/" . LANG . "/download.gif"; ! $mx_images['download_all_pic'] = "$current_module_images/" . LANG . "/download_all.gif"; ! $mx_images['all_pic_view_mode'] = "$current_module_images/" . LANG . "/simple_view.gif"; ! $mx_images['normal_pic_view_mode'] = "$current_module_images/" . LANG . "/normal_view.gif"; ! $mx_images['show_all_pics'] = "$current_module_images/" . LANG . "/show_all_pics.gif"; ! $mx_images['show_all_ratings'] = "$current_module_images/" . LANG . "/show_all_ratings.gif"; ! $mx_images['show_all_comments'] = "$current_module_images/" . LANG . "/show_all_comments.gif"; ! $mx_images['orange_dot'] = "$current_module_images/orange_dot.png"; ! $mx_images['blue_dot'] = "$current_module_images/blue_dot.png"; ! $mx_images['green_dot'] = "$current_module_images/green_dot.png"; ! $mx_images['yellow_dot'] = "$current_module_images/yellow_dot.png"; ! $mx_images['icon_dot'] = "$current_module_images/icon_dot.gif"; ! $mx_images['default_avatar'] = "$current_module_images/default_avatar.png"; ! $mx_images['guest_avatar'] = "$current_module_images/" . LANG . "/guest_avatar.png"; // Use standard phpBB graphics |
|
From: OryNider <ory...@us...> - 2008-01-15 05:30:35
|
Update of /cvsroot/mxbb/core/modules/mx_phpbb2blocks/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31809/templates/_core Modified Files: _core.cfg Log Message: http://www.mx-system.com/forum/viewtopic.php?p=60555#60555 Index: _core.cfg =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_phpbb2blocks/templates/_core/_core.cfg,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** _core.cfg 9 Sep 2007 16:53:02 -0000 1.1 --- _core.cfg 15 Jan 2008 05:30:29 -0000 1.2 *************** *** 28,31 **** --- 28,33 ---- // + $mx_template_name = 'subSilver'; + // // Do not alter this line! *************** *** 43,46 **** --- 45,49 ---- // ------------------------------------------------------------------------- $current_template_images = PORTAL_URL . $current_template_path . "/images"; + $current_module_images = PORTAL_URL . $module_root_path . "templates/". $mx_template_name ."/images"; // ------------------------------------------------------------------------- |
|
From: OryNider <ory...@us...> - 2008-01-15 05:30:34
|
Update of /cvsroot/mxbb/core/modules/mx_phpbb2blocks In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31809 Modified Files: mx_announce.php Log Message: http://www.mx-system.com/forum/viewtopic.php?p=60555#60555 Index: mx_announce.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_phpbb2blocks/mx_announce.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** mx_announce.php 9 Sep 2007 16:49:36 -0000 1.4 --- mx_announce.php 15 Jan 2008 05:30:29 -0000 1.5 *************** *** 321,325 **** 'SIGNATURE' => $user_sig, 'FOLDER_IMG' => $folder_image, ! 'IMAGE' => $module_root_path . TEMPLATE_ROOT_PATH . 'images/' . $annoucement_image, 'U_TOPIC_URL' => mx_append_sid(PHPBB_URL . "viewtopic.$phpEx?" . POST_TOPIC_URL . '=' . $postrow[$i]['topic_id']), --- 321,325 ---- 'SIGNATURE' => $user_sig, 'FOLDER_IMG' => $folder_image, ! 'IMAGE' => ($current_module_images) ? $current_module_images . $annoucement_image : $module_root_path . TEMPLATE_ROOT_PATH . 'images/' . $annoucement_image, 'U_TOPIC_URL' => mx_append_sid(PHPBB_URL . "viewtopic.$phpEx?" . POST_TOPIC_URL . '=' . $postrow[$i]['topic_id']), |
|
From: OryNider <ory...@us...> - 2008-01-15 05:30:26
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv31771 Modified Files: mx_functions_style.php Log Message: http://www.mx-system.com/forum/viewtopic.php?p=60555#60555 Index: mx_functions_style.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_style.php,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** mx_functions_style.php 12 Jan 2008 10:43:45 -0000 1.30 --- mx_functions_style.php 15 Jan 2008 05:30:16 -0000 1.31 *************** *** 1160,1164 **** function _load_mxbb_images($module_root_path = '') { ! global $images, $board_config, $template, $phpbb_root_path, $mx_root_path, $theme; //unset($GLOBALS['MX_TEMPLATE_CONFIG']); --- 1160,1164 ---- function _load_mxbb_images($module_root_path = '') { ! global $images, $board_config, $template, $phpbb_root_path, $mx_root_path, $theme, $current_module_images; //unset($GLOBALS['MX_TEMPLATE_CONFIG']); |
|
From: OryNider <ory...@us...> - 2008-01-15 05:18:47
|
Update of /cvsroot/mxbb/core/modules/mx_phpbb2blocks In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28140 Modified Files: Tag: core28x mx_announce.php Log Message: http://www.mx-system.com/forum/viewtopic.php?t=10483 Index: mx_announce.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_phpbb2blocks/mx_announce.php,v retrieving revision 1.3 retrieving revision 1.3.2.1 diff -C2 -d -r1.3 -r1.3.2.1 *** mx_announce.php 5 May 2007 20:13:40 -0000 1.3 --- mx_announce.php 15 Jan 2008 05:18:38 -0000 1.3.2.1 *************** *** 320,324 **** 'SIGNATURE' => $user_sig, 'FOLDER_IMG' => $folder_image, ! 'IMAGE' => $module_root_path . TEMPLATE_ROOT_PATH . 'images/' . $annoucement_image, 'U_TOPIC_URL' => append_sid(PHPBB_URL . "viewtopic.$phpEx?" . POST_TOPIC_URL . '=' . $postrow[$i]['topic_id']), --- 320,324 ---- 'SIGNATURE' => $user_sig, 'FOLDER_IMG' => $folder_image, ! 'IMAGE' => ($current_module_images) ? $current_module_images . '/' . $annoucement_image : $module_root_path . TEMPLATE_ROOT_PATH . 'images/' . $annoucement_image, 'U_TOPIC_URL' => append_sid(PHPBB_URL . "viewtopic.$phpEx?" . POST_TOPIC_URL . '=' . $postrow[$i]['topic_id']), |
|
From: OryNider <ory...@us...> - 2008-01-15 05:18:47
|
Update of /cvsroot/mxbb/core/modules/mx_phpbb2blocks/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28140/templates/subSilver Modified Files: Tag: core28x subSilver.cfg Log Message: http://www.mx-system.com/forum/viewtopic.php?t=10483 Index: subSilver.cfg =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_phpbb2blocks/templates/subSilver/Attic/subSilver.cfg,v retrieving revision 1.1 retrieving revision 1.1.2.1 diff -C2 -d -r1.1 -r1.1.2.1 *** subSilver.cfg 2 May 2006 23:22:17 -0000 1.1 --- subSilver.cfg 15 Jan 2008 05:18:38 -0000 1.1.2.1 *************** *** 28,31 **** --- 28,33 ---- // + $mx_template_name = 'subSilver'; + // // Do not alter this line! *************** *** 35,41 **** --- 37,50 ---- // ------------------------------------------------------------------------- + // Do some checks + // ------------------------------------------------------------------------- + $current_template_path = file_exists( $mx_root_path . $current_template_path . "/images" ) ? $current_template_path : ( file_exists( $mx_root_path . $cloned_template_path . "/images" ) ? $cloned_template_path : $default_template_path ); + + // ------------------------------------------------------------------------- // Prefix with PORTAL_URL // ------------------------------------------------------------------------- $current_template_images = PORTAL_URL . $current_template_path . "/images"; + $current_module_images = PORTAL_URL . $module_root_path . "templates/". $mx_template_name ."/images"; + // ------------------------------------------------------------------------- |