Vergleich member.php - 1.4.10 - 1.4.16

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: member.php 4519 2009-11-19 13:15:46Z Tomm $

 * $Id: member.php 5379 2011-02-21 11:06:42Z Tomm $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 1109Zeile 1109
	login_attempt_check();

// Redirect to the page where the user came from, but not if that was the login page.

	login_attempt_check();

// Redirect to the page where the user came from, but not if that was the login page.

	if($mybb->input['url'] && !preg_match("/action=login/i", $mybb->input['url']))
{
$redirect_url = htmlentities($mybb->input['url']);
}
elseif($_SERVER['HTTP_REFERER'])

	if($_SERVER['HTTP_REFERER'] && strpos($_SERVER['HTTP_REFERER'], "action=login") === false)





	{
$redirect_url = htmlentities($_SERVER['HTTP_REFERER']);
}

	{
$redirect_url = htmlentities($_SERVER['HTTP_REFERER']);
}

	





	else
{
$redirect_url = '';
}


	$captcha = "";
// Show captcha image for guests if enabled
if($mybb->settings['captchaimage'] == 1 && function_exists("imagepng") && $do_captcha == true)

	$captcha = "";
// Show captcha image for guests if enabled
if($mybb->settings['captchaimage'] == 1 && function_exists("imagepng") && $do_captcha == true)

Zeile 1303Zeile 1303
	}
else
{

	}
else
{

 
		$alttrow = "trow1"; // To properly sort the contact details below

		$sendemail = '';

		$sendemail = '';

 
	}

// Clean alt_trow for the contact details
$cat_array = array(
"pm",
"icq",
"aim",
"yahoo",
"msn",
);

$bgcolors = array();
foreach($cat_array as $cat)
{
$bgcolors[$cat] = alt_trow();

	}

if($memprofile['website'])

	}

if($memprofile['website'])

Zeile 1353Zeile 1369
	{
$percent = 100;
}

	{
$percent = 100;
}


$query = $db->simple_select("users", "COUNT(uid) AS referrals", "referrer='{$memprofile['uid']}'");
$referrals = $db->fetch_field($query, "referrals");

 

if(!empty($memprofile['icq']))
{


if(!empty($memprofile['icq']))
{

Zeile 1476Zeile 1489
	if(!$memprofile['displaygroup'])
{
$memprofile['displaygroup'] = $memprofile['usergroup'];

	if(!$memprofile['displaygroup'])
{
$memprofile['displaygroup'] = $memprofile['usergroup'];

	}


	}


	// Grab the following fields from the user's displaygroup
$displaygroupfields = array(
"title",

	// Grab the following fields from the user's displaygroup
$displaygroupfields = array(
"title",

Zeile 1518Zeile 1531
		}
}


		}
}


	if($displaygroup['stars'])

	if($displaygroup['stars'] || $displaygroup['usertitle'])

	{
// Set the number of stars if display group has constant number of stars
$stars = $displaygroup['stars'];

	{
// Set the number of stars if display group has constant number of stars
$stars = $displaygroup['stars'];

Zeile 1695Zeile 1708
	{
$modoptions = '';
}

	{
$modoptions = '';
}

	



	$plugins->run_hooks("member_profile_end");

eval("\$profile = \"".$templates->get("member_profile")."\";");

	$plugins->run_hooks("member_profile_end");

eval("\$profile = \"".$templates->get("member_profile")."\";");