mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-06 07:35:29 +02:00
- memberlist changes
git-svn-id: file:///svn/phpbb/trunk@5160 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
66d2e8c5b6
commit
2ca7293a68
@ -200,6 +200,7 @@ $lang += array(
|
||||
'LOGOUT_USER' => 'Logout [ %s ]',
|
||||
'LOG_ADMIN_AUTH_FAIL' => '<b>Failed administration login attempt</b>',
|
||||
'LOG_ADMIN_AUTH_SUCCESS'=> '<b>Sucessful administration login</b>',
|
||||
'LOG_DELETE_POST' => '<b>Deleted post</b><br />» %s',
|
||||
'LOG_DELETE_TOPIC' => '<b>Deleted topic</b><br />» %s',
|
||||
'LOG_EMAIL_ERROR' => '<b>Email error<br />» %s',
|
||||
'LOG_JABBER_ERROR' => '<b>Jabber error<br />» %s',
|
||||
|
@ -63,30 +63,103 @@ obtain_ranks($ranks);
|
||||
switch ($mode)
|
||||
{
|
||||
case 'leaders':
|
||||
// TODO
|
||||
// Display a listing of board admins, moderators?
|
||||
// Display a listing of board admins, moderators
|
||||
|
||||
$user->add_lang('groups');
|
||||
|
||||
$page_title = $user->lang['TEAM'];
|
||||
$template_html = 'memberlist_leaders.html';
|
||||
|
||||
$user_ary = $auth->acl_get_list(false, array('a_', 'm_'), false);
|
||||
|
||||
$user_id_ary = array();
|
||||
$admin_id_ary = $mod_id_ary = $forum_id_ary = array();
|
||||
foreach ($user_ary as $forum_id => $forum_ary)
|
||||
{
|
||||
foreach ($forum_ary as $auth_option => $id_ary)
|
||||
{
|
||||
$user_id_ary += $id_ary;
|
||||
(!$forum_id && $auth_option == 'a_') ? $admin_id_ary += $id_ary : $mod_id_ary += $id_ary;
|
||||
|
||||
if ($forum_id)
|
||||
{
|
||||
foreach ($id_ary as $id)
|
||||
{
|
||||
$forum_id_ary[$id][] = $forum_id;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$sql = 'SELECT user_id, username
|
||||
FROM ' . USERS_TABLE . '
|
||||
WHERE user_id IN (' . implode(', ', $user_id_ary) . ')';
|
||||
$sql = 'SELECT forum_id, forum_name
|
||||
FROM ' . FORUMS_TABLE . '
|
||||
WHERE forum_type = ' . FORUM_POST;
|
||||
$result = $db->sql_query($sql);
|
||||
|
||||
|
||||
$forums = array();
|
||||
while ($row = $db->sql_fetchrow($result))
|
||||
{
|
||||
$forums[$row['forum_id']] = $row['forum_name'];
|
||||
}
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
foreach ($user_ary[0]['u_'] as $user_id)
|
||||
{
|
||||
}
|
||||
$sql = 'SELECT u.user_id, u.username, u.user_colour, u.user_rank, u.user_posts, g.group_id, g.group_name, g.group_colour, g.group_type, ug.user_id as ug_user_id
|
||||
FROM ' . USERS_TABLE . ' u, ' . GROUPS_TABLE . ' g
|
||||
LEFT JOIN ' . USER_GROUP_TABLE . ' ug ON (ug.group_id = g.group_id AND ug.user_id = ' . $user->data['user_id'] . ')
|
||||
WHERE u.user_id IN (' . implode(', ', $admin_id_ary + $mod_id_ary) . ')
|
||||
AND u.group_id = g.group_id
|
||||
ORDER BY g.group_name ASC, u.username ASC';
|
||||
$result = $db->sql_query($sql);
|
||||
|
||||
while ($row = $db->sql_fetchrow($result))
|
||||
{
|
||||
$which_row = (in_array($row['user_id'], $admin_id_ary)) ? 'admin' : 'mod';
|
||||
|
||||
$s_forum_select = '';
|
||||
if ($which_row == 'mod' && sizeof(array_diff(array_keys($forums), $forum_id_ary[$row['user_id']])))
|
||||
{
|
||||
foreach ($forum_id_ary[$row['user_id']] as $forum_id)
|
||||
{
|
||||
if (isset($forums[$forum_id]) && $auth->acl_get('f_list', $forum_id))
|
||||
{
|
||||
$s_forum_select .= '<option value="">' . $forums[$forum_id] . '</option>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ($row['group_type'] == GROUP_HIDDEN && !$auth->acl_gets('a_group', 'a_groupadd', 'a_groupdel') && $row['ug_user_id'] != $user->data['user_id'])
|
||||
{
|
||||
$group_name = $user->lang['UNDISCLOSED'];
|
||||
$u_group = '';
|
||||
}
|
||||
else
|
||||
{
|
||||
$group_name = ($row['group_type'] == GROUP_SPECIAL) ? $user->lang['G_' . $row['group_name']] : $row['group_name'];
|
||||
$u_group = "{$phpbb_root_path}memberlist.$phpEx$SID&mode=group&g={$row['group_id']}";
|
||||
}
|
||||
|
||||
$rank_title = $rank_img = '';
|
||||
get_user_rank($row['user_rank'], $row['user_posts'], $rank_title, $rank_img);
|
||||
|
||||
$template->assign_block_vars($which_row, array(
|
||||
'USER_ID' => $row['user_id'],
|
||||
'FORUMS' => $s_forum_select,
|
||||
'USERNAME' => $row['username'],
|
||||
'USER_COLOR' => $row['user_colour'],
|
||||
'RANK_TITLE' => $rank_title,
|
||||
'GROUP_NAME' => $group_name,
|
||||
'GROUP_COLOR' => $row['group_colour'],
|
||||
|
||||
'RANK_IMG' => $rank_img,
|
||||
|
||||
'U_GROUP' => $u_group,
|
||||
'U_PROFILE' => "{$phpbb_root_path}memberlist.$phpEx$SID&mode=viewprofile&u=$user_id",
|
||||
'U_PM' => ($auth->acl_get('u_sendpm')) ? "{$phpbb_root_path}ucp.$phpEx$SID&i=pm&mode=compose&u=$user_id" : '')
|
||||
);
|
||||
}
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
$template->assign_vars(array(
|
||||
'PM_IMG' => $user->img('btn_pm', $user->lang['MESSAGE']))
|
||||
);
|
||||
break;
|
||||
|
||||
case 'contact':
|
||||
@ -214,7 +287,7 @@ switch ($mode)
|
||||
$sql = 'SELECT g.group_id, g.group_name, g.group_type
|
||||
FROM ' . GROUPS_TABLE . ' g, ' . USER_GROUP_TABLE . " ug
|
||||
WHERE ug.user_id = $user_id
|
||||
AND g.group_id = ug.group_id" . (($auth->acl_get('a_groups'))? ' AND g.group_type <> ' . GROUP_HIDDEN : '') . '
|
||||
AND g.group_id = ug.group_id" . ((!$auth->acl_gets('a_group')) ? ' AND group_type <> ' . GROUP_HIDDEN : '') . '
|
||||
ORDER BY group_type, group_name';
|
||||
$result = $db->sql_query($sql);
|
||||
|
||||
@ -282,7 +355,7 @@ switch ($mode)
|
||||
$sql_forums = array();
|
||||
foreach ($f_forum_ary as $forum_id => $allow)
|
||||
{
|
||||
if ($allow['f_read'])
|
||||
if (isset($allow['f_read']) && $allow['f_read'])
|
||||
{
|
||||
$sql_forums[] = $forum_id;
|
||||
}
|
||||
@ -414,7 +487,7 @@ switch ($mode)
|
||||
'JABBER_IMG' => $user->img('btn_jabber', $user->lang['JABBER']),
|
||||
'SEARCH_IMG' => $user->img('btn_search', $user->lang['SEARCH']),
|
||||
|
||||
'S_PROFILE_ACTION' => "memberlist.$phpEx$SID&mode=group",
|
||||
'S_PROFILE_ACTION' => "{$phpbb_root_path}memberlist.$phpEx$SID&mode=group",
|
||||
'S_GROUP_OPTIONS' => $group_options,
|
||||
'S_CUSTOM_FIELDS' => (isset($profile_fields['row']) && sizeof($profile_fields['row'])) ? true : false,
|
||||
|
||||
@ -655,12 +728,13 @@ switch ($mode)
|
||||
|
||||
// Additional sorting options for user search ... if search is enabled, if not
|
||||
// then only admins can make use of this (for ACP functionality)
|
||||
$sql_from = $sql_where = $form = $field = '';
|
||||
$sql_select = $sql_from = $sql_where = $order_by = '';
|
||||
|
||||
$form = request_var('form', '');
|
||||
$field = request_var('field', '');
|
||||
|
||||
if ($mode == 'searchuser' && ($config['load_search'] || $auth->acl_get('a_')))
|
||||
{
|
||||
$form = request_var('form', '');
|
||||
$field = request_var('field', 'username');
|
||||
|
||||
$username = request_var('username', '');
|
||||
$email = request_var('email', '');
|
||||
$icq = request_var('icq', '');
|
||||
@ -713,7 +787,7 @@ switch ($mode)
|
||||
$sql_where .= (sizeof($joined) > 1) ? " AND u.user_regdate " . $find_key_match[$joined_select] . ' ' . gmmktime(0, 0, 0, intval($joined[1]), intval($joined[2]), intval($joined[0])) : '';
|
||||
$sql_where .= (sizeof($active) > 1) ? " AND u.user_lastvisit " . $find_key_match[$active_select] . ' ' . gmmktime(0, 0, 0, $active[1], intval($active[2]), intval($active[0])) : '';
|
||||
|
||||
if ($ipdomain)
|
||||
if ($ipdomain && $auth->acl_get('m_ip'))
|
||||
{
|
||||
$ips = (preg_match('#[a-z]#', $ipdomain)) ? implode(', ', preg_replace('#([0-9]{1,3}\.[0-9]{1,3}[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})#', "'\\1'", gethostbynamel($ipdomain))) : "'" . str_replace('*', '%', $ipdomain) . "'";
|
||||
|
||||
@ -741,44 +815,67 @@ switch ($mode)
|
||||
}
|
||||
}
|
||||
|
||||
$first_char = request_var('first_char', '');
|
||||
|
||||
if ($first_char == 'other')
|
||||
{
|
||||
$sql_where = '';
|
||||
for ($i = 65; $i < 91; $i++)
|
||||
{
|
||||
$sql_where .= " AND u.username NOT LIKE '" . chr($i) . "%'";
|
||||
}
|
||||
}
|
||||
else if ($first_char)
|
||||
{
|
||||
$sql_where = " AND u.username LIKE '" . $db->sql_escape(substr($first_char, 0, 1)) . "%'";
|
||||
}
|
||||
|
||||
// Are we looking at a usergroup? If so, fetch additional info
|
||||
// and further restrict the user info query
|
||||
if ($mode == 'group')
|
||||
{
|
||||
$sql = 'SELECT *
|
||||
FROM ' . GROUPS_TABLE . "
|
||||
WHERE group_id = $group_id";
|
||||
// We JOIN here to save a query for determining membership for hidden groups. ;)
|
||||
$sql = 'SELECT g.*, ug.user_id
|
||||
FROM ' . GROUPS_TABLE . ' g
|
||||
LEFT JOIN ' . USER_GROUP_TABLE . ' ug ON (ug.user_id = ' . $user->data['user_id'] . " AND ug.group_id = $group_id)
|
||||
WHERE g.group_id = $group_id";
|
||||
$result = $db->sql_query($sql);
|
||||
|
||||
if (!extract($db->sql_fetchrow($result)))
|
||||
if (!$group_row = $db->sql_fetchrow($result))
|
||||
{
|
||||
trigger_error('NO_GROUP');
|
||||
}
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
switch ($group_type)
|
||||
switch ($group_row['group_type'])
|
||||
{
|
||||
case GROUP_OPEN:
|
||||
$group_type = 'OPEN';
|
||||
$group_row['group_type'] = 'OPEN';
|
||||
break;
|
||||
case GROUP_CLOSED:
|
||||
$group_type = 'CLOSED';
|
||||
$group_row['group_type'] = 'CLOSED';
|
||||
break;
|
||||
case GROUP_HIDDEN:
|
||||
$group_type = 'HIDDEN';
|
||||
$group_row['group_type'] = 'HIDDEN';
|
||||
|
||||
// Check for membership or special permissions
|
||||
if (!$auth->acl_gets('a_group', 'a_groupadd', 'a_groupdel') && $group_row['user_id'] != $user->data['user_id'])
|
||||
{
|
||||
trigger_error('NO_GROUP');
|
||||
}
|
||||
break;
|
||||
case GROUP_SPECIAL:
|
||||
$group_type = 'SPECIAL';
|
||||
$group_row['group_type'] = 'SPECIAL';
|
||||
break;
|
||||
case GROUP_FREE:
|
||||
$group_type = 'FREE';
|
||||
$group_row['group_type'] = 'FREE';
|
||||
break;
|
||||
}
|
||||
|
||||
$avatar_img = '';
|
||||
if ($group_avatar)
|
||||
if ($group_row['group_avatar'])
|
||||
{
|
||||
switch ($group_avatar_type)
|
||||
switch ($group_row['group_avatar_type'])
|
||||
{
|
||||
case AVATAR_UPLOAD:
|
||||
$avatar_img = $phpbb_root_path . $config['avatar_path'] . '/';
|
||||
@ -787,37 +884,45 @@ switch ($mode)
|
||||
$avatar_img = $phpbb_root_path . $config['avatar_gallery_path'] . '/';
|
||||
break;
|
||||
}
|
||||
$avatar_img .= $group_avatar;
|
||||
$avatar_img .= $group_row['group_avatar'];
|
||||
|
||||
$avatar_img = '<img src="' . $avatar_img . '" width="' . $group_avatar_width . '" height="' . $group_avatar_height . '" border="0" alt="" />';
|
||||
$avatar_img = '<img src="' . $avatar_img . '" width="' . $group_row['group_avatar_width'] . '" height="' . $group_row['group_avatar_height'] . '" border="0" alt="" />';
|
||||
}
|
||||
|
||||
$rank_title = $rank_img = '';
|
||||
if (!empty($group_rank))
|
||||
if ($group_row['group_rank'] != -1)
|
||||
{
|
||||
$rank_title = $ranks['special'][$group_rank]['rank_title'];
|
||||
$rank_img = (!empty($ranks['special'][$group_rank]['rank_image'])) ? '<img src="' . $config['ranks_path'] . '/' . $ranks['special'][$group_rank]['rank_image'] . '" border="0" alt="' . $ranks['special'][$group_rank]['rank_title'] . '" title="' . $ranks['special'][$group_rank]['rank_title'] . '" /><br />' : '';
|
||||
$rank_title = $ranks['special'][$group_row['group_rank']]['rank_title'];
|
||||
$rank_img = (!empty($ranks['special'][$group_row['group_rank']]['rank_image'])) ? '<img src="' . $config['ranks_path'] . '/' . $ranks['special'][$group_row['group_rank']]['rank_image'] . '" border="0" alt="' . $ranks['special'][$group_row['group_rank']]['rank_title'] . '" title="' . $ranks['special'][$group_row['group_rank']]['rank_title'] . '" /><br />' : '';
|
||||
}
|
||||
else if ($group_row['group_rank'] == -1)
|
||||
{
|
||||
$rank_title = '';
|
||||
$rank_img = '';
|
||||
}
|
||||
|
||||
$template->assign_vars(array(
|
||||
'GROUP_DESC' => $group_description,
|
||||
'GROUP_NAME' => $group_name,
|
||||
'GROUP_COLOR' => $group_colour,
|
||||
'GROUP_TYPE' => $user->lang['GROUP_IS_' . $group_type],
|
||||
'GROUP_DESC' => $group_row['group_description'],
|
||||
'GROUP_NAME' => $group_row['group_name'],
|
||||
'GROUP_COLOR' => $group_row['group_colour'],
|
||||
'GROUP_TYPE' => $user->lang['GROUP_IS_' . $group_row['group_type']],
|
||||
'GROUP_RANK' => $rank_title,
|
||||
|
||||
'AVATAR_IMG' => $avatar_img,
|
||||
'RANK_IMG' => $rank_img,
|
||||
|
||||
'U_PM' => ($auth->acl_get('u_sendpm') && $group_receive_pm && $config['allow_mass_pm']) ? "{$phpbb_root_path}ucp.$phpEx$SID&i=pm&mode=compose&g=$group_id" : '',)
|
||||
'U_PM' => ($auth->acl_get('u_sendpm') && $group_row['group_receive_pm'] && $config['allow_mass_pm']) ? "{$phpbb_root_path}ucp.$phpEx$SID&i=pm&mode=compose&g=$group_id" : '',)
|
||||
);
|
||||
|
||||
$sql_select = ', ug.group_leader';
|
||||
$sql_from = ', ' . USER_GROUP_TABLE . ' ug ';
|
||||
$order_by = 'ug.group_leader DESC, ';
|
||||
|
||||
$sql_where .= " AND u.user_id = ug.user_id AND ug.group_id = $group_id";
|
||||
}
|
||||
|
||||
|
||||
// Sorting and order
|
||||
$order_by = $sort_key_sql[$sort_key] . ' ' . (($sort_dir == 'a') ? 'ASC' : 'DESC');
|
||||
$order_by .= $sort_key_sql[$sort_key] . ' ' . (($sort_dir == 'a') ? 'ASC' : 'DESC');
|
||||
|
||||
// Count the users ...
|
||||
if ($sql_where)
|
||||
@ -829,14 +934,22 @@ switch ($mode)
|
||||
$result = $db->sql_query($sql);
|
||||
|
||||
$total_users = ($row = $db->sql_fetchrow($result)) ? $row['total_users'] : 0;
|
||||
$db->sql_freeresult($result);
|
||||
}
|
||||
else
|
||||
{
|
||||
$total_users = $config['num_users'];
|
||||
}
|
||||
|
||||
$s_char_options = '<option value=""' . ((!$first_char) ? ' selected="selected"' : '') . '> </option>';
|
||||
for ($i = 65; $i < 91; $i++)
|
||||
{
|
||||
$s_char_options .= '<option value="' . chr($i) . '"' . (($first_char == chr($i)) ? ' selected="selected"' : '') . '>' . chr($i) . '</option>';
|
||||
}
|
||||
$s_char_options .= '<option value="other"' . (($first_char == 'other') ? ' selected="selected"' : '') . '>Other</option>';
|
||||
|
||||
// Pagination string
|
||||
$pagination_url = "{$phpbb_root_path}memberlist.$phpEx$SID&mode=$mode";
|
||||
$pagination_url = "{$phpbb_root_path}memberlist.$phpEx$SID";
|
||||
|
||||
// Build a relevant pagination_url
|
||||
$global_var = ($submit) ? '_POST' : '_GET';
|
||||
@ -849,6 +962,9 @@ switch ($mode)
|
||||
$pagination_url .= '&' . $key . '=' . urlencode(htmlspecialchars($var));
|
||||
}
|
||||
|
||||
$u_hide_find_member = $pagination_url;
|
||||
$pagination_url .= "&mode=$mode&first_char=$first_char";
|
||||
|
||||
// Some search user specific data
|
||||
if ($mode == 'searchuser' && ($config['load_search'] || $auth->acl_get('a_')))
|
||||
{
|
||||
@ -870,7 +986,6 @@ switch ($mode)
|
||||
'S_FIELD_NAME' => $field,
|
||||
'S_COUNT_OPTIONS' => $s_find_count,
|
||||
'S_SORT_OPTIONS' => $s_sort_key,
|
||||
// 'S_USERNAME_OPTIONS' => $username_list,
|
||||
'S_JOINED_TIME_OPTIONS' => $s_find_join_time,
|
||||
'S_ACTIVE_TIME_OPTIONS' => $s_find_active_time,
|
||||
'S_SEARCH_ACTION' => "{$phpbb_root_path}memberlist.$phpEx$SID&mode=searchuser&form=$form&field=$field")
|
||||
@ -879,7 +994,7 @@ switch ($mode)
|
||||
|
||||
$sql = 'SELECT session_user_id, MAX(session_time) AS session_time
|
||||
FROM ' . SESSIONS_TABLE . '
|
||||
WHERE session_time >= ' . (time() - 300) . '
|
||||
WHERE session_time >= ' . (time() - $config['session_length']) . '
|
||||
AND session_user_id <> ' . ANONYMOUS . '
|
||||
GROUP BY session_user_id';
|
||||
$result = $db->sql_query($sql);
|
||||
@ -892,8 +1007,10 @@ switch ($mode)
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
// Do the SQL thang
|
||||
$sql = 'SELECT u.username, u.user_id, u.user_colour, u.user_allow_viewemail, u.user_posts, u.user_regdate, u.user_rank, u.user_from, u.user_website, u.user_email, u.user_icq, u.user_aim, u.user_yim, u.user_msnm, u.user_jabber, u.user_avatar, u.user_avatar_type, u.user_lastvisit
|
||||
FROM ' . USERS_TABLE . " u$sql_from
|
||||
$sql = "SELECT u.username, u.user_id, u.user_colour, u.user_allow_viewemail, u.user_posts, u.user_regdate, u.user_rank, u.user_from, u.user_website, u.user_email, u.user_icq, u.user_aim, u.user_yim, u.user_msnm, u.user_jabber, u.user_avatar, u.user_avatar_type, u.user_lastvisit
|
||||
$sql_select
|
||||
FROM " . USERS_TABLE . " u
|
||||
$sql_from
|
||||
WHERE u.user_type IN (" . USER_NORMAL . ', ' . USER_FOUNDER . ")
|
||||
$sql_where
|
||||
ORDER BY $order_by";
|
||||
@ -929,7 +1046,10 @@ switch ($mode)
|
||||
|
||||
$memberrow = array_merge(show_profile($row), array(
|
||||
'ROW_NUMBER' => $i + ($start + 1),
|
||||
|
||||
'S_CUSTOM_PROFILE' => (isset($cp_row['row']) && sizeof($cp_row['row'])) ? true : false,
|
||||
'S_GROUP_LEADER' => (isset($row['group_leader']) && $row['group_leader']) ? true : false,
|
||||
|
||||
'U_VIEWPROFILE' => "{$phpbb_root_path}memberlist.$phpEx$SID&mode=viewprofile&u=$user_id")
|
||||
);
|
||||
|
||||
@ -969,7 +1089,8 @@ switch ($mode)
|
||||
'JABBER_IMG' => $user->img('btn_jabber', $user->lang['JABBER']),
|
||||
'SEARCH_IMG' => $user->img('btn_search', $user->lang['SEARCH']),
|
||||
|
||||
'U_FIND_MEMBER' => (!empty($config['load_search']) || $auth->acl_get('a_')) ? "memberlist.$phpEx$SID&mode=searchuser" : '',
|
||||
'U_FIND_MEMBER' => ($config['load_search'] || $auth->acl_get('a_')) ? "{$phpbb_root_path}memberlist.$phpEx$SID&mode=searchuser" : '',
|
||||
'U_HIDE_FIND_MEMBER'=> ($mode == 'searchuser') ? $u_hide_find_member : '',
|
||||
'U_SORT_USERNAME' => $pagination_url . '&sk=a&sd=' . (($sort_key == 'a' && $sort_dir == 'a') ? 'd' : 'a'),
|
||||
'U_SORT_FROM' => $pagination_url . '&sk=b&sd=' . (($sort_key == 'b' && $sort_dir == 'a') ? 'd' : 'a'),
|
||||
'U_SORT_JOINED' => $pagination_url . '&sk=c&sd=' . (($sort_key == 'c' && $sort_dir == 'a') ? 'd' : 'a'),
|
||||
@ -982,10 +1103,12 @@ switch ($mode)
|
||||
'U_SORT_YIM' => $pagination_url . '&sk=j&sd=' . (($sort_key == 'j' && $sort_dir == 'a') ? 'd' : 'a'),
|
||||
'U_SORT_ACTIVE' => $pagination_url . '&sk=k&sd=' . (($sort_key == 'k' && $sort_dir == 'a') ? 'd' : 'a'),
|
||||
'U_SORT_RANK' => $pagination_url . '&sk=l&sd=' . (($sort_key == 'l' && $sort_dir == 'a') ? 'd' : 'a'),
|
||||
'U_LIST_CHAR' => $pagination_url . '&sk=a&sd=' . (($sort_key == 'l' && $sort_dir == 'a') ? 'd' : 'a'),
|
||||
|
||||
'S_SHOW_GROUP' => ($mode == 'group') ? true : false,
|
||||
'S_MODE_SELECT' => $s_sort_key,
|
||||
'S_ORDER_SELECT' => $s_sort_dir,
|
||||
'S_CHAR_OPTIONS' => $s_char_options,
|
||||
'S_MODE_ACTION' => $pagination_url . "&form=$form")
|
||||
);
|
||||
}
|
||||
@ -1001,22 +1124,17 @@ make_jumpbox('viewforum.'.$phpEx);
|
||||
|
||||
page_footer();
|
||||
|
||||
|
||||
/**
|
||||
* Prepare profile data
|
||||
* Get user rank title and image
|
||||
*/
|
||||
function show_profile($data)
|
||||
function get_user_rank($user_rank, $user_posts, &$rank_title, &$rank_img)
|
||||
{
|
||||
global $config, $auth, $template, $user, $ranks, $SID, $phpEx, $phpbb_root_path;
|
||||
global $ranks, $config;
|
||||
|
||||
$username = $data['username'];
|
||||
$user_id = $data['user_id'];
|
||||
|
||||
$rank_title = $rank_img = '';
|
||||
if (!empty($data['user_rank']))
|
||||
if (!empty($user_rank))
|
||||
{
|
||||
$rank_title = (isset($ranks['special'][$data['user_rank']]['rank_title'])) ? $ranks['special'][$data['user_rank']]['rank_title'] : '';
|
||||
$rank_img = (!empty($ranks['special'][$data['user_rank']]['rank_image'])) ? '<img src="' . $config['ranks_path'] . '/' . $ranks['special'][$data['user_rank']]['rank_image'] . '" border="0" alt="' . $ranks['special'][$data['user_rank']]['rank_title'] . '" title="' . $ranks['special'][$data['user_rank']]['rank_title'] . '" /><br />' : '';
|
||||
$rank_title = (isset($ranks['special'][$user_rank]['rank_title'])) ? $ranks['special'][$user_rank]['rank_title'] : '';
|
||||
$rank_img = (!empty($ranks['special'][$user_rank]['rank_image'])) ? '<img src="' . $config['ranks_path'] . '/' . $ranks['special'][$user_rank]['rank_image'] . '" alt="' . $ranks['special'][$user_rank]['rank_title'] . '" title="' . $ranks['special'][$user_rank]['rank_title'] . '" />' : '';
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -1024,16 +1142,30 @@ function show_profile($data)
|
||||
{
|
||||
foreach ($ranks['normal'] as $rank)
|
||||
{
|
||||
if ($data['user_posts'] >= $rank['rank_min'])
|
||||
if ($user_posts >= $rank['rank_min'])
|
||||
{
|
||||
$rank_title = $rank['rank_title'];
|
||||
$rank_img = (!empty($rank['rank_image'])) ? '<img src="' . $config['ranks_path'] . '/' . $rank['rank_image'] . '" border="0" alt="' . $rank['rank_title'] . '" title="' . $rank['rank_title'] . '" /><br />' : '';
|
||||
$rank_img = (!empty($rank['rank_image'])) ? '<img src="' . $config['ranks_path'] . '/' . $rank['rank_image'] . '" alt="' . $rank['rank_title'] . '" title="' . $rank['rank_title'] . '" />' : '';
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Prepare profile data
|
||||
*/
|
||||
function show_profile($data)
|
||||
{
|
||||
global $config, $auth, $template, $user, $SID, $phpEx, $phpbb_root_path;
|
||||
|
||||
$username = $data['username'];
|
||||
$user_id = $data['user_id'];
|
||||
|
||||
$rank_title = $rank_img = '';
|
||||
get_user_rank($data['user_rank'], $data['user_posts'], $rank_title, $rank_img);
|
||||
|
||||
if (!empty($data['user_allow_viewemail']) || $auth->acl_get('a_email'))
|
||||
{
|
||||
$email = ($config['board_email_form'] && $config['email_enable']) ? "{$phpbb_root_path}memberlist.$phpEx$SID&mode=email&u=$user_id" : (($config['board_hide_emails'] && !$auth->acl_get('a_email')) ? '' : 'mailto:' . $data['user_email']);
|
||||
@ -1060,7 +1192,7 @@ function show_profile($data)
|
||||
'RANK_IMG' => $rank_img,
|
||||
'ICQ_STATUS_IMG'=> (!empty($data['user_icq'])) ? '<img src="http://web.icq.com/whitepages/online?icq=' . $data['user_icq'] . '&img=5" width="18" height="18" border="0" />' : '',
|
||||
|
||||
'U_PROFILE' => "memberlist.$phpEx$SID&mode=viewprofile&u=$user_id",
|
||||
'U_PROFILE' => "{$phpbb_root_path}memberlist.$phpEx$SID&mode=viewprofile&u=$user_id",
|
||||
'U_SEARCH_USER' => ($auth->acl_get('u_search')) ? "search.$phpEx$SID&search_author=" . urlencode($username) . "&show_results=posts" : '',
|
||||
'U_PM' => ($auth->acl_get('u_sendpm')) ? "ucp.$phpEx$SID&i=pm&mode=compose&u=$user_id" : '',
|
||||
'U_EMAIL' => $email,
|
||||
|
@ -1,96 +1,109 @@
|
||||
<!-- INCLUDE overall_header.html -->
|
||||
|
||||
<!-- $Id$ -->
|
||||
|
||||
<div id="pagecontent">
|
||||
<!-- $Id$ -->
|
||||
|
||||
<!-- IF S_SEARCH_USER --><!-- INCLUDE memberlist_search.html --><!-- ENDIF -->
|
||||
|
||||
<!-- IF S_SHOW_GROUP --><!-- INCLUDE memberlist_group.html --><!-- ENDIF -->
|
||||
|
||||
<!-- IF S_SEARCH_USER -->
|
||||
<form method="post" name="results" action="{S_MODE_ACTION}" onsubmit="insert_marked(this.user);return false">
|
||||
<!-- ELSEIF U_FIND_MEMBER-->
|
||||
<form method="post" action="{S_MODE_ACTION}">
|
||||
<!-- IF not S_SHOW_GROUP -->
|
||||
<form method="post" name="charsearch" action="{S_MODE_ACTION}">
|
||||
<table width="100%" cellspacing="1">
|
||||
<tr>
|
||||
<td align="left"><span class="gensmall">{L_USERNAME_BEGINS_WITH}: </span><select name="first_char" onchange="this.form.submit();">{S_CHAR_OPTIONS}</select> <input type="submit" name="char" value="{L_DISPLAY}" class="btnlite" /></td>
|
||||
<!-- IF U_FIND_MEMBER and not S_SEARCH_USER -->
|
||||
<td class="gensmall" align="right"><a href="{U_FIND_MEMBER}">{L_FIND_USERNAME}</a></td>
|
||||
<!-- ELSEIF S_SEARCH_USER and U_HIDE_FIND_MEMBER and not S_FORM_NAME -->
|
||||
<td class="gensmall" align="right"><a href="{U_HIDE_FIND_MEMBER}">{L_HIDE_MEMBER_SEARCH}</a></td>
|
||||
<!-- ENDIF -->
|
||||
</tr>
|
||||
</table>
|
||||
</form>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<table width="100%" cellspacing="1">
|
||||
<tr>
|
||||
<td class="gensmall" align="right"><a href="{U_FIND_MEMBER}">{L_FIND_USERNAME}</a></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<table class="tablebg" width="100%" cellspacing="1">
|
||||
<tr>
|
||||
<th nowrap="nowrap">#</th>
|
||||
<th nowrap="nowrap" width="25%"><a class="th" href="{U_SORT_USERNAME}">{L_USERNAME}</a></th>
|
||||
<th nowrap="nowrap" width="15%"><a class="th" href="{U_SORT_JOINED}">{L_JOINED}</a></th>
|
||||
<th nowrap="nowrap" width="10%"><a class="th" href="{U_SORT_POSTS}">{L_POSTS}</a></th>
|
||||
<th nowrap="nowrap" width="15%"><a class="th" href="{U_SORT_RANK}">{L_RANK}</a></th>
|
||||
<th nowrap="nowrap" width="11%">{L_SEND_MESSAGE}</th>
|
||||
<th nowrap="nowrap" width="11%"><a class="th" href="{U_SORT_EMAIL}">{L_EMAIL}</a></th>
|
||||
<th nowrap="nowrap" width="11%"><a class="th" href="{U_SORT_WEBSITE}">{L_WEBSITE}</a></th>
|
||||
<!-- IF S_SEARCH_USER --><th width="2%" nowrap="nowrap">{L_MARK}</th><!-- ENDIF -->
|
||||
<!-- IF S_SEARCH_USER -->
|
||||
<form method="post" name="results" action="{S_MODE_ACTION}" onsubmit="insert_marked(this.user);return false">
|
||||
<!-- ELSE -->
|
||||
<form method="post" action="{S_MODE_ACTION}">
|
||||
<!-- ENDIF -->
|
||||
|
||||
<table class="tablebg" width="100%" cellspacing="1">
|
||||
<tr>
|
||||
<th nowrap="nowrap">#</th>
|
||||
<th nowrap="nowrap" width="25%"><a class="th" href="{U_SORT_USERNAME}">{L_USERNAME}</a></th>
|
||||
<th nowrap="nowrap" width="15%"><a class="th" href="{U_SORT_JOINED}">{L_JOINED}</a></th>
|
||||
<th nowrap="nowrap" width="10%"><a class="th" href="{U_SORT_POSTS}">{L_POSTS}</a></th>
|
||||
<th nowrap="nowrap" width="15%"><a class="th" href="{U_SORT_RANK}">{L_RANK}</a></th>
|
||||
<th nowrap="nowrap" width="11%">{L_SEND_MESSAGE}</th>
|
||||
<th nowrap="nowrap" width="11%"><a class="th" href="{U_SORT_EMAIL}">{L_EMAIL}</a></th>
|
||||
<th nowrap="nowrap" width="11%"><a class="th" href="{U_SORT_WEBSITE}">{L_WEBSITE}</a></th>
|
||||
<!-- IF S_SEARCH_USER --><th width="2%" nowrap="nowrap">{L_MARK}</th><!-- ENDIF -->
|
||||
</tr>
|
||||
<!-- BEGIN memberrow -->
|
||||
<!-- IF S_SHOW_GROUP -->
|
||||
<!-- IF memberrow.S_FIRST_ROW and memberrow.S_GROUP_LEADER -->
|
||||
<tr class="row3">
|
||||
<td colspan="8"><b class="gensmall">{L_GROUP_LEADER}</b></td>
|
||||
</tr>
|
||||
<!-- BEGIN memberrow -->
|
||||
|
||||
<!-- IF memberrow.S_ROW_COUNT is even -->
|
||||
<tr class="row2">
|
||||
<!-- ELSE -->
|
||||
<tr class="row1">
|
||||
<!-- ELSEIF not memberrow.S_GROUP_LEADER and not $S_MEMBER_HEADER -->
|
||||
<tr class="row3">
|
||||
<td colspan="8"><b class="gensmall">{L_GROUP_MEMBERS}</b></td>
|
||||
</tr>
|
||||
<!-- DEFINE $S_MEMBER_HEADER = 1 -->
|
||||
<!-- ENDIF -->
|
||||
<!-- ENDIF -->
|
||||
<!-- IF memberrow.S_ROW_COUNT is even --><tr class="row2"><!-- ELSE --> <tr class="row1"><!-- ENDIF -->
|
||||
|
||||
<td class="gen" align="center"> {memberrow.ROW_NUMBER} </td>
|
||||
<td class="gen" align="center"><strong><a<!-- IF memberrow.USER_COLOR --> style="color:#{memberrow.USER_COLOR}"<!-- ENDIF --> href="{memberrow.U_VIEWPROFILE}">{memberrow.USERNAME}</a></strong></td>
|
||||
<td class="gensmall" align="center" nowrap="nowrap"> {memberrow.JOINED} </td>
|
||||
<td class="gen" align="center">{memberrow.POSTS}</td>
|
||||
<td class="gen" align="center">{memberrow.RANK_IMG}</td>
|
||||
<td class="gen" align="center"> <!-- IF memberrow.U_PM --><a href="{memberrow.U_PM}">{PM_IMG}</a><!-- ENDIF --> </td>
|
||||
<td class="gen" align="center"> <!-- IF memberrow.U_EMAIL --><a href="{memberrow.U_EMAIL}">{EMAIL_IMG}</a><!-- ENDIF --> </td>
|
||||
<td class="gen" align="center"> <!-- IF memberrow.U_WWW --><a href="{memberrow.U_WWW}" target="_blank">{WWW_IMG}</a><!-- ENDIF --> </td>
|
||||
<!-- IF memberrow.S_PROFILE_FIELD1 -->
|
||||
<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
|
||||
<td class="gen" align="center"> {memberrow.PROFILE_FIELD1_VALUE}</td>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF S_SEARCH_USER --><td align="center"><input type="checkbox" name="user" value="{memberrow.USERNAME}" /></td><!-- ENDIF -->
|
||||
</tr>
|
||||
<td class="gen" align="center"> {memberrow.ROW_NUMBER} </td>
|
||||
<td class="gen" align="center"><strong><a<!-- IF memberrow.USER_COLOR --> style="color:#{memberrow.USER_COLOR}"<!-- ENDIF --> href="{memberrow.U_VIEWPROFILE}">{memberrow.USERNAME}</a></strong></td>
|
||||
<td class="gensmall" align="center" nowrap="nowrap"> {memberrow.JOINED} </td>
|
||||
<td class="gen" align="center">{memberrow.POSTS}</td>
|
||||
<td class="gen" align="center">{memberrow.RANK_IMG}</td>
|
||||
<td class="gen" align="center"> <!-- IF memberrow.U_PM --><a href="{memberrow.U_PM}">{PM_IMG}</a><!-- ENDIF --> </td>
|
||||
<td class="gen" align="center"> <!-- IF memberrow.U_EMAIL --><a href="{memberrow.U_EMAIL}">{EMAIL_IMG}</a><!-- ENDIF --> </td>
|
||||
<td class="gen" align="center"> <!-- IF memberrow.U_WWW --><a href="{memberrow.U_WWW}" target="_blank">{WWW_IMG}</a><!-- ENDIF --> </td>
|
||||
<!-- IF memberrow.S_PROFILE_FIELD1 -->
|
||||
<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
|
||||
<td class="gen" align="center"> {memberrow.PROFILE_FIELD1_VALUE}</td>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF S_SEARCH_USER --><td align="center"><input type="checkbox" name="user" value="{memberrow.USERNAME}" /></td><!-- ENDIF -->
|
||||
</tr>
|
||||
|
||||
<!-- BEGINELSE -->
|
||||
<!-- BEGINELSE -->
|
||||
|
||||
<tr>
|
||||
<td class="row1" colspan="<!-- IF S_SEARCH_USER -->9<!-- ELSE -->8<!-- ENDIF -->" height="28" align="center"><span class="gen">{L_NO_MEMBERS}</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1" colspan="<!-- IF S_SEARCH_USER -->9<!-- ELSE -->8<!-- ENDIF -->" height="28" align="center"><span class="gen">{L_NO_MEMBERS}</span></td>
|
||||
</tr>
|
||||
|
||||
<!-- END memberrow -->
|
||||
<!-- END memberrow -->
|
||||
|
||||
<tr>
|
||||
<td class="cat" colspan="<!-- IF S_SEARCH_USER -->9<!-- ELSE -->8<!-- ENDIF -->" align="center"><!-- IF S_SEARCH_USER --><input class="btnlite" type="submit" value="{L_SELECT_MARKED}" /><!-- ELSE --><span class="gensmall">{L_SELECT_SORT_METHOD}:</span> <select name="sk">{S_MODE_SELECT}</select> <span class="gensmall">{L_ORDER}</span> <select name="sd">{S_ORDER_SELECT}</select> <input type="submit" name="submit" value="{L_SUBMIT}" class="btnlite" /><!-- ENDIF --></td>
|
||||
</tr>
|
||||
</table></form>
|
||||
|
||||
</div>
|
||||
<tr>
|
||||
<td class="cat" colspan="<!-- IF S_SEARCH_USER -->9<!-- ELSE -->8<!-- ENDIF -->" align="center"><!-- IF S_SEARCH_USER --><input class="btnlite" type="submit" value="{L_SELECT_MARKED}" /><!-- ELSE --><span class="gensmall">{L_SELECT_SORT_METHOD}:</span> <select name="sk">{S_MODE_SELECT}</select> <span class="gensmall">{L_ORDER}</span> <select name="sd">{S_ORDER_SELECT}</select> <input type="submit" name="submit" value="{L_SUBMIT}" class="btnlite" /><!-- ENDIF --></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
<table width="100%" cellspacing="0" cellpadding="0">
|
||||
<tr>
|
||||
<td class="pagination">{PAGE_NUMBER} [ {TOTAL_USERS} ]</td>
|
||||
<td align="right"><!-- IF S_SEARCH_USER --><b class="nav"><a href="javascript:marklist(true);">{L_MARK_ALL}</a> :: <a href="javascript:marklist(false);">{L_UNMARK_ALL}</a></b><br /><!-- ENDIF --><span class="pagination"><!-- IF PAGINATION --><a href="javascript:jumpto();">{L_GOTO_PAGE}</a> <!-- IF PREVIOUS_PAGE --><a href="{PREVIOUS_PAGE}">{L_PREVIOUS}</a> <!-- ENDIF -->{PAGINATION}<!-- IF NEXT_PAGE --> <a href="{NEXT_PAGE}">{L_NEXT}</a><!-- ENDIF --><!-- ENDIF --></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="pagination">{PAGE_NUMBER} [ {TOTAL_USERS} ]</td>
|
||||
<td align="right"><!-- IF S_SEARCH_USER --><b class="nav"><a href="javascript:marklist(true);">{L_MARK_ALL}</a> :: <a href="javascript:marklist(false);">{L_UNMARK_ALL}</a></b><br /><!-- ENDIF --><span class="pagination"><!-- IF PAGINATION --><a href="javascript:jumpto();">{L_GOTO_PAGE}</a> <!-- IF PREVIOUS_PAGE --><a href="{PREVIOUS_PAGE}">{L_PREVIOUS}</a> <!-- ENDIF -->{PAGINATION}<!-- IF NEXT_PAGE --> <a href="{NEXT_PAGE}">{L_NEXT}</a><!-- ENDIF --><!-- ENDIF --></span></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br clear="all" />
|
||||
|
||||
<table class="tablebg" width="100%" cellspacing="1" cellpadding="0">
|
||||
<tr>
|
||||
<td class="row1">
|
||||
<p class="breadcrumbs"><a href="{U_INDEX}">{L_INDEX}</a><!-- BEGIN navlinks --> » <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks --></p>
|
||||
<p class="datetime">{S_TIMEZONE}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1">
|
||||
<p class="breadcrumbs"><a href="{U_INDEX}">{L_INDEX}</a><!-- BEGIN navlinks --> » <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks --></p>
|
||||
<p class="datetime">{S_TIMEZONE}</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br clear="all" />
|
||||
|
||||
<div style="float: right"><!-- INCLUDE jumpbox.html --></div>
|
||||
|
||||
|
||||
<!-- INCLUDE overall_footer.html -->
|
80
phpBB/styles/subSilver/template/memberlist_leaders.html
Normal file
80
phpBB/styles/subSilver/template/memberlist_leaders.html
Normal file
@ -0,0 +1,80 @@
|
||||
<!-- INCLUDE overall_header.html -->
|
||||
|
||||
<!-- $Id$ -->
|
||||
|
||||
<form method="post" action="{S_MODE_ACTION}">
|
||||
|
||||
<table class="tablebg" width="100%" cellspacing="1">
|
||||
<tr>
|
||||
<th nowrap="nowrap" width="20%">{L_USERNAME}</th>
|
||||
<th nowrap="nowrap" width="25%">{L_FORUMS}</th>
|
||||
<th nowrap="nowrap" width="20%">{L_PRIMARY_GROUP}</th>
|
||||
<th nowrap="nowrap" width="15%">{L_RANK}</th>
|
||||
<th nowrap="nowrap" width="11%">{L_SEND_MESSAGE}</th>
|
||||
</tr>
|
||||
<tr class="row3">
|
||||
<td colspan="5"><b class="gensmall">{L_ADMINISTRATORS}</b></td>
|
||||
</tr>
|
||||
<!-- BEGIN admin -->
|
||||
<!-- IF admin.S_ROW_COUNT is even --> <tr class="row2"><!-- ELSE --> <tr class="row1"><!-- ENDIF -->
|
||||
|
||||
<td class="gen" align="center"><strong><a<!-- IF admin.USER_COLOR --> style="color:#{admin.USER_COLOR}"<!-- ENDIF --> href="{admin.U_VIEWPROFILE}">{admin.USERNAME}</a></strong></td>
|
||||
<td class="gensmall" align="center"> </td>
|
||||
<td class="gensmall" align="center" nowrap="nowrap">
|
||||
<!-- IF admin.U_GROUP -->
|
||||
<a<!-- IF admin.GROUP_COLOR --> style="color:#{admin.GROUP_COLOR}"<!-- ENDIF --> href="{admin.U_GROUP}">{admin.GROUP_NAME}</a>
|
||||
<!-- ELSE -->
|
||||
{admin.GROUP_NAME}
|
||||
<!-- ENDIF -->
|
||||
</td>
|
||||
<td class="gen" align="center">{admin.RANK_IMG}</td>
|
||||
<td class="gen" align="center"> <!-- IF admin.U_PM --><a href="{admin.U_PM}">{PM_IMG}</a><!-- ENDIF --> </td>
|
||||
</tr>
|
||||
<!-- BEGINELSE -->
|
||||
<tr>
|
||||
<td class="row1" colspan="9" height="28" align="center"><span class="gen">{L_NO_MEMBERS}</span></td>
|
||||
</tr>
|
||||
<!-- END admin -->
|
||||
<tr class="row3">
|
||||
<td colspan="9"><b class="gensmall">{L_MODERATORS}</b></td>
|
||||
</tr>
|
||||
<!-- BEGIN mod -->
|
||||
<!-- IF mod.S_ROW_COUNT is even --> <tr class="row2"><!-- ELSE --> <tr class="row1"><!-- ENDIF -->
|
||||
|
||||
<td class="gen" align="center"><strong><a<!-- IF mod.USER_COLOR --> style="color:#{mod.USER_COLOR}"<!-- ENDIF --> href="{mod.U_VIEWPROFILE}">{mod.USERNAME}</a></strong></td>
|
||||
<td align="center"><!-- IF not mod.FORUMS -->{L_ALL_FORUMS}<!-- ELSE --><select style="width: 200px;">{mod.FORUMS}</select><!-- ENDIF --> </td>
|
||||
<td class="gensmall" align="center" nowrap="nowrap">
|
||||
<!-- IF mod.U_GROUP -->
|
||||
<a<!-- IF mod.GROUP_COLOR --> style="color:#{mod.GROUP_COLOR}"<!-- ENDIF --> href="{mod.U_GROUP}">{mod.GROUP_NAME}</a>
|
||||
<!-- ELSE -->
|
||||
{mod.GROUP_NAME}
|
||||
<!-- ENDIF -->
|
||||
</td>
|
||||
<td class="gen" align="center">{mod.RANK_IMG}</td>
|
||||
<td class="gen" align="center"> <!-- IF mod.U_PM --><a href="{mod.U_PM}">{PM_IMG}</a><!-- ENDIF --> </td>
|
||||
</tr>
|
||||
<!-- BEGINELSE -->
|
||||
<tr>
|
||||
<td class="row1" colspan="9" height="28" align="center"><span class="gen">{L_NO_MEMBERS}</span></td>
|
||||
</tr>
|
||||
<!-- END mod -->
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
<br clear="all" />
|
||||
|
||||
<table class="tablebg" width="100%" cellspacing="1" cellpadding="0">
|
||||
<tr>
|
||||
<td class="row1">
|
||||
<p class="breadcrumbs"><a href="{U_INDEX}">{L_INDEX}</a><!-- BEGIN navlinks --> » <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks --></p>
|
||||
<p class="datetime">{S_TIMEZONE}</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<br clear="all" />
|
||||
|
||||
<div style="float: right"><!-- INCLUDE jumpbox.html --></div>
|
||||
|
||||
<!-- INCLUDE overall_footer.html -->
|
@ -30,64 +30,56 @@ function marklist(status)
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<form method="post" action="{S_MODE_ACTION}" name="search"><table class="tablebg" width="100%" cellspacing="1">
|
||||
<tr>
|
||||
<th colspan="2">{L_FIND_USERNAME}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row3" colspan="2"><span class="gensmall">{L_FIND_USERNAME_EXPLAIN}</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_USERNAME}:</b></td>
|
||||
<td class="row2"><input class="post" type="text" name="username" value="{USERNAME}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_EMAIL}:</b></td>
|
||||
<td class="row2"><input class="post" type="text" name="email" value="{EMAIL}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_ICQ}:</b></td>
|
||||
<td class="row2"><input class="post" type="text" name="icq" value="{ICQ}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_AIM}:</b></td>
|
||||
<td class="row2"><input class="post" type="text" name="aim" value="{AIM}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_YIM}:</b></td>
|
||||
<td class="row2"><input class="post" type="text" name="yahoo" value="{YAHOO}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_MSNM}:</b></td>
|
||||
<td class="row2"><input class="post" type="text" name="msn" value="{MSNM}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_JABBER}:</b></td>
|
||||
<td class="row2"><input class="post" type="text" name="jabber" value="{JABBER}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_JOINED}:</b></td>
|
||||
<td class="row2"><select name="joined_select">{S_JOINED_TIME_OPTIONS}</select> <input class="post" type="text" name="joined" value="{JOINED}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_LAST_ACTIVE}:</b></td>
|
||||
<td class="row2"><select name="active_select">{S_ACTIVE_TIME_OPTIONS}</select> <input class="post" type="text" name="active" value="{ACTIVE}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_POSTS}:</b></td>
|
||||
<td class="row2"><select name="count_select">{S_COUNT_OPTIONS}</select> <input class="post" type="text" name="count" value="{COUNT}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_POST_IP}:</b></td>
|
||||
<td class="row2"><input class="post" type="text" name="ip" value="{IP}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_SORT_BY}:</b></td>
|
||||
<td class="row2" nowrap="nowrap"><select name="sk">{S_SORT_OPTIONS}</select> <select name="sd">{S_ORDER_SELECT}</select> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="cat" colspan="2" align="center"><input class="btnlite" type="submit" name="submit" value="{L_SEARCH}" /> <input class="btnlite" type="reset" value="{L_RESET}" /></td>
|
||||
</tr>
|
||||
</table></form>
|
||||
<form method="post" action="{S_MODE_ACTION}" name="search">
|
||||
|
||||
<br clear="all" />
|
||||
<table class="tablebg" width="100%" cellspacing="1">
|
||||
<tr>
|
||||
<th colspan="4">{L_FIND_USERNAME}</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row3" colspan="4"><span class="gensmall">{L_FIND_USERNAME_EXPLAIN}</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_USERNAME}:</b></td>
|
||||
<td class="row2"><input class="post" type="text" name="username" value="{USERNAME}" /></td>
|
||||
<td class="row1"><b class="genmed">{L_ICQ}:</b></td>
|
||||
<td class="row2"><input class="post" type="text" name="icq" value="{ICQ}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_EMAIL}:</b></td>
|
||||
<td class="row2"><input class="post" type="text" name="email" value="{EMAIL}" /></td>
|
||||
<td class="row1"><b class="genmed">{L_AIM}:</b></td>
|
||||
<td class="row2"><input class="post" type="text" name="aim" value="{AIM}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_JOINED}:</b></td>
|
||||
<td class="row2"><select name="joined_select">{S_JOINED_TIME_OPTIONS}</select> <input class="post" type="text" name="joined" value="{JOINED}" /></td>
|
||||
<td class="row1"><b class="genmed">{L_YIM}:</b></td>
|
||||
<td class="row2"><input class="post" type="text" name="yahoo" value="{YAHOO}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_LAST_ACTIVE}:</b></td>
|
||||
<td class="row2"><select name="active_select">{S_ACTIVE_TIME_OPTIONS}</select> <input class="post" type="text" name="active" value="{ACTIVE}" /></td>
|
||||
<td class="row1"><b class="genmed">{L_MSNM}:</b></td>
|
||||
<td class="row2"><input class="post" type="text" name="msn" value="{MSNM}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_POSTS}:</b></td>
|
||||
<td class="row2"><select name="count_select">{S_COUNT_OPTIONS}</select> <input class="post" type="text" name="count" value="{COUNT}" /></td>
|
||||
<td class="row1"><b class="genmed">{L_JABBER}:</b></td>
|
||||
<td class="row2"><input class="post" type="text" name="jabber" value="{JABBER}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="row1"><b class="genmed">{L_SORT_BY}:</b></td>
|
||||
<td class="row2" nowrap="nowrap"><select name="sk">{S_SORT_OPTIONS}</select> <select name="sd">{S_ORDER_SELECT}</select> </td>
|
||||
<td class="row1"><b class="genmed">{L_POST_IP}:</b></td>
|
||||
<td class="row2"><input class="post" type="text" name="ip" value="{IP}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="cat" colspan="4" align="center"><input class="btnlite" type="submit" name="submit" value="{L_SEARCH}" /> <input class="btnlite" type="reset" value="{L_RESET}" /></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
<br clear="all" />
|
||||
|
Loading…
x
Reference in New Issue
Block a user