Vergleich index.php - 1.8.23 - 1.8.27

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 34Zeile 34
$statspage = '';
if($mybb->settings['statsenabled'] != 0)
{

$statspage = '';
if($mybb->settings['statsenabled'] != 0)
{

 
	$stats_page_separator = '';

	if(!empty($logoutlink))
{
$stats_page_separator = $lang->board_stats_link_separator;

	if(!empty($logoutlink))
{
$stats_page_separator = $lang->board_stats_link_separator;

Zeile 107Zeile 108
			if(empty($doneusers[$user['uid']]) || $doneusers[$user['uid']] < $user['time'])
{
// If the user is logged in anonymously, update the count for that.

			if(empty($doneusers[$user['uid']]) || $doneusers[$user['uid']] < $user['time'])
{
// If the user is logged in anonymously, update the count for that.

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

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

				{
++$anoncount;
}

				{
++$anoncount;
}

Zeile 115Zeile 116
				if($user['invisible'] != 1 || $mybb->usergroup['canviewwolinvis'] == 1 || $user['uid'] == $mybb->user['uid'])
{
// If this usergroup can see anonymously logged-in users, mark them.

				if($user['invisible'] != 1 || $mybb->usergroup['canviewwolinvis'] == 1 || $user['uid'] == $mybb->user['uid'])
{
// If this usergroup can see anonymously logged-in users, mark them.

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

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

					{
$invisiblemark = '*';
}

					{
$invisiblemark = '*';
}

Zeile 133Zeile 134
				$doneusers[$user['uid']] = $user['time'];
}
}

				$doneusers[$user['uid']] = $user['time'];
}
}

		elseif(my_strpos($user['sid'], 'bot=') !== false && $spiders[$botkey])

		elseif(my_strpos($user['sid'], 'bot=') !== false && $spiders[$botkey] && $mybb->settings['woldisplayspiders'] == 1)

		{
if($mybb->settings['wolorder'] == 'username')
{

		{
if($mybb->settings['wolorder'] == 'username')
{

Zeile 365Zeile 366
		// Load the stats cache.
$stats = $cache->read('stats');
}

		// Load the stats cache.
$stats = $cache->read('stats');
}

	
$expaltext = (in_array("boardstats", $collapse)) ? "[+]" : "[-]";















if(!isset($collapsedthead['boardstats']))
{
$collapsedthead['boardstats'] = '';
}
if(!isset($collapsedimg['boardstats']))
{
$collapsedimg['boardstats'] = '';
}
if(!isset($collapsed['boardstats_e']))
{
$collapsed['boardstats_e'] = '';
}

$expaltext = (in_array("boardstats", $collapse)) ? $lang->expcol_expand : $lang->expcol_collapse;

	eval('$boardstats = "'.$templates->get('index_boardstats').'";');
}


	eval('$boardstats = "'.$templates->get('index_boardstats').'";');
}


Zeile 414Zeile 428
}

$excols = 'index';

}

$excols = 'index';

$permissioncache['-1'] = '1';

$permissioncache = null;

$bgcolor = 'trow1';

// Decide if we're showing first-level subforums on the index page.

$bgcolor = 'trow1';

// Decide if we're showing first-level subforums on the index page.