Zeile 3 | Zeile 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 2715 2007-02-04 23:33:13Z Tikitiki $
| * $Id: online.php 3478 2007-11-15 04:11:36Z Tikitiki $
|
*/
define("IN_MYBB", 1);
| */
define("IN_MYBB", 1);
|
Zeile 305 | Zeile 305 |
---|
function show($user) {
|
function show($user) {
|
global $threads, $forums, $forums_linkto, $posts, $events, $members, $theme, $mybb, $onlinerows, $templates, $lang, $session;
| global $threads, $forums, $forums_linkto, $posts, $events, $members, $theme, $mybb, $onlinerows, $templates, $lang, $session, $attachments;
|
switch($user['activity']) {
| switch($user['activity']) {
|
Zeile 322 | Zeile 322 |
---|
break; // attachment.php actions case "attachment":
|
break; // attachment.php actions case "attachment":
|
$aid = $posts[$user['aid']]; $pid = $attachments[$aid];
| $pid = $attachments[$user['aid']];
|
$tid = $posts[$pid]; if($threads[$tid]) {
|
$tid = $posts[$pid]; if($threads[$tid]) {
|
$locationname = sprintf($lang->viewing_attachment2, $tid, $threads[$tid]);
| $locationname = sprintf($lang->viewing_attachment2, $user['aid'], $threads[$tid]);
|
} else {
| } else {
|
Zeile 380 | Zeile 379 |
---|
case "index": $locationname = sprintf($lang->viewing_index, $mybb->settings['bbname']); break;
|
case "index": $locationname = sprintf($lang->viewing_index, $mybb->settings['bbname']); break;
|
| // managegroup.php functions case "managegroup": $locationname = $lang->managing_group; break;
|
// member.php functions case "member_activate": $locationname = $lang->activating_account;
| // member.php functions case "member_activate": $locationname = $lang->activating_account;
|
Zeile 581 | Zeile 584 |
---|
break; case "usercp_notepad": $locationname = $lang->editing_pad;
|
break; case "usercp_notepad": $locationname = $lang->editing_pad;
|
| break; case "usercp_password": $location_name = $lang->editing_password;
|
break; case "usercp": $locationname = $lang->user_cp;
|
break; case "usercp": $locationname = $lang->user_cp;
|
break;
| break;
|
case "usercp2_favorites": $locationname = $lang->managing_favorites; break; case "usercp2_subscriptions": $locationname = $lang->managing_subscriptions;
|
case "usercp2_favorites": $locationname = $lang->managing_favorites; break; case "usercp2_subscriptions": $locationname = $lang->managing_subscriptions;
|
break;
| break;
|
case "portal": $locationname = $lang->viewing_portal; break; // sendthread.php functions case "sendthread": $locationname = $lang->sending_thread;
|
case "portal": $locationname = $lang->viewing_portal; break; // sendthread.php functions case "sendthread": $locationname = $lang->sending_thread;
|
break; }
| break; }
|
if($user['nopermission'] == 1) { $locationname = $lang->viewing_noperms;
| if($user['nopermission'] == 1) { $locationname = $lang->viewing_noperms;
|
Zeile 615 | Zeile 621 |
---|
if($user['invisible'] == "yes") { $invisiblemark = "*";
|
if($user['invisible'] == "yes") { $invisiblemark = "*";
|
}
| }
|
else { $invisiblemark = '';
| else { $invisiblemark = '';
|
Zeile 646 | Zeile 652 |
---|
function what($user) {
|
function what($user) {
|
global $mybb, $theme, $fidsql, $tidsql, $pidsql, $eidsql, $uidsql;
| global $mybb, $theme, $fidsql, $tidsql, $pidsql, $eidsql, $uidsql, $aidsql;
|
$splitloc = explode(".php", $user['location']); if($splitloc[0] == $user['location'])
|
$splitloc = explode(".php", $user['location']); if($splitloc[0] == $user['location'])
|
{
| {
|
$filename = ''; } else
| $filename = ''; } else
|
Zeile 683 | Zeile 690 |
---|
} $user['activity'] = "attachment"; $user['aid'] = $parameters['aid'];
|
} $user['activity'] = "attachment"; $user['aid'] = $parameters['aid'];
|
break;
| break;
|
case "calendar": if($parameters['action'] == "event") {
| case "calendar": if($parameters['action'] == "event") {
|
Zeile 717 | Zeile 724 |
---|
} $user['activity'] = "forumdisplay"; $user['fid'] = $parameters['fid'];
|
} $user['activity'] = "forumdisplay"; $user['fid'] = $parameters['fid'];
|
| break; case "managegroup": $user['activity'] = "managegroup";
|
break; case "index": case '':
| break; case "index": case '':
|