Vergleich managegroup.php - 1.00 - 1.14

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html
*

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

 * $Id$

 * $Id: managegroup.php 717 2005-09-07 14:23:40Z chris $

 */

define("KILL_GLOBALS", 1);

 */

define("KILL_GLOBALS", 1);

Zeile 16Zeile 16
// Load language files
$lang->load("managegroup");


// Load language files
$lang->load("managegroup");


$gid = intval($mybb->input['gid']);

$gid = $mybb->input['gid'] = intval($mybb->input['gid']);


$query = $db->query("SELECT * FROM ".TABLE_PREFIX."usergroups WHERE gid='$gid' AND type <> 1");
$usergroup = $db->fetch_array($query);


$query = $db->query("SELECT * FROM ".TABLE_PREFIX."usergroups WHERE gid='$gid' AND type <> 1");
$usergroup = $db->fetch_array($query);

Zeile 70Zeile 70
	{
foreach($mybb->input['request'] as $uid => $what)
{

	{
foreach($mybb->input['request'] as $uid => $what)
{

 
			$uid = intval($uid);

			if($what == "accept")
{
join_usergroup($uid, $gid);

			if($what == "accept")
{
join_usergroup($uid, $gid);

Zeile 122Zeile 123
	{
foreach($mybb->input['removeuser'] as $uid)
{

	{
foreach($mybb->input['removeuser'] as $uid)
{

			leave_usergroup($uid, $mybb->input['gid']);

			leave_usergroup(intval($uid), $mybb->input['gid']);

		}
}


		}
}