Version 2.2.2
This commit is contained in:
1 parent
22f1b963ee
commit
a3bb603c96
858 files changed
+479463
-188140
No files matched your search
@@ -22,7 +22,7 @@
|
||||
|
||||
if ( ! defined( 'IN_ACP' ) )
|
||||
{
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded 'admin.php'.";
|
||||
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
|
||||
exit();
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ class ad_blog {
|
||||
|
||||
if ( ! @is_dir( ROOT_PATH.'/modules/blog' ) )
|
||||
{
|
||||
$this->ipsclass->admin->show_inframe("http://www.invisionpower.com/ip.dynamic/products/blog/index.html");
|
||||
$this->ipsclass->admin->show_inframe("http://external.ipslink.com/ipboard22/landing/?p=blog");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -2,16 +2,26 @@
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| 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) $
|
||||
| INVISION POWER BOARD IS NOT FREE / OPEN SOURCE!
|
||||
+---------------------------------------------------------------------------
|
||||
| INVISION POWER BOARD ÍÅ ßÂËßÅÒÑß ÁÅÑÏËÀÒÍÛÌ ÏÐÎÃÐÀÌÌÍÛÌ ÎÁÅÑÏÅ×ÅÍÈÅÌ!
|
||||
| Ïðàâà íà ÏÎ ïðèíàäëåæàò Invision Power Services
|
||||
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
|
||||
+---------------------------------------------------------------------------
|
||||
| > $Date: 2006-09-22 05:28:54 -0500 (Fri, 22 Sep 2006) $
|
||||
| > $Revision: 567 $
|
||||
| > $Author: matt $
|
||||
+---------------------------------------------------------------------------
|
||||
@@ -27,7 +37,7 @@
|
||||
|
||||
if ( ! defined( 'IN_ACP' ) )
|
||||
{
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded 'admin.php'.";
|
||||
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
|
||||
exit();
|
||||
}
|
||||
|
||||
@@ -59,7 +69,7 @@ class ad_chatpara
|
||||
|
||||
if ($this->ipsclass->member['mgroup'] != $this->ipsclass->vars['admin_group'])
|
||||
{
|
||||
$this->ipsclass->admin->error("Sorry, these functions are for the root admin group only");
|
||||
$this->ipsclass->admin->error("Èçâèíèòå, ýòà ôóíêöèÿ äîñòóïíà òîëüêî ãëàâíûì àäìèíèñòðàòîðàì");
|
||||
}
|
||||
|
||||
switch($this->ipsclass->input['code'])
|
||||
@@ -100,14 +110,14 @@ class ad_chatpara
|
||||
else
|
||||
{
|
||||
$this->ipsclass->admin->page_title = "Invision Power Chat (Parachat)";
|
||||
$this->ipsclass->admin->page_detail = "If you have already purchased IP Chat via Parachat, then simply enter your Site ID in the box below.";
|
||||
$this->ipsclass->admin->page_detail = "Åñëè âû óæå êóïèëè IP Chat Parachat, ïðîñòî ââåäèòå ñþäà âàø Site ID â ïîëå íèæå.";
|
||||
|
||||
$this->ipsclass->html .= "<form action='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=chatsave' method='POST'>
|
||||
<table style='background:#005' width='100%' cellpadding=4 cellspacing=0 border=0 align='center'>
|
||||
<tr>
|
||||
<td valign='middle' align='left'><b style='color:white'>Ordered IP Chat?</b></td>
|
||||
<td valign='middle' align='left'><input type='text' size=35 name='account_no' value='enter your Site ID here...' onclick=\"this.value='';\"></td>
|
||||
<td valign='middle' align='left'><input type='submit' class='realdarkbutton' value='Continue...'></td>
|
||||
<td valign='middle' align='left'><b style='color:white'>Êóïèëè IP Chat?</b></td>
|
||||
<td valign='middle' align='left'><input type='text' size=35 name='account_no' value='ââåäèòå âàø Site ID çäåñü...' onclick=\"this.value='';\"></td>
|
||||
<td valign='middle' align='left'><input type='submit' class='realdarkbutton' value='Ïðîäîëæèòü...'></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>";
|
||||
@@ -134,7 +144,7 @@ class ad_chatpara
|
||||
|
||||
if ( $acc_number == "" )
|
||||
{
|
||||
$this->ipsclass->admin->error("Sorry, that is not a valid IP Chat account number");
|
||||
$this->ipsclass->admin->error("Èçâèíèòå, íî óêàçàííûé âàìè íîìåð íåêîððåêòíûé");
|
||||
}
|
||||
|
||||
$this->ipsclass->DB->do_update( 'conf_settings', array( 'conf_value' => $acc_number ), "conf_key='chat04_account_no'" );
|
||||
@@ -171,8 +181,8 @@ class ad_chatpara
|
||||
|
||||
function chat04_config()
|
||||
{
|
||||
$this->ipsclass->admin->page_detail = "You may edit the configuration below to suit";
|
||||
$this->ipsclass->admin->page_title = "Invision Power Chat Configuration";
|
||||
$this->ipsclass->admin->page_detail = "Âû ìîæåòå èçìåíÿòü íàñòðîéêè ÷àòà";
|
||||
$this->ipsclass->admin->page_title = "Íàñòðîéêà Invision Power Chat";
|
||||
|
||||
//-----------------------------------------
|
||||
// Load libby-do-dah
|
||||
|
||||
@@ -1,188 +1,198 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board
|
||||
| =============================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2006 Invision Power Services, Inc.
|
||||
| http://www.invisionpower.com
|
||||
| =============================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
+---------------------------------------------------------------------------
|
||||
| > $Date: 2006-09-22 11:28:54 +0100 (Fri, 22 Sep 2006) $
|
||||
| > $Revision: 567 $
|
||||
| > $Author: matt $
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > Admin Framework for IPS Services
|
||||
| > Module written by Matt Mecham
|
||||
| > Date started: 17 February 2003
|
||||
|
|
||||
| > Module Version Number: 1.0.0
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
||||
if ( ! defined( 'IN_ACP' ) )
|
||||
{
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded 'admin.php'.";
|
||||
exit();
|
||||
}
|
||||
|
||||
class ad_chatsigma
|
||||
{
|
||||
var $ipsclass;
|
||||
var $base_url;
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// IPB CONSTRUCTOR
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function auto_run()
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Kill globals - globals bad, Homer good.
|
||||
//-----------------------------------------
|
||||
|
||||
$tmp_in = array_merge( $_GET, $_POST, $_COOKIE );
|
||||
|
||||
foreach ( $tmp_in as $k => $v )
|
||||
{
|
||||
unset($$k);
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// Make sure we're a root admin, or else!
|
||||
//-----------------------------------------
|
||||
|
||||
switch($this->ipsclass->input['code'])
|
||||
{
|
||||
case 'ipchat04':
|
||||
$this->chat_splash();
|
||||
break;
|
||||
case 'chatsettings':
|
||||
$this->chat04_config();
|
||||
break;
|
||||
case 'chatsave':
|
||||
$this->chat_save();
|
||||
break;
|
||||
case 'dochat':
|
||||
$this->chat_config_save();
|
||||
break;
|
||||
default:
|
||||
$this->chat_splash();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// CHAT SPLASH
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function chat_splash()
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Do we have an order number
|
||||
//-----------------------------------------
|
||||
|
||||
if ( $this->ipsclass->vars['chat_account_no'] )
|
||||
{
|
||||
$this->chat04_config();
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->ipsclass->admin->page_title = "Sigma Chat";
|
||||
$this->ipsclass->admin->page_detail = "If you have already purchased SigmaChat, then simply enter your account number in the box below.";
|
||||
|
||||
$this->ipsclass->html .= "<form action='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=chatsave' method='POST'>
|
||||
<table style='background:#005' width='100%' cellpadding=4 cellspacing=0 border=0 align='center'>
|
||||
<tr>
|
||||
<td valign='middle' align='left'><b style='color:white'>Own SigmaChat?</b></td>
|
||||
<td valign='middle' align='left'><input type='text' size=35 name='account_no' value='enter your account number here...' onClick=\"this.value='';\"></td>
|
||||
<td valign='middle' align='left'><input type='submit' class='realdarkbutton' value='Continue...'></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>";
|
||||
|
||||
$this->ipsclass->admin->show_inframe( 'http://www.invisionpower.com/' );
|
||||
}
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// CHAT SAVE
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function chat_save()
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Load libby-do-dah
|
||||
//-----------------------------------------
|
||||
|
||||
require_once( ROOT_PATH.'sources/action_admin/settings.php' );
|
||||
$adsettings = new ad_settings();
|
||||
$adsettings->ipsclass =& $this->ipsclass;
|
||||
|
||||
$acc_number = $this->ipsclass->input['account_no'];
|
||||
|
||||
if ( $acc_number == "" )
|
||||
{
|
||||
$this->ipsclass->admin->error("Sorry, that is not a valid IP Chat account number");
|
||||
}
|
||||
|
||||
$this->ipsclass->DB->do_update( 'conf_settings', array( 'conf_value' => $acc_number ), "conf_key='chat_account_no'" );
|
||||
|
||||
$adsettings->setting_rebuildcache();
|
||||
|
||||
//-----------------------------------------
|
||||
// Update this component
|
||||
//-----------------------------------------
|
||||
|
||||
require_once( ROOT_PATH . 'sources/api/api_core.php' );
|
||||
require_once( ROOT_PATH . 'sources/api/api_components.php' );
|
||||
|
||||
$api = new api_components();
|
||||
$api->ipsclass =& $this->ipsclass;
|
||||
|
||||
$fields = array( 'com_enabled' => 1,
|
||||
'com_menu_data' => array( 0 => array( 'menu_text' => 'Chat Settings',
|
||||
'menu_url' => 'code=chatsettings',
|
||||
'menu_permbit' => 'edit' ) ) );
|
||||
|
||||
$api->acp_component_update( 'chatsigma', $fields );
|
||||
|
||||
//-----------------------------------------
|
||||
// Show config
|
||||
//-----------------------------------------
|
||||
|
||||
$this->chat04_config();
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// NEW CHAT
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function chat04_config()
|
||||
{
|
||||
$this->ipsclass->admin->page_detail = "You may edit the configuration below to suit";
|
||||
$this->ipsclass->admin->page_title = "Sigma Configuration";
|
||||
|
||||
//-----------------------------------------
|
||||
// Load libby-do-dah
|
||||
//-----------------------------------------
|
||||
|
||||
require_once( ROOT_PATH.'sources/action_admin/settings.php' );
|
||||
$settings = new ad_settings();
|
||||
$settings->ipsclass =& $this->ipsclass;
|
||||
|
||||
$settings->get_by_key = 'chat';
|
||||
$settings->return_after_save = 'section=components&act=chatsigma&code=show';
|
||||
|
||||
$settings->setting_view();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
<?php
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| 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
|
||||
+---------------------------------------------------------------------------
|
||||
| INVISION POWER BOARD IS NOT FREE / OPEN SOURCE!
|
||||
+---------------------------------------------------------------------------
|
||||
| INVISION POWER BOARD ÍÅ ßÂËßÅÒÑß ÁÅÑÏËÀÒÍÛÌ ÏÐÎÃÐÀÌÌÍÛÌ ÎÁÅÑÏÅ×ÅÍÈÅÌ!
|
||||
| Ïðàâà íà ÏÎ ïðèíàäëåæàò Invision Power Services
|
||||
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
|
||||
+---------------------------------------------------------------------------
|
||||
| > $Date: 2006-09-22 05:28:54 -0500 (Fri, 22 Sep 2006) $
|
||||
| > $Revision: 567 $
|
||||
| > $Author: matt $
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > Admin Framework for IPS Services
|
||||
| > Module written by Matt Mecham
|
||||
| > Date started: 17 February 2003
|
||||
|
|
||||
| > Module Version Number: 1.0.0
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
||||
if ( ! defined( 'IN_ACP' ) )
|
||||
{
|
||||
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
|
||||
exit();
|
||||
}
|
||||
|
||||
class ad_chatsigma
|
||||
{
|
||||
var $ipsclass;
|
||||
var $base_url;
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// IPB CONSTRUCTOR
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function auto_run()
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Kill globals - globals bad, Homer good.
|
||||
//-----------------------------------------
|
||||
|
||||
$tmp_in = array_merge( $_GET, $_POST, $_COOKIE );
|
||||
|
||||
foreach ( $tmp_in as $k => $v )
|
||||
{
|
||||
unset($$k);
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// Make sure we're a root admin, or else!
|
||||
//-----------------------------------------
|
||||
|
||||
switch($this->ipsclass->input['code'])
|
||||
{
|
||||
case 'ipchat04':
|
||||
$this->chat_splash();
|
||||
break;
|
||||
case 'chatsettings':
|
||||
$this->chat04_config();
|
||||
break;
|
||||
case 'chatsave':
|
||||
$this->chat_save();
|
||||
break;
|
||||
case 'dochat':
|
||||
$this->chat_config_save();
|
||||
break;
|
||||
default:
|
||||
$this->chat_splash();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// CHAT SPLASH
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function chat_splash()
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Do we have an order number
|
||||
//-----------------------------------------
|
||||
|
||||
if ( $this->ipsclass->vars['chat_account_no'] )
|
||||
{
|
||||
$this->chat04_config();
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->ipsclass->admin->page_title = "AddOnChat";
|
||||
$this->ipsclass->admin->page_detail = "Åñëè âû óæå êóïèëè AddOnChat, ïðîñòî ââåäèòå âàø Customer Account ID â ïîëå íèæå.";
|
||||
|
||||
$this->ipsclass->html .= "<form action='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=chatsave' method='POST'>
|
||||
<table style='background:#005' width='100%' cellpadding=4 cellspacing=0 border=0 align='center'>
|
||||
<tr>
|
||||
<td valign='middle' align='left'><b style='color:white'>Âëàäååòå AddOnChat?</b></td>
|
||||
<td valign='middle' align='left'><input type='text' size=35 name='account_no' value='ââåäèòå âàø Customer Account ID çäåñü...' onClick=\"this.value='';\"></td>
|
||||
<td valign='middle' align='left'><input type='submit' class='realdarkbutton' value='Ïðîäîëæèòü...'></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>";
|
||||
|
||||
$this->ipsclass->admin->show_inframe( 'http://external.ipslink.com/ipboard22/landing/?p=addonchat' );
|
||||
}
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// CHAT SAVE
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function chat_save()
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Load libby-do-dah
|
||||
//-----------------------------------------
|
||||
|
||||
require_once( ROOT_PATH.'sources/action_admin/settings.php' );
|
||||
$adsettings = new ad_settings();
|
||||
$adsettings->ipsclass =& $this->ipsclass;
|
||||
|
||||
$acc_number = $this->ipsclass->input['account_no'];
|
||||
|
||||
if ( $acc_number == "" )
|
||||
{
|
||||
$this->ipsclass->admin->error("Èçâèíèòå, íî óêàçàííûé âàìè íîìåð íåêîððåêòíûé");
|
||||
}
|
||||
|
||||
$this->ipsclass->DB->do_update( 'conf_settings', array( 'conf_value' => $acc_number ), "conf_key='chat_account_no'" );
|
||||
|
||||
$adsettings->setting_rebuildcache();
|
||||
|
||||
//-----------------------------------------
|
||||
// Update this component
|
||||
//-----------------------------------------
|
||||
|
||||
require_once( ROOT_PATH . 'sources/api/api_core.php' );
|
||||
require_once( ROOT_PATH . 'sources/api/api_components.php' );
|
||||
|
||||
$api = new api_components();
|
||||
$api->ipsclass =& $this->ipsclass;
|
||||
|
||||
$fields = array( 'com_enabled' => 1,
|
||||
'com_menu_data' => array( 0 => array( 'menu_text' => 'Íàñòðîéêè ÷àòà',
|
||||
'menu_url' => 'code=chatsettings',
|
||||
'menu_permbit' => 'edit' ) ) );
|
||||
|
||||
$api->acp_component_update( 'chatsigma', $fields );
|
||||
|
||||
//-----------------------------------------
|
||||
// Show config
|
||||
//-----------------------------------------
|
||||
|
||||
$this->chat04_config();
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// NEW CHAT
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function chat04_config()
|
||||
{
|
||||
$this->ipsclass->admin->page_detail = "Âû ìîæåòå èçìåíÿòü íàñòðîéêè ÷àòà.";
|
||||
$this->ipsclass->admin->page_title = "Íàñòðîéêà AddOnChat";
|
||||
|
||||
//-----------------------------------------
|
||||
// Load libby-do-dah
|
||||
//-----------------------------------------
|
||||
|
||||
require_once( ROOT_PATH.'sources/action_admin/settings.php' );
|
||||
$settings = new ad_settings();
|
||||
$settings->ipsclass =& $this->ipsclass;
|
||||
|
||||
$settings->get_by_key = 'chat';
|
||||
$settings->return_after_save = 'section=components&act=chatsigma&code=show';
|
||||
|
||||
$settings->setting_view();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -1,233 +1,244 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board
|
||||
| =============================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2006 Invision Power Services, Inc.
|
||||
| http://www.invisionpower.com
|
||||
| =============================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
+---------------------------------------------------------------------------
|
||||
| > $Date: 2006-09-22 11:28:54 +0100 (Fri, 22 Sep 2006) $
|
||||
| > $Revision: 567 $
|
||||
| > $Author: matt $
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > Admin Framework for IPS Services
|
||||
| > Module written by Matt Mecham
|
||||
| > Date started: 17 February 2003
|
||||
|
|
||||
| > Module Version Number: 1.0.0
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
||||
if ( ! defined( 'IN_ACP' ) )
|
||||
{
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded 'admin.php'.";
|
||||
exit();
|
||||
}
|
||||
|
||||
class ad_copyright
|
||||
{
|
||||
var $ipsclass;
|
||||
var $base_url;
|
||||
|
||||
function auto_run()
|
||||
{
|
||||
if ( TRIAL_VERSION )
|
||||
{
|
||||
print "This feature is disabled in the trial version.";
|
||||
exit();
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// Kill globals - globals bad, Homer good.
|
||||
//-----------------------------------------
|
||||
|
||||
$tmp_in = array_merge( $_GET, $_POST, $_COOKIE );
|
||||
|
||||
foreach ( $tmp_in as $k => $v )
|
||||
{
|
||||
unset($$k);
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
|
||||
// Make sure we're a root admin, or else!
|
||||
|
||||
if ($this->ipsclass->member['mgroup'] != $this->ipsclass->vars['admin_group'])
|
||||
{
|
||||
$this->ipsclass->admin->error("Sorry, these functions are for the root admin group only");
|
||||
}
|
||||
|
||||
switch($this->ipsclass->input['code'])
|
||||
{
|
||||
case 'show':
|
||||
case 'copy':
|
||||
$this->copy_splash();
|
||||
break;
|
||||
case 'copysave':
|
||||
$this->copy_save();
|
||||
break;
|
||||
case 'docopy':
|
||||
$this->copy_config_save();
|
||||
break;
|
||||
|
||||
default:
|
||||
exit();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Copyright removal Splash
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function copy_splash()
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Do we have an order number
|
||||
//-----------------------------------------
|
||||
|
||||
if ( $this->ipsclass->vars['ipb_copy_number'] )
|
||||
{
|
||||
$this->copy_config();
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->ipsclass->admin->page_title = "Invision Power Board Copyright Removal";
|
||||
$this->ipsclass->admin->page_detail = "";
|
||||
|
||||
$this->ipsclass->html .= "<form action='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=copysave' method='POST'>
|
||||
<table style='background:#005' width='100%' cellpadding=4 cellspacing=0 border=0 align='center'>
|
||||
<tr>
|
||||
<td valign='middle' align='left'><b style='color:white'>Already paid for copyright removal?</b></td>
|
||||
<td valign='middle' align='left'><input type='text' size=50 name='ipb_copy_number' value='enter your IPB copyright removal key here...' onClick=\"this.value='';\"></td>
|
||||
<td valign='middle' align='left'><input type='submit' class='realdarkbutton' value='Continue...'></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>";
|
||||
|
||||
$this->ipsclass->admin->show_inframe( 'https://www.invisionpower.com/customer/index.php' );
|
||||
}
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Save...
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function copy_save()
|
||||
{
|
||||
require_once( ROOT_PATH.'sources/action_admin/settings.php' );
|
||||
$settings = new ad_settings();
|
||||
$settings->ipsclass =& $this->ipsclass;
|
||||
|
||||
$acc_number = trim($this->ipsclass->input['ipb_copy_number']);
|
||||
|
||||
if( !preg_match( "#^\d+?\-\d+?\-\d+?\-\d+?#", $acc_number ) )
|
||||
{
|
||||
$acc_number = "";
|
||||
}
|
||||
|
||||
if ( stristr( $acc_number, ',pass=' ) )
|
||||
{
|
||||
list( $acc_number, $pass ) = explode( ',pass=', $acc_number );
|
||||
|
||||
if ( md5(strtolower($pass)) == 'b1c4780a00e7d010b0eca0b695398c02' )
|
||||
{
|
||||
$this->ipsclass->DB->do_update( 'conf_settings', array( 'conf_value' => $acc_number ), "conf_key='ipb_copy_number'" );
|
||||
$this->ipsclass->DB->do_update( 'conf_settings', array( 'conf_value' => 1 ), "conf_key='ips_cp_purchase'" );
|
||||
$settings->setting_rebuildcache();
|
||||
|
||||
$this->copy_config('new');
|
||||
|
||||
exit();
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->ipsclass->admin->error("The override password was incorrect. Please <a href='http://www.invisionpower.com/?contact'>contact us</a> for assistance or start a new ticket from your <a href='http://customer.invisionpower.com'>IPS customer account</a>.");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if ( $acc_number == "" )
|
||||
{
|
||||
$this->ipsclass->admin->error("Sorry, that is not a valid IPB Copyright key, please hit 'back' in your browser and try again.");
|
||||
}
|
||||
|
||||
$response = trim( @implode ('', @file( "http://www.invisionpower.com/customer/ipb/copy/?k=".urlencode($acc_number) ) ) );
|
||||
|
||||
if ( $response == "" )
|
||||
{
|
||||
$this->ipsclass->admin->error("There was no response back from the Invision Power Services registration server, this might be because of the following:
|
||||
<ul>
|
||||
<li>Your PHP version does not allow remote connections</li>
|
||||
<li>The Invision Power Services registration server is offline</li>
|
||||
<li>You are running this IPB on a server without an internet connection</li>
|
||||
</ul>
|
||||
<br />
|
||||
Please <a href='http://www.invisionpower.com/?contact'>contact us</a> for assistance or start a new ticket from your <a href='http://customer.invisionpower.com'>IPS customer account</a>.
|
||||
");
|
||||
}
|
||||
else if ( $response == '0' )
|
||||
{
|
||||
$this->ipsclass->admin->error("The copyright key you entered is not valid, this might be because of the following:
|
||||
<ul>
|
||||
<li>You incorrectly entered the registration key</li>
|
||||
<li>You mistakenly used your customer center password instead of the copyright key</li>
|
||||
<li>Your registration licence is no longer valid</li>
|
||||
</ul>
|
||||
<br />
|
||||
Please <a href='http://www.invisionpower.com/?contact'>contact us</a> for assistance or start a new ticket from your <a href='http://customer.invisionpower.com'>IPS customer account</a>.
|
||||
");
|
||||
}
|
||||
else if ( $response == '1' )
|
||||
{
|
||||
$this->ipsclass->DB->do_update( 'conf_settings', array( 'conf_value' => $acc_number ), "conf_key='ipb_copy_number'" );
|
||||
$this->ipsclass->DB->do_update( 'conf_settings', array( 'conf_value' => 1 ), "conf_key='ips_cp_purchase'" );
|
||||
|
||||
$settings->setting_rebuildcache();
|
||||
}
|
||||
|
||||
$this->copy_config('new');
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Show...
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function copy_config($type="")
|
||||
{
|
||||
$this->ipsclass->admin->page_detail = " ";
|
||||
$this->ipsclass->admin->page_title = "IPB Copyright Confirmation";
|
||||
|
||||
if ( $type == "new" )
|
||||
{
|
||||
$this->ipsclass->admin->page_detail .= "<br /><br /><b style='color:red'>Thank you for registering your copyright removal!</b>";
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
|
||||
$this->ipsclass->adskin->td_header[] = array( " " , "100%" );
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->start_table( "Configuration" );
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "The copyright should now be removed from the bottom of the IPB pages.<br /><br />If this is not the case, please contact our after sales staff immediately."
|
||||
) );
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->end_table();
|
||||
|
||||
$this->ipsclass->admin->output();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| 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
|
||||
+---------------------------------------------------------------------------
|
||||
| INVISION POWER BOARD IS NOT FREE / OPEN SOURCE!
|
||||
+---------------------------------------------------------------------------
|
||||
| INVISION POWER BOARD ÍÅ ßÂËßÅÒÑß ÁÅÑÏËÀÒÍÛÌ ÏÐÎÃÐÀÌÌÍÛÌ ÎÁÅÑÏÅ×ÅÍÈÅÌ!
|
||||
| Ïðàâà íà ÏÎ ïðèíàäëåæàò Invision Power Services
|
||||
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
|
||||
+---------------------------------------------------------------------------
|
||||
| > $Date: 2006-12-05 09:12:45 -0600 (Tue, 05 Dec 2006) $
|
||||
| > $Revision: 765 $
|
||||
| > $Author: matt $
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > Admin Framework for IPS Services
|
||||
| > Module written by Matt Mecham
|
||||
| > Date started: 17 February 2003
|
||||
|
|
||||
| > Module Version Number: 1.0.0
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
||||
if ( ! defined( 'IN_ACP' ) )
|
||||
{
|
||||
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
|
||||
exit();
|
||||
}
|
||||
|
||||
class ad_copyright
|
||||
{
|
||||
var $ipsclass;
|
||||
var $base_url;
|
||||
|
||||
function auto_run()
|
||||
{
|
||||
if ( TRIAL_VERSION )
|
||||
{
|
||||
print "Ýòà ôóíêöèÿ îòêëþ÷åíà â òðèàë-âåðñèè.";
|
||||
exit();
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// Kill globals - globals bad, Homer good.
|
||||
//-----------------------------------------
|
||||
|
||||
$tmp_in = array_merge( $_GET, $_POST, $_COOKIE );
|
||||
|
||||
foreach ( $tmp_in as $k => $v )
|
||||
{
|
||||
unset($$k);
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
|
||||
// Make sure we're a root admin, or else!
|
||||
|
||||
if ($this->ipsclass->member['mgroup'] != $this->ipsclass->vars['admin_group'])
|
||||
{
|
||||
$this->ipsclass->admin->error("Èçâèíèòå, ýòè ôóíêöèè äîñòóïíû òîëüêî ãëàâíûì àäìèíèñòðàòîðàì");
|
||||
}
|
||||
|
||||
switch($this->ipsclass->input['code'])
|
||||
{
|
||||
case 'show':
|
||||
case 'copy':
|
||||
$this->copy_splash();
|
||||
break;
|
||||
case 'copysave':
|
||||
$this->copy_save();
|
||||
break;
|
||||
case 'docopy':
|
||||
$this->copy_config_save();
|
||||
break;
|
||||
|
||||
default:
|
||||
exit();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Copyright removal Splash
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function copy_splash()
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Do we have an order number
|
||||
//-----------------------------------------
|
||||
|
||||
if ( $this->ipsclass->vars['ipb_copy_number'] )
|
||||
{
|
||||
$this->copy_config();
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->ipsclass->admin->page_title = "Óäàëåíèå óïîìèíàíèé îá àâòîðñêèõ ïðàâàõ â Invision Power Board";
|
||||
$this->ipsclass->admin->page_detail = "";
|
||||
|
||||
$this->ipsclass->html .= "<form action='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=copysave' method='POST'>
|
||||
<table style='background:#005' width='100%' cellpadding=4 cellspacing=0 border=0 align='center'>
|
||||
<tr>
|
||||
<td valign='middle' align='left'><b style='color:white'>Ó âàñ êóïëåíî óäàëåíèå óïîìèíàíèé îá àâòîðñêèõ ïðàâàõ?</b></td>
|
||||
<td valign='middle' align='left'><input type='text' size=50 name='ipb_copy_number' value='ââåäèòå ñïåöèàëüíûé êëþ÷...' onClick=\"this.value='';\"></td>
|
||||
<td valign='middle' align='left'><input type='submit' class='realdarkbutton' value='Äàëüøå...'></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>";
|
||||
|
||||
$this->ipsclass->admin->show_inframe( 'http://external.ipslink.com/ipboard22/landing/?p=clientarea' );
|
||||
}
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Save...
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function copy_save()
|
||||
{
|
||||
require_once( ROOT_PATH.'sources/action_admin/settings.php' );
|
||||
$settings = new ad_settings();
|
||||
$settings->ipsclass =& $this->ipsclass;
|
||||
|
||||
$acc_number = trim($this->ipsclass->input['ipb_copy_number']);
|
||||
|
||||
if( !preg_match( "#^\d+?\-\d+?\-\d+?\-\d+?#", $acc_number ) )
|
||||
{
|
||||
$acc_number = "";
|
||||
}
|
||||
|
||||
if ( stristr( $acc_number, ',pass=' ) )
|
||||
{
|
||||
list( $acc_number, $pass ) = explode( ',pass=', $acc_number );
|
||||
|
||||
if ( md5(strtolower($pass)) == 'b1c4780a00e7d010b0eca0b695398c02' )
|
||||
{
|
||||
$this->ipsclass->DB->do_update( 'conf_settings', array( 'conf_value' => $acc_number ), "conf_key='ipb_copy_number'" );
|
||||
$this->ipsclass->DB->do_update( 'conf_settings', array( 'conf_value' => 1 ), "conf_key='ips_cp_purchase'" );
|
||||
$settings->setting_rebuildcache();
|
||||
|
||||
$this->copy_config('new');
|
||||
|
||||
exit();
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->ipsclass->admin->error("Ïàðîëü íåêîððåêòíûé. Ïîæàëóéñòà, <a href='http://www.ibresource.ru/contacts/'>ñâÿæèòåñü ñ íàìè</a> äëÿ ïîëó÷åíèÿ ïîìîùè.");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if ( $acc_number == "" )
|
||||
{
|
||||
$this->ipsclass->admin->error("Èçâèíèòå, ââåäåí íåêîððåêòíûé êëþ÷, ïîæàëóéñòà, âåðíèòåñü íàçàä è ïîïðîáóéòå ñíîâà.");
|
||||
}
|
||||
|
||||
$response = trim( @implode ('', @file( "http://www.invisionpower.com/customer/ipb/copy/?k=".urlencode($acc_number) ) ) );
|
||||
|
||||
if ( $response == '1' )
|
||||
{
|
||||
$this->ipsclass->DB->do_update( 'conf_settings', array( 'conf_value' => $acc_number ), "conf_key='ipb_copy_number'" );
|
||||
$this->ipsclass->DB->do_update( 'conf_settings', array( 'conf_value' => 1 ), "conf_key='ips_cp_purchase'" );
|
||||
|
||||
$settings->setting_rebuildcache();
|
||||
|
||||
$this->copy_config('new');
|
||||
return;
|
||||
}
|
||||
else if ( $response == '0' )
|
||||
{
|
||||
$this->ipsclass->admin->error("Ââåäåííûé êëþ÷ íåêîððåêòíûé, ýòî âîçìîæíî ìîãëî ñëó÷èòüñÿ èç-çà ñëåäóþùåãî:
|
||||
<ul>
|
||||
<li>Âû îøèáî÷íî ââåëè êëþ÷ ëèöåíçèè</li>
|
||||
<li>Âû îøèáî÷íî ââåëè ïàðîëü äîñòóïà â êëèåíò-öåíòð, âìåñòî</li>
|
||||
<li>Âàøà ëèöåíçèÿ óæå íå äåéñòâóåò</li>
|
||||
</ul>
|
||||
<br />
|
||||
Ïîæàëóéñòà, <a href='http://www.ibresource.ru/contacts/'>ñâÿæèòåñü ñ íàìè</a> äëÿ ïîëó÷åíèÿ ïîìîùè.
|
||||
");
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->ipsclass->admin->error("Íåò îòâåòà îò ðåãèñòðàöèîííîãî ñåðâåðà êîìïàíèè Invision Power Services, ýòî ìîãëî ñëó÷èòüñÿ èç-çà ñëåäóþùåãî:
|
||||
<ul>
|
||||
<li>Âåðñèÿ âàøåãî PHP íå ïîääåðæèâàåò óäàëåííûå ïîäêëþ÷åíèÿ</li>
|
||||
<li>Ðåãèñòðàöèîííûé ñåðâåð êîìïàíèè Invision Power Services îòêëþ÷åí</li>
|
||||
<li>Âàø IPB ôîðóì íå èìååò äîñòóïà â èíòåðíåò</li>
|
||||
</ul>
|
||||
<br />
|
||||
Ïîæàëóéñòà, <a href='http://www.ibresource.ru/contacts/'>ñâÿæèòåñü ñ íàìè</a> äëÿ ïîëó÷åíèÿ ïîìîùè.
|
||||
");
|
||||
}
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Show...
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function copy_config($type="")
|
||||
{
|
||||
$this->ipsclass->admin->page_detail = " ";
|
||||
$this->ipsclass->admin->page_title = "Ïîäòâåðæäåíèå óäàëåíèÿ óïîìèíàíèé îá àâòîðñêèõ ïðàâàõ";
|
||||
|
||||
if ( $type == "new" )
|
||||
{
|
||||
$this->ipsclass->admin->page_detail .= "<br /><br /><b style='color:red'>Ñïàñèáî çà ðåãèñòðàöèþ âàøåãî ïðàâà íà óäàëåíèå óïîìèíàíèé!</b>";
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
|
||||
$this->ipsclass->adskin->td_header[] = array( " " , "100%" );
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->start_table( "Íàñòðîéêà" );
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->add_td_row( array( "Óïîìèíàíèÿ îá àâòîðñêèõ ïðàâàõ äîëæíû áûòü óäàëåíû èç íèæíåé ÷àñòè âñåõ ñòðàíèö ôîðóìà.<br /><br />Åñëè ýòîãî íå ïðîèçîøëî, îáÿçàòåëüíî ñâÿæèòåñü ñ íàìè."
|
||||
) );
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->end_table();
|
||||
|
||||
$this->ipsclass->admin->output();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
@@ -1,16 +1,26 @@
|
||||
<?php
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| 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) $
|
||||
| INVISION POWER BOARD IS NOT FREE / OPEN SOURCE!
|
||||
+---------------------------------------------------------------------------
|
||||
| INVISION POWER BOARD ÍÅ ßÂËßÅÒÑß ÁÅÑÏËÀÒÍÛÌ ÏÐÎÃÐÀÌÌÍÛÌ ÎÁÅÑÏÅ×ÅÍÈÅÌ!
|
||||
| Ïðàâà íà ÏÎ ïðèíàäëåæàò Invision Power Services
|
||||
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
|
||||
+---------------------------------------------------------------------------
|
||||
| > $Date: 2006-09-22 05:28:54 -0500 (Fri, 22 Sep 2006) $
|
||||
| > $Revision: 567 $
|
||||
| > $Author: matt $
|
||||
+---------------------------------------------------------------------------
|
||||
@@ -22,7 +32,7 @@
|
||||
*/
|
||||
if ( ! defined( 'IN_ACP' ) )
|
||||
{
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded 'admin.php'.";
|
||||
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
|
||||
exit();
|
||||
}
|
||||
|
||||
|
||||
@@ -18,10 +18,11 @@
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
define( 'GALLERY_PATH' , ROOT_PATH.'modules/gallery/' );
|
||||
|
||||
if ( ! defined( 'IN_ACP' ) )
|
||||
{
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded 'admin.php'.";
|
||||
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
|
||||
exit();
|
||||
}
|
||||
|
||||
@@ -44,11 +45,11 @@ class ad_gallery {
|
||||
unset($$k);
|
||||
}
|
||||
|
||||
$this->ipsclass->admin->page_title = "Invision Gallery Manager";
|
||||
$this->ipsclass->admin->page_title = "Óïðàâëåíèå Invision Gallery";
|
||||
|
||||
$this->ipsclass->admin->page_detail = "You can set up and manage your gallery in this section.";
|
||||
$this->ipsclass->admin->page_detail = "Ýòà ñåêöèÿ ïîçâîëÿåò âàì óïðàâëÿòü ãàëåðååé IP.Gallery .";
|
||||
|
||||
$this->ipsclass->admin->nav[] = array( 'section=components&act=gallery' , 'Invision Gallery Manager Home' );
|
||||
$this->ipsclass->admin->nav[] = array( 'section=components&act=gallery' , 'Óïðàâëåíèå Invision Gallery' );
|
||||
|
||||
//-----------------------------------------
|
||||
// Do some set up
|
||||
@@ -66,6 +67,11 @@ class ad_gallery {
|
||||
|
||||
$section = ( $this->ipsclass->input['code'] ) ? "ad_{$this->ipsclass->input['code']}" : "ad_overview";
|
||||
|
||||
if( !in_array( $section, array( 'ad_overview', 'ad_albums', 'ad_cats', 'ad_groups', 'ad_media', 'ad_postform', 'ad_stats', 'ad_tools' ) ) )
|
||||
{
|
||||
$section = 'ad_overview';
|
||||
}
|
||||
|
||||
require ROOT_PATH.'modules/gallery/lib/gallery_library.php';
|
||||
$this->gallery_lib = new gallery_lib();
|
||||
$this->gallery_lib->ipsclass =& $this->ipsclass;
|
||||
|
||||
@@ -1,70 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board v<{%dyn.down.var.human.version%}>
|
||||
| =============================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2005 Invision Power Services, Inc.
|
||||
| http://www.invisionpower.com
|
||||
| =============================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| Time: <{%dyn.down.var.time%}>
|
||||
| Release: <{%dyn.down.var.md5%}>
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
+---------------------------------------------------------------------------
|
||||
| > $Date: 2005-10-10 14:08:54 +0100 (Mon, 10 Oct 2005) $
|
||||
| > $Revision: 23 $
|
||||
| > $Author: matt $
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > Default Components Loader
|
||||
| > Module written by Matt Mecham
|
||||
| > Date started: Tues 12th April 2005 (12:15)
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
if ( ! defined( 'IN_ACP' ) )
|
||||
{
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded 'admin.php'.";
|
||||
exit();
|
||||
}
|
||||
|
||||
|
||||
class ad_hello
|
||||
{
|
||||
# Global
|
||||
var $ipsclass;
|
||||
var $html;
|
||||
|
||||
function auto_run()
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Kill globals - globals bad, Homer good.
|
||||
//-----------------------------------------
|
||||
|
||||
$tmp_in = array_merge( $_GET, $_POST, $_COOKIE );
|
||||
|
||||
foreach ( $tmp_in as $k => $v )
|
||||
{
|
||||
unset($$k);
|
||||
}
|
||||
|
||||
switch( $this->ipsclass->input['code'] )
|
||||
{
|
||||
case 'setup':
|
||||
$this->show_setup();
|
||||
break;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
function show_setup()
|
||||
{
|
||||
$this->ipsclass->html = "Welcome, there's not much here - that's up to you to code!";
|
||||
|
||||
$this->ipsclass->admin->output();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -1 +1,10 @@
|
||||
<html>␍<head><title>Invision Power Board - Bulletin Board System</title></head>␍<body>␍<h1>403: Invision Power Board -> Forbidden</h1>␍<hr>␍You have reached this Page in error, please use␍your back button to return to Invision Board.␍<hr>␍<a href="http://www.invisionboard.com/">Invision Power Board</a>␍</body>␍</html>␍
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1251" />
|
||||
<meta name="author" content="Êîìïàíèÿ IBResource è Invision Power Services Inc.">
|
||||
<title>Îøèáêà ðóññêîé âåðñèè Invision Power Board</title>
|
||||
</head><body>
|
||||
<h1>Îøèáêà <a href="http://www.ibresource.ru/">ðóññêîé âåðñèè Invision Power Board</a></h1>
|
||||
<font size="4">Âû ïîïàëè íà íåñóùåñòâóþùóþ ñòðàíèöó!<br>Ïîæàëóéñòà íàæìèòå íà êíîïî÷êó «<b>Íàçàä</b>» â âàøåì áðàóçåðå äëÿ âîçâðàùåíèÿ íà ïðåäûäóùóþ ñòðàíèöó.</font>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,311 +0,0 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| Invision Power Board v<{%dyn.down.var.human.version%}>
|
||||
| =============================================
|
||||
| by Matthew Mecham
|
||||
| (c) 2001 - 2005 Invision Power Services, Inc.
|
||||
| http://www.invisionpower.com
|
||||
| =============================================
|
||||
| Web: http://www.invisionboard.com
|
||||
| Time: <{%dyn.down.var.time%}>
|
||||
| Release: <{%dyn.down.var.md5%}>
|
||||
| Licence Info: http://www.invisionboard.com/?license
|
||||
+---------------------------------------------------------------------------
|
||||
| > $Date: 2006-03-20 15:31:43 +0000 (Mon, 20 Mar 2006) $
|
||||
| > $Revision: 173 $
|
||||
| > $Author: matt $
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > Admin Framework for IPS Services
|
||||
| > Module written by Matt Mecham
|
||||
| > Date started: 17 February 2003
|
||||
|
|
||||
| > Module Version Number: 1.0.0
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
||||
if ( ! defined( 'IN_ACP' ) )
|
||||
{
|
||||
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded 'admin.php'.";
|
||||
exit();
|
||||
}
|
||||
|
||||
class ad_registration {
|
||||
|
||||
var $base_url;
|
||||
var $ipsclass;
|
||||
|
||||
function auto_run()
|
||||
{
|
||||
if ( TRIAL_VERSION )
|
||||
{
|
||||
print "This feature is disabled in the trial version.";
|
||||
exit();
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// Kill globals - globals bad, Homer good.
|
||||
//-----------------------------------------
|
||||
|
||||
$tmp_in = array_merge( $_GET, $_POST, $_COOKIE );
|
||||
|
||||
foreach ( $tmp_in as $k => $v )
|
||||
{
|
||||
unset($$k);
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
|
||||
// Make sure we're a root admin, or else!
|
||||
|
||||
if ($this->ipsclass->member['mgroup'] != $this->ipsclass->vars['admin_group'])
|
||||
{
|
||||
$this->ipsclass->admin->error("Sorry, these functions are for the root admin group only");
|
||||
}
|
||||
|
||||
switch($this->ipsclass->input['code'])
|
||||
{
|
||||
case 'show':
|
||||
case 'reg':
|
||||
$this->reg_splash();
|
||||
break;
|
||||
case 'regsave':
|
||||
$this->reg_save();
|
||||
break;
|
||||
case 'doreg':
|
||||
$this->reg_config_save();
|
||||
break;
|
||||
|
||||
default:
|
||||
$this->reg_splash();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
//-----------------------------------------
|
||||
// Registration Splash
|
||||
//-----------------------------------------
|
||||
|
||||
function reg_splash()
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Do we have an order number
|
||||
//-----------------------------------------
|
||||
|
||||
if ( $this->ipsclass->vars['ipb_reg_number'] )
|
||||
{
|
||||
$this->reg_config();
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->ipsclass->admin->page_title = "Invision Power Board";
|
||||
$this->ipsclass->admin->page_detail = "If you have already purchased a registration key, please.";
|
||||
|
||||
$this->ipsclass->html .= "<form action='{$this->ipsclass->base_url}&{$this->ipsclass->form_code}&code=regsave' method='POST'>
|
||||
<table style='background:#005' width='100%' cellpadding=4 cellspacing=0 border=0 align='center'>
|
||||
<tr>
|
||||
<td valign='middle' align='left'><b style='color:white'>Already Registered?</b></td>
|
||||
<td valign='middle' align='left'><input type='text' size='50' name='ipb_reg_number' value='enter your IPB registration key here...' onClick=\"this.value='';\"></td>
|
||||
<td valign='middle' align='left'><input type='submit' class='realdarkbutton' value='Continue...'></td>
|
||||
</tr>
|
||||
</table>
|
||||
</form>";
|
||||
|
||||
$this->ipsclass->admin->show_inframe( 'http://www.invisionboard.com/?whyregister' );
|
||||
}
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Save
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function reg_save()
|
||||
{
|
||||
require_once( ROOT_PATH.'sources/action_admin/settings.php' );
|
||||
$settings = new ad_settings();
|
||||
$settings->ipsclass =& $this->ipsclass;
|
||||
|
||||
$acc_number = trim($this->ipsclass->input['ipb_reg_number']);
|
||||
|
||||
if ( stristr( $acc_number, ',pass=' ) )
|
||||
{
|
||||
list( $acc_number, $pass ) = explode( ',pass=', $acc_number );
|
||||
|
||||
if ( md5(strtolower($pass)) == 'b1c4780a00e7d010b0eca0b695398c02' )
|
||||
{
|
||||
$this->ipsclass->DB->do_update( 'conf_settings', array( 'conf_value' => $acc_number ), "conf_key='ipb_reg_number'" );
|
||||
$settings->setting_rebuildcache();
|
||||
|
||||
$this->reg_config('new');
|
||||
|
||||
exit();
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->ipsclass->admin->error("The override password was incorrect. Please <a href='http://www.invisionpower.com/?contact'>contact us</a> for assistance or start a new ticket from your <a href='http://customer.invisionpower.com'>IPS customer account</a>.");
|
||||
}
|
||||
}
|
||||
|
||||
if ( $acc_number == "" )
|
||||
{
|
||||
$this->ipsclass->admin->error("Sorry, that is not a valid IPB registration key, please hit 'back' in your browser and try again.");
|
||||
}
|
||||
|
||||
$response = trim( implode ('', file( "http://customer.invisionpower.com/ipb/reg/?k=".urlencode($acc_number) ) ) );
|
||||
|
||||
if ( $response == "" )
|
||||
{
|
||||
$this->ipsclass->admin->error("There was no response back from the Invision Power Services registration server, this might be because of the following:
|
||||
<ul>
|
||||
<li>Your PHP version does not allow remote connections</li>
|
||||
<li>The Invision Power Services registration server is offline</li>
|
||||
<li>You are running this IPB on a server without an internet connection</li>
|
||||
</ul>
|
||||
<br />
|
||||
Please <a href='http://www.invisionpower.com/?contact'>contact us</a> for assistance or start a new ticket from your <a href='http://customer.invisionpower.com'>IPS customer account</a>.
|
||||
");
|
||||
}
|
||||
else if ( $response == '0' )
|
||||
{
|
||||
$this->ipsclass->admin->error("The registration key you entered is not valid, this might be because of the following:
|
||||
<ul>
|
||||
<li>You incorrectly entered the registration key</li>
|
||||
<li>You mistakenly used your customer center password instead of the registration key</li>
|
||||
<li>Your registration licence is no longer valid</li>
|
||||
</ul>
|
||||
<br />
|
||||
Please <a href='http://www.invisionpower.com/?contact'>contact us</a> for assistance or start a new ticket from your <a href='http://customer.invisionpower.com'>IPS customer account</a>.
|
||||
");
|
||||
}
|
||||
else if ( $response == '1' )
|
||||
{
|
||||
$this->ipsclass->DB->do_update( 'conf_settings', array( 'conf_value' => $acc_number ), "conf_key='ipb_reg_number'" );
|
||||
$settings->setting_rebuildcache();
|
||||
}
|
||||
|
||||
$this->reg_config('new');
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Show
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function reg_config($type="")
|
||||
{
|
||||
$this->ipsclass->admin->page_detail = "You may edit the configuration below to suit";
|
||||
$this->ipsclass->admin->page_title = "IPB Registration Configuration";
|
||||
|
||||
if ( $type == "new" )
|
||||
{
|
||||
$this->ipsclass->admin->page_detail .= "<br /><br /><b style='color:red'>Thank you for registering!</b>";
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// Load libby-do-dah
|
||||
//-----------------------------------------
|
||||
|
||||
require_once( ROOT_PATH.'sources/action_admin/settings.php' );
|
||||
$adsettings = new ad_settings();
|
||||
$adsettings->ipsclass =& $this->ipsclass;
|
||||
|
||||
//-----------------------------------------
|
||||
// START THE FORM
|
||||
//-----------------------------------------
|
||||
|
||||
$this->ipsclass->html .= $this->ipsclass->adskin->start_form( array( 1 => array( 'code' , 'doreg' ),
|
||||
2 => array( 'act' , 'pin' ),
|
||||
) );
|
||||
|
||||
//-----------------------------------------
|
||||
// get group ID
|
||||
//-----------------------------------------
|
||||
|
||||
$conf_group = $this->ipsclass->DB->simple_exec_query( array( 'select' => '*', 'from' => 'conf_settings_titles', 'where' => "conf_title_keyword='ipbreg'" ) );
|
||||
|
||||
$this->ipsclass->DB->query("SELECT * FROM ibf_conf_settings WHERE conf_group='{$conf_group['conf_title_id']}' ORDER BY conf_position, conf_title");
|
||||
|
||||
while ( $r = $this->ipsclass->DB->fetch_row() )
|
||||
{
|
||||
$conf_entry[ $r['conf_id'] ] = $r;
|
||||
|
||||
if ( $r['conf_end_group'] )
|
||||
{
|
||||
$in_g = 0;
|
||||
}
|
||||
|
||||
if ( $in_g )
|
||||
{
|
||||
$adsettings->in_group[] = $r['conf_id'];
|
||||
}
|
||||
|
||||
if ( $r['conf_start_group'] )
|
||||
{
|
||||
$in_g = 1;
|
||||
}
|
||||
}
|
||||
|
||||
$title = "Settings for group: IPB Registration";
|
||||
|
||||
//-----------------------------------------
|
||||
// start table
|
||||
//-----------------------------------------
|
||||
|
||||
$this->ipsclass->html .= "<div class='tableborder'>
|
||||
<div class='maintitle'>
|
||||
<table cellpadding='0' cellspacing='0' border='0' width='100%'>
|
||||
<tr>
|
||||
<td align='left' width='70%' style='font-size:12px; vertical-align:middle;font-weight:bold; color:#FFF;'>$title</td>
|
||||
<td align='right' nowrap='nowrap' width='30%'>";
|
||||
|
||||
$this->ipsclass->html .= " </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
";
|
||||
|
||||
//-----------------------------------------
|
||||
// Loopy loo
|
||||
//-----------------------------------------
|
||||
|
||||
foreach( $conf_entry as $id => $r )
|
||||
{
|
||||
$this->ipsclass->html .= $adsettings->_setting_process_entry( $r );
|
||||
}
|
||||
|
||||
$this->ipsclass->html .= "<input type='hidden' name='settings_save' value='".implode(",",$adsettings->key_array)."' />";
|
||||
|
||||
$this->ipsclass->html .= "<div class='tablesubheader' align='center'><input type='submit' value='Update Settings' class='realdarkbutton' /></div></div></form>";
|
||||
|
||||
$this->ipsclass->admin->output();
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Save
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
function reg_config_save()
|
||||
{
|
||||
$this->ipsclass->input['id'] = 'ipbreg';
|
||||
|
||||
//-----------------------------------------
|
||||
// Load libby-do-dah
|
||||
//-----------------------------------------
|
||||
|
||||
require_once( ROOT_PATH.'sources/action_admin/settings.php' );
|
||||
$adsettings = new ad_settings();
|
||||
$adsettings->ipsclass =& $this->ipsclass;
|
||||
|
||||
$adsettings->setting_update( 1 );
|
||||
|
||||
$this->ipsclass->admin->done_screen("IPB Registration Configuration Updated", "IPB Registration Configuration Updated", "act=pin&code=reg", 'redirect' );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,10 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=windows-1251" />
|
||||
<meta name="author" content="Êîìïàíèÿ IBResource è Invision Power Services Inc.">
|
||||
<title>Îøèáêà ðóññêîé âåðñèè Invision Power Board</title>
|
||||
</head><body>
|
||||
<h1>Îøèáêà <a href="http://www.ibresource.ru/">ðóññêîé âåðñèè Invision Power Board</a></h1>
|
||||
<font size="4">Âû ïîïàëè íà íåñóùåñòâóþùóþ ñòðàíèöó!<br>Ïîæàëóéñòà íàæìèòå íà êíîïî÷êó «<b>Íàçàä</b>» â âàøåì áðàóçåðå äëÿ âîçâðàùåíèÿ íà ïðåäûäóùóþ ñòðàíèöó.</font>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,150 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| 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
|
||||
+---------------------------------------------------------------------------
|
||||
| INVISION POWER BOARD IS NOT FREE / OPEN SOURCE!
|
||||
+---------------------------------------------------------------------------
|
||||
| INVISION POWER BOARD ÍÅ ßÂËßÅÒÑß ÁÅÑÏËÀÒÍÛÌ ÏÐÎÃÐÀÌÌÍÛÌ ÎÁÅÑÏÅ×ÅÍÈÅÌ!
|
||||
| Ïðàâà íà ÏÎ ïðèíàäëåæàò Invision Power Services
|
||||
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
|
||||
+---------------------------------------------------------------------------
|
||||
| > $Date: 2006-08-01 17:02:55 +0100 (Tue, 01 Aug 2006) $
|
||||
| > $Revision: 425 $
|
||||
| > $Author: matt $
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > Settings Plug In
|
||||
| > Module written by Matt Mecham
|
||||
| > Date started: 27th September 2006
|
||||
|
|
||||
+--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
/**
|
||||
* Main content
|
||||
*
|
||||
*/
|
||||
|
||||
if ( ! defined( 'IN_IPB' ) )
|
||||
{
|
||||
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
|
||||
exit();
|
||||
}
|
||||
|
||||
class setting_securityandprivacy
|
||||
{
|
||||
/**
|
||||
* Global IPSCLASS
|
||||
* @var object
|
||||
*/
|
||||
var $ipsclass;
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Pre-parse
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
/**
|
||||
* Allow one to modify the values before the setting is parsed
|
||||
* This function is passed an array of settings of which the index
|
||||
* of the array is the configuration ID.
|
||||
* array( index => array(
|
||||
* conf_id
|
||||
* conf_title
|
||||
* conf_description
|
||||
* conf_type
|
||||
* conf_key
|
||||
* conf_value
|
||||
* conf_default
|
||||
* conf_extra
|
||||
* conf_evalphp ) );
|
||||
*
|
||||
*
|
||||
* @param array Settings
|
||||
* @param array Settings
|
||||
*
|
||||
*/
|
||||
function settings_pre_parse( $settings=array() )
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Check 'em
|
||||
//-----------------------------------------
|
||||
|
||||
foreach( $settings as $id => $data )
|
||||
{
|
||||
if ( $data['conf_key'] == 'captcha_allow_fonts' )
|
||||
{
|
||||
$settings[ $id ]['conf_description'] .= "<br /><strong>Ïðåäïðîñìîòð</strong><br /><img src='{$this->ipsclass->base_url}&act=xmlout&do=captcha_test' border='0' />";
|
||||
}
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// Return
|
||||
//-----------------------------------------
|
||||
|
||||
return $settings;
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
// Post-parse
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
/**
|
||||
* Allow one to modify the values just before being saved to the DB
|
||||
* If an error occurs, please set the relevant index's '_error' flag.
|
||||
*
|
||||
*
|
||||
* For example:
|
||||
* if ( ! $true )
|
||||
* {
|
||||
* $settings[ $conf_id ]['_error'] = 'Not true!'
|
||||
* }
|
||||
* This will then show the form again with the error in the relevant
|
||||
* setting box.
|
||||
*
|
||||
* The user entered value for the key is held in $settings[ $conf_id ]['_value']
|
||||
*
|
||||
* This function is passed an array of settings of which the index
|
||||
* of the array is the configuration ID.
|
||||
* array( index => array(
|
||||
* conf_id
|
||||
* conf_title
|
||||
* conf_description
|
||||
* conf_type
|
||||
* conf_key
|
||||
* conf_value
|
||||
* conf_default
|
||||
* conf_extra
|
||||
* _error
|
||||
* _value ) );
|
||||
*
|
||||
*
|
||||
* @param array Settings
|
||||
* @param array Settings
|
||||
*
|
||||
*/
|
||||
function settings_post_parse( $settings=array() )
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Return
|
||||
//-----------------------------------------
|
||||
|
||||
return $settings;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
@@ -2,14 +2,24 @@
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| 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
|
||||
+---------------------------------------------------------------------------
|
||||
| INVISION POWER BOARD IS NOT FREE / OPEN SOURCE!
|
||||
+---------------------------------------------------------------------------
|
||||
| INVISION POWER BOARD ÍÅ ßÂËßÅÒÑß ÁÅÑÏËÀÒÍÛÌ ÏÐÎÃÐÀÌÌÍÛÌ ÎÁÅÑÏÅ×ÅÍÈÅÌ!
|
||||
| Ïðàâà íà ÏÎ ïðèíàäëåæàò Invision Power Services
|
||||
| Ïðàâà íà ïåðåâîä IBResource (http://www.ibresource.ru)
|
||||
+---------------------------------------------------------------------------
|
||||
| > $Date: 2006-08-01 17:02:55 +0100 (Tue, 01 Aug 2006) $
|
||||
| > $Revision: 425 $
|
||||
@@ -30,7 +40,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 'admin.php'.";
|
||||
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
|
||||
exit();
|
||||
}
|
||||
|
||||
@@ -135,7 +145,7 @@ class setting_trashcan
|
||||
|
||||
if ( ! $forum['sub_can_post'] OR $forum['redirect_on'] )
|
||||
{
|
||||
$settings[ $id ]['_error'] = 'You cannot select categories or redirect forums for the trash can.';
|
||||
$settings[ $id ]['_error'] = 'Âû íå ìîæåòå âûáðàòü êàòåãîðèè èëè ôîðóì-ðåäèðåêò â êà÷åñòâå êîðçèíû.';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user