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-04-20 07:21:55
|
Update of /cvsroot/mxbb/mx_shotcast/images/default In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv19604/images/default Added Files: close.png close_h.png Log Message: 3.0.0-RC --- NEW FILE: close.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: close_h.png --- (This appears to be a binary file; contents omitted.) |
|
From: OryNider <ory...@us...> - 2008-04-20 07:19:50
|
Update of /cvsroot/mxbb/mx_shotcast/images/aero In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv17122/aero Log Message: Directory /cvsroot/mxbb/mx_shotcast/images/aero added to the repository |
|
From: OryNider <ory...@us...> - 2008-03-27 16:32:52
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25715 Modified Files: mx_functions_style.php Log Message: temp fix Index: mx_functions_style.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_style.php,v retrieving revision 1.67 retrieving revision 1.68 diff -C2 -d -r1.67 -r1.68 *** mx_functions_style.php 14 Mar 2008 19:24:55 -0000 1.67 --- mx_functions_style.php 27 Mar 2008 16:32:42 -0000 1.68 *************** *** 874,877 **** --- 874,882 ---- break; } + + if (empty($this->template_name)) + { + $row['head_stylesheet'] = $this->template_name = 'subSilver'; + } $this->current_template_path = $this->template_path . $this->template_name; |
|
From: OryNider <ory...@us...> - 2008-03-27 14:31:54
|
Update of /cvsroot/mxbb/mx_smartor/album_mod/modules In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22215/album_mod/modules Modified Files: album_allpics.php album_cat.php album_cat_sort.php album_comment.php album_memberlist.php album_personal.php album_showpage.php album_thumbnail.php Log Message: Upgrade for 2.8.2 finaly :D Index: album_personal.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/modules/album_personal.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** album_personal.php 13 Mar 2008 08:35:57 -0000 1.3 --- album_personal.php 27 Mar 2008 14:31:11 -0000 1.4 *************** *** 299,303 **** $template->assign_block_vars('picrow.pic_detail', array( 'TITLE' => $picrow[$j]['pic_title'], ! 'TIME' => create_date($board_config['default_dateformat'], $picrow[$j]['pic_time'], $board_config['board_timezone']), 'VIEW' => $picrow[$j]['pic_view_count'], --- 299,303 ---- $template->assign_block_vars('picrow.pic_detail', array( 'TITLE' => $picrow[$j]['pic_title'], ! 'TIME' => create_date2($board_config['default_dateformat'], $picrow[$j]['pic_time'], $board_config['board_timezone']), 'VIEW' => $picrow[$j]['pic_view_count'], *************** *** 313,317 **** 'LOCK' => ($userdata['user_level'] == ADMIN) ? '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&mode=". (($picrow[$j]['pic_lock'] == 0) ? 'lock' : 'unlock') ."&pic_id=". $picrow[$j]['pic_id'])) .'">'. (($picrow[$j]['pic_lock'] == 0) ? $lang['Lock'] : $lang['Unlock']) .'</a>' : '', ! 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://www.nic.com/cgi-bin/whois.cgi?query=' . decode_ip($picrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($picrow[$j]['pic_user_ip']) .'</a><br />' : '' ) ); --- 313,317 ---- 'LOCK' => ($userdata['user_level'] == ADMIN) ? '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&mode=". (($picrow[$j]['pic_lock'] == 0) ? 'lock' : 'unlock') ."&pic_id=". $picrow[$j]['pic_id'])) .'">'. (($picrow[$j]['pic_lock'] == 0) ? $lang['Lock'] : $lang['Unlock']) .'</a>' : '', ! 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.domaintools.com/' . decode_ip2($picrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip2($picrow[$j]['pic_user_ip']) .'</a><br />' : '' ) ); Index: album_showpage.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/modules/album_showpage.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** album_showpage.php 13 Mar 2008 08:35:58 -0000 1.3 --- album_showpage.php 27 Mar 2008 14:31:11 -0000 1.4 *************** *** 849,853 **** $edit_info = ($commentrow[$i]['comment_edit_count'] == 1) ? $lang['Edited_time_total'] : $lang['Edited_times_total']; ! $edit_info = '<br /><br />» '. sprintf($edit_info, $lastedit_row['username'], create_date($board_config['default_dateformat'], $commentrow[$i]['comment_edit_time'], $board_config['board_timezone']), $commentrow[$i]['comment_edit_count']) .'<br />'; } else --- 849,853 ---- $edit_info = ($commentrow[$i]['comment_edit_count'] == 1) ? $lang['Edited_time_total'] : $lang['Edited_times_total']; ! $edit_info = '<br /><br />» '. sprintf($edit_info, $lastedit_row['username'], create_date2($board_config['default_dateformat'], $commentrow[$i]['comment_edit_time'], $board_config['board_timezone']), $commentrow[$i]['comment_edit_count']) .'<br />'; } else *************** *** 941,946 **** 'ID' => $commentrow[$i]['comment_id'], 'POSTER_NAME' => $poster, ! 'TIME' => create_date($board_config['default_dateformat'], $commentrow[$i]['comment_time'], $board_config['board_timezone']), ! 'IP' => ($userdata['user_level'] == ADMIN) ? '<a href="http://www.nic.com/cgi-bin/whois.cgi?query=' . decode_ip($commentrow[$i]['comment_user_ip']) . '" target="_blank">' . decode_ip($commentrow[$i]['comment_user_ip']) .'</a><br />' : '', //users mesangers, website, email --- 941,946 ---- 'ID' => $commentrow[$i]['comment_id'], 'POSTER_NAME' => $poster, ! 'TIME' => create_date2($board_config['default_dateformat'], $commentrow[$i]['comment_time'], $board_config['board_timezone']), ! 'IP' => ($userdata['user_level'] == ADMIN) ? 'http://whois.domaintools.com/' . decode_ip2($commentrow[$i]['comment_user_ip']) . '" target="_blank">' . decode_ip2($commentrow[$i]['comment_user_ip']) .'</a><br />' : '', //users mesangers, website, email *************** *** 957,961 **** 'POSTER_RANK' => $poster_rank, 'POSTER_RANK_IMGAGE' => $phpbb_root_path .$rank_image, ! 'POSTER_JOINED' => ( $commentrow[$i]['user_id'] != ANONYMOUS ) ? $lang['Joined'] . ': ' . create_date($lang['DATE_FORMAT'], $commentrow[$i]['user_regdate'], $board_config['board_timezone']) : '', 'POSTER_POSTS' => ( $commentrow[$i]['user_id'] != ANONYMOUS ) ? $lang['Posts'] . ': ' . $commentrow[$i]['user_posts'] : '', 'POSTER_FROM' => ( $commentrow[$i]['user_from'] && $commentrow[$i]['user_id'] != ANONYMOUS ) ? $lang['Location'] . ': ' . $commentrow[$i]['user_from'] : '', --- 957,961 ---- 'POSTER_RANK' => $poster_rank, 'POSTER_RANK_IMGAGE' => $phpbb_root_path .$rank_image, ! 'POSTER_JOINED' => ( $commentrow[$i]['user_id'] != ANONYMOUS ) ? $lang['Joined'] . ': ' . create_date2($lang['DATE_FORMAT'], $commentrow[$i]['user_regdate'], $board_config['board_timezone']) : '', 'POSTER_POSTS' => ( $commentrow[$i]['user_id'] != ANONYMOUS ) ? $lang['Posts'] . ': ' . $commentrow[$i]['user_posts'] : '', 'POSTER_FROM' => ( $commentrow[$i]['user_from'] && $commentrow[$i]['user_id'] != ANONYMOUS ) ? $lang['Location'] . ': ' . $commentrow[$i]['user_from'] : '', *************** *** 1200,1204 **** 'POSTER' => $poster, ! 'PIC_TIME' => create_date($board_config['default_dateformat'], $thispic['pic_time'], $board_config['board_timezone']), 'PIC_VIEW' => $thispic['pic_view_count'], 'PIC_COMMENTS' => $total_comments, --- 1200,1204 ---- 'POSTER' => $poster, ! 'PIC_TIME' => create_date2($board_config['default_dateformat'], $thispic['pic_time'], $board_config['board_timezone']), 'PIC_VIEW' => $thispic['pic_view_count'], 'PIC_COMMENTS' => $total_comments, Index: album_allpics.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/modules/album_allpics.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** album_allpics.php 13 Mar 2008 03:44:00 -0000 1.2 --- album_allpics.php 27 Mar 2008 14:31:06 -0000 1.3 *************** *** 461,465 **** 'U_PIC_CAT' => $image_cat_url, ! 'TIME' => create_date($board_config['default_dateformat'], $picrow[$j]['pic_time'], $board_config['board_timezone']), 'VIEW' => $picrow[$j]['pic_view_count'], --- 461,465 ---- 'U_PIC_CAT' => $image_cat_url, ! 'TIME' => create_date2($board_config['default_dateformat'], $picrow[$j]['pic_time'], $board_config['board_timezone']), 'VIEW' => $picrow[$j]['pic_view_count'], *************** *** 479,483 **** 'MOVE' => ($userdata['user_level'] == ADMIN) ? '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp" . '&mode=move&pic_id=' . $picrow[$j]['pic_id'])) . '">' . $lang['Move'] . '</a>' : '', ! 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip($picrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($picrow[$j]['pic_user_ip']) .'</a><br />' : '' ) ); --- 479,483 ---- 'MOVE' => ($userdata['user_level'] == ADMIN) ? '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp" . '&mode=move&pic_id=' . $picrow[$j]['pic_id'])) . '">' . $lang['Move'] . '</a>' : '', ! 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip2($picrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip2($picrow[$j]['pic_user_ip']) .'</a><br />' : '' ) ); Index: album_cat.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/modules/album_cat.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** album_cat.php 13 Mar 2008 08:35:54 -0000 1.3 --- album_cat.php 27 Mar 2008 14:31:07 -0000 1.4 *************** *** 531,535 **** 'LOCK' => ($auth_data['moderator']) ? '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&mode=". (($picrow[$j]['pic_lock'] == 0) ? 'lock' : 'unlock') ."&pic_id=". $picrow[$j]['pic_id'])) .'">'. (($picrow[$j]['pic_lock'] == 0) ? $lang['Lock'] : $lang['Unlock']) .'</a>' : '', ! // 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://www.nic.com/cgi-bin/whois.cgi?query=' . decode_ip($picrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($picrow[$j]['pic_user_ip']) .'</a><br />' : '' ) ); --- 531,535 ---- 'LOCK' => ($auth_data['moderator']) ? '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&mode=". (($picrow[$j]['pic_lock'] == 0) ? 'lock' : 'unlock') ."&pic_id=". $picrow[$j]['pic_id'])) .'">'. (($picrow[$j]['pic_lock'] == 0) ? $lang['Lock'] : $lang['Unlock']) .'</a>' : '', ! // 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://www.nic.com/cgi-bin/whois.cgi?query=' . decode_ip2($picrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip2($picrow[$j]['pic_user_ip']) .'</a><br />' : '' ) ); Index: album_comment.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/modules/album_comment.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** album_comment.php 13 Mar 2008 08:35:54 -0000 1.3 --- album_comment.php 27 Mar 2008 14:31:09 -0000 1.4 *************** *** 297,301 **** $edit_info = ($commentrow[$i]['comment_edit_count'] == 1) ? $lang['Edited_time_total'] : $lang['Edited_times_total']; ! $edit_info = '<br /><br />» '. sprintf($edit_info, $lastedit_row['username'], create_date($board_config['default_dateformat'], $commentrow[$i]['comment_edit_time'], $board_config['board_timezone']), $commentrow[$i]['comment_edit_count']) .'<br />'; } else --- 297,301 ---- $edit_info = ($commentrow[$i]['comment_edit_count'] == 1) ? $lang['Edited_time_total'] : $lang['Edited_times_total']; ! $edit_info = '<br /><br />» '. sprintf($edit_info, $lastedit_row['username'], create_date2($board_config['default_dateformat'], $commentrow[$i]['comment_edit_time'], $board_config['board_timezone']), $commentrow[$i]['comment_edit_count']) .'<br />'; } else *************** *** 307,312 **** 'ID' => $commentrow[$i]['comment_id'], 'POSTER' => $poster, ! 'TIME' => create_date($board_config['default_dateformat'], $commentrow[$i]['comment_time'], $board_config['board_timezone']), ! 'IP' => ($userdata['user_level'] == ADMIN) ? '-----------------------------------<br />' . $lang['IP_Address'] . ': <a href="http://www.nic.com/cgi-bin/whois.cgi?query=' . decode_ip($commentrow[$i]['comment_user_ip']) . '" target="_blank">' . decode_ip($commentrow[$i]['comment_user_ip']) .'</a><br />' : '', 'TEXT' => nl2br($commentrow[$i]['comment_text']), --- 307,312 ---- 'ID' => $commentrow[$i]['comment_id'], 'POSTER' => $poster, ! 'TIME' => create_date2($board_config['default_dateformat'], $commentrow[$i]['comment_time'], $board_config['board_timezone']), ! 'IP' => ($userdata['user_level'] == ADMIN) ? '-----------------------------------<br />' . $lang['IP_Address'] . ': <a href="http://whois.domaintools.com/' . decode_ip2($commentrow[$i]['comment_user_ip']) . '" target="_blank">' . decode_ip2($commentrow[$i]['comment_user_ip']) .'</a><br />' : '', 'TEXT' => nl2br($commentrow[$i]['comment_text']), *************** *** 377,381 **** 'POSTER' => $poster, ! 'PIC_TIME' => create_date($board_config['default_dateformat'], $thispic['pic_time'], $board_config['board_timezone']), 'PIC_VIEW' => $thispic['pic_view_count'], 'PIC_COMMENTS' => $total_comments, --- 377,381 ---- 'POSTER' => $poster, ! 'PIC_TIME' => create_date2($board_config['default_dateformat'], $thispic['pic_time'], $board_config['board_timezone']), 'PIC_VIEW' => $thispic['pic_view_count'], 'PIC_COMMENTS' => $total_comments, Index: album_cat_sort.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/modules/album_cat_sort.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** album_cat_sort.php 13 Mar 2008 08:35:54 -0000 1.3 --- album_cat_sort.php 27 Mar 2008 14:31:07 -0000 1.4 *************** *** 471,475 **** 'LOCK' => ($auth_data['moderator']) ? '<a href="'. mx_append_sid("album_modcp.$phpEx?mode=". (($picrow[$j]['pic_lock'] == 0) ? 'lock' : 'unlock') ."&pic_id=". $picrow[$j]['pic_id']) .'">'. (($picrow[$j]['pic_lock'] == 0) ? $lang['Lock'] : $lang['Unlock']) .'</a>' : '', ! 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://www.nic.com/cgi-bin/whois.cgi?query=' . decode_ip($picrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($picrow[$j]['pic_user_ip']) .'</a><br />' : '' ) ); --- 471,475 ---- 'LOCK' => ($auth_data['moderator']) ? '<a href="'. mx_append_sid("album_modcp.$phpEx?mode=". (($picrow[$j]['pic_lock'] == 0) ? 'lock' : 'unlock') ."&pic_id=". $picrow[$j]['pic_id']) .'">'. (($picrow[$j]['pic_lock'] == 0) ? $lang['Lock'] : $lang['Unlock']) .'</a>' : '', ! 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.domaintools.com/' . decode_ip2($picrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip2($picrow[$j]['pic_user_ip']) .'</a><br />' : '' ) ); Index: album_memberlist.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/modules/album_memberlist.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** album_memberlist.php 13 Mar 2008 08:35:55 -0000 1.3 --- album_memberlist.php 27 Mar 2008 14:31:10 -0000 1.4 *************** *** 271,275 **** 'MOVE' => ($userdata['user_level'] == ADMIN) ? '<a href="'. mx_append_sid(album_append_uid("album_modcp.$phpEx?mode=move&pic_id=". $picrow[$j]['pic_id'])) . '">' . $lang['Move'] . '</a>' : '', ! 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip($picrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($picrow[$j]['pic_user_ip']) .'</a><br />' : '' ) ); --- 271,275 ---- 'MOVE' => ($userdata['user_level'] == ADMIN) ? '<a href="'. mx_append_sid(album_append_uid("album_modcp.$phpEx?mode=move&pic_id=". $picrow[$j]['pic_id'])) . '">' . $lang['Move'] . '</a>' : '', ! 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip2($picrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip2($picrow[$j]['pic_user_ip']) .'</a><br />' : '' ) ); Index: album_thumbnail.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/modules/album_thumbnail.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** album_thumbnail.php 13 Mar 2008 08:35:58 -0000 1.3 --- album_thumbnail.php 27 Mar 2008 14:31:12 -0000 1.4 *************** *** 86,90 **** if( empty($thispic) || !file_exists($pic_fullpath) ) { ! mx_message_die(GENERAL_MESSAGE, $lang['Pic_not_exist']); } --- 86,90 ---- if( empty($thispic) || !file_exists($pic_fullpath) ) { ! mx_message_die(GENERAL_MESSAGE, $lang['Pic_not_exist'] . ': ' . $pic_fullpath); } |
|
From: OryNider <ory...@us...> - 2008-03-27 14:31:49
|
Update of /cvsroot/mxbb/mx_smartor/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22215/templates/_core Modified Files: mx_smartor.cfg Log Message: Upgrade for 2.8.2 finaly :D |
|
From: OryNider <ory...@us...> - 2008-03-27 14:31:47
|
Update of /cvsroot/mxbb/mx_smartor/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22215/admin Modified Files: admin_album_auth.php admin_album_cat.php admin_album_cfg.php admin_album_clearcache.php admin_album_clown_SP.php admin_album_config_personal.php admin_album_ext.php admin_album_otf.php admin_album_personal.php Log Message: Upgrade for 2.8.2 finaly :D Index: admin_album_config_personal.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_config_personal.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** admin_album_config_personal.php 13 Mar 2008 08:35:53 -0000 1.5 --- admin_album_config_personal.php 27 Mar 2008 14:30:54 -0000 1.6 *************** *** 92,96 **** $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 92,96 ---- $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', @file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); Index: admin_album_cfg.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_cfg.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** admin_album_cfg.php 13 Mar 2008 08:35:53 -0000 1.9 --- admin_album_cfg.php 27 Mar 2008 14:30:47 -0000 1.10 *************** *** 92,96 **** $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 92,96 ---- $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', @file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); Index: admin_album_auth.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_auth.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** admin_album_auth.php 13 Mar 2008 08:35:53 -0000 1.16 --- admin_album_auth.php 27 Mar 2008 14:30:43 -0000 1.17 *************** *** 94,98 **** $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 94,98 ---- $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', @file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); Index: admin_album_clearcache.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_clearcache.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** admin_album_clearcache.php 13 Mar 2008 08:35:53 -0000 1.14 --- admin_album_clearcache.php 27 Mar 2008 14:30:47 -0000 1.15 *************** *** 92,96 **** $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 92,96 ---- $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', @file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); Index: admin_album_ext.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_ext.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** admin_album_ext.php 13 Mar 2008 08:35:53 -0000 1.4 --- admin_album_ext.php 27 Mar 2008 14:30:54 -0000 1.5 *************** *** 62,67 **** $default_config[$config_name] = $config_value; ! $new[$config_name] = ( isset( $HTTP_POST_VARS[$config_name] ) ) ? $HTTP_POST_VARS[$config_name] : $default_config[$config_name]; ! if ( isset( $HTTP_POST_VARS['submit'] ) ) { $sql = "UPDATE " . ALBUM_CONFIG_TABLE . " SET --- 62,67 ---- $default_config[$config_name] = $config_value; ! $new[$config_name] = ( isset( $_POST[$config_name] ) ) ? $_POST[$config_name] : $default_config[$config_name]; ! if ( isset( $_POST['submit'] ) ) { $sql = "UPDATE " . ALBUM_CONFIG_TABLE . " SET *************** *** 72,80 **** mx_message_die( GENERAL_ERROR, "Failed to update general configuration for $config_name", "", __LINE__, __FILE__, $sql ); } } } $db->sql_freeresult($result); ! if ( isset( $HTTP_POST_VARS['submit'] ) ) { $message = $lang['album_config_updated'] . "<br /><br />" . sprintf( $lang['Click_return_album_config'], "<a href=\"" . mx_append_sid( "admin_album_ext.$phpEx" ) . "\">", "</a>" ) . "<br /><br />" . sprintf( $lang['Click_return_admin_index'], "<a href=\"" . mx_append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . "\">", "</a>" ); --- 72,81 ---- mx_message_die( GENERAL_ERROR, "Failed to update general configuration for $config_name", "", __LINE__, __FILE__, $sql ); } + $mx_cache->put('album_config', $new); } } $db->sql_freeresult($result); ! if ( isset( $_POST['submit'] ) ) { $message = $lang['album_config_updated'] . "<br /><br />" . sprintf( $lang['Click_return_album_config'], "<a href=\"" . mx_append_sid( "admin_album_ext.$phpEx" ) . "\">", "</a>" ) . "<br /><br />" . sprintf( $lang['Click_return_admin_index'], "<a href=\"" . mx_append_sid( $mx_root_path . "admin/index.$phpEx?pane=right" ) . "\">", "</a>" ); Index: admin_album_cat.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_cat.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** admin_album_cat.php 13 Mar 2008 08:35:53 -0000 1.14 --- admin_album_cat.php 27 Mar 2008 14:30:46 -0000 1.15 *************** *** 103,107 **** $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 103,107 ---- $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', @file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); Index: admin_album_otf.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_otf.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** admin_album_otf.php 13 Mar 2008 08:35:53 -0000 1.3 --- admin_album_otf.php 27 Mar 2008 14:30:55 -0000 1.4 *************** *** 103,107 **** $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 103,107 ---- $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define('MXBB_27x', @file_exists( $mx_root_path . 'mx_login.php')); $phpEx = substr(strrchr(__FILE__, '.'), 1); Index: admin_album_personal.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_personal.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** admin_album_personal.php 13 Mar 2008 08:35:53 -0000 1.14 --- admin_album_personal.php 27 Mar 2008 14:30:58 -0000 1.15 *************** *** 92,96 **** $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 92,96 ---- $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', @file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); Index: admin_album_clown_SP.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/admin/admin_album_clown_SP.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** admin_album_clown_SP.php 13 Mar 2008 08:35:53 -0000 1.18 --- admin_album_clown_SP.php 27 Mar 2008 14:30:48 -0000 1.19 *************** *** 92,96 **** $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); --- 92,96 ---- $setmodules_admin_path = 'modules/mx_smartor/admin/'; ! define( 'MXBB_27x', @file_exists( $mx_root_path . 'mx_login.php' ) ); $phpEx = substr(strrchr(__FILE__, '.'), 1); |
|
From: OryNider <ory...@us...> - 2008-03-27 14:31:45
|
Update of /cvsroot/mxbb/mx_smartor/album_mod/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22215/album_mod/includes Modified Files: album_constants.php album_functions.php album_hierarchy_sql.php Log Message: Upgrade for 2.8.2 finaly :D Index: album_hierarchy_sql.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/includes/album_hierarchy_sql.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** album_hierarchy_sql.php 13 Mar 2008 08:35:54 -0000 1.3 --- album_hierarchy_sql.php 27 Mar 2008 14:31:01 -0000 1.4 *************** *** 1255,1259 **** 'LOCK' => ($auth_data['moderator']) ? '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&mode=" . (($picrow[$j]['pic_lock'] == 0) ? 'lock' : 'unlock') . '&pic_id=' . $picrow[$j]['pic_id'])) .'">'. (($picrow[$j]['pic_lock'] == 0) ? $lang['Lock'] : $lang['Unlock']) .'</a>' : '', ! 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip($picrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($picrow[$j]['pic_user_ip']) .'</a><br />' : '', 'AVATAR_PIC' => ( ($album_config['personal_allow_avatar_gallery'] == 1) && ($userdata['user_id'] == $picrow[$j]['pic_user_id']) ) ? '<br /><a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_avatar&pic_id=" . $picrow[$j]['pic_id'])) . '">' . $lang['Avatar_Set'] . '</a>' : '', --- 1255,1259 ---- 'LOCK' => ($auth_data['moderator']) ? '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_modcp&mode=" . (($picrow[$j]['pic_lock'] == 0) ? 'lock' : 'unlock') . '&pic_id=' . $picrow[$j]['pic_id'])) .'">'. (($picrow[$j]['pic_lock'] == 0) ? $lang['Lock'] : $lang['Unlock']) .'</a>' : '', ! 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip2($picrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip2($picrow[$j]['pic_user_ip']) .'</a><br />' : '', 'AVATAR_PIC' => ( ($album_config['personal_allow_avatar_gallery'] == 1) && ($userdata['user_id'] == $picrow[$j]['pic_user_id']) ) ? '<br /><a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_avatar&pic_id=" . $picrow[$j]['pic_id'])) . '">' . $lang['Avatar_Set'] . '</a>' : '', *************** *** 1443,1447 **** 'COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $recentrow[$j]['pic_id'])) . '">' . $lang['Comments'] . '</a>: ' . $image_comment . '<br />') : '', ! 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip($recentrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($recentrow[$j]['pic_user_ip']) .'</a><br />' : '' ) ); --- 1443,1447 ---- 'COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $recentrow[$j]['pic_id'])) . '">' . $lang['Comments'] . '</a>: ' . $image_comment . '<br />') : '', ! 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip2($recentrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip2($recentrow[$j]['pic_user_ip']) .'</a><br />' : '' ) ); *************** *** 1619,1623 **** 'H_COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $highestrow[$j]['pic_id'])) . '">' . $lang['Comments'] . '</a>: ' . $image_comment . '<br />') : '', ! 'H_IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip($highestrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($highestrow[$j]['pic_user_ip']) .'</a><br />' : '' ) ); --- 1619,1623 ---- 'H_COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $highestrow[$j]['pic_id'])) . '">' . $lang['Comments'] . '</a>: ' . $image_comment . '<br />') : '', ! 'H_IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip2($highestrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip2($highestrow[$j]['pic_user_ip']) .'</a><br />' : '' ) ); *************** *** 1782,1786 **** 'H_COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $mostviewed[$j]['pic_id'])) . '">' . $lang['Comments'] . '</a>: ' . $image_comment . '<br />') : '', ! 'H_IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip($mostviewed[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($mostviewed[$j]['pic_user_ip']) .'</a><br />' : '' ) ); --- 1782,1786 ---- 'H_COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $mostviewed[$j]['pic_id'])) . '">' . $lang['Comments'] . '</a>: ' . $image_comment . '<br />') : '', ! 'H_IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip2($mostviewed[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip2($mostviewed[$j]['pic_user_ip']) .'</a><br />' : '' ) ); *************** *** 1938,1942 **** 'COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $randrow[$j]['pic_id'])) . '">' . $lang['Comments'] . '</a>: ' . $image_comment . '<br />') : '', ! 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip($randrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($randrow[$j]['pic_user_ip']) .'</a><br />' : '' ) ); --- 1938,1942 ---- 'COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $randrow[$j]['pic_id'])) . '">' . $lang['Comments'] . '</a>: ' . $image_comment . '<br />') : '', ! 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip2($randrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip2($randrow[$j]['pic_user_ip']) .'</a><br />' : '' ) ); *************** *** 2134,2138 **** 'RATING' => ($album_config['rate'] == 1) ? ( '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $commentsrow[$i]['pic_id'])) . '" ' . $image_rating_link_style .'>' . $lang['Rating'] . '</a>: ' . $image_rating . '<br />') : '', 'COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $commentsrow[$i]['pic_id'])) . '">' . $lang['Comments'] . '</a>: ' . $image_comment . '<br />') : '', ! 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip($commentsrow[$i]['pic_user_ip']) . '" target="_blank">' . decode_ip($commentsrow[$i]['pic_user_ip']) .'</a><br />' : '' ) ); --- 2134,2138 ---- 'RATING' => ($album_config['rate'] == 1) ? ( '<a href="'. mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $commentsrow[$i]['pic_id'])) . '" ' . $image_rating_link_style .'>' . $lang['Rating'] . '</a>: ' . $image_rating . '<br />') : '', 'COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="' . mx_append_sid(this_smartor_mxurl("smartor_mode=album_showpage&pic_id=" . $commentsrow[$i]['pic_id'])) . '">' . $lang['Comments'] . '</a>: ' . $image_comment . '<br />') : '', ! 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://whois.sc/' . decode_ip2($commentsrow[$i]['pic_user_ip']) . '" target="_blank">' . decode_ip2($commentsrow[$i]['pic_user_ip']) .'</a><br />' : '' ) ); Index: album_functions.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/includes/album_functions.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** album_functions.php 13 Mar 2008 08:35:54 -0000 1.3 --- album_functions.php 27 Mar 2008 14:31:01 -0000 1.4 *************** *** 19,46 **** } - if(!function_exists(create_date)) - { - function create_date($format, $gmepoch, $tz) - { - return phpBB2::create_date($format, $gmepoch, $tz); - } - } if(!function_exists(create_date2)) { ! function create_date2($format, $gmepoch, $tz) { ! return create_date($format, $gmepoch, $tz); } } ! if(!function_exists(decode_ip)) { ! function decode_ip($int_ip) { ! return phpBB2::decode_ip($int_ip); } } // ---------------------------------------------------------------------------- // This function will return the access data of the current user for a category --- 19,60 ---- } if(!function_exists(create_date2)) { ! if(!function_exists(create_date)) { ! function create_date2($format, $gmepoch, $tz) ! { ! return phpBB2::create_date($format, $gmepoch, $tz); ! } ! } ! else ! { ! function create_date2($format, $gmepoch, $tz) ! { ! return create_date($format, $gmepoch, $tz); ! } } } ! if(!function_exists(decode_ip2)) { ! if(!function_exists(decode_ip)) { ! function decode_ip2($int_ip) ! { ! return phpBB2::decode_ip($int_ip); ! } ! } ! else ! { ! function decode_ip2($int_ip) ! { ! return decode_ip($int_ip); ! } } } + // ---------------------------------------------------------------------------- // This function will return the access data of the current user for a category |
|
From: OryNider <ory...@us...> - 2008-03-27 14:31:42
|
Update of /cvsroot/mxbb/mx_smartor/album_mod/language/lang_english In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22215/album_mod/language/lang_english Modified Files: lang_admin.php lang_main.php Log Message: Upgrade for 2.8.2 finaly :D |
|
From: OryNider <ory...@us...> - 2008-03-27 14:31:37
|
Update of /cvsroot/mxbb/mx_smartor In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22215 Modified Files: album_lists.php Log Message: Upgrade for 2.8.2 finaly :D Index: album_lists.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_lists.php,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** album_lists.php 8 Feb 2008 10:47:59 -0000 1.24 --- album_lists.php 27 Mar 2008 14:30:59 -0000 1.25 *************** *** 74,108 **** */ ! $sql = "SELECT c.*, COUNT(p.pic_id) AS count ! FROM ". ALBUM_CAT_TABLE ." AS c ! LEFT JOIN ". ALBUM_TABLE ." AS p ON c.cat_id = p.pic_cat_id ! WHERE cat_id <> 0 ! GROUP BY cat_id ! ORDER BY cat_order ASC"; ! if( !($result = $db->sql_query($sql)) ) ! { ! mx_message_die(GENERAL_ERROR, 'Could not query categories list', '', __LINE__, __FILE__, $sql); ! } ! ! $catrows = array(); ! while( $row = $db->sql_fetchrow($result) ) ! { ! $album_user_access = album_user_access($row['cat_id'], $row, 1, 0, 0, 0, 0, 0); // VIEW ! if ($album_user_access['view'] == 1) ! { ! $catrows[] = $row; ! } ! } ! $allowed_cat = ''; // For Recent Public Pics below ! // $catrows now stores all categories which this user can view. Dump them out! ! for ($i = 0; $i < count($catrows); $i++) ! { // -------------------------------- // Build allowed category-list (for recent pics after here) // -------------------------------- $allowed_cat .= ($allowed_cat == '') ? $catrows[$i]['cat_id'] : ',' . $catrows[$i]['cat_id']; ! } // END of Categories Index --- 74,123 ---- */ ! // ! // Get Album Config ! // ! if (($mx_cache->get('album_cat_list')) && ($use_cache)) ! { ! $catrows = $mx_cache->get('album_cat_list'); ! } ! else ! { ! $sql = "SELECT c.*, COUNT(p.pic_id) AS count ! FROM ". ALBUM_CAT_TABLE ." AS c ! LEFT JOIN ". ALBUM_TABLE ." AS p ON c.cat_id = p.pic_cat_id ! WHERE cat_id <> 0 ! GROUP BY cat_id ! ORDER BY cat_order ASC"; ! if( !($result = $db->sql_query($sql)) ) ! { ! mx_message_die(GENERAL_ERROR, 'Could not query categories list', '', __LINE__, __FILE__, $sql); ! } ! ! $catrows = array(); ! while( $row = $db->sql_fetchrow($result) ) ! { ! $album_user_access = album_user_access($row['cat_id'], $row, 1, 0, 0, 0, 0, 0); // VIEW ! if ($album_user_access['view'] == 1) ! { ! $catrows[] = $row; ! } ! } ! if ($use_cache) ! { ! $mx_cache->put('album_cat_list', $catrows); ! } ! } ! ! $allowed_cat = ''; // For Recent Public Pics below ! // $catrows now stores all categories which this user can view. Dump them out! ! for ($i = 0; $i < count($catrows); $i++) ! { // -------------------------------- // Build allowed category-list (for recent pics after here) // -------------------------------- $allowed_cat .= ($allowed_cat == '') ? $catrows[$i]['cat_id'] : ',' . $catrows[$i]['cat_id']; ! } // END of Categories Index *************** *** 116,153 **** if ($allowed_cat != '') { ! ! $sql = "SELECT p.*, 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 pic_time DESC ! LIMIT ". $album_sp_config['img_cols'] * $album_sp_config['img_rows']; ! /* ! // this fix it's not working on some sql versions ! $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, ". 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 pic_time DESC ! LIMIT ". $album_sp_config['img_cols'] * $album_sp_config['img_rows']; ! */ ! if( !($result = $db->sql_query($sql)) ) { ! mx_message_die(GENERAL_ERROR, 'Could not query recent pics information', '', __LINE__, __FILE__, $sql); } ! $recentrow = array(); ! while( $row = $db->sql_fetchrow($result) ) ! { ! $recentrow[] = $row; } --- 131,166 ---- if ($allowed_cat != '') { ! if (($mx_cache->get('album_recent_list')) && ($use_cache)) { ! $recentrow = $mx_cache->get('album_recent_list'); } + else + { + $sql = "SELECT p.*, 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 pic_time DESC + LIMIT ". $album_sp_config['img_cols'] * $album_sp_config['img_rows']; + if( !($result = $db->sql_query($sql)) ) + { + mx_message_die(GENERAL_ERROR, 'Could not query recent pics information', '', __LINE__, __FILE__, $sql); + } ! $recentrow = array(); ! while( $row = $db->sql_fetchrow($result) ) ! { ! $recentrow[] = $row; ! } ! ! if ($use_cache) ! { ! $mx_cache->put('album_recent_list', $recentrow); ! } } *************** *** 198,202 **** 'TITLE' => $recentrow[$j]['pic_title'], 'POSTER' => $recent_poster, ! 'TIME' => create_date($board_config['default_dateformat'], $recentrow[$j]['pic_time'], $board_config['board_timezone']), 'VIEW' => $recentrow[$j]['pic_view_count'], --- 211,215 ---- 'TITLE' => $recentrow[$j]['pic_title'], 'POSTER' => $recent_poster, ! 'TIME' => create_date2($board_config['default_dateformat'], $recentrow[$j]['pic_time'], $board_config['board_timezone']), 'VIEW' => $recentrow[$j]['pic_view_count'], *************** *** 205,209 **** 'COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="'. append_sid(this_fap_toplisturl("smartor_mode=album_showpage&pic_id=". $recentrow[$j]['pic_id'], TRUE)) . '">' . $lang['Comments'] . '</a>: ' . $recentrow[$j]['comments'] . '<br />') : '' ! // 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://www.nic.com/cgi-bin/whois.cgi?query=' . decode_ip($recentrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($recentrow[$j]['pic_user_ip']) .'</a><br />' : '' ) ); --- 218,222 ---- 'COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="'. append_sid(this_fap_toplisturl("smartor_mode=album_showpage&pic_id=". $recentrow[$j]['pic_id'], TRUE)) . '">' . $lang['Comments'] . '</a>: ' . $recentrow[$j]['comments'] . '<br />') : '' ! // 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://www.nic.com/cgi-bin/whois.cgi?query=' . decode_ip2($recentrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip2($recentrow[$j]['pic_user_ip']) .'</a><br />' : '' ) ); *************** *** 237,275 **** 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 pic_view_count DESC ! LIMIT ". $album_sp_config['img_cols'] * $album_sp_config['img_rows']; ! ! /* ! ! // this fix it's not working on some sql versions ! $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 pic_view_count DESC ! LIMIT ". $album_sp_config['img_cols'] * $album_sp_config['img_rows']; ! */ ! if( !($result = $db->sql_query($sql)) ) { ! mx_message_die(GENERAL_ERROR, 'Could not query recent pics information', '', __LINE__, __FILE__, $sql); } - $mostrow = array(); ! while( $row = $db->sql_fetchrow($result) ) ! { ! $mostrow[] = $row; } --- 250,287 ---- if ($allowed_cat != '') { ! if (($mx_cache->get('album_most_list')) && ($use_cache)) { ! $mostrow= $mx_cache->get('album_most_list'); } + else + { + $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 pic_view_count 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 most viewed pics information', '', __LINE__, __FILE__, $sql); ! } ! ! $mostrow = array(); ! ! while( $row = $db->sql_fetchrow($result) ) ! { ! $mostrow[] = $row; ! } ! ! if ($use_cache) ! { ! $mx_cache->put('album_most_list', $mostrow); ! } } *************** *** 320,324 **** 'TITLE' => $mostrow[$j]['pic_title'], 'POSTER' => $most_poster, ! 'TIME' => create_date($board_config['default_dateformat'], $mostrow[$j]['pic_time'], $board_config['board_timezone']), 'VIEW' => $mostrow[$j]['pic_view_count'], --- 332,336 ---- 'TITLE' => $mostrow[$j]['pic_title'], 'POSTER' => $most_poster, ! 'TIME' => create_date2($board_config['default_dateformat'], $mostrow[$j]['pic_time'], $board_config['board_timezone']), 'VIEW' => $mostrow[$j]['pic_view_count'], *************** *** 327,331 **** 'COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="'. append_sid(this_fap_toplisturl("smartor_mode=album_showpage&pic_id=". $mostrow[$j]['pic_id'], TRUE)) . '">' . $lang['Comments'] . '</a>: ' . $mostrow[$j]['comments'] . '<br />') : '' ! // 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://www.nic.com/cgi-bin/whois.cgi?query=' . decode_ip($recentrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($recentrow[$j]['pic_user_ip']) .'</a><br />' : '' ) ); --- 339,343 ---- 'COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="'. append_sid(this_fap_toplisturl("smartor_mode=album_showpage&pic_id=". $mostrow[$j]['pic_id'], TRUE)) . '">' . $lang['Comments'] . '</a>: ' . $mostrow[$j]['comments'] . '<br />') : '' ! // 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://www.nic.com/cgi-bin/whois.cgi?query=' . decode_ip2($recentrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip2($recentrow[$j]['pic_user_ip']) .'</a><br />' : '' ) ); *************** *** 360,384 **** 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; } --- 372,407 ---- if ($allowed_cat != '') { ! if (($mx_cache->get('album_highest_list')) && ($use_cache)) { ! $highestrow = $mx_cache->get('album_highest_list'); } + else + { + $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; ! } ! ! if ($use_cache) ! { ! $mx_cache->put('album_highest_list', $highestrow); ! } } *************** *** 429,433 **** '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'], --- 452,456 ---- 'H_TITLE' => $highestrow[$j]['pic_title'], 'H_POSTER' => $highest_poster, ! 'H_TIME' => create_date2($board_config['default_dateformat'], $highestrow[$j]['pic_time'], $board_config['board_timezone']), 'H_VIEW' => $highestrow[$j]['pic_view_count'], *************** *** 435,439 **** '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 />' : '' ) ); --- 458,462 ---- '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_ip2($highestrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip2($highestrow[$j]['pic_user_ip']) .'</a><br />' : '' ) ); *************** *** 468,503 **** 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 RAND() ! 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 RAND() ! LIMIT ". $album_sp_config['img_cols'] * $album_sp_config['img_rows']; ! if( !($result = $db->sql_query($sql)) ) { ! mx_message_die(GENERAL_ERROR, 'Could not query rand pics information', '', __LINE__, __FILE__, $sql); } ! $randrow = array(); ! while( $row = $db->sql_fetchrow($result) ) ! { ! $randrow[] = $row; } --- 491,526 ---- if ($allowed_cat != '') { ! if (($mx_cache->get('album_rand_list')) && ($use_cache)) { ! $randrow = $mx_cache->get('album_rand_list'); } + else + { + $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 RAND() + LIMIT ". $album_sp_config['img_cols'] * $album_sp_config['img_rows']; + if( !($result = $db->sql_query($sql)) ) + { + mx_message_die(GENERAL_ERROR, 'Could not query rand pics information', '', __LINE__, __FILE__, $sql); + } ! $randrow = array(); ! while( $row = $db->sql_fetchrow($result) ) ! { ! $randrow[] = $row; ! } ! ! if ($use_cache) ! { ! $mx_cache->put('album_rand_list', $randrow); ! } } *************** *** 550,554 **** 'TITLE' => $randrow[$j]['pic_title'], 'POSTER' => $rand_poster, ! 'TIME' => create_date($board_config['default_dateformat'], $randrow[$j]['pic_time'], $board_config['board_timezone']), 'VIEW' => $randrow[$j]['pic_view_count'], --- 573,577 ---- 'TITLE' => $randrow[$j]['pic_title'], 'POSTER' => $rand_poster, ! 'TIME' => create_date2($board_config['default_dateformat'], $randrow[$j]['pic_time'], $board_config['board_timezone']), 'VIEW' => $randrow[$j]['pic_view_count'], *************** *** 558,562 **** 'COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="'. append_sid(this_fap_toplisturl("smartor_mode=album_showpage&pic_id=". $randrow[$j]['pic_id'], TRUE)) . '">' . $lang['Comments'] . '</a>: ' . $randrow[$j]['comments'] . '<br />') : '' ! // 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://www.nic.com/cgi-bin/whois.cgi?query=' . decode_ip($randrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip($randrow[$j]['pic_user_ip']) .'</a><br />' : '' ) ); --- 581,585 ---- 'COMMENTS' => ($album_config['comment'] == 1) ? ( '<a href="'. append_sid(this_fap_toplisturl("smartor_mode=album_showpage&pic_id=". $randrow[$j]['pic_id'], TRUE)) . '">' . $lang['Comments'] . '</a>: ' . $randrow[$j]['comments'] . '<br />') : '' ! // 'IP' => ($userdata['user_level'] == ADMIN) ? $lang['IP_Address'] . ': <a href="http://www.nic.com/cgi-bin/whois.cgi?query=' . decode_ip2($randrow[$j]['pic_user_ip']) . '" target="_blank">' . decode_ip2($randrow[$j]['pic_user_ip']) .'</a><br />' : '' ) ); |
|
From: OryNider <ory...@us...> - 2008-03-27 14:31:37
|
Update of /cvsroot/mxbb/mx_smartor/album_mod In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv22215/album_mod Modified Files: album_common.php Log Message: Upgrade for 2.8.2 finaly :D Index: album_common.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/album_common.php,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** album_common.php 13 Mar 2008 08:35:53 -0000 1.25 --- album_common.php 27 Mar 2008 14:31:00 -0000 1.26 *************** *** 205,209 **** 'SPACER' => $images['spacer'], ! 'CURRENT_TIME' => sprintf($lang['Current_time'], create_date($board_config['default_dateformat'], time(), $board_config['board_timezone'])), 'THUMB_SIZE' => $thumb_size, --- 205,209 ---- 'SPACER' => $images['spacer'], ! 'CURRENT_TIME' => sprintf($lang['Current_time'], create_date2($board_config['default_dateformat'], time(), $board_config['board_timezone'])), 'THUMB_SIZE' => $thumb_size, |
|
From: OryNider <ory...@us...> - 2008-03-27 14:12:31
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3053 Modified Files: Tag: core28x mx_functions_phpbb.php Log Message: if(empty($theme)) should we add this to 28x? Index: mx_functions_phpbb.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_phpbb.php,v retrieving revision 1.32.2.16 retrieving revision 1.32.2.17 diff -C2 -d -r1.32.2.16 -r1.32.2.17 *** mx_functions_phpbb.php 21 Mar 2008 20:05:16 -0000 1.32.2.16 --- mx_functions_phpbb.php 27 Mar 2008 14:10:01 -0000 1.32.2.17 *************** *** 261,264 **** --- 261,272 ---- $mx_user->init($user_ip, $page_id, true); } + + if(empty($theme)) + { + global $user_ip; + $mx_user->page_id = 1; + $mx_user->user_ip = $user_ip; + $mx_user->_init_userprefs(); + } // |
|
From: OryNider <ory...@us...> - 2008-03-27 14:06:26
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv32625 Modified Files: mx_functions_phpbb.php Log Message: if(empty($theme)) should we add this to 28x? Index: mx_functions_phpbb.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_phpbb.php,v retrieving revision 1.58 retrieving revision 1.59 diff -C2 -d -r1.58 -r1.59 *** mx_functions_phpbb.php 25 Mar 2008 05:10:32 -0000 1.58 --- mx_functions_phpbb.php 27 Mar 2008 14:06:18 -0000 1.59 *************** *** 791,794 **** --- 791,802 ---- $mx_user->init($user_ip, $page_id, false); } + + if(empty($theme)) + { + global $user_ip; + $mx_user->page_id = 1; + $mx_user->user_ip = $user_ip; + $mx_user->_init_userprefs(); + } // |
|
From: OryNider <ory...@us...> - 2008-03-26 21:31:02
|
Update of /cvsroot/mxbb/mx_phpbb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25248 Modified Files: forum_hack.php Log Message: fix Index: forum_hack.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/includes/forum_hack.php,v retrieving revision 1.52 retrieving revision 1.53 diff -C2 -d -r1.52 -r1.53 *** forum_hack.php 24 Mar 2008 13:15:49 -0000 1.52 --- forum_hack.php 26 Mar 2008 21:30:08 -0000 1.53 *************** *** 1797,1801 **** case 'modcp': ! $code = str_replace('$u_view_topic = "modcp.$phpEx', '$u_view_topic = $phpbb_root_path."modcp.$phpEx', $code); break; --- 1797,1801 ---- case 'modcp': ! $code = str_replace('"modcp.$phpEx', '$phpbb_root_path."modcp.$phpEx', $code); break; |
|
From: OryNider <ory...@us...> - 2008-03-25 05:22:01
|
Update of /cvsroot/mxbb/core/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30736 Modified Files: index.php Log Message: _SID should be added by mx_addend_sid() automaticly with ? or & and not hardcoded like was Index: index.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/index.php,v retrieving revision 1.44 retrieving revision 1.45 diff -C2 -d -r1.44 -r1.45 *** index.php 17 Feb 2008 20:15:40 -0000 1.44 --- index.php 25 Mar 2008 05:21:58 -0000 1.45 *************** *** 223,228 **** //-MOD: DHTML Menu for ACP "ADMIN_MODULE" => $action, ! "U_ADMIN_MODULE" => mx_append_sid(PHPBB_URL . 'admin/' . $file . '?sid='.$userdata['session_id'])) ! ); $row_count++; } --- 223,228 ---- //-MOD: DHTML Menu for ACP "ADMIN_MODULE" => $action, ! "U_ADMIN_MODULE" => mx_append_sid(PHPBB_URL . 'admin/' . $file) ! )); $row_count++; } |
|
From: OryNider <ory...@us...> - 2008-03-25 05:10:41
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25921 Modified Files: mx_functions_phpbb.php Log Message: ups typo Index: mx_functions_phpbb.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_phpbb.php,v retrieving revision 1.57 retrieving revision 1.58 diff -C2 -d -r1.57 -r1.58 *** mx_functions_phpbb.php 25 Mar 2008 04:46:47 -0000 1.57 --- mx_functions_phpbb.php 25 Mar 2008 05:10:32 -0000 1.58 *************** *** 1188,1197 **** if ( !empty($_SID) && !preg_match('#sid=#', $url) ) { ! $url .= ((strpos($url, '?') === false) ? '?' . $_SID : (( $non_html_amp ) ? '&' : '&' )) . $_SID; } if ( !empty($SID) && !preg_match('#sid=#', $url) ) { ! $url .= ((strpos($url, '?') === false) ? '?' . $SID : (( $non_html_amp ) ? '&' : '&' )) . $SID; } --- 1188,1197 ---- if ( !empty($_SID) && !preg_match('#sid=#', $url) ) { ! $url .= ( (strpos($url, '?') === false) ? '?' : (( $non_html_amp ) ? '&' : '&' ) ) . $_SID; } if ( !empty($SID) && !preg_match('#sid=#', $url) ) { ! $url .= ( (strpos($url, '?') === false) ? '?' : (( $non_html_amp ) ? '&' : '&' ) ) . $SID; } |
|
From: OryNider <ory...@us...> - 2008-03-25 04:47:39
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv15047 Modified Files: mx_functions_phpbb.php Log Message: Index: mx_functions_phpbb.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_phpbb.php,v retrieving revision 1.56 retrieving revision 1.57 diff -C2 -d -r1.56 -r1.57 *** mx_functions_phpbb.php 13 Mar 2008 07:19:59 -0000 1.56 --- mx_functions_phpbb.php 25 Mar 2008 04:46:47 -0000 1.57 *************** *** 1188,1197 **** if ( !empty($_SID) && !preg_match('#sid=#', $url) ) { ! $url .= ( ( strpos($url, '?') !== false ) ? ( ( $non_html_amp ) ? '&' : '&' ) : '?' ) . $_SID; } if ( !empty($SID) && !preg_match('#sid=#', $url) ) { ! $url .= ( ( strpos($url, '?') !== false ) ? ( ( $non_html_amp ) ? '&' : '&' ) : '?' ) . $SID; } --- 1188,1197 ---- if ( !empty($_SID) && !preg_match('#sid=#', $url) ) { ! $url .= ((strpos($url, '?') === false) ? '?' . $_SID : (( $non_html_amp ) ? '&' : '&' )) . $_SID; } if ( !empty($SID) && !preg_match('#sid=#', $url) ) { ! $url .= ((strpos($url, '?') === false) ? '?' . $SID : (( $non_html_amp ) ? '&' : '&' )) . $SID; } |
|
From: OryNider <ory...@us...> - 2008-03-24 13:17:26
|
Update of /cvsroot/mxbb/mx_phpbb/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12345 Modified Files: forum_hack.php Log Message: $code = str_replace('<a href=\"bin', '<a href=\"'.$phpbb_root_path.'bin', $code); Index: forum_hack.php =================================================================== RCS file: /cvsroot/mxbb/mx_phpbb/includes/forum_hack.php,v retrieving revision 1.51 retrieving revision 1.52 diff -C2 -d -r1.51 -r1.52 *** forum_hack.php 29 Feb 2008 14:56:56 -0000 1.51 --- forum_hack.php 24 Mar 2008 13:15:49 -0000 1.52 *************** *** 1771,1774 **** --- 1771,1775 ---- $code = str_replace('<a href=\"modcp', '<a href=\"'.$phpbb_root_path.'modcp', $code); $code = str_replace('<a href=\"viewtopic', '<a href=\"'.$phpbb_root_path.'viewtopic', $code); + $code = str_replace('<a href=\"bin', '<a href=\"'.$phpbb_root_path.'bin', $code); $code = str_replace('$temp_url = "modcp.', '$temp_url = "' . $phpbb_root_path . 'modcp.', $code); $code = str_replace('$temp_url = "posting.', '$temp_url = "' . $phpbb_root_path . 'posting.', $code); |
|
From: OryNider <ory...@us...> - 2008-03-23 02:34:03
|
Update of /cvsroot/mxbb/mx_smartor/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv15368/templates/_core Modified Files: mx_smartor.cfg mx_smartor.css Log Message: some fixes and missing files Index: mx_smartor.cfg =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/templates/_core/mx_smartor.cfg,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_smartor.cfg 14 Mar 2008 14:24:31 -0000 1.1 --- mx_smartor.cfg 23 Mar 2008 02:32:27 -0000 1.2 *************** *** 90,126 **** // Use standard phpBB graphics // ! $mx_images['icon_quote'] = "$current_template_phpbb_images/{LANG}/icon_quote.gif"; ! $mx_images['icon_edit'] = "$current_template_phpbb_images/{LANG}/icon_edit.gif"; ! $mx_images['icon_search'] = "$current_template_phpbb_images/{LANG}/icon_search.gif"; ! $mx_images['icon_profile'] = "$current_template_phpbb_images/{LANG}/icon_profile.gif"; ! $mx_images['icon_pm'] = "$current_template_phpbb_images/{LANG}/icon_pm.gif"; ! $mx_images['icon_email'] = "$current_template_phpbb_images/{LANG}/icon_email.gif"; ! $mx_images['icon_delpost'] = "$current_template_phpbb_images/icon_delete.gif"; ! $mx_images['icon_ip'] = "$current_template_phpbb_images/{LANG}/icon_ip.gif"; ! $mx_images['icon_www'] = "$current_template_phpbb_images/{LANG}/icon_www.gif"; ! $mx_images['icon_icq'] = "$current_template_phpbb_images/{LANG}/icon_icq_add.gif"; ! $mx_images['icon_aim'] = "$current_template_phpbb_images/{LANG}/icon_aim.gif"; ! $mx_images['icon_yim'] = "$current_template_phpbb_images/{LANG}/icon_yim.gif"; ! $mx_images['icon_msnm'] = "$current_template_phpbb_images/{LANG}/icon_msnm.gif"; ! $mx_images['icon_minipost'] = "$current_template_phpbb_images/icon_minipost.gif"; ! $mx_images['icon_gotopost'] = "$current_template_phpbb_images/icon_minipost.gif"; ! $mx_images['icon_minipost_new'] = "$current_template_phpbb_images/icon_minipost_new.gif"; ! $mx_images['icon_latest_reply'] = "$current_template_phpbb_images/icon_latest_reply.gif"; ! $mx_images['icon_newest_reply'] = "$current_template_phpbb_images/icon_newest_reply.gif"; ! $mx_images['forum'] = "$current_template_phpbb_images/folder_big.gif"; ! $mx_images['forum_new'] = "$current_template_phpbb_images/folder_new_big.gif"; ! $mx_images['forum_locked'] = "$current_template_phpbb_images/folder_locked_big.gif"; ! $mx_images['folder'] = "$current_template_phpbb_images/folder.gif"; ! $mx_images['folder_new'] = "$current_template_phpbb_images/folder_new.gif"; ! $mx_images['folder_hot'] = "$current_template_phpbb_images/folder_hot.gif"; ! $mx_images['folder_hot_new'] = "$current_template_phpbb_images/folder_new_hot.gif"; ! $mx_images['folder_locked'] = "$current_template_phpbb_images/folder_lock.gif"; ! $mx_images['folder_locked_new'] = "$current_template_phpbb_images/folder_lock_new.gif"; ! $mx_images['folder_sticky'] = "$current_template_phpbb_images/folder_sticky.gif"; ! $mx_images['folder_sticky_new'] = "$current_template_phpbb_images/folder_sticky_new.gif"; ! $mx_images['folder_announce'] = "$current_template_phpbb_images/folder_announce.gif"; ! $mx_images['folder_announce_new'] = "$current_template_phpbb_images/folder_announce_new.gif"; --- 90,126 ---- // Use standard phpBB graphics // ! $mx_images['icon_quote'] = $images['icon_quote']; ! $mx_images['icon_edit'] = $images['icon_edit']; ! $mx_images['icon_search'] = $images['icon_search']; ! $mx_images['icon_profile'] = $images['icon_profile']; ! $mx_images['icon_pm'] = $images['icon_pm']; ! $mx_images['icon_email'] = $images['icon_email']; ! $mx_images['icon_delpost'] = $images['icon_delpost']; ! $mx_images['icon_ip'] = $images['icon_ip']; ! $mx_images['icon_www'] = $images['icon_www']; ! $mx_images['icon_icq'] = $images['icon_icq']; ! $mx_images['icon_aim'] = $images['icon_aim']; ! $mx_images['icon_yim'] = $images['icon_yim']; ! $mx_images['icon_msnm'] = $images['icon_msnm']; ! $mx_images['icon_minipost'] = $images['icon_minipost']; ! $mx_images['icon_gotopost'] = $images['icon_gotopost']; ! $mx_images['icon_minipost_new'] = $images['icon_minipost_new']; ! $mx_images['icon_latest_reply'] = $images['icon_latest_reply']; ! $mx_images['icon_newest_reply'] = $images['icon_newest_reply']; ! $mx_images['forum'] = $images['forum']; ! $mx_images['forum_new'] = $images['forum_new']; ! $mx_images['forum_locked'] = $images['forum_locked']; ! $mx_images['folder'] = $images['folder']; ! $mx_images['folder_new'] = $images['folder_new']; ! $mx_images['folder_hot'] = $images['folder_hot']; ! $mx_images['folder_hot_new'] = $images['folder_hot_new']; ! $mx_images['folder_locked'] = $images['folder_locked']; ! $mx_images['folder_locked_new'] = $images['folder_locked_new']; ! $mx_images['folder_sticky'] = $images['folder_sticky']; ! $mx_images['folder_sticky_new'] = $images['folder_sticky_new']; ! $mx_images['folder_announce'] = $images['folder_announce']; ! $mx_images['folder_announce_new'] = $images['folder_announce_new']; *************** *** 128,159 **** // Last Message and Anouncement block compatibility // ! $images['folder'] = "$current_template_phpbb_images/folder.gif"; ! $images['folder_new'] = "$current_template_phpbb_images/folder_new.gif"; ! $images['folder_announce'] = "$current_template_phpbb_images/folder_announce.gif"; ! $images['folder_announce_new'] = "$current_template_phpbb_images/folder_announce_new.gif"; ! $images['folder_sticky'] = "$current_template_phpbb_images/folder_sticky.gif"; ! $images['folder_sticky_new'] = "$current_template_phpbb_images/folder_sticky_new.gif"; ! $images['folder_locked'] = "$current_template_phpbb_images/folder_lock.gif"; ! $images['folder_locked_new'] = "$current_template_phpbb_images/folder_lock_new.gif"; ! $images['folder_hot'] = "$current_template_phpbb_images/folder_hot.gif"; ! $images['folder_hot_new'] = "$current_template_phpbb_images/folder_new_hot.gif"; ! $images['icon_latest_reply'] = "$current_template_phpbb_images/icon_latest_reply.gif"; ! $images['icon_newest_reply'] = "$current_template_phpbb_images/icon_newest_reply.gif"; ! ! // ! // 2.8.0 Gold Anouncement block compatibility ! // ! $images['mx_folder'] = "$current_template_phpbb_images/folder.gif"; ! $images['mx_folder_new'] = "$current_template_phpbb_images/folder_new.gif"; ! $images['mx_folder_announce'] = "$current_template_phpbb_images/folder_announce.gif"; ! $images['mx_folder_announce_new'] = "$current_template_phpbb_images/folder_announce_new.gif"; ! $images['mx_folder_sticky'] = "$current_template_phpbb_images/folder_sticky.gif"; ! $images['mx_folder_sticky_new'] = "$current_template_phpbb_images/folder_sticky_new.gif"; ! $images['mx_folder_locked'] = "$current_template_phpbb_images/folder_lock.gif"; ! $images['mx_folder_locked_new'] = "$current_template_phpbb_images/folder_lock_new.gif"; ! $images['mx_folder_hot'] = "$current_template_phpbb_images/folder_hot.gif"; ! $images['mx_folder_hot_new'] = "$current_template_phpbb_images/folder_new_hot.gif"; ! $images['mx_icon_latest_reply'] = "$current_template_phpbb_images/icon_latest_reply.gif"; ! $images['mx_icon_newest_reply'] = "$current_template_phpbb_images/icon_newest_reply.gif"; // --- 128,133 ---- // Last Message and Anouncement block compatibility // ! $mx_images['icon_latest_reply'] = $images['icon_latest_reply']; ! $mx_images['icon_newest_reply'] = $images['icon_newest_reply']; // Index: mx_smartor.css =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/templates/_core/mx_smartor.css,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_smartor.css 14 Mar 2008 14:24:32 -0000 1.1 --- mx_smartor.css 23 Mar 2008 02:32:27 -0000 1.2 *************** *** 240,244 **** width: 30%; height: 100%; ! background: transparent url(../../images/fap/fap_blank.gif) no-repeat; /* Trick IE into showing hover */ outline:none; } --- 240,244 ---- width: 30%; height: 100%; ! background: transparent url(../../album_mod/fap_blank.gif) no-repeat; /* Trick IE into showing hover */ outline:none; } *************** *** 246,251 **** .mooshow_prevLink { left: 0; float: left; outline: none; -moz-outline: none;} .mooshow_nextLink { right: 0; float: right; outline: none; -moz-outline: none;} ! .mooshow_prevLink:hover, .mooshow_prevLink:visited:hover { background: url(../../images/fap/fap_prev.gif) left 100% no-repeat; } ! .mooshow_nextLink:hover, .mooshow_nextLink:visited:hover { background: url(../../images/fap/fap_next.gif) right 100% no-repeat; } --- 246,251 ---- .mooshow_prevLink { left: 0; float: left; outline: none; -moz-outline: none;} .mooshow_nextLink { right: 0; float: right; outline: none; -moz-outline: none;} ! .mooshow_prevLink:hover, .mooshow_prevLink:visited:hover { background: url(../../album_mod/fap_prev.gif) left 100% no-repeat; } ! .mooshow_nextLink:hover, .mooshow_nextLink:visited:hover { background: url(../../album_mod/fap_next.gif) right 100% no-repeat; } |
|
From: OryNider <ory...@us...> - 2008-03-23 02:34:01
|
Update of /cvsroot/mxbb/mx_smartor/album_mod/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv15368/album_mod/includes Modified Files: album_constants.php Log Message: some fixes and missing files Index: album_constants.php =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/album_mod/includes/album_constants.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** album_constants.php 15 Mar 2008 19:54:14 -0000 1.7 --- album_constants.php 23 Mar 2008 02:32:26 -0000 1.8 *************** *** 51,54 **** --- 51,56 ---- { $mx_user->set_module_cfg_name('mx_smartor'); + $mx_user->set_module_lang_path($module_root_path . 'album_mod/'); + $mx_user->extend(MX_LANG_ALL, MX_IMAGES); } } *************** *** 59,67 **** $mx_user->set_module_default_style('_core'); // For compatibility with core 2.8.x } $mx_page->add_css_file('mx_smartor.css'); // Include style dependent *.css file, eg module_path/template_path/template/theme.css $mx_page->add_js_file($module_root_path . 'album_mod/fap_loader.js'); // Relative to module_root } - $mx_user->set_module_lang_path($module_root_path . 'album_mod/'); - $mx_user->extend(MX_LANG_ALL, MX_IMAGES); // Album Tables --- 61,74 ---- $mx_user->set_module_default_style('_core'); // For compatibility with core 2.8.x } + + $mx_user->set_module_lang_path($module_root_path . 'album_mod/'); + + if (is_object($mx_page)) + { + $mx_user->extend(MX_LANG_ALL, MX_IMAGES); + } $mx_page->add_css_file('mx_smartor.css'); // Include style dependent *.css file, eg module_path/template_path/template/theme.css $mx_page->add_js_file($module_root_path . 'album_mod/fap_loader.js'); // Relative to module_root } // Album Tables |
|
From: OryNider <ory...@us...> - 2008-03-23 02:32:33
|
Update of /cvsroot/mxbb/mx_smartor/templates/subSilver In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv15368/templates/subSilver Modified Files: mx_smartor.cfg mx_smartor.css Log Message: some fixes and missing files Index: mx_smartor.cfg =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/templates/subSilver/mx_smartor.cfg,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_smartor.cfg 15 Mar 2008 20:43:47 -0000 1.1 --- mx_smartor.cfg 23 Mar 2008 02:32:27 -0000 1.2 *************** *** 37,41 **** $mx_template_config = true; ! $mx_template_name = 'subSilver'; --- 37,41 ---- $mx_template_config = true; ! $mx_template_name = '_core'; *************** *** 90,126 **** // Use standard phpBB graphics // ! $mx_images['icon_quote'] = "$current_template_phpbb_images/{LANG}/icon_quote.gif"; ! $mx_images['icon_edit'] = "$current_template_phpbb_images/{LANG}/icon_edit.gif"; ! $mx_images['icon_search'] = "$current_template_phpbb_images/{LANG}/icon_search.gif"; ! $mx_images['icon_profile'] = "$current_template_phpbb_images/{LANG}/icon_profile.gif"; ! $mx_images['icon_pm'] = "$current_template_phpbb_images/{LANG}/icon_pm.gif"; ! $mx_images['icon_email'] = "$current_template_phpbb_images/{LANG}/icon_email.gif"; ! $mx_images['icon_delpost'] = "$current_template_phpbb_images/icon_delete.gif"; ! $mx_images['icon_ip'] = "$current_template_phpbb_images/{LANG}/icon_ip.gif"; ! $mx_images['icon_www'] = "$current_template_phpbb_images/{LANG}/icon_www.gif"; ! $mx_images['icon_icq'] = "$current_template_phpbb_images/{LANG}/icon_icq_add.gif"; ! $mx_images['icon_aim'] = "$current_template_phpbb_images/{LANG}/icon_aim.gif"; ! $mx_images['icon_yim'] = "$current_template_phpbb_images/{LANG}/icon_yim.gif"; ! $mx_images['icon_msnm'] = "$current_template_phpbb_images/{LANG}/icon_msnm.gif"; ! $mx_images['icon_minipost'] = "$current_template_phpbb_images/icon_minipost.gif"; ! $mx_images['icon_gotopost'] = "$current_template_phpbb_images/icon_minipost.gif"; ! $mx_images['icon_minipost_new'] = "$current_template_phpbb_images/icon_minipost_new.gif"; ! $mx_images['icon_latest_reply'] = "$current_template_phpbb_images/icon_latest_reply.gif"; ! $mx_images['icon_newest_reply'] = "$current_template_phpbb_images/icon_newest_reply.gif"; ! $mx_images['forum'] = "$current_template_phpbb_images/folder_big.gif"; ! $mx_images['forum_new'] = "$current_template_phpbb_images/folder_new_big.gif"; ! $mx_images['forum_locked'] = "$current_template_phpbb_images/folder_locked_big.gif"; ! $mx_images['folder'] = "$current_template_phpbb_images/folder.gif"; ! $mx_images['folder_new'] = "$current_template_phpbb_images/folder_new.gif"; ! $mx_images['folder_hot'] = "$current_template_phpbb_images/folder_hot.gif"; ! $mx_images['folder_hot_new'] = "$current_template_phpbb_images/folder_new_hot.gif"; ! $mx_images['folder_locked'] = "$current_template_phpbb_images/folder_lock.gif"; ! $mx_images['folder_locked_new'] = "$current_template_phpbb_images/folder_lock_new.gif"; ! $mx_images['folder_sticky'] = "$current_template_phpbb_images/folder_sticky.gif"; ! $mx_images['folder_sticky_new'] = "$current_template_phpbb_images/folder_sticky_new.gif"; ! $mx_images['folder_announce'] = "$current_template_phpbb_images/folder_announce.gif"; ! $mx_images['folder_announce_new'] = "$current_template_phpbb_images/folder_announce_new.gif"; --- 90,126 ---- // Use standard phpBB graphics // ! $mx_images['icon_quote'] = $images['icon_quote']; ! $mx_images['icon_edit'] = $images['icon_edit']; ! $mx_images['icon_search'] = $images['icon_search']; ! $mx_images['icon_profile'] = $images['icon_profile']; ! $mx_images['icon_pm'] = $images['icon_pm']; ! $mx_images['icon_email'] = $images['icon_email']; ! $mx_images['icon_delpost'] = $images['icon_delpost']; ! $mx_images['icon_ip'] = $images['icon_ip']; ! $mx_images['icon_www'] = $images['icon_www']; ! $mx_images['icon_icq'] = $images['icon_icq']; ! $mx_images['icon_aim'] = $images['icon_aim']; ! $mx_images['icon_yim'] = $images['icon_yim']; ! $mx_images['icon_msnm'] = $images['icon_msnm']; ! $mx_images['icon_minipost'] = $images['icon_minipost']; ! $mx_images['icon_gotopost'] = $images['icon_gotopost']; ! $mx_images['icon_minipost_new'] = $images['icon_minipost_new']; ! $mx_images['icon_latest_reply'] = $images['icon_latest_reply']; ! $mx_images['icon_newest_reply'] = $images['icon_newest_reply']; ! $mx_images['forum'] = $images['forum']; ! $mx_images['forum_new'] = $images['forum_new']; ! $mx_images['forum_locked'] = $images['forum_locked']; ! $mx_images['folder'] = $images['folder']; ! $mx_images['folder_new'] = $images['folder_new']; ! $mx_images['folder_hot'] = $images['folder_hot']; ! $mx_images['folder_hot_new'] = $images['folder_hot_new']; ! $mx_images['folder_locked'] = $images['folder_locked']; ! $mx_images['folder_locked_new'] = $images['folder_locked_new']; ! $mx_images['folder_sticky'] = $images['folder_sticky']; ! $mx_images['folder_sticky_new'] = $images['folder_sticky_new']; ! $mx_images['folder_announce'] = $images['folder_announce']; ! $mx_images['folder_announce_new'] = $images['folder_announce_new']; *************** *** 128,159 **** // Last Message and Anouncement block compatibility // ! $images['folder'] = "$current_template_phpbb_images/folder.gif"; ! $images['folder_new'] = "$current_template_phpbb_images/folder_new.gif"; ! $images['folder_announce'] = "$current_template_phpbb_images/folder_announce.gif"; ! $images['folder_announce_new'] = "$current_template_phpbb_images/folder_announce_new.gif"; ! $images['folder_sticky'] = "$current_template_phpbb_images/folder_sticky.gif"; ! $images['folder_sticky_new'] = "$current_template_phpbb_images/folder_sticky_new.gif"; ! $images['folder_locked'] = "$current_template_phpbb_images/folder_lock.gif"; ! $images['folder_locked_new'] = "$current_template_phpbb_images/folder_lock_new.gif"; ! $images['folder_hot'] = "$current_template_phpbb_images/folder_hot.gif"; ! $images['folder_hot_new'] = "$current_template_phpbb_images/folder_new_hot.gif"; ! $images['icon_latest_reply'] = "$current_template_phpbb_images/icon_latest_reply.gif"; ! $images['icon_newest_reply'] = "$current_template_phpbb_images/icon_newest_reply.gif"; ! ! // ! // 2.8.0 Gold Anouncement block compatibility ! // ! $images['mx_folder'] = "$current_template_phpbb_images/folder.gif"; ! $images['mx_folder_new'] = "$current_template_phpbb_images/folder_new.gif"; ! $images['mx_folder_announce'] = "$current_template_phpbb_images/folder_announce.gif"; ! $images['mx_folder_announce_new'] = "$current_template_phpbb_images/folder_announce_new.gif"; ! $images['mx_folder_sticky'] = "$current_template_phpbb_images/folder_sticky.gif"; ! $images['mx_folder_sticky_new'] = "$current_template_phpbb_images/folder_sticky_new.gif"; ! $images['mx_folder_locked'] = "$current_template_phpbb_images/folder_lock.gif"; ! $images['mx_folder_locked_new'] = "$current_template_phpbb_images/folder_lock_new.gif"; ! $images['mx_folder_hot'] = "$current_template_phpbb_images/folder_hot.gif"; ! $images['mx_folder_hot_new'] = "$current_template_phpbb_images/folder_new_hot.gif"; ! $images['mx_icon_latest_reply'] = "$current_template_phpbb_images/icon_latest_reply.gif"; ! $images['mx_icon_newest_reply'] = "$current_template_phpbb_images/icon_newest_reply.gif"; // --- 128,133 ---- // Last Message and Anouncement block compatibility // ! $mx_images['icon_latest_reply'] = $images['icon_latest_reply']; ! $mx_images['icon_newest_reply'] = $images['icon_newest_reply']; // Index: mx_smartor.css =================================================================== RCS file: /cvsroot/mxbb/mx_smartor/templates/subSilver/mx_smartor.css,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_smartor.css 15 Mar 2008 20:43:47 -0000 1.1 --- mx_smartor.css 23 Mar 2008 02:32:27 -0000 1.2 *************** *** 240,244 **** width: 30%; height: 100%; ! background: transparent url(../../images/fap/fap_blank.gif) no-repeat; /* Trick IE into showing hover */ outline:none; } --- 240,244 ---- width: 30%; height: 100%; ! background: transparent url(../../album_mod/fap_blank.gif) no-repeat; /* Trick IE into showing hover */ outline:none; } *************** *** 246,251 **** .mooshow_prevLink { left: 0; float: left; outline: none; -moz-outline: none;} .mooshow_nextLink { right: 0; float: right; outline: none; -moz-outline: none;} ! .mooshow_prevLink:hover, .mooshow_prevLink:visited:hover { background: url(../../images/fap/fap_prev.gif) left 100% no-repeat; } ! .mooshow_nextLink:hover, .mooshow_nextLink:visited:hover { background: url(../../images/fap/fap_next.gif) right 100% no-repeat; } --- 246,251 ---- .mooshow_prevLink { left: 0; float: left; outline: none; -moz-outline: none;} .mooshow_nextLink { right: 0; float: right; outline: none; -moz-outline: none;} ! .mooshow_prevLink:hover, .mooshow_prevLink:visited:hover { background: url(../../album_mod/fap_prev.gif) left 100% no-repeat; } ! .mooshow_nextLink:hover, .mooshow_nextLink:visited:hover { background: url(../../album_mod/fap_next.gif) right 100% no-repeat; } |
|
From: OryNider <ory...@us...> - 2008-03-23 02:32:31
|
Update of /cvsroot/mxbb/mx_smartor/album_mod In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv15368/album_mod Added Files: fap_blank.gif fap_info.gif fap_loading.gif fap_next.gif fap_nothumbnail.jpg fap_prev.gif Log Message: some fixes and missing files --- NEW FILE: fap_prev.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fap_next.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fap_info.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fap_loading.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fap_nothumbnail.jpg --- (This appears to be a binary file; contents omitted.) --- NEW FILE: fap_blank.gif --- (This appears to be a binary file; contents omitted.) |
|
From: OryNider <ory...@us...> - 2008-03-23 02:02:53
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30813 Modified Files: Tag: core28x mx_functions_core.php Log Message: $mx_user->default_template_name -> $moduleDefault Index: mx_functions_core.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_core.php,v retrieving revision 1.52.2.11 retrieving revision 1.52.2.12 diff -C2 -d -r1.52.2.11 -r1.52.2.12 *** mx_functions_core.php 23 Mar 2008 01:51:34 -0000 1.52.2.11 --- mx_functions_core.php 23 Mar 2008 02:02:44 -0000 1.52.2.12 *************** *** 2939,2942 **** --- 2939,2944 ---- $style_path = $theme['template_name']; + + $moduleDefault = !empty($mx_user->loaded_default_styles[$mx_block->module_root_path]) ? $mx_user->loaded_default_styles[$mx_block->module_root_path] : $mx_user->default_template_name; if ( file_exists($mx_block->module_root_path . 'templates/' . $style_path.'/'.(!empty($filename) ? $filename : $theme['head_stylesheet']) )) *************** *** 2950,2954 **** else { ! $this->mxbb_css_addup[] = $mx_block->module_root_path . 'templates/'.$mx_user->default_template_name.'/'.(!empty($filename) ? $filename : $mx_user->default_template_name); } } --- 2952,2956 ---- else { ! $this->mxbb_css_addup[] = $mx_block->module_root_path . 'templates/'. $moduleDefault .'/' . (!empty($filename) ? $filename : $moduleDefault); } } |
|
From: OryNider <ory...@us...> - 2008-03-23 01:56:06
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv27584 Modified Files: Tag: core28x page_header.php Log Message: not closed tag fixed Index: page_header.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/page_header.php,v retrieving revision 1.45.2.6 retrieving revision 1.45.2.7 diff -C2 -d -r1.45.2.6 -r1.45.2.7 *** page_header.php 14 Feb 2008 21:22:36 -0000 1.45.2.6 --- page_header.php 23 Mar 2008 01:56:02 -0000 1.45.2.7 *************** *** 223,227 **** foreach($mx_page->mxbb_css_addup as $key => $mx_css_path) { ! $mx_addional_css_files .= "\n".'<link rel="stylesheet" href="'. PORTAL_URL . $mx_css_path . '" type="text/css" >'; } } --- 223,227 ---- foreach($mx_page->mxbb_css_addup as $key => $mx_css_path) { ! $mx_addional_css_files .= "\n".'<link rel="stylesheet" href="'. PORTAL_URL . $mx_css_path . '" type="text/css" />'; } } |
|
From: OryNider <ory...@us...> - 2008-03-23 01:52:25
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv25695 Modified Files: Tag: core28x mx_functions_core.php Log Message: if I/We use add_css_file() in both 2.9 and 2.8 modules and they are merged we need all features of this function to be merged... Index: mx_functions_core.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_core.php,v retrieving revision 1.52.2.10 retrieving revision 1.52.2.11 diff -C2 -d -r1.52.2.10 -r1.52.2.11 *** mx_functions_core.php 23 Feb 2008 19:38:24 -0000 1.52.2.10 --- mx_functions_core.php 23 Mar 2008 01:51:34 -0000 1.52.2.11 *************** *** 2933,2948 **** * @param string $path */ ! function add_css_file() { ! global $mx_block, $theme; ! $style_path = $theme['template_name'] . '/'; ! if ( file_exists($mx_block->module_root_path . 'templates/' . $style_path . $theme['head_stylesheet']) ) { ! $this->mxbb_css_addup[] = $mx_block->module_root_path . 'templates/' . $style_path . $theme['head_stylesheet']; } else { ! $this->mxbb_css_addup[] = $mx_block->module_root_path . 'templates/subSilver/' . $theme['head_stylesheet']; } } --- 2933,2954 ---- * @param string $path */ ! function add_css_file($filename = '') { ! global $mx_block, $theme, $mx_user; ! ! $style_path = $theme['template_name']; ! ! if ( file_exists($mx_block->module_root_path . 'templates/' . $style_path.'/'.(!empty($filename) ? $filename : $theme['head_stylesheet']) )) { ! $this->mxbb_css_addup[] = $mx_block->module_root_path . 'templates/' . $style_path.'/'.(!empty($filename) ? $filename : $theme['head_stylesheet']); ! } ! else if ( file_exists($mx_block->module_root_path . 'templates/' . $mx_user->cloned_template_name.'/'.(!empty($filename) ? $filename : $mx_user->cloned_template_name)) ) ! { ! $this->mxbb_css_addup[] = $mx_block->module_root_path . 'templates/' . $mx_user->cloned_template_name.'/'.(!empty($filename) ? $filename : $mx_user->cloned_template_name); } else { ! $this->mxbb_css_addup[] = $mx_block->module_root_path . 'templates/'.$mx_user->default_template_name.'/'.(!empty($filename) ? $filename : $mx_user->default_template_name); } } |
|
From: OryNider <ory...@us...> - 2008-03-21 23:07:16
|
Update of /cvsroot/mxbb/mx_shotcast/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12842/_core Modified Files: shotcast_stats.tpl Log Message: fix for ie8 Index: shotcast_stats.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_shotcast/templates/_core/shotcast_stats.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** shotcast_stats.tpl 28 Feb 2008 06:26:43 -0000 1.2 --- shotcast_stats.tpl 21 Mar 2008 23:07:11 -0000 1.3 *************** *** 1,9 **** - <style type="text/css"> - <!-- - .table { font-family: Verdana; font-size: 10px; background-color: #c0c0c0; } - td.nav { border-top: 1px solid #FFFFFF; border-bottom: 1px solid #859288; padding: 1px 0 1px 5px; font-weight: bold; font-size: 12px} - td.stat { border-top: 1px solid #FFFFFF; border-bottom: 1px solid #859288; padding: 1px 0 1px 5px; color: ##000e88;} - --> - </style> <table width="{BLOCK_SIZE}" cellpadding="1" cellspacing="1" border="0" class="forumline" style="border-top:none;"> <tr> --- 1,2 ---- *************** *** 16,35 **** <span class="gensmall"> <tr class="table"> ! <td class="nav" align="left" valign="bottom"> <h8><b>{L_STATION} <i>{S_STATION}</i></b></h8> </td> </tr> <tr class="table"> ! <td class="stat" align="left" valign="bottom"> <i>{L_STATE} <b>{S_STATE}</b></i> </td> </tr> <tr class="table"> ! <td class="stat" align="left" valign="bottom"> <i>{L_SERVER_TITLE} <b>{S_SERVER_TITLE}</b></i> </td> </tr> <tr class="table"> ! <td class="stat" align="left" valign="bottom"> <i>{L_SERVERGENRE} <b>{S_SERVERGENRE}</b></i> </td> --- 9,28 ---- <span class="gensmall"> <tr class="table"> ! <td class="row1" align="left" valign="bottom"> <h8><b>{L_STATION} <i>{S_STATION}</i></b></h8> </td> </tr> <tr class="table"> ! <td class="row2" align="left" valign="bottom"> <i>{L_STATE} <b>{S_STATE}</b></i> </td> </tr> <tr class="table"> ! <td class="row2" align="left" valign="bottom"> <i>{L_SERVER_TITLE} <b>{S_SERVER_TITLE}</b></i> </td> </tr> <tr class="table"> ! <td class="row2" align="left" valign="bottom"> <i>{L_SERVERGENRE} <b>{S_SERVERGENRE}</b></i> </td> *************** *** 37,41 **** </tr> <tr class="table"> ! <td class="stat" align="left" valign="bottom"> <i>{L_SONGURL} <b><a href="{S_SONGURL}">{S_SONGURL}</a></b></i> </td> --- 30,34 ---- </tr> <tr class="table"> ! <td class="row2" align="left" valign="bottom"> <i>{L_SONGURL} <b><a href="{S_SONGURL}">{S_SONGURL}</a></b></i> </td> *************** *** 43,47 **** </tr> <tr class="table"> ! <td class="stat" align="left" valign="bottom"> <i>{L_SONG} <b>{S_SONG}</b></i> </td> --- 36,40 ---- </tr> <tr class="table"> ! <td class="row2" align="left" valign="bottom"> <i>{L_SONG} <b>{S_SONG}</b></i> </td> *************** *** 49,68 **** </tr> <tr class="table"> ! <td class="stat" align="left" valign="bottom"> <i>{L_BITRATE} <b>{S_BITRATE} kbps</b></i> </td> </tr> <tr class="table"> ! <td class="stat" align="left" valign="bottom"> <i>{L_REPORTEDLISTENERS} <b>{S_REPORTEDLISTENERS}</b></i> </td> </tr> <tr class="table"> ! <td class="stat" align="left" valign="bottom"> <i>{L_PEAK_LISTENERS} <b>{S_PEAK_LISTENERS}</b></i> </td> </tr> <tr class="table"> ! <td class="stat" align="left" valign="bottom"> <i>{L_MAX_LISTENERS} <b>{S_MAX_LISTENERS}</b></i></td> </tr> --- 42,61 ---- </tr> <tr class="table"> ! <td class="row2" align="left" valign="bottom"> <i>{L_BITRATE} <b>{S_BITRATE} kbps</b></i> </td> </tr> <tr class="table"> ! <td class="row2" align="left" valign="bottom"> <i>{L_REPORTEDLISTENERS} <b>{S_REPORTEDLISTENERS}</b></i> </td> </tr> <tr class="table"> ! <td class="row2" align="left" valign="bottom"> <i>{L_PEAK_LISTENERS} <b>{S_PEAK_LISTENERS}</b></i> </td> </tr> <tr class="table"> ! <td class="row2" align="left" valign="bottom"> <i>{L_MAX_LISTENERS} <b>{S_MAX_LISTENERS}</b></i></td> </tr> |