Vergleich memberlist.php - 1.6.0 - 1.6.4

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * $Id: memberlist.php 5127 2010-07-27 19:49:14Z RyanGordon $

 * $Id: memberlist.php 5406 2011-03-20 01:01:18Z jammerx2 $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 114Zeile 114
	{
$per_page = $mybb->input['perpage'];
}

	{
$per_page = $mybb->input['perpage'];
}

	else

	else if($mybb->settings['membersperpage'])

	{
$per_page = $mybb->input['perpage'] = intval($mybb->settings['membersperpage']);

	{
$per_page = $mybb->input['perpage'] = intval($mybb->settings['membersperpage']);

	}






	}
else
{
$per_page = $mybb->input['perpage'] = 20;
}


	$search_query = '1=1';
$search_url = "memberlist.php?sort={$mybb->input['sort']}&order={$mybb->input['order']}&perpage={$mybb->input['perpage']}";


	$search_query = '1=1';
$search_url = "memberlist.php?sort={$mybb->input['sort']}&order={$mybb->input['order']}&perpage={$mybb->input['perpage']}";


Zeile 127Zeile 131
	{
$letter = chr(ord($mybb->input['letter']));
if($mybb->input['letter'] == -1)

	{
$letter = chr(ord($mybb->input['letter']));
if($mybb->input['letter'] == -1)

		{

		{

			$search_query .= " AND u.username NOT REGEXP('[a-zA-Z]')";
}
else if(strlen($letter) == 1)

			$search_query .= " AND u.username NOT REGEXP('[a-zA-Z]')";
}
else if(strlen($letter) == 1)

		{

		{

			$search_query .= " AND u.username LIKE '".$db->escape_string($letter)."%'";
}
$search_url .= "&letter={$letter}";
}

			$search_query .= " AND u.username LIKE '".$db->escape_string($letter)."%'";
}
$search_url .= "&letter={$letter}";
}





	// Searching for a matching username

	// Searching for a matching username

	$search_username = htmlspecialchars_uni($mybb->input['username']);
if(trim($mybb->input['username']))

	$search_username = htmlspecialchars_uni(trim($mybb->input['username']));
if($search_username != '')

	{

	{

		$username_like_query = $db->escape_string_like($mybb->input['username']);


		$username_like_query = $db->escape_string_like($search_username);


		// Name begins with
if($mybb->input['username_match'] == "begins")
{

		// Name begins with
if($mybb->input['username_match'] == "begins")
{

Zeile 153Zeile 158
		{
$search_query .= " AND u.username LIKE '%".$username_like_query."%'";
}

		{
$search_query .= " AND u.username LIKE '%".$username_like_query."%'";
}

		$search_url .= "&username=".urlencode($mybb->input['username']);



$search_url .= "&username=".urlencode($search_username);

	}

// Website contains

	}

// Website contains