|
From: Jon O. <jon...@us...> - 2007-09-09 21:00:14
|
Update of /cvsroot/mxbb/mx_who_am_i/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv9263 Modified Files: mx_common.php Log Message: for 2.9.x Index: mx_common.php =================================================================== RCS file: /cvsroot/mxbb/mx_who_am_i/includes/mx_common.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** mx_common.php 23 Nov 2006 16:38:17 -0000 1.8 --- mx_common.php 9 Sep 2007 21:00:10 -0000 1.9 *************** *** 16,20 **** | re...@di... | www.digitalhijinx.com ! | | description : The "Who Am I" block is a block that | will be visable only to registered users who are --- 16,20 ---- | re...@di... | www.digitalhijinx.com ! | | description : The "Who Am I" block is a block that | will be visable only to registered users who are *************** *** 85,89 **** if ($userdata['user_posts'] != 0) { ! $this->total_posts = get_db_stat('postcount'); $this->percentage = round(($this->total_posts) ? min(100, ($userdata['user_posts'] / $this->total_posts) * 100) : 0, 2); } --- 85,89 ---- if ($userdata['user_posts'] != 0) { ! $this->total_posts = phpBB2::get_db_stat('postcount'); $this->percentage = round(($this->total_posts) ? min(100, ($userdata['user_posts'] / $this->total_posts) * 100) : 0, 2); } *************** *** 167,172 **** 'USERNAME' => $userdata['username'], 'AVATAR_IMG' => '<a href="' . PHPBB_URL . 'profile.php?mode=viewprofile&u=' . $userdata['user_id'] . '">' . $this->avatar_img . '</a>', ! 'U_PROFILE' => append_sid(PHPBB_URL . 'profile.' . $phpEx . '?mode=editprofile'), ! 'JOINED' => create_date($lang['DATE_FORMAT'], $userdata['user_regdate'], $board_config['board_timezone']), 'POSTS' => $userdata['user_posts'], 'POST_PER_DAY' => $this->posts_per_day, --- 167,172 ---- 'USERNAME' => $userdata['username'], 'AVATAR_IMG' => '<a href="' . PHPBB_URL . 'profile.php?mode=viewprofile&u=' . $userdata['user_id'] . '">' . $this->avatar_img . '</a>', ! 'U_PROFILE' => mx_append_sid(PHPBB_URL . 'profile.' . $phpEx . '?mode=editprofile'), ! 'JOINED' => phpBB2::create_date($lang['DATE_FORMAT'], $userdata['user_regdate'], $board_config['board_timezone']), 'POSTS' => $userdata['user_posts'], 'POST_PER_DAY' => $this->posts_per_day, |