Vergleich member.php - 1.6.7 - 1.6.8

  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: member.php 5753 2012-03-09 14:53:07Z Tomm $

 * $Id: member.php 5784 2012-04-19 12:57:48Z Tomm $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 1597Zeile 1597
		$awaydate = my_date($mybb->settings['dateformat'], $memprofile['awaydate']);
if(!empty($memprofile['awayreason']))
{

		$awaydate = my_date($mybb->settings['dateformat'], $memprofile['awaydate']);
if(!empty($memprofile['awayreason']))
{

			$awayreason = htmlspecialchars_uni($memprofile['awayreason']);


			$reason = $parser->parse_badwords($memprofile['awayreason']);
$awayreason = htmlspecialchars_uni($reason);

		}
else
{

		}
else
{

Zeile 1626Zeile 1627
			}

// If our away time has expired already, we should be back, right?

			}

// If our away time has expired already, we should be back, right?

			if ($returnmkdate < TIME_NOW)

			if($returnmkdate < TIME_NOW)

			{
$db->update_query('users', array('away' => '0', 'awaydate' => '', 'returndate' => '', 'awayreason' => ''), 'uid=\''.intval($memprofile['uid']).'\'');


			{
$db->update_query('users', array('away' => '0', 'awaydate' => '', 'returndate' => '', 'awayreason' => ''), 'uid=\''.intval($memprofile['uid']).'\'');


Zeile 1636Zeile 1637
		}

// Check if our away status is set to 1, it may have been updated already (see a few lines above)

		}

// Check if our away status is set to 1, it may have been updated already (see a few lines above)

		if ($memprofile['away'] == 1)

		if($memprofile['away'] == 1)

		{
eval("\$awaybit = \"".$templates->get("member_profile_away")."\";");
}

		{
eval("\$awaybit = \"".$templates->get("member_profile_away")."\";");
}

Zeile 1940Zeile 1941
		}
else
{

		}
else
{

 
			$userfields[$field] = $parser->parse_badwords($userfields[$field]);


			if($customfield['type'] == "textarea")
{
$customfieldval = nl2br(htmlspecialchars_uni($userfields[$field]));

			if($customfield['type'] == "textarea")
{
$customfieldval = nl2br(htmlspecialchars_uni($userfields[$field]));