Vergleich online.php - 1.2.0 - 1.2.8

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 3Zeile 3
 * MyBB 1.2
* Copyright � 2006 MyBB Group, All Rights Reserved
*

 * MyBB 1.2
* Copyright � 2006 MyBB Group, All Rights Reserved
*

 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/eula.html

 *

 *

 * $Id: online.php 2194 2006-09-03 12:46:22Z chris $

 * $Id: online.php 3030 2007-04-26 00:19:47Z Tikitiki $

 */

define("IN_MYBB", 1);

 */

define("IN_MYBB", 1);

Zeile 209Zeile 209
	}
if($tidsql)
{

	}
if($tidsql)
{

		$query = $db->simple_select(TABLE_PREFIX."threads", "fid,tid,subject", "tid IN(0$tidsql) $fidnot");

		$query = $db->simple_select(TABLE_PREFIX."threads", "fid,tid,subject,visible", "tid IN(0$tidsql) $fidnot");

		while($thread = $db->fetch_array($query))
{

		while($thread = $db->fetch_array($query))
{

			$threads[$thread['tid']] = htmlspecialchars_uni($parser->parse_badwords($thread['subject']));
$fidsql .= ",$thread[fid]";




			if(is_moderator($thread['fid']) != "no" || $thread['visible'] != '0')
{
$threads[$thread['tid']] = htmlspecialchars_uni($parser->parse_badwords($thread['subject']));
$fidsql .= ",$thread[fid]";
}

		}
}
if($fidsql)

		}
}
if($fidsql)

Zeile 396Zeile 399
			break;
case "member":
case "member_login":

			break;
case "member":
case "member_login":

			$locationname = $lang->logging_in;









			// Guest or member?
if($mybb->user['uid'] == 0)
{
$locationname = $lang->logging_in;
}
else
{
$locationname = $lang->logging_in_plain;
}

			break;
case "member_logout":
$locationname = $lang->logging_out;

			break;
case "member_logout":
$locationname = $lang->logging_out;

Zeile 411Zeile 422
			$locationname = $lang->resending_account_activation;
break;
case "member_lostpw":

			$locationname = $lang->resending_account_activation;
break;
case "member_lostpw":

			$locationname = $lang->retrieving_lost_pw;

			$locationname = $lang->member_lostpw;

			break;
// memberlist.php functions
case "memberlist":

			break;
// memberlist.php functions
case "memberlist":

Zeile 422Zeile 433
			if($threads[$user['tid']])
{
$locationname = sprintf($lang->viewing_whoposted2, $user['tid'], $threads[$user['tid']]);

			if($threads[$user['tid']])
{
$locationname = sprintf($lang->viewing_whoposted2, $user['tid'], $threads[$user['tid']]);

			}

			}

			else
{
$locationname = $lang->viewing_whoposted;

			else
{
$locationname = $lang->viewing_whoposted;

Zeile 430Zeile 441
			break;
case "misc_markread":
$locationname = $lang->marking_read;

			break;
case "misc_markread":
$locationname = $lang->marking_read;

			break;

			break;

		case "misc_help":
$locationname = $lang->viewing_helpdocs;

		case "misc_help":
$locationname = $lang->viewing_helpdocs;

			break;

			break;

		case "misc_buddypopup":
$locationname = $lang->viewing_buddylist;
break;
case "misc_smilies":
$locationname = $lang->viewing_smilies;

		case "misc_buddypopup":
$locationname = $lang->viewing_buddylist;
break;
case "misc_smilies":
$locationname = $lang->viewing_smilies;

			break;

			break;

		case "misc_syndication":
$locationname = $lang->viewing_syndication;
break;

		case "misc_syndication":
$locationname = $lang->viewing_syndication;
break;

Zeile 455Zeile 466
			if($user['pid'])
{
$user['tid'] = $posts[$user['pid']];

			if($user['pid'])
{
$user['tid'] = $posts[$user['pid']];

			}

			}

			if($threads[$user['tid']])

			if($threads[$user['tid']])

			{

			{

				$locationname = sprintf($lang->replying_thread2, $user['tid'], $threads[$user['tid']]);
}
else
{
$locationname = $lang->replying_thread;

				$locationname = sprintf($lang->replying_thread2, $user['tid'], $threads[$user['tid']]);
}
else
{
$locationname = $lang->replying_thread;

			}

			}

			break;
// newthread.php functions
case "newthread":

			break;
// newthread.php functions
case "newthread":

Zeile 582Zeile 593
			break;
case "portal":
$locationname = $lang->viewing_portal;

			break;
case "portal":
$locationname = $lang->viewing_portal;

 
			break;
// sendthread.php functions
case "sendthread":
$locationname = $lang->sending_thread;

			break;
}
if($user['nopermission'] == 1)

			break;
}
if($user['nopermission'] == 1)

Zeile 594Zeile 609
	}

if($user['uid'] > 0)

	}

if($user['uid'] > 0)

	{

	{

		if($user['invisible'] != "yes" || $mybb->usergroup['canviewwolinvis'] == "yes" || $user['uid'] == $mybb->user['uid'])
{
if($user['invisible'] == "yes")

		if($user['invisible'] != "yes" || $mybb->usergroup['canviewwolinvis'] == "yes" || $user['uid'] == $mybb->user['uid'])
{
if($user['invisible'] == "yes")

Zeile 616Zeile 631
	else
{
$onlinename = format_name($lang->guest, 1);

	else
{
$onlinename = format_name($lang->guest, 1);

	}

	}

	$onlinetime = my_date($mybb->settings['timeformat'], $user['time']);
if($mybb->usergroup['canviewonlineips'] == "yes")
{

	$onlinetime = my_date($mybb->settings['timeformat'], $user['time']);
if($mybb->usergroup['canviewonlineips'] == "yes")
{

Zeile 628Zeile 643
	}
}


	}
}






function what($user)
{
global $mybb, $theme, $fidsql, $tidsql, $pidsql, $eidsql, $uidsql;

function what($user)
{
global $mybb, $theme, $fidsql, $tidsql, $pidsql, $eidsql, $uidsql;

Zeile 875Zeile 890
			}
$user['activity'] = "sendthread";
$user['tid'] = $parameters['tid'];

			}
$user['activity'] = "sendthread";
$user['tid'] = $parameters['tid'];

 
			break;

		case "showteam":
$user['activity'] = "showteam";
break;

		case "showteam":
$user['activity'] = "showteam";
break;