Vergleich member.php - 1.4.11 - 1.4.14

  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 4811 2010-03-12 17:17:23Z Huji $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

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'])
{
$memprofile['website'] = htmlspecialchars_uni($memprofile['website']);
$website = "<a href=\"{$memprofile['website']}\" target=\"_blank\">{$memprofile['website']}</a>";

	}

if($memprofile['website'])
{
$memprofile['website'] = htmlspecialchars_uni($memprofile['website']);
$website = "<a href=\"{$memprofile['website']}\" target=\"_blank\">{$memprofile['website']}</a>";

	}
else
{

	}
else
{

		$website = '';
}


		$website = '';
}


Zeile 1336Zeile 1352
	if($ppd > $memprofile['postnum'])
{
$ppd = $memprofile['postnum'];

	if($ppd > $memprofile['postnum'])
{
$ppd = $memprofile['postnum'];

	}

	}

	$stats = $cache->read("stats");
$numposts = $stats['numposts'];
if($numposts == 0)
{
$percent = "0";

	$stats = $cache->read("stats");
$numposts = $stats['numposts'];
if($numposts == 0)
{
$percent = "0";

	}

	}

	else
{
$percent = $memprofile['postnum']*100/$numposts;

	else
{
$percent = $memprofile['postnum']*100/$numposts;

Zeile 1352Zeile 1368
	if($percent > 100)
{
$percent = 100;

	if($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']))
{
$memprofile['icq'] = intval($memprofile['icq']);

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

Zeile 1501Zeile 1514
	{
// User has group title
$usertitle = $displaygroup['usertitle'];

	{
// User has group title
$usertitle = $displaygroup['usertitle'];

	}

	}

	else
{
// No usergroup title so get a default one

	else
{
// No usergroup title so get a default one

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")."\";");