Vergleich showteam.php - 1.8.24 - 1.8.38

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 119Zeile 119
		$leadlist = implode(",", $leadlist);

$query = $db->simple_select("usergroups", "gid, title, namestyle", "gid IN ($leadlist)");

		$leadlist = implode(",", $leadlist);

$query = $db->simple_select("usergroups", "gid, title, namestyle", "gid IN ($leadlist)");

		unset($leadlist);

		$leadlist = array();


while($leaded_group = $db->fetch_array($query))
{


while($leaded_group = $db->fetch_array($query))
{

Zeile 148Zeile 148
	// If this user is a moderator
if(isset($moderators[$user['uid']]))
{

	// If this user is a moderator
if(isset($moderators[$user['uid']]))
{

 
		$forumlist = '';

		foreach($moderators[$user['uid']] as $forum)
{
if($forum_permissions[$forum['fid']]['canview'] == 1)

		foreach($moderators[$user['uid']] as $forum)
{
if($forum_permissions[$forum['fid']]['canview'] == 1)

Zeile 188Zeile 189
		$group = $user['usergroup'];
}


		$group = $user['usergroup'];
}


	if($usergroups[$group] && $group != 6)

	if(isset($usergroups[$group]) && $group != 6)

	{
$usergroups[$group]['user_list'][$user['uid']] = $user;
}

	{
$usergroups[$group]['user_list'][$user['uid']] = $user;
}