Vergleich memberlist.php - 1.8.1 - 1.8.4

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 122Zeile 122
	$order_check[$mybb->input['order']] = " checked=\"checked\"";

// Incoming results per page?

	$order_check[$mybb->input['order']] = " checked=\"checked\"";

// Incoming results per page?

	$mybb->input['perpage'] = $mybb->get_input('perpage', 1);

	$mybb->input['perpage'] = $mybb->get_input('perpage', MyBB::INPUT_INT);

	if($mybb->input['perpage'] > 0 && $mybb->input['perpage'] <= 500)
{
$per_page = $mybb->input['perpage'];

	if($mybb->input['perpage'] > 0 && $mybb->input['perpage'] <= 500)
{
$per_page = $mybb->input['perpage'];

Zeile 267Zeile 267
	$query = $db->simple_select("users u", "COUNT(*) AS users", "{$search_query}");
$num_users = $db->fetch_field($query, "users");


	$query = $db->simple_select("users u", "COUNT(*) AS users", "{$search_query}");
$num_users = $db->fetch_field($query, "users");


	$page = $mybb->get_input('page', 1);

	$page = $mybb->get_input('page', MyBB::INPUT_INT);

	if($page && $page > 0)
{
$start = ($page - 1) * $per_page;

	if($page && $page > 0)
{
$start = ($page - 1) * $per_page;

Zeile 403Zeile 403
		}

// Show avatar

		}

// Show avatar

		$useravatar = format_avatar(htmlspecialchars_uni($user['avatar']), $user['avatardimensions'], my_strtolower($mybb->settings['memberlistmaxavatarsize']));

		$useravatar = format_avatar($user['avatar'], $user['avatardimensions'], my_strtolower($mybb->settings['memberlistmaxavatarsize']));

		eval("\$user['avatar'] = \"".$templates->get("memberlist_user_avatar")."\";");

if($user['invisible'] == 1 && $mybb->usergroup['canviewwolinvis'] != 1 && $user['uid'] != $mybb->user['uid'])

		eval("\$user['avatar'] = \"".$templates->get("memberlist_user_avatar")."\";");

if($user['invisible'] == 1 && $mybb->usergroup['canviewwolinvis'] != 1 && $user['uid'] != $mybb->user['uid'])