Version 3.4.9

This commit is contained in:
Neo committed 2025-12-19 00:44:43 -08:00
1 parent c603205a25
commit f9e857d255
920 files changed
+28189 -6840

No files matched your search

+6 -6
View File
@@ -2,21 +2,21 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.8
* IP.Board v3.4.9
* Static Classes for IP.Board 3
*
* These classes are not required as objects. We have grouped
* together several singletons to prevent multiple file loads
* Last Updated: $Date: 2014-12-31 17:46:06 -0500 (Wed, 31 Dec 2014) $
* Last Updated: $Date: 2015-12-28 11:27:19 -0500 (Mon, 28 Dec 2015) $
* </pre>
*
* @author $Author: rashbrook $
* @author $Author: mark $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/company/standards.php#license
* @package IP.Board
* @link http://www.invisionpower.com
* @since 12th March 2002
* @version $Revision: 12581 $
* @version $Revision: 12688 $
*
* @author Matt
*/
@@ -749,14 +749,14 @@ class IPSTime
*
* @var array
*/
protected static $months_31 = array( 01, 03, 05, 07, 08, 10, 12 );
protected static $months_31 = array( 1, 3, 5, 7, 8, 10, 12 );
/**
* Months with 30 days
*
* @var array
*/
protected static $months_30 = array( 04, 06, 09, 11 );
protected static $months_30 = array( 4, 6, 9, 11 );
/**
* time_class::dmy_format()
-172
View File
@@ -1,172 +0,0 @@
<?php
/**
* <pre>
* Invision Power Services / IPBmafia.Ru
* IP.Board v3.4.2 / darkLicenseActivationEmulator 1.1
* License emulator
* </pre>
*
* @author $Author: _Dark_ $
* @copyright (c) 2012 IPBmafia.Ru
* @package IP.Board
* @link http://www.ipbmafia.ru
* @version 1.1
*
*/
class darkLAE {
public static $settings = array(
/*
* if TRUE IP.Board copyright will be displayed in page footer
* if FALSE IP.Board copyright will be hidden
* если TRUE копирайт IP.Board будет отображен в футере страницы
* если FALSE копирайт IP.Board будет скрыт
*/
'ipboard_copyright_showing' => TRUE,
);
private static $licenseKey = 'darkLAE 1.1 (_Dark_, IPBmafia.Ru)';
public static function activateLicense() {
$response = array(
'result' => 'ok'
);
return json_encode($response);
}
public static function getLicenseKey() {
return self::$licenseKey;
}
public static function getLicenseData() {
return array(
'key' => array(
'_expires' => '9999999998',
'status_icon' => 'medal.png',
'status' => 'Ok',
'name' => 'Master License Key',
'msg' => 'Activated by darkLAE',
'expires' => '9999999999'
),
'addons' => array(
array(
'expires' => '',
'_expires' => 0,
'status_icon' => 'accept.png',
'status' => 'Ok',
'name' => 'IP.Board',
'msg' => ''
),
array(
'expires' => '',
'_expires' => 0,
'status_icon' => 'accept.png',
'status' => 'Ok',
'name' => 'IP.Nexus',
'msg' => ''
),
array(
'expires' => '',
'_expires' => 0,
'status_icon' => 'accept.png',
'status' => 'Ok',
'name' => 'IP.Content',
'msg' => ''
),
array(
'expires' => '',
'_expires' => 0,
'status_icon' => 'accept.png',
'status' => 'Ok',
'name' => 'IP.Gallery',
'msg' => ''
),
array(
'expires' => '',
'_expires' => 0,
'status_icon' => 'accept.png',
'status' => 'Ok',
'name' => 'IP.Blog',
'msg' => ''
),
array(
'expires' => '',
'_expires' => 0,
'status_icon' => 'accept.png',
'status' => 'Ok',
'name' => 'IP.Downloads',
'msg' => ''
),
array(
'expires' => '',
'_expires' => 0,
'status_icon' => 'cross.png',
'status' => 'Inactive',
'name' => 'IP.Chat',
'msg' => "Unfortunately, you can't use IP.Chat with nulled version."
),
array(
'expires' => '',
'_expires' => 0,
'status_icon' => 'accept.png',
'status' => 'Ok',
'name' => 'Copyright Removal',
'msg' => 'If you want disable copyright edit file /admin/sources/base/darkLAE.php at line 20.'
)
),
'ipbMain' => array(
array(
'expires' => '',
'_expires' => 0,
'status_icon' => 'information.png',
'status' => 'Inactive',
'name' => 'Standard Support',
'msg' => "You can't get support from the IPS Client Area, but you can ask for help at <a href='http://www.ipbmafia.ru' target='_blank'>IPBmafia.Ru</a>"
),
array(
'expires' => '',
'_expires' => 0,
'status_icon' => 'information.png',
'status' => 'Inactive',
'name' => 'Download Access',
'msg' => "You can't download new versions from the IPS Client Area, but you can download nulled versions at <a href='http://www.ipbmafia.ru' target='_blank'>IPBmafia.Ru</a>"
),
array(
'expires' => '',
'_expires' => 0,
'status_icon' => 'cross.png',
'status' => 'Inactive',
'name' => 'Spam Monitoring Service',
'msg' => "Unfortunately, you can't use Spam Monitoring Service with nulled version."
),
array(
'expires' => '',
'_expires' => 0,
'status_icon' => 'cross.png',
'status' => 'Inactive',
'name' => 'Mobile Push Notifications',
'msg' => "Unfortunately, you can't use Mobile Push Notifications with nulled version."
),
array(
'expires' => '',
'_expires' => 0,
'status_icon' => 'accept.png',
'status' => 'Ok',
'name' => 'Visual Skin Editor',
'msg' => ''
)
),
'skinGen' => 1,
'iphoneNotifications' => 0,
'cr' => (int) !self::$settings['ipboard_copyright_showing']
);
}
public static function getVisualSkinEditorJsonData() {
$json = <<<_Dark_
var IPS_SKIN_GEN_DATA = {"skinGroups":{"app_calendar":["App: Calendar",["app_calendar_td_selected","app_calendar_td_hover","app_calendar_td_blank","app_calendar_td_today"]],"app_gallery":["App: Gallery",["albumDetailTable_td"]],"global":["Global Styles",["body","a","content","desc","desclighter"]],"tables":["Table Content",["row1","row2","unread","unreadalt","tableheader","tableheader_a","ipb_table"]],"other":["Other Styles",["ipsbox","Bar Header","postblock","NoMessages","fieldsetSubmit","general_box","general_box_h3","ipsboxcontainer","maintitle","sideMenuActive","ipsVerticalTabbed_tabs_li","ipsVerticalTabbed_tabs_li_a","ipsVerticalTabbed_tabs_li_a_hover","ipsVerticalTabbed_tabs_li_active","ipsfilterbar_item","ipsfilterbar_active"]],"buttons":["Button Styles",["but_submit","but_submit_alt","but_topic","but_secondary"]],"header":["Header Elements",["registerLink","header","primarynav","primarynav_inactive","primarynav_active","searchbutton"]],"pagination":["Pagination",["paginationBackForward","paginationBackForwardHover","paginationBackActive"]],"sidebar":["Sidebar",["ipsSideBlock","ipsSideBlock_h3"]],"profiles":["Profile Page",["statusupdate"]],"app_blog":["App: Blog",["entry_header"]]},"colorizeGroups":{"base":["app_calendar_td_selected","app_calendar_td_hover","app_calendar_td_blank","app_calendar_td_today","albumDetailTable_td","body","content","row1","row2","unread","unreadalt","ipsbox","Bar Header","tableheader","tableheader_a","postblock","NoMessages","but_submit_alt","fieldsetSubmit","registerLink","header","primarynav","primarynav_inactive","primarynav_active","general_box","general_box_h3","ipsboxcontainer","maintitle","desc","desclighter","ipb_table","ipsVerticalTabbed_tabs_li","ipsVerticalTabbed_tabs_li_a","ipsVerticalTabbed_tabs_li_a_hover","ipsVerticalTabbed_tabs_li_active","ipsfilterbar_item","ipsfilterbar_active","but_secondary","paginationBackForward","ipsSideBlock","ipsSideBlock_h3","statusupdate","entry_header"],"text":["a"],"secondary":["but_submit","searchbutton","but_topic"],"tertiary":["sideMenuActive","paginationBackForwardHover","paginationBackActive"]},"classes":{"app_calendar_td_selected":["#calendar_table td.selected","Calendar Selected Cell","Used for selected cells in the monthly calendar",{"background":["#E2E9F0",""],"shadow":["#E2E9F0",""]}],"app_calendar_td_hover":["#calendar_table td.normal:hover","Calendar Cell Hover","Used for hovering over cells in the monthly calendar",{"background":["#EDF1F5",""]}],"app_calendar_td_blank":["#calendar_table td.blank","Calendar Blank Cell","Used for blank cells in the monthly calendar",{"background":["#dbe2e8",""],"border":["#dbe2e8",""]}],"app_calendar_td_today":["#calendar_table td.today","Calendar Today Cell","Used for todays cell in the monthly calendar",{"background":["#f1f6ec",""],"border":["#6f8f52",""],"color":["#6f8f52",""]}],"albumDetailTable_td":["#albumDetailTable td","Album Detail Table","Thick border for detail table",{"border":["#ebf0f3",""]}],"body":["html, body","Body","The page background",{"background":["#d8dde8",""],"color":["#5a5a5a",""]}],"a":["a","Links","Basic links",{"color":["#225985",""]}],"content":["#content","Main Content Area","The area that contains all page content",{"background":["#fff",""]}],"row1":[".row1, .post_block.row1","Table Row 1","Generic table row color 1",{"background":["#fff",""]}],"row2":[".row2, .post_block.row2","Table Row 2","Generic table row color 2",{"background":["#f1f6f9",""]}],"unread":[".unread","Unread Row","Unread row colour",{"background":["#f7fbfc",""]}],"unreadalt":[".unread .altrow, .unread.altrow","Unread Row (Alt)","Darker version of unread row, used to highlight certain table columns",{"background":["#E2E9F0",""]}],"ipsbox":[".ipsBox","Content Box","Used to wrap most content sections",{"background":["#ebf0f3",""]}],"Bar Header":[".bar","Bar Header","Used in post forms, etc",{"background":["#eff4f7",""]}],"tableheader":[".header","Table Header","Used for table headings",{"background":["#b6c7db",""],"color":["#1d3652",""]}],"tableheader_a":["body .ipb_table .header a,\tbody .topic_options a","Table Header Link","Used for links in table headings",{"color":["#1d3652",""]}],"postblock":[".post_block","Post Block","An individual post wrapper",{"background":["#fff",""],"border":["#D6E2EB",""]}],"NoMessages":[".no_messages","No Messages Box","Box for 'no data' type messages",{"background":["#f6f8fa",""],"border":false}],"but_submit":[".input_submit","Submit Button","The primary button that submits forms",{"background":["#212121",""],"border":["#5c5c5c",""],"color":["#fff",""],"boxshadow":["#5c5c5c"," inset 0 1px 0 0 "]}],"but_submit_alt":[".input_submit.alt","Alternate Submit Button","Secondary buttons for forms",{"background":["#e2e9f0",""],"border":["#dae2ea",""],"color":["#464646",""],"boxshadow":["#eff3f8"," inset 0 1px 0 0 "]}],"fieldsetSubmit":["body#ipboard_body fieldset.submit,body#ipboard_body p.submit","Submit\/Button Strip","Used in forms where the submit buttons Line truncated
_Dark_;
return $json;
}
}
?>
+1 -1
View File
@@ -3,7 +3,7 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.8
* IP.Board v3.4.9
* Primary controller
* Last Updated: $LastChangedDate: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
* </pre>
+1 -1
View File
@@ -2,7 +2,7 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.8
* IP.Board v3.4.9
* Static Member Class for IP.Board 3
*
* Last Updated: $Date: 2015-01-06 14:58:47 -0500 (Tue, 06 Jan 2015) $
+1 -1
View File
@@ -3,7 +3,7 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.8
* IP.Board v3.4.9
* Mobile app methods
* Last Updated: $LastChangedDate: 2012-05-21 07:52:30 -0400 (Mon, 21 May 2012) $
* </pre>
+3 -4
View File
@@ -2,7 +2,7 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.8
* IP.Board v3.4.9
* ipsRegistry:: Registry file controlls handling of objects needed throughout IPB
* Last Updated: $Date: 2015-03-09 15:48:19 -0400 (Mon, 09 Mar 2015) $
* </pre>
@@ -1546,7 +1546,7 @@ class ipsRegistry
if ( self::$_seoTemplates['__data__']['varBlock'] != '/page__' && $uri && strstr( $uri, '/page__' ) )
{
preg_match( '#(.*)(page__.*)$#', $uri, $matches );
$url = $matches[1];
$query = $matches[2];
$newQuery = '?';
@@ -1557,7 +1557,7 @@ class ipsRegistry
{
$newQuery .= ( $i % 2 == 0 ? '&' : '=' ) . $data[$i];
}
/* Class output not created here */
header( "HTTP/1.1 301 Moved Permanently" );
header( "Location: " . $_t['scheme'] . '://' . $_t['host'] . $url . $newQuery );
@@ -1566,7 +1566,6 @@ class ipsRegistry
}
}
if ( is_array( $data['in']['matches'] ) )
{
foreach( $data['in']['matches'] as $_replace )