Vergleich managegroup.php - 1.8.6 - 1.8.9

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 212Zeile 212
		$user['reason'] = htmlspecialchars_uni($user['reason']);
$altbg = alt_trow();
$regdate = my_date($mybb->settings['dateformat'], $user['regdate']);

		$user['reason'] = htmlspecialchars_uni($user['reason']);
$altbg = alt_trow();
$regdate = my_date($mybb->settings['dateformat'], $user['regdate']);

 
		$user['username'] = htmlspecialchars_uni($user['username']);

		$user['profilelink'] = build_profile_link($user['username'], $user['uid']);
eval("\$users .= \"".$templates->get("managegroup_joinrequests_request")."\";");
}

		$user['profilelink'] = build_profile_link($user['username'], $user['uid']);
eval("\$users .= \"".$templates->get("managegroup_joinrequests_request")."\";");
}

Zeile 309Zeile 310
		$leader_count = $db->num_rows($query);
while($leader = $db->fetch_array($query))
{

		$leader_count = $db->num_rows($query);
while($leader = $db->fetch_array($query))
{

			$leader_name = format_name(htmlspecialchars_uni($leader['username']), $leader['usergroup'], $leader['displaygroup']);


			$leader['username'] = htmlspecialchars_uni($leader['username']);
$leader_name = format_name($leader['username'], $leader['usergroup'], $leader['displaygroup']);

			$leader_profile_link = build_profile_link($leader_name, $leader['uid']);

$leaders_array[] = $leader['uid'];

			$leader_profile_link = build_profile_link($leader_name, $leader['uid']);

$leaders_array[] = $leader['uid'];

Zeile 352Zeile 354
	$page = $mybb->get_input('page', MyBB::INPUT_INT);
if($page && $page > 0)
{

	$page = $mybb->get_input('page', MyBB::INPUT_INT);
if($page && $page > 0)
{

		$start = ($page-1) *$perpage;

		$start = ($page-1) * $perpage;

	}
else
{

	}
else
{

Zeile 360Zeile 362
		$page = 1;
}
$multipage = multipage($numusers, $perpage, $page, "managegroup.php?gid=".$gid);

		$page = 1;
}
$multipage = multipage($numusers, $perpage, $page, "managegroup.php?gid=".$gid);

 

switch($db->type)
{
case "pgsql":
case "sqlite":
$query = $db->simple_select("users", "*", "','||additionalgroups||',' LIKE '%,{$gid},%' OR usergroup='{$gid}'", array('order_by' => 'username', 'limit' => $perpage, 'limit_start' => $start));
break;
default:
$query = $db->simple_select("users", "*", "CONCAT(',',additionalgroups,',') LIKE '%,{$gid},%' OR usergroup='{$gid}'", array('order_by' => 'username', 'limit' => $perpage, 'limit_start' => $start));
}


	$users = "";
while($user = $db->fetch_array($query))
{

	$users = "";
while($user = $db->fetch_array($query))
{

Zeile 381Zeile 394
			$email = '';
}


			$email = '';
}


 
		$user['username'] = htmlspecialchars_uni($user['username']);

		$user['username'] = format_name($user['username'], $user['usergroup'], $user['displaygroup']);
$user['profilelink'] = build_profile_link($user['username'], $user['uid']);
if(in_array($user['uid'], $leaders_array))

		$user['username'] = format_name($user['username'], $user['usergroup'], $user['displaygroup']);
$user['profilelink'] = build_profile_link($user['username'], $user['uid']);
if(in_array($user['uid'], $leaders_array))