Zeile 6 | Zeile 6 |
---|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* $Id: showteam.php 5110 2010-07-25 08:39:23Z RyanGordon $
| * $Id$
|
*/
define("IN_MYBB", 1); define('THIS_SCRIPT', 'showteam.php');
|
*/
define("IN_MYBB", 1); define('THIS_SCRIPT', 'showteam.php');
|
$templatelist = 'showteam,showteam_row,showteam_row_mod,postbit_email,postbit_pm'; $templatelist .= ',showteam_usergroup_user,showteam_usergroup,showteam_moderators_mod'; $templatelist .= ',showteam_moderators,showteam_moderators_forum';
| $templatelist = 'showteam,postbit_email,postbit_pm,showteam_usergroup_user,showteam_usergroup,showteam_moderators_mod,showteam_moderators,showteam_moderators_forum';
|
require_once "./global.php";
// Load global language phrases
| require_once "./global.php";
// Load global language phrases
|
Zeile 119 | Zeile 117 |
---|
{ continue; }
|
{ continue; }
|
|
|
$bgcolor = ''; foreach($usergroup['user_list'] as $user) { $user['username'] = format_name($user['username'], $user['usergroup'], $user['displaygroup']); $user['profilelink'] = get_profile_link($user['uid']);
|
$bgcolor = ''; foreach($usergroup['user_list'] as $user) { $user['username'] = format_name($user['username'], $user['usergroup'], $user['displaygroup']); $user['profilelink'] = get_profile_link($user['uid']);
|
|
|
// For the postbit templates $post['uid'] = $user['uid']; $emailcode = $pmcode = ''; if($user['hideemail'] != 1)
|
// For the postbit templates $post['uid'] = $user['uid']; $emailcode = $pmcode = ''; if($user['hideemail'] != 1)
|
{
| {
|
eval("\$emailcode = \"".$templates->get("postbit_email")."\";"); } if($user['receivepms'] != 0 && $mybb->settings['enablepms'] != 0 && my_strpos(",".$user['ignorelist'].",", ",".$mybb->user['uid'].",") === false)
|
eval("\$emailcode = \"".$templates->get("postbit_email")."\";"); } if($user['receivepms'] != 0 && $mybb->settings['enablepms'] != 0 && my_strpos(",".$user['ignorelist'].",", ",".$mybb->user['uid'].",") === false)
|
{
| {
|
eval("\$pmcode = \"".$templates->get("postbit_pm")."\";"); } $bgcolor = alt_trow();
|
eval("\$pmcode = \"".$templates->get("postbit_pm")."\";"); } $bgcolor = alt_trow();
|
|
|
// If the current group is a moderator group if($usergroup['gid'] == 6 && !empty($user['forumlist'])) {
| // If the current group is a moderator group if($usergroup['gid'] == 6 && !empty($user['forumlist'])) {
|
Zeile 151 | Zeile 151 |
---|
} }
|
} }
|
if($usergroup['gid'] == 6 && !empty($user['forumlist']))
| if($modrows && $usergroup['gid'] == 6)
|
{ eval("\$grouplist .= \"".$templates->get("showteam_moderators")."\";");
|
{ eval("\$grouplist .= \"".$templates->get("showteam_moderators")."\";");
|
} else
| }
if($usergrouprows)
|
{ eval("\$grouplist .= \"".$templates->get("showteam_usergroup")."\";"); }
|
{ eval("\$grouplist .= \"".$templates->get("showteam_usergroup")."\";"); }
|
$usergrouprows = '';
| $usergrouprows = $modrows = '';
|
}
if(empty($grouplist))
| }
if(empty($grouplist))
|