Version 2.3.6
This commit is contained in:
1 parent
a3bb603c96
commit
19b38c7c74
764 files changed
+143731
-118164
No files matched your search
@@ -2,40 +2,31 @@
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board 2.2.2
|
||||
| Invision Power Board
|
||||
| =============================================
|
||||
| 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
|
||||
+---------------------------------------------------------------------------
|
||||
| INVISION POWER BOARD ÍÅ ßÂËßÅÒÑß ÁÅÑÏËÀÒÍÛÌ ÏÐÎÃÐÀÌÌÍÛÌ ÎÁÅÑÏÅ×ÅÍÈÅÌ!
|
||||
| Ïðàâà íà ÏÎ ïðèíàäëåæàò Invision Power Services
|
||||
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
|
||||
+---------------------------------------------------------------------------
|
||||
| > $Date: 2006-10-05 11:04:08 -0500 (Thu, 05 Oct 2006) $
|
||||
| > $Revision: 609 $
|
||||
| > $Date: 2007-10-11 09:36:59 -0400 (Thu, 11 Oct 2007) $
|
||||
| > $Revision: 1130 $
|
||||
| > $Author: matt $
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > Func chat
|
||||
| > IPChat functions
|
||||
| > Script written by Matt Mecham
|
||||
| > Date started: 1st march 2002
|
||||
| > Date started: 29th September 2003
|
||||
|
|
||||
| > DBA Checked: Tue 25th May 2004
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
||||
if ( ! defined( 'IN_ACP' ) )
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
{
|
||||
print "<h1>Íåâåðíûé âõîä</h1> Ó Âàñ íåò äîñòóïà ê äèðåêòèâå ýòîãî ôàéëà. Åñëè Âû ïðîâîäèëè îáíîâëåíèÿ, óáåäèòåñü, ÷òî íå çàáûëè îáíîâèòü 'admin.php'.";
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly.";
|
||||
exit();
|
||||
}
|
||||
|
||||
@@ -121,7 +112,7 @@ class chat_functions
|
||||
'from' => 'members',
|
||||
'where' => "members_l_username IN (\"".$name_string."\")",
|
||||
'order' => 'members_display_name' ) );
|
||||
$this->ipsclass->DB->exec_query
|
||||
$this->ipsclass->DB->exec_query();
|
||||
|
||||
while ( $m = $this->ipsclass->DB->fetch_row() )
|
||||
{
|
||||
@@ -132,10 +123,12 @@ class chat_functions
|
||||
|
||||
$final = implode( ",\n", $member_ids );
|
||||
|
||||
$final .= '|&|'.intval(count($member_ids));
|
||||
$final .= '|&|'.intval( count($member_ids) );
|
||||
}
|
||||
|
||||
$this->ipsclass->DB->do_update( 'cache_store', array( 'cs_value' => addslashes($final), 'cs_extra' => "{$hits_left}&{$time_is_running_out}" ), 'where' => "cs_key='chatstat'" );
|
||||
$this->ipsclass->DB->do_update( 'cache_store',
|
||||
array( 'cs_value' => addslashes($final),
|
||||
'cs_extra' => "{$hits_left}&{$time_is_running_out}" ), "cs_key='chatstat'" );
|
||||
|
||||
$row['cs_value'] = $final;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user