Vergleich online.php - 1.2.1 - 1.2.3

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html
*

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

 * $Id: online.php 2228 2006-09-17 19:49:10Z Tikitiki $

 * $Id: online.php 2715 2007-02-04 23:33:13Z 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 544Zeile 555
		// showteam.php functions
case "showteam":
$locationname = $lang->viewing_team;

		// showteam.php functions
case "showteam":
$locationname = $lang->viewing_team;

			break;

			break;

		// stats.php functions
case "stats":
$locationname = $lang->viewing_stats;

		// stats.php functions
case "stats":
$locationname = $lang->viewing_stats;

Zeile 555Zeile 566
			break;
case "usercp_options":
$locationname = $lang->updating_options;

			break;
case "usercp_options":
$locationname = $lang->updating_options;

			break;

			break;

		case "usercp_editsig":
$locationname = $lang->editing_signature;
break;

		case "usercp_editsig":
$locationname = $lang->editing_signature;
break;

Zeile 576Zeile 587
			break;
case "usercp2_favorites":
$locationname = $lang->managing_favorites;

			break;
case "usercp2_favorites":
$locationname = $lang->managing_favorites;

			break;

			break;

		case "usercp2_subscriptions":
$locationname = $lang->managing_subscriptions;

		case "usercp2_subscriptions":
$locationname = $lang->managing_subscriptions;

			break;

			break;

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

		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 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 659Zeile 674
				$fidsql .= ",$parameters[fid]";
}
$user['activity'] = "announcements";

				$fidsql .= ",$parameters[fid]";
}
$user['activity'] = "announcements";

			$user['fid'] = $parameters['fid'];

			$user['fid'] = $parameters['fid'];

			break;
case "attachment":
if(is_numeric($parameters['aid']))

			break;
case "attachment":
if(is_numeric($parameters['aid']))

Zeile 709Zeile 724
			break;
case "member":
if($parameters['action'] == "activate")

			break;
case "member":
if($parameters['action'] == "activate")

			{

			{

				$user['activity'] = "member_activate";
}
elseif($parameters['action'] == "register" || $parameters['action'] == "do_register")

				$user['activity'] = "member_activate";
}
elseif($parameters['action'] == "register" || $parameters['action'] == "do_register")

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;