Vergleich inc/functions_serverstats.php - 1.8.0 - 1.8.4

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 255Zeile 255

if(function_exists('sha1'))
{


if(function_exists('sha1'))
{

		$info['id'] = sha1($id);

		$info['clientid'] = sha1($id);

	}
else
{

	}
else
{

		$info['id'] = md5($id);

		$info['clientid'] = md5($id);

	}

$string = "";

	}

$string = "";

Zeile 270Zeile 270
		$amp = "&";
}


		$amp = "&";
}


	$server_stats_url = 'http://community.mybb.com/stats.php?'.$string;

	$server_stats_url = 'http://community.mybb.com/server_stats.php?'.$string;


$return = array();
$return['info_sent_success'] = false;


$return = array();
$return['info_sent_success'] = false;

Zeile 278Zeile 278
	{
$return['info_sent_success'] = true;
}

	{
$return['info_sent_success'] = true;
}

	$return['info_image'] = "<img src='{$server_stats_url}&amp;img=1' />";

	$return['info_image'] = "<img src='".$server_stats_url."&amp;img=1' />";

	$return['info_get_string'] = $string;

return $return;

	$return['info_get_string'] = $string;

return $return;