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

+3 -2
View File
@@ -22,7 +22,7 @@
if ( ! defined( 'IN_ACP' ) )
{
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded 'admin.php'.";
exit();
}
@@ -50,7 +50,8 @@ class ad_blog {
if ( ! @is_dir( ROOT_PATH.'/modules/blog' ) )
{
$this->ipsclass->admin->show_inframe("http://external.ipslink.com/ipboard22/landing/?p=blog");
$this->ipsclass->input['code'] = 'show';
$this->ipsclass->admin->show_inframe("http://anonym.to/http://external.ipslink.com/ipboard22/landing/?p=blog");
}
else
{
+15 -24
View File
@@ -2,28 +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 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 $
| > $Date: 2007-04-24 17:35:27 -0400 (Tue, 24 Apr 2007) $
| > $Revision: 952 $
| > $Author: bfarber $
+---------------------------------------------------------------------------
|
| > Admin Framework for IPS Services
@@ -37,7 +27,7 @@
if ( ! defined( 'IN_ACP' ) )
{
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded 'admin.php'.";
exit();
}
@@ -69,7 +59,7 @@ class ad_chatpara
if ($this->ipsclass->member['mgroup'] != $this->ipsclass->vars['admin_group'])
{
$this->ipsclass->admin->error("Èçâèíèòå, ýòà ôóíêöèÿ äîñòóïíà òîëüêî ãëàâíûì àäìèíèñòðàòîðàì");
$this->ipsclass->admin->error("Sorry, these functions are for the root admin group only");
}
switch($this->ipsclass->input['code'])
@@ -87,6 +77,7 @@ class ad_chatpara
$this->chat_config_save();
break;
default:
$this->ipsclass->input['code'] = 'show';
$this->chat_splash();
break;
}
@@ -110,19 +101,19 @@ class ad_chatpara
else
{
$this->ipsclass->admin->page_title = "Invision Power Chat (Parachat)";
$this->ipsclass->admin->page_detail = "Åñëè âû óæå êóïèëè IP Chat Parachat, ïðîñòî ââåäèòå ñþäà âàø Site ID â ïîëå íèæå.";
$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->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'>Êóïèëè 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>
<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>
</tr>
</table>
</form>";
$this->ipsclass->admin->show_inframe( 'http://partners.parachat.com/invision/' );
$this->ipsclass->admin->show_inframe( 'http://anonym.to/http://partners.parachat.com/invision/' );
}
}
@@ -144,7 +135,7 @@ class ad_chatpara
if ( $acc_number == "" )
{
$this->ipsclass->admin->error("Èçâèíèòå, íî óêàçàííûé âàìè íîìåð íåêîððåêòíûé");
$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='chat04_account_no'" );
@@ -181,8 +172,8 @@ class ad_chatpara
function chat04_config()
{
$this->ipsclass->admin->page_detail = "Âû ìîæåòå èçìåíÿòü íàñòðîéêè ÷àòà";
$this->ipsclass->admin->page_title = "Íàñòðîéêà Invision Power Chat";
$this->ipsclass->admin->page_detail = "You may edit the configuration below to suit";
$this->ipsclass->admin->page_title = "Invision Power Chat Configuration";
//-----------------------------------------
// Load libby-do-dah
+188 -197
View File
@@ -1,198 +1,189 @@
<?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();
}
}
<?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: 2007-04-24 17:35:27 -0400 (Tue, 24 Apr 2007) $
| > $Revision: 952 $
| > $Author: bfarber $
+---------------------------------------------------------------------------
|
| > 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->ipsclass->input['code'] = 'show';
$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 = "If you have already purchased AddOnChat, then simply enter your Customer Account ID 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 AddOnChat?</b></td>
<td valign='middle' align='left'><input type='text' size=35 name='account_no' value='enter your Customer Account ID 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://anonym.to/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("Sorry, that is not a valid AddOnChat 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 = "AddOnChat 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();
}
}
?>
+233 -243
View File
@@ -1,244 +1,234 @@
<?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 = "&nbsp;";
$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( "&nbsp;" , "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();
}
}
<?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: 2007-04-30 12:14:45 -0400 (Mon, 30 Apr 2007) $
| > $Revision: 957 $
| > $Author: bfarber $
+---------------------------------------------------------------------------
|
| > 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( 'http://anonym.to/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("The override password was incorrect. Please <a href='http://anonym.to/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 == '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("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='{$this->ipsclass->base_url}&section=help&act=support&code=contact'>contact us</a> for assistance or start a new ticket from your <a href='{$this->ipsclass->base_url}&section=help&act=support&code=support'>IPS customer account</a>.
");
}
else
{
$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='{$this->ipsclass->base_url}&section=help&act=support&code=contact'>contact us</a> for assistance or start a new ticket from your <a href='{$this->ipsclass->base_url}&section=help&act=support&code=support'>IPS customer account</a>.
");
}
}
/*-------------------------------------------------------------------------*/
// Show...
/*-------------------------------------------------------------------------*/
function copy_config($type="")
{
$this->ipsclass->admin->page_detail = "&nbsp;";
$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( "&nbsp;" , "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();
}
}
?>
+3 -13
View File
@@ -1,26 +1,16 @@
<?php
/*
+--------------------------------------------------------------------------
| 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 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) $
| > $Date: 2006-09-22 06:28:54 -0400 (Fri, 22 Sep 2006) $
| > $Revision: 567 $
| > $Author: matt $
+---------------------------------------------------------------------------
@@ -32,7 +22,7 @@
*/
if ( ! defined( 'IN_ACP' ) )
{
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded 'admin.php'.";
exit();
}
+111
View File
@@ -0,0 +1,111 @@
<?php
/*
+--------------------------------------------------------------------------
| Invision Download Manager
| ========================================
| by Brandon Farber
| (c) 2005 - 2006 Invision Power Services
| http://www.invisionpower.com
| ========================================
| Web: http://www.invisionpower.com
| Email: brandon@invisionpower.com
+---------------------------------------------------------------------------
|
| > Wrapper Admin Module
| > Script written by Brandon Farber
| > Script Started: Oct 24, 2005 5:48 PM EST
| > Last Updated On: Oct 24, 2005 5:48 PM EST
|
| > Module Version .01
|
+--------------------------------------------------------------------------
*/
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();
}
define( 'DL_ADMIN_PATH' , ROOT_PATH.'sources/components_acp/downloads/' );
define( 'DL_PATH' , ROOT_PATH.'sources/components_public/downloads/' );
define( 'DL_VERSION' , '<#VERSION#>' );
define( 'DL_RVERSION' , '<#VERSION_LONG#>' );
define( 'DL_LINK' , 'http://anonym.to/http://www.invisionpower.com/latestversioncheck/ipdownloads.php?v=' );
class ad_downloads {
var $ipsclass;
var $base_url;
var $perm_main = 'components';
var $perm_child = 'downloads';
function auto_run()
{
//-----------------------------------------
// Kill globals - globals bad, Homer good.
//-----------------------------------------
$tmp_in = array_merge( $_GET, $_POST, $_COOKIE );
foreach ( $tmp_in as $k => $v )
{
unset($$k);
}
//-----------------------------------------
// Did we purchase yet?
//-----------------------------------------
if ( ! @is_dir( ROOT_PATH.'/sources/components_acp/downloads' ) )
{
$this->ipsclass->admin->show_inframe("http://www.invisionpower.com/community/downloads/index.html");
}
else
{
$this->base_url = $this->ipsclass->base_url."&".$this->ipsclass->form_code."&";
$this->ipsclass->admin->page_title = "IP.Downloads";
$this->ipsclass->admin->page_detail = "You can configure your Download Manager from this section.";
$this->ipsclass->admin->nav[] = array( 'section=components&act=downloads', 'IP.Downloads' );
$valid_reqs = array (
'idx' => array( 'ad_downloads_index' , '' ),
'settings' => array( '' , '' ),
'mime' => array( 'ad_downloads_mime' , '' ),
'customfields' => array( 'ad_downloads_cfields', '' ),
'categories' => array( 'ad_downloads_cats' , '' ),
'tools' => array( 'ad_downloads_tools' , '' ),
'stats' => array( 'ad_downloads_stats' , '' ),
'groups' => array( 'ad_downloads_groups' , '' ),
);
$req = isset( $valid_reqs[ $this->ipsclass->input['req'] ] ) ? strtolower($this->ipsclass->input['req']) : 'idx';
if ( $req == 'settings' )
{
$this->ipsclass->admin->cp_permission_check( $this->perm_main.'|'.$this->perm_child.':settings' );
require_once( ROOT_PATH.'sources/action_admin/settings.php' );
$settings = new ad_settings();
$settings->ipsclass =& $this->ipsclass;
$settings->get_by_key = 'idm';
$settings->return_after_save = $this->ipsclass->form_code.'&req=settings';
$settings->setting_view();
}
else
{
// Require and run
require( DL_ADMIN_PATH . $valid_reqs[ $req ][0].'.php' );
$page = new $valid_reqs[ $req ][0];
$page->ipsclass =& $this->ipsclass;
$page->auto_run( $this, $valid_reqs[ $req ][1] );
}
}
}
}
?>
+54 -49
View File
@@ -2,86 +2,91 @@
/*
+--------------------------------------------------------------------------
| Invision Gallery Module
| IP.Gallery Component
| ========================================
| by Joshua Williams
| (c) 2001 - 2003 Invision Power Services
| by Brandon Farber
| (c) 2001 - 2007 Invision Power Services
| http://www.invisionpower.com
| ========================================
| Web: http://www.invisiongallery.com
| Email: josh@invisiongallery.com
| Web: http://www.invisiongallery.com
| Email: brandon@invisionpower.com
+---------------------------------------------------------------------------
| > $Date: 2007-06-21 14:09:44 -0400 (Thu, 21 Jun 2007) $
| > $Revision: 340 $
| > $Author: bfarber $
|
| > Main Admin Module
| > Script written by Joshua Williams
| $Id: gallery.php,v 1.1.1.1 2005/07/11 20:43:50 kinderstod Exp $
| > Main Admin Module Loader
| > Script written by Brandon Farber
| > Script Started by Joshua Williams
| $Id: gallery.php 340 2007-06-21 18:09:44Z bfarber $
+--------------------------------------------------------------------------
*/
define( 'GALLERY_PATH' , ROOT_PATH.'modules/gallery/' );
if ( ! defined( 'IN_ACP' ) )
{
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
exit();
die( "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded 'admin.php'." );
}
class ad_gallery {
define( 'GALLERY_PATH' , ROOT_PATH . 'sources/components_acp/gallery/' );
define( 'GALLERY_LIBS' , ROOT_PATH . 'sources/components_public/gallery/lib/' );
var $base_url;
var $ipsclass;
var $gallery_lib;
class ad_gallery
{
# Objects
var $ipsclass;
var $gallery_lib;
function auto_run()
{
{
//-----------------------------------------
// Kill globals - globals bad, Homer good.
// Is Gallery installed?
//-----------------------------------------
$tmp_in = array_merge( $_GET, $_POST, $_COOKIE );
foreach ( $tmp_in as $k => $v )
if ( ! @is_dir( GALLERY_PATH ) OR !$this->ipsclass->DB->table_exists( 'gallery_images' ) )
{
unset($$k);
}
$this->ipsclass->admin->page_title = "Óïðàâëåíèå Invision Gallery";
$this->ipsclass->admin->page_detail = "Ýòà ñåêöèÿ ïîçâîëÿåò âàì óïðàâëÿòü ãàëåðååé IP.Gallery .";
$this->ipsclass->admin->nav[] = array( 'section=components&act=gallery' , 'Óïðàâëåíèå Invision Gallery' );
//-----------------------------------------
// Do some set up
//-----------------------------------------
if ( ! @is_dir( ROOT_PATH.'/modules/gallery' ) )
{
$this->ipsclass->admin->show_inframe("http://www.invisiongallery.com/?why");
$this->ipsclass->admin->show_inframe( "http://anonym.to/http://www.invisiongallery.com/?why" );
}
else
{
define( 'IPB_CALLED', 1 );
$this->ipsclass->DB->load_cache_file( ROOT_PATH . 'sources/sql/'.SQL_DRIVER.'_gallery_queries.php', 'gallery_sql_queries' );
$this->ipsclass->DB->load_cache_file( ROOT_PATH . 'sources/sql/'.SQL_DRIVER.'_gallery_admin_queries.php', 'gallery_admin_sql_queries' );
$this->ipsclass->admin->page_title =& $this->ipsclass->acp_lang['gbl_gallery_title'];
$this->ipsclass->admin->page_detail =& $this->ipsclass->acp_lang['gbl_gallery_detail'];
$this->ipsclass->admin->nav[] = array( 'section=components&amp;act=gallery', $this->ipsclass->acp_lang['gbl_gallery_nav'] );
$this->ipsclass->DB->load_cache_file( ROOT_PATH . 'sources/sql/' . SQL_DRIVER . '_gallery_admin_queries.php', 'gallery_admin_sql_queries' );
$section = ( $this->ipsclass->input['code'] ) ? "ad_{$this->ipsclass->input['code']}" : "ad_overview";
//-----------------------------------------
// What are we doing?
//-----------------------------------------
$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';
}
$this->ipsclass->vars['gallery_images_path'] = str_replace( "&#092;", "\\", $this->ipsclass->vars['gallery_images_path'] );
$this->ipsclass->vars['gallery_watermark_path'] = str_replace( "&#092;", "\\", $this->ipsclass->vars['gallery_watermark_path'] );
require ROOT_PATH.'modules/gallery/lib/gallery_library.php';
$this->gallery_lib = new gallery_lib();
$this->gallery_lib->ipsclass =& $this->ipsclass;
require ROOT_PATH.'modules/gallery/admin/'.$section.'.php';
//-----------------------------------------
// Load generic library
//-----------------------------------------
$PLUGIN = new ad_plugin_gallery_sub();
$PLUGIN->ipsclass =& $this->ipsclass;
$PLUGIN->glib =& $this->gallery_lib;
$PLUGIN->auto_run();
require GALLERY_LIBS . 'lib_gallery.php';
$this->gallery_lib = new lib_gallery();
$this->gallery_lib->ipsclass =& $this->ipsclass;
//-----------------------------------------
// Run the main module
//-----------------------------------------
require GALLERY_PATH . $section . '.php';
$PLUGIN = new ad_plugin_gallery_sub();
$PLUGIN->ipsclass =& $this->ipsclass;
$PLUGIN->glib =& $this->gallery_lib;
$PLUGIN->auto_run();
}
}
}
+1 -10
View File
@@ -1,10 +1 @@
<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>Ïîæàëóéñòà íàæìèòå íà êíîïî÷êó &laquo;<b>Íàçàä</b>&raquo; â&nbsp;âàøåì áðàóçåðå äëÿ âîçâðàùåíèÿ íà ïðåäûäóùóþ ñòðàíèöó.</font>
</body>
</html>
<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://anonym.to/http://www.invisionboard.com/">Invision Power Board</a>␍</body>␍</html>␍
@@ -1,10 +1 @@
<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>Ïîæàëóéñòà íàæìèòå íà êíîïî÷êó &laquo;<b>Íàçàä</b>&raquo; â&nbsp;âàøåì áðàóçåðå äëÿ âîçâðàùåíèÿ íà ïðåäûäóùóþ ñòðàíèöó.</font>
</body>
</html>
<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://anonym.to/http://www.invisionboard.com/">Invision Power Board</a>␍</body>␍</html>
@@ -1,150 +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}&amp;act=xmlout&amp;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;
}
}
<?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-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>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded 'admin.php'.";
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' )
{
$this->ipsclass->load_template( 'skin_global' );
$curact = $this->ipsclass->input['act'];
$this->ipsclass->input['act'] = 'xmlout';
require_once( KERNEL_PATH . 'class_captcha.php' );
$captchaClass = new class_captcha( $this->ipsclass, 'default' );
$captchaHTML = $captchaClass->getTemplate();
$this->ipsclass->input['act'] = $curact;
$settings[ $id ]['conf_description'] .= "<br /><strong>Preview</strong><br /><img src='{$this->ipsclass->vars['board_url']}/index.php?act=captcha&amp;do=showImage&amp;regid={$captchaHTML}' 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,24 +2,14 @@
/*
+--------------------------------------------------------------------------
| 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 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 $
@@ -40,7 +30,7 @@
if ( ! defined( 'IN_IPB' ) )
{
print "<h1>Íåêîððåêòíûé àäðåñ</h1>Âû íå èìååòå äîñòóïà ê ýòîìó ôàéëó íàïðÿìóþ. Åñëè âû íåäàâíî îáíîâëÿëè ôîðóì, âû äîëæíû îáíîâèòü âñå ñîîòâåòñòâóþùèå ôàéëû.";
print "<h1>Incorrect access</h1>You cannot access this file directly. If you have recently upgraded, make sure you upgraded 'admin.php'.";
exit();
}
@@ -145,7 +135,7 @@ class setting_trashcan
if ( ! $forum['sub_can_post'] OR $forum['redirect_on'] )
{
$settings[ $id ]['_error'] = 'Âû íå ìîæåòå âûáðàòü êàòåãîðèè èëè ôîðóì-ðåäèðåêò â êà÷åñòâå êîðçèíû.';
$settings[ $id ]['_error'] = 'You cannot select categories or redirect forums for the trash can.';
}
}
}