Vergleich index.php - 1.4.4 - 1.4.16

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/about/license
*

 * $Id: index.php 4249 2008-10-25 05:37:16Z Tikitiki $

 * $Id: index.php 5379 2011-02-21 11:06:42Z Tomm $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 126Zeile 126

// Build the who's online bit on the index page.
$onlinecount = $membercount + $guestcount + $botcount;


// Build the who's online bit on the index page.
$onlinecount = $membercount + $guestcount + $botcount;

	
// If we can see invisible users add them to the count
if($mybb->usergroup['canviewwolinvis'] == 1)
{
$onlinecount += $anoncount;
}

// If we can't see invisible users but the user is an invisible user incriment the count by one
if($mybb->usergroup['canviewwolinvis'] != 1 && $mybb->user['invisible'] == 1)
{
++$onlinecount;
}

 
	
if($onlinecount != 1)
{

	
if($onlinecount != 1)
{

Zeile 248Zeile 236
	else
{
$newestmember = build_profile_link($stats['lastusername'], $stats['lastuid']);

	else
{
$newestmember = build_profile_link($stats['lastusername'], $stats['lastuid']);

	}


	}


	// Format the stats language.
$lang->stats_posts_threads = $lang->sprintf($lang->stats_posts_threads, my_number_format($stats['numposts']), my_number_format($stats['numthreads']));
$lang->stats_numusers = $lang->sprintf($lang->stats_numusers, my_number_format($stats['numusers']));

	// Format the stats language.
$lang->stats_posts_threads = $lang->sprintf($lang->stats_posts_threads, my_number_format($stats['numposts']), my_number_format($stats['numthreads']));
$lang->stats_numusers = $lang->sprintf($lang->stats_numusers, my_number_format($stats['numusers']));

Zeile 267Zeile 255
	$recordcount = $mostonline['numusers'];
$recorddate = my_date($mybb->settings['dateformat'], $mostonline['time']);
$recordtime = my_date($mybb->settings['timeformat'], $mostonline['time']);

	$recordcount = $mostonline['numusers'];
$recorddate = my_date($mybb->settings['dateformat'], $mostonline['time']);
$recordtime = my_date($mybb->settings['timeformat'], $mostonline['time']);





	// Then format that language string.
$lang->stats_mostonline = $lang->sprintf($lang->stats_mostonline, my_number_format($recordcount), $recorddate, $recordtime);

	// Then format that language string.
$lang->stats_mostonline = $lang->sprintf($lang->stats_mostonline, my_number_format($recordcount), $recorddate, $recordtime);





	eval("\$forumstats = \"".$templates->get("index_stats")."\";");
}


	eval("\$forumstats = \"".$templates->get("index_stats")."\";");
}


Zeile 278Zeile 266
if($mybb->settings['showwol'] != 0 || $mybb->settings['showindexstats'] != 0 || ($mybb->settings['showbirthdays'] != 0 && $bdaycount > 0))
{
if(!is_array($stats))

if($mybb->settings['showwol'] != 0 || $mybb->settings['showindexstats'] != 0 || ($mybb->settings['showbirthdays'] != 0 && $bdaycount > 0))
{
if(!is_array($stats))

	{

	{

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

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

	








$post_code_string = '';
if($mybb->user['uid'])
{
$post_code_string = "&my_post_key=".$mybb->post_code;
}


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


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