Vergleich showteam.php - 1.2.1 - 1.2.11

  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 2200 2006-09-05 08:31:54Z chris $

 * $Id: showteam.php 3478 2007-11-15 04:11:36Z Tikitiki $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 47Zeile 47
		FROM ".TABLE_PREFIX."moderators m
LEFT JOIN ".TABLE_PREFIX."users u ON (u.uid=m.uid)
LEFT JOIN ".TABLE_PREFIX."forums f ON (f.fid=m.fid)

		FROM ".TABLE_PREFIX."moderators m
LEFT JOIN ".TABLE_PREFIX."users u ON (u.uid=m.uid)
LEFT JOIN ".TABLE_PREFIX."forums f ON (f.fid=m.fid)

 
		WHERE f.active = 'yes'

		ORDER BY u.username

		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 83Zeile 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 129Zeile 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 141Zeile 147
		}	
}


		}	
}


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

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

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

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