Vergleich showteam.php - 1.2.6 - 1.2.8

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 3Zeile 3
 * MyBB 1.2
* Copyright � 2006 MyBB Group, All Rights Reserved
*

 * MyBB 1.2
* Copyright � 2006 MyBB Group, All Rights Reserved
*

 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/eula.html

 *

 *

 * $Id: showteam.php 2676 2007-01-27 16:52:06Z Tikitiki $

 * $Id: showteam.php 3030 2007-04-26 00:19:47Z Tikitiki $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 49Zeile 49
		LEFT JOIN ".TABLE_PREFIX."forums f ON (f.fid=m.fid)
WHERE f.active = 'yes'
ORDER BY u.username

		LEFT JOIN ".TABLE_PREFIX."forums f ON (f.fid=m.fid)
WHERE f.active = 'yes'
ORDER BY u.username

		");
while($moderator = $db->fetch_array($query))
{
$moderators[$moderator['uid']][] = $moderator;
}

	");
while($moderator = $db->fetch_array($query))
{
$moderators[$moderator['uid']][] = $moderator;
}

}

// Now query the users of those specific groups
$groups_in = implode(",", array_keys($usergroups));
$users_in = implode(",", array_keys($moderators));
if(!$groups_in)

}

// Now query the users of those specific groups
$groups_in = implode(",", array_keys($usergroups));
$users_in = implode(",", array_keys($moderators));
if(!$groups_in)

{

{

	$groups_in = 0;
}
if(!$users_in)

	$groups_in = 0;
}
if(!$users_in)

{

{

	$users_in = 0;
}
$forum_permissions = forum_permissions();

	$users_in = 0;
}
$forum_permissions = forum_permissions();

Zeile 84Zeile 84
		}
$user['forumlist'] = $forumlist;
$forumlist = '';

		}
$user['forumlist'] = $forumlist;
$forumlist = '';

 
		$usergroups[6]['user_list'][$user['uid']] = $user;
}

if($user['displaygroup'] == '6' || $user['displaygroup'] == '6')
{

		$usergroups[6]['user_list'][$user['uid']] = $user;
}


		$usergroups[6]['user_list'][$user['uid']] = $user;
}


Zeile 130Zeile 135
		
$bgcolor = alt_trow();


		
$bgcolor = alt_trow();


		//If the current group is a moderator group
if($usergroup['gid'] == 6)

		// If the current group is a moderator group
if($usergroup['gid'] == 6 && !empty($user['forumlist']))

		{
$forumslist = $user['forumlist'];
eval("\$modrows .= \"".$templates->get("showteam_moderators_mod")."\";");

		{
$forumslist = $user['forumlist'];
eval("\$modrows .= \"".$templates->get("showteam_moderators_mod")."\";");

Zeile 142Zeile 147
		}	
}


		}	
}


	if($usergroup['gid'] == 6)

	if($usergroup['gid'] == 6 && !empty($user['forumlist']))

	{
eval("\$grouplist .= \"".$templates->get("showteam_moderators")."\";");
}

	{
eval("\$grouplist .= \"".$templates->get("showteam_moderators")."\";");
}