Vergleich inc/functions_online.php - 1.8.17 - 1.8.37

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 33Zeile 33
		$filename = my_substr($split_loc[0], -my_strpos(strrev($split_loc[0]), "/"));
}
$parameters = array();

		$filename = my_substr($split_loc[0], -my_strpos(strrev($split_loc[0]), "/"));
}
$parameters = array();

	if($split_loc[1])

	if(isset($split_loc[1]))

	{
$temp = explode("&", my_substr($split_loc[1], 1));
foreach($temp as $param)

	{
$temp = explode("&", my_substr($split_loc[1], 1));
foreach($temp as $param)

Zeile 218Zeile 218
			{
$parameters['action'] = '';
}

			{
$parameters['action'] = '';
}

			$accepted_parameters = array("markread", "help", "buddypopup", "smilies", "syndication", "imcenter", "dstswitch");

			$accepted_parameters = array("markread", "help", "buddypopup", "smilies", "syndication", "dstswitch");

			if($parameters['action'] == "whoposted")
{
if(!isset($parameters['tid']))

			if($parameters['action'] == "whoposted")
{
if(!isset($parameters['tid']))

Zeile 352Zeile 352
					}
}


					}
}


				if(!$user_activity['activity'])

				if(empty($user_activity['activity']))

				{
$user_activity['activity'] = "showresults";
}

				{
$user_activity['activity'] = "showresults";
}

Zeile 400Zeile 400
			$user_activity['activity'] = "report";
break;
case "reputation":

			$user_activity['activity'] = "report";
break;
case "reputation":

 
            if(!isset($parameters['action']))
{
$parameters['action'] = '';
}

			if(!isset($parameters['uid']))
{
$parameters['uid'] = 0;

			if(!isset($parameters['uid']))
{
$parameters['uid'] = 0;

Zeile 880Zeile 884
			break;
case "misc_syndication":
$location_name = $lang->viewing_syndication;

			break;
case "misc_syndication":
$location_name = $lang->viewing_syndication;

			break;
case "misc_imcenter":
$location_name = $lang->viewing_imcenter;

 
			break;
// modcp.php functions
case "modcp_modlogs":

			break;
// modcp.php functions
case "modcp_modlogs":

Zeile 1143Zeile 1144
		if($user['invisible'] != 1 || $mybb->usergroup['canviewwolinvis'] == 1 || $user['uid'] == $mybb->user['uid'])
{
// Append an invisible mark if the user is invisible

		if($user['invisible'] != 1 || $mybb->usergroup['canviewwolinvis'] == 1 || $user['uid'] == $mybb->user['uid'])
{
// Append an invisible mark if the user is invisible

			if($user['invisible'] == 1)

			if($user['invisible'] == 1 && $mybb->usergroup['canbeinvisible'] == 1)

			{
$invisible_mark = "*";
}

			{
$invisible_mark = "*";
}

Zeile 1167Zeile 1168
		$online_name = format_name($lang->guest, 1);
}


		$online_name = format_name($lang->guest, 1);
}


	$online_time = my_date($mybb->settings['timeformat'], $user['time']);

	$online_time = my_date('relative', $user['time']);


// Fetch the location name for this users activity
$location = build_friendly_wol_location($user['activity']);


// Fetch the location name for this users activity
$location = build_friendly_wol_location($user['activity']);