Vergleich index.php - 1.6.7 - 1.6.10

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * $Id: index.php 5765 2012-03-27 09:52:45Z Tomm $

 * $Id$

 */

define("IN_MYBB", 1);
define('THIS_SCRIPT', 'index.php');


 */

define("IN_MYBB", 1);
define('THIS_SCRIPT', 'index.php');


$templatelist = "index,index_whosonline,index_welcomemembertext,index_welcomeguest,index_whosonline_memberbit,forumbit_depth1_cat,forumbit_depth1_forum,forumbit_depth2_cat,forumbit_depth2_forum,forumbit_depth1_forum_lastpost,forumbit_depth2_forum_lastpost,index_modcolumn,forumbit_moderators,forumbit_subforums,index_welcomeguesttext";
$templatelist .= ",index_birthdays_birthday,index_birthdays,index_pms,index_loginform,index_logoutlink,index_stats,forumbit_depth3,forumbit_depth3_statusicon,index_boardstats";

$templatelist = "index,index_whosonline,index_whosonline_memberbit,forumbit_depth1_cat,forumbit_depth1_forum,forumbit_depth2_cat,forumbit_depth2_forum,forumbit_depth1_forum_lastpost,forumbit_depth2_forum_lastpost,forumbit_moderators,forumbit_subforums";
$templatelist .= ",index_birthdays_birthday,index_birthdays,index_loginform,index_logoutlink,index_stats,forumbit_depth3,forumbit_depth3_statusicon,index_boardstats";


require_once "./global.php";



require_once "./global.php";


Zeile 70Zeile 70
		ORDER BY u.username ASC, s.time DESC
");


		ORDER BY u.username ASC, s.time DESC
");


	$forum_viewers = array();
$membercount = 0;

 
	$onlinemembers = '';

	$onlinemembers = '';

	$guestcount = 0;
$anoncount = 0;
$doneusers = array();

	$forum_viewers = $doneusers = array();
$botcount = $membercount = $anoncount = $guestcount = 0;



// Fetch spiders
$spiders = $cache->read("spiders");


// Fetch spiders
$spiders = $cache->read("spiders");

Zeile 90Zeile 87
		if($user['uid'] > 0)
{
// The user is registered.

		if($user['uid'] > 0)
{
// The user is registered.

			if($doneusers[$user['uid']] < $user['time'] || !$doneusers[$user['uid']])

			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 the user is logged in anonymously, update the count for that.
if($user['invisible'] == 1)

Zeile 196Zeile 193
		$bdaycache = $cache->read("birthdays");
}


		$bdaycache = $cache->read("birthdays");
}


	$hiddencount = $bdaycache[$bdaydate]['hiddencount'];
$today_bdays = $bdaycache[$bdaydate]['users'];





	$hiddencount = $today_bdays = 0;
if(isset($bdaycache[$bdaydate]))
{
$hiddencount = $bdaycache[$bdaydate]['hiddencount'];
$today_bdays = $bdaycache[$bdaydate]['users'];
}


$comma = '';
if(!empty($today_bdays))


$comma = '';
if(!empty($today_bdays))

Zeile 363Zeile 364
{
if($mybb->user['uid'] == 0)
{

{
if($mybb->user['uid'] == 0)
{

		if($forumsread[$forum['fid']])

		if(!empty($forumsread[$forum['fid']]))

		{
$forum['lastread'] = $forumsread[$forum['fid']];
}

		{
$forum['lastread'] = $forumsread[$forum['fid']];
}