Version 2.3.6

This commit is contained in:
Neo committed 2025-12-19 00:26:08 -08:00
1 parent a3bb603c96
commit 19b38c7c74
764 files changed
+143731 -118164

No files matched your search

+10 -16
View File
@@ -2,26 +2,18 @@
/*
+--------------------------------------------------------------------------
| 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-11-20 13:46:59 -0600 (Mon, 20 Nov 2006) $
| > $Revision: 736 $
| > $Author: bfarber $
| > $Date: 2007-03-01 11:52:54 -0500 (Thu, 01 Mar 2007) $
| > $Revision: 866 $
| > $Author: matt $
+---------------------------------------------------------------------------
|
| > MySQL ADMIN DB Queries abstraction module
@@ -34,8 +26,8 @@
if ( ! defined( 'IN_IPB' ) )
{
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
exit();
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded 'admin.php'.";
exit();
}
class sql_queries extends db_driver_mysql
@@ -274,7 +266,7 @@ class sql_queries extends db_driver_mysql
WHERE m.id IN(".implode( ",",$a['ids'] ).")";
}
function member_search_form_one( $a )
{
return "SELECT m.*, me.*, m.id as memid, pp.*
@@ -491,12 +483,14 @@ class sql_queries extends db_driver_mysql
ORDER BY group_name, theorder DESC";
}
# CHANGED IPB 2.2.3
function cache_templates_bits( $a )
{
return "SELECT *,
INSTR(',{$a['id']}{$a['parent_in']},{$a['root']},' , CONCAT(',',set_id,',') ) as theorder
FROM ".SQL_PREFIX."skin_templates
WHERE set_id IN ({$a['id']}{$a['parent_in']},{$a['root']}) AND group_name='{$a['group']}'
WHERE set_id IN ({$a['id']}{$a['parent_in']},{$a['root']})
AND ( group_name='{$a['group']}' OR group_names_secondary LIKE '%,{$a['group']},%' )
ORDER BY func_name,theorder DESC";
}