Changeset 702 for trunk/forum/includes/mcp/mcp_warn.php
- Timestamp:
- Mar 31, 2010, 6:32:40 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/forum/includes/mcp/mcp_warn.php
r400 r702 3 3 * 4 4 * @package mcp 5 * @version $Id : mcp_warn.php 9002 2008-10-11 17:01:43Z toonarmy$5 * @version $Id$ 6 6 * @copyright (c) 2005 phpBB Group 7 7 * @license http://opensource.org/licenses/gpl-license.php GNU Public License … … 205 205 $sql = 'SELECT u.*, p.* 206 206 FROM ' . POSTS_TABLE . ' p, ' . USERS_TABLE . " u 207 WHERE p ost_id = $post_id207 WHERE p.post_id = $post_id 208 208 AND u.user_id = p.poster_id"; 209 209 $result = $db->sql_query($sql); … … 421 421 'U_POST_ACTION' => $this->u_action, 422 422 423 'USERNAME' => $user_row['username'],424 'USER_COLOR' => (!empty($user_row['user_colour'])) ? $user_row['user_colour'] : '',425 423 'RANK_TITLE' => $rank_title, 426 424 'JOINED' => $user->format_date($user_row['user_regdate']), 427 425 'POSTS' => ($user_row['user_posts']) ? $user_row['user_posts'] : 0, 428 426 'WARNINGS' => ($user_row['user_warnings']) ? $user_row['user_warnings'] : 0, 427 428 'USERNAME_FULL' => get_username_string('full', $user_row['user_id'], $user_row['username'], $user_row['user_colour']), 429 'USERNAME_COLOUR' => get_username_string('colour', $user_row['user_id'], $user_row['username'], $user_row['user_colour']), 430 'USERNAME' => get_username_string('username', $user_row['user_id'], $user_row['username'], $user_row['user_colour']), 431 'U_PROFILE' => get_username_string('profile', $user_row['user_id'], $user_row['username'], $user_row['user_colour']), 429 432 430 433 'AVATAR_IMG' => $avatar_img,
Note:
See TracChangeset
for help on using the changeset viewer.