Vergleich inc/functions_online.php - 1.8.8 - 1.8.15

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 161Zeile 161
			elseif($parameters['action'] == "profile")
{
$user_activity['activity'] = "member_profile";

			elseif($parameters['action'] == "profile")
{
$user_activity['activity'] = "member_profile";

 


				if(!isset($parameters['uid']))

				if(!isset($parameters['uid']))

				{

				{

					$parameters['uid'] = 0;

					$parameters['uid'] = 0;

				}

				}

				$parameters['uid'] = (int)$parameters['uid'];

				$parameters['uid'] = (int)$parameters['uid'];

 

if($parameters['uid'] == 0)
{
global $memprofile;

// $user is available in Who's Online but not in Member Profile, use $memprofile instead
if(!empty($user['uid']))
{
$parameters['uid'] = $user['uid'];
}
elseif(!empty($memprofile['uid']))
{
$parameters['uid'] = $memprofile['uid'];
}
}


				if($parameters['uid'] > 0)
{
$uid_list[$parameters['uid']] = $parameters['uid'];

				if($parameters['uid'] > 0)
{
$uid_list[$parameters['uid']] = $parameters['uid'];

Zeile 226Zeile 243
			}
break;
case "modcp":

			}
break;
case "modcp":

			if(!isset($parameters['action']))

			if(!isset($parameters['action']))

			{

			{

				$parameters['action'] = 0;

				$parameters['action'] = '';

			}

$accepted_parameters = array("modlogs", "announcements", "finduser", "warninglogs", "ipsearch");

			}

$accepted_parameters = array("modlogs", "announcements", "finduser", "warninglogs", "ipsearch");

Zeile 292Zeile 309
				$fid_list[$parameters['fid']] = $parameters['fid'];
}
$user_activity['activity'] = "newthread";

				$fid_list[$parameters['fid']] = $parameters['fid'];
}
$user_activity['activity'] = "newthread";

			$user_activity['fid'] = $parameters['fid'];
break;

			$user_activity['fid'] = $parameters['fid'];
break;

		case "online":
if(!isset($parameters['action']))
{

		case "online":
if(!isset($parameters['action']))
{

Zeile 355Zeile 372
			$user_activity['tid'] = $parameters['tid'];
break;
case "private":

			$user_activity['tid'] = $parameters['tid'];
break;
case "private":

			if(!isset($parameters['action']))
{
$parameters['action'] = '';
}
if($parameters['action'] == "send" || $parameters['action'] == "do_send")

			if(!isset($parameters['action']))
{
$parameters['action'] = '';
}
if($parameters['action'] == "send" || $parameters['action'] == "do_send")

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

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

Zeile 425Zeile 442
		case "showthread":
if(!isset($parameters['action']))
{

		case "showthread":
if(!isset($parameters['action']))
{

				$parameters['action'] = 0;

				$parameters['action'] = '';

			}
if(!isset($parameters['pid']))
{

			}
if(!isset($parameters['pid']))
{