Version 2.2.2
This commit is contained in:
1 parent
22f1b963ee
commit
a3bb603c96
858 files changed
+479463
-188140
No files matched your search
@@ -2,18 +2,28 @@
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board
|
||||
| Invision Power Board 2.2.2
|
||||
| =============================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2006 Invision Power Services, Inc.
|
||||
| http://www.invisionpower.com
|
||||
| =============================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| http://www.ibresource.ru/products/invisionpowerboard/
|
||||
| Time: Monday 05th of March 2007 10:10:54 PM
|
||||
| Release: e3790216629e5a2aaf37070b32237f06
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
| http://www.ibresource.ru/license
|
||||
+---------------------------------------------------------------------------
|
||||
| > $Date: 2006-09-22 11:28:54 +0100 (Fri, 22 Sep 2006) $
|
||||
| > $Revision: 567 $
|
||||
| > $Author: matt $
|
||||
| INVISION POWER BOARD IS NOT FREE / OPEN SOURCE!
|
||||
+---------------------------------------------------------------------------
|
||||
| INVISION POWER BOARD ÍÅ ßÂËßÅÒÑß ÁÅÑÏËÀÒÍÛÌ ÏÐÎÃÐÀÌÌÍÛÌ ÎÁÅÑÏÅ×ÅÍÈÅÌ!
|
||||
| Ïðàâà íà ÏÎ ïðèíàäëåæàò Invision Power Services
|
||||
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
|
||||
+---------------------------------------------------------------------------
|
||||
| > $Date: 2006-11-08 16:47:55 -0600 (Wed, 08 Nov 2006) $
|
||||
| > $Revision: 721 $
|
||||
| > $Author: bfarber $
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > Show online users
|
||||
@@ -29,7 +39,7 @@
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
{
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded all the relevant files.";
|
||||
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
|
||||
exit();
|
||||
}
|
||||
|
||||
@@ -273,8 +283,6 @@ class online
|
||||
|
||||
while( $r = $this->ipsclass->DB->fetch_row($outer) )
|
||||
{
|
||||
$r['member_name'] = $this->ipsclass->make_name_formatted( $r['member_name'], $r['member_group'] );
|
||||
|
||||
$final[ $r['id'] ] = $r;
|
||||
|
||||
//-----------------------------------------
|
||||
@@ -408,6 +416,13 @@ class online
|
||||
}
|
||||
}
|
||||
|
||||
if ( !$sess['member_id'] AND (!isset($sess['is_bot']) OR !$sess['is_bot']) )
|
||||
{
|
||||
$sess['member_name'] = $this->ipsclass->lang['guest'];
|
||||
}
|
||||
|
||||
$sess['member_name'] = $this->ipsclass->make_name_formatted( $sess['member_name'], $sess['member_group'] );
|
||||
|
||||
//-----------------------------------------
|
||||
// Figure out location
|
||||
//-----------------------------------------
|
||||
@@ -462,7 +477,25 @@ class online
|
||||
|
||||
if ( isset($act) )
|
||||
{
|
||||
$line = isset($this->where[ $act ]) ? $this->where[ $act ] : $this->ipsclass->lang['board_index'];
|
||||
if( $act == 'post' AND $tid )
|
||||
{
|
||||
$line = $this->where[ 'postrep' ];
|
||||
}
|
||||
else if( $act == 'post' AND $fid )
|
||||
{
|
||||
$line = $this->where[ 'postnew' ];
|
||||
}
|
||||
else
|
||||
{
|
||||
if( in_array( $act, array( 'members', 'help', 'calendar', 'online', 'boardrules' ) ) )
|
||||
{
|
||||
$line = isset($this->where[ $act ]) ? "<a href='{$this->ipsclass->base_url}act={$act}'>{$this->where[ $act ]}</a>" : $this->ipsclass->lang['board_index'];
|
||||
}
|
||||
else
|
||||
{
|
||||
$line = isset($this->where[ $act ]) ? $this->where[ $act ] : $this->ipsclass->lang['board_index'];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ( $fid != "" and ($act == 'sf' or $act == 'st' or $act == 'post'))
|
||||
@@ -473,7 +506,7 @@ class online
|
||||
|
||||
if ($deny != 1)
|
||||
{
|
||||
if ( ($tid > 0) and ($act != 'post') )
|
||||
if ( ($tid > 0) )
|
||||
{
|
||||
$line .= " <a href='{$this->base_url}showtopic=$tid'>{$topics[$tid]}</a>";
|
||||
}
|
||||
@@ -540,7 +573,7 @@ class online
|
||||
{
|
||||
if ( !isset($sess['is_bot']) OR !$sess['is_bot'] )
|
||||
{
|
||||
$sess['member_name'] = $this->ipsclass->lang['guest']." ".$sess['ip_address'];
|
||||
$sess['member_name'] .= ' '.$sess['ip_address'];
|
||||
$sess['msg_icon'] = ' ';
|
||||
}
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user