Vergleich inc/functions_online.php - 1.8.12 - 1.8.13

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 245Zeile 245
		case "modcp":
if(!isset($parameters['action']))
{

		case "modcp":
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 286Zeile 286
			$user_activity['activity'] = "moderation";
break;
case "newreply":

			$user_activity['activity'] = "moderation";
break;
case "newreply":

			if(!isset($parameters['tid']))
{
$parameters['tid'] = 0;
}
$parameters['tid'] = (int)$parameters['tid'];
if($parameters['tid'] > 0)
{
$tid_list[$parameters['tid']] = $parameters['tid'];
}

			if(!isset($parameters['tid']))
{
$parameters['tid'] = 0;
}
$parameters['tid'] = (int)$parameters['tid'];
if($parameters['tid'] > 0)
{
$tid_list[$parameters['tid']] = $parameters['tid'];
}

			$user_activity['activity'] = "newreply";
$user_activity['tid'] = $parameters['tid'];
break;

			$user_activity['activity'] = "newreply";
$user_activity['tid'] = $parameters['tid'];
break;

Zeile 307Zeile 307
			if($parameters['fid'] > 0)
{
$fid_list[$parameters['fid']] = $parameters['fid'];

			if($parameters['fid'] > 0)
{
$fid_list[$parameters['fid']] = $parameters['fid'];

			}

			}

			$user_activity['activity'] = "newthread";
$user_activity['fid'] = $parameters['fid'];
break;
case "online":
if(!isset($parameters['action']))

			$user_activity['activity'] = "newthread";
$user_activity['fid'] = $parameters['fid'];
break;
case "online":
if(!isset($parameters['action']))

			{

			{

				$parameters['action'] = '';
}
if($parameters['action'] == "today")
{
$user_activity['activity'] = "woltoday";

				$parameters['action'] = '';
}
if($parameters['action'] == "today")
{
$user_activity['activity'] = "woltoday";

			}

			}

			else
{
$user_activity['activity'] = "wol";

			else
{
$user_activity['activity'] = "wol";

Zeile 391Zeile 391
			else
{
$user_activity['activity'] = "private";

			else
{
$user_activity['activity'] = "private";

			}
break;

			}
break;

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

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

Zeile 442Zeile 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']))
{