Vergleich member.php - 1.2.2 - 1.2.3

  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: member.php 2224 2006-09-14 00:35:33Z chris $

 * $Id: member.php 2789 2007-02-14 01:52:24Z chris $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 381Zeile 381
			}
elseif($referrername)
{

			}
elseif($referrername)
{

				$query = $db->simple_select(TABLE_PREFIX."users", "uid", "username='".$db->escape_string($referrername)."'");

				$query = $db->simple_select(TABLE_PREFIX."users", "uid", "LOWER(username)='".$db->escape_string(my_strtolower($referrername))."'");

				$ref = $db->fetch_array($query);
if(!$ref['uid'])
{

				$ref = $db->fetch_array($query);
if(!$ref['uid'])
{

Zeile 615Zeile 615

if($mybb->input['username'])
{


if($mybb->input['username'])
{

		$query = $db->simple_select(TABLE_PREFIX."users", "*", "username='".$db->escape_string($mybb->input['username'])."'");

		$query = $db->simple_select(TABLE_PREFIX."users", "*", "LOWER(username)='".$db->escape_string(my_strtolower($mybb->input['username']))."'");

		$user = $db->fetch_array($query);
if(!$user['username'])
{

		$user = $db->fetch_array($query);
if(!$user['username'])
{

Zeile 799Zeile 799

if($mybb->input['username'])
{


if($mybb->input['username'])
{

		$query = $db->simple_select(TABLE_PREFIX."users", "*", "username='".$db->escape_string($mybb->input['username'])."'");

		$query = $db->simple_select(TABLE_PREFIX."users", "*", "LOWER(username)='".$db->escape_string(my_strtolower($mybb->input['username']))."'");

		$user = $db->fetch_array($query);
if(!$user['uid'])
{

		$user = $db->fetch_array($query);
if(!$user['uid'])
{

Zeile 902Zeile 902
	}

my_setcookie('loginattempts', 1);

	}

my_setcookie('loginattempts', 1);

	$db->delete_query(TABLE_PREFIX."sessions", "ip='".$session->ipaddress."' AND sid != '".$session->sid."'");

	$db->delete_query(TABLE_PREFIX."sessions", "ip='".$db->escape_string($session->ipaddress)."' AND sid != '".$session->sid."'");

	$newsession = array(
"uid" => $user['uid'],
"loginattempts" => 1,

	$newsession = array(
"uid" => $user['uid'],
"loginattempts" => 1,

Zeile 1144Zeile 1144
			$returndate = "$lang->unknown";
}
else

			$returndate = "$lang->unknown";
}
else

		{

		{			

			$returnhome = explode("-", $memprofile['returndate']);
$returnmkdate = mktime(0, 0, 0, $returnhome[1], $returnhome[0], $returnhome[2]);
$returndate = my_date($mybb->settings['dateformat'], $returnmkdate);

			$returnhome = explode("-", $memprofile['returndate']);
$returnmkdate = mktime(0, 0, 0, $returnhome[1], $returnhome[0], $returnhome[2]);
$returndate = my_date($mybb->settings['dateformat'], $returnmkdate);

Zeile 1399Zeile 1399
	{
error_no_permission();
}

	{
error_no_permission();
}

	$query = $db->simple_select(TABLE_PREFIX."users", "uid, username, email, hideemail", "username='".$db->escape_string($mybb->input['touser'])."'");

	$query = $db->simple_select(TABLE_PREFIX."users", "uid, username, email, hideemail", "LOWER(username)='".$db->escape_string(my_strtolower($mybb->input['touser']))."'");

	$emailto = $db->fetch_array($query);
if(!$emailto['username'])
{

	$emailto = $db->fetch_array($query);
if(!$emailto['username'])
{