Version 2.3.6
This commit is contained in:
1 parent
a3bb603c96
commit
19b38c7c74
764 files changed
+143731
-118164
No files matched your search
File diff suppressed because it is too large.
Load diff
@@ -2,26 +2,16 @@
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| 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 $
|
||||
+---------------------------------------------------------------------------
|
||||
@@ -38,7 +28,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 all the relevant files.";
|
||||
exit();
|
||||
}
|
||||
|
||||
@@ -149,7 +139,7 @@ class forwardpage
|
||||
$this->email->ipsclass =& $this->ipsclass;
|
||||
$this->email->email_init();
|
||||
|
||||
$lang_to_use = 'ru';
|
||||
$lang_to_use = 'en';
|
||||
|
||||
foreach( $this->ipsclass->cache['languages'] as $l )
|
||||
{
|
||||
|
||||
@@ -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>Ïîæàëóéñòà íàæìèòå íà êíîïî÷êó «<b>Íàçàä</b>» â âàøåì áðàóçåðå äëÿ âîçâðàùåíèÿ íà ïðåäûäóùóþ ñòðàíèöó.</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>␍
|
||||
@@ -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-10-19 09:37:14 -0500 (Thu, 19 Oct 2006) $
|
||||
| > $Revision: 657 $
|
||||
| > $Author: matt $
|
||||
| > $Date: 2007-12-17 18:07:20 -0500 (Mon, 17 Dec 2007) $
|
||||
| > $Revision: 1149 $
|
||||
| > $Author: bfarber $
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > Show all emo's / BB Tags module
|
||||
@@ -38,7 +28,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 all the relevant files.";
|
||||
exit();
|
||||
}
|
||||
|
||||
@@ -140,7 +130,7 @@ class legends {
|
||||
|
||||
$this->ipsclass->DB->simple_construct( array( 'select' => 'id, name, members_display_name',
|
||||
'from' => 'members',
|
||||
'where' => "members_l_display_name LIKE '".$this->ipsclass->input['username']."%'",
|
||||
'where' => "members_l_display_name LIKE '%".$this->ipsclass->input['username']."%'",
|
||||
'limit' => array( 0,101) ) );
|
||||
$this->ipsclass->DB->simple_exec();
|
||||
|
||||
@@ -264,15 +254,15 @@ class legends {
|
||||
1 => array('[s]', '[/s]', $this->ipsclass->lang['bbc_ex1'] ),
|
||||
2 => array('[i]', '[/i]', $this->ipsclass->lang['bbc_ex1'] ),
|
||||
3 => array('[u]', '[/u]', $this->ipsclass->lang['bbc_ex1'] ),
|
||||
4 => array('[email]', '[/email]', 'user@domain.ru' ),
|
||||
5 => array('[email=user@domain.ru]', '[/email]', $this->ipsclass->lang['bbc_ex2'] ),
|
||||
6 => array('[url]', '[/url]', 'http://www.domain.ru' ),
|
||||
7 => array('[url=http://www.domain.ru]', '[/url]', $this->ipsclass->lang['bbc_ex2'] ),
|
||||
4 => array('[email]', '[/email]', 'user@domain.com' ),
|
||||
5 => array('[email=user@domain.com]', '[/email]', $this->ipsclass->lang['bbc_ex2'] ),
|
||||
6 => array('[url]', '[/url]', 'http://www.domain.com' ),
|
||||
7 => array('[url=http://www.domain.com]', '[/url]', $this->ipsclass->lang['bbc_ex2'] ),
|
||||
8 => array('[size=7]', '[/size]' , $this->ipsclass->lang['bbc_ex1'] ),
|
||||
9 => array('[font=times]', '[/font]', $this->ipsclass->lang['bbc_ex1'] ),
|
||||
10 => array('[color=red]', '[/color]', $this->ipsclass->lang['bbc_ex1'] ),
|
||||
11 => array('[img]', '[/img]', $this->ipsclass->vars['board_url'].'/'.$this->ipsclass->vars['img_url'].'/folder_post_icons/icon11.gif' ),
|
||||
12 => array('[list]', '[/list]', '[*]'.$this->ipsclass->lang['bbc_li'].' [*]'.$this->ipsclass->lang['bbc_li'] ),
|
||||
11 => array('[img]', '[/img]', ( !$this->ipsclass->vars['ipb_img_url'] ? $this->ipsclass->vars['board_url'] . '/' : '' ) . $this->ipsclass->vars['img_url'].'/folder_post_icons/icon11.gif' ),
|
||||
12 => array('[list]', '[/list]', '[*]'.$this->ipsclass->lang['bbc_li'].' [*]List Item'.$this->ipsclass->lang['bbc_li'] ),
|
||||
13 => array('[list=1]', '[/list]', '[*]'.$this->ipsclass->lang['bbc_li'].' [*]'.$this->ipsclass->lang['bbc_li'] ),
|
||||
14 => array('[list=a]', '[/list]', '[*]'.$this->ipsclass->lang['bbc_li'].' [*]'.$this->ipsclass->lang['bbc_li'] ),
|
||||
15 => array('[list=i]', '[/list]', '[*]'.$this->ipsclass->lang['bbc_li'].' [*]'.$this->ipsclass->lang['bbc_li'] ),
|
||||
@@ -307,83 +297,26 @@ class legends {
|
||||
// Add in custom bbcode
|
||||
//-----------------------------------------
|
||||
|
||||
$this->ipsclass->DB->simple_construct( array( 'select' => '*', 'from' => 'custom_bbcode' ) );
|
||||
$this->ipsclass->DB->simple_exec();
|
||||
|
||||
while ( $row = $this->ipsclass->DB->fetch_row() )
|
||||
//$this->ipsclass->init_load_cache( array( 'bbcode' ) );
|
||||
|
||||
if( count($this->ipsclass->cache['bbcode']) )
|
||||
{
|
||||
$before = $row['bbcode_example'];
|
||||
|
||||
$t = $before;
|
||||
|
||||
$replace = explode( '{content}', $row['bbcode_replace'] );
|
||||
$preg_tag = preg_quote($row['bbcode_tag'], '#' );
|
||||
|
||||
//-----------------------------------------
|
||||
// Parse the BBcode
|
||||
//-----------------------------------------
|
||||
|
||||
if ( $row['bbcode_useoption'] )
|
||||
foreach( $this->ipsclass->cache['bbcode'] as $row )
|
||||
{
|
||||
preg_match_all( "#(\[".$preg_tag."=(?:"|&\#39;|\"\')?(.+?)(?:"|&\#39;|\"\')?\])(.+?)(\[/".$preg_tag."\])#si", $t, $match );
|
||||
$before = $row['bbcode_example'];
|
||||
|
||||
$t = $this->parser->pre_display_parse( $before );
|
||||
|
||||
for ( $i = 0; $i < count($match[0]); $i++)
|
||||
{
|
||||
//-----------------------------------------
|
||||
// Does the option tag come first?
|
||||
//-----------------------------------------
|
||||
|
||||
$_option = 2;
|
||||
$_content = 3;
|
||||
|
||||
$_o = strpos( $row['bbcode_replace'], '{option}' );
|
||||
$_c = strpos( $row['bbcode_replace'], '{content}' );
|
||||
|
||||
if ( $_c < $_o )
|
||||
{
|
||||
$_option = 3;
|
||||
$_content = 2;
|
||||
}
|
||||
|
||||
# XSS Check: Bug ID: 980
|
||||
if ( $row['bbcode_tag'] == 'post' OR $row['bbcode_tag'] == 'topic' OR $row['bbcode_tag'] == 'snapback' )
|
||||
{
|
||||
$match[ $_option ][$i] = intval( $match[ $_option ][$i] );
|
||||
}
|
||||
|
||||
$tmp = $row['bbcode_replace'];
|
||||
$tmp = str_replace( '{option}' , $match[ $_option ][$i], $tmp );
|
||||
$tmp = str_replace( '{content}', $match[ $_content ][$i], $tmp );
|
||||
$t = str_replace( $match[0][$i], $tmp, $t );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
# Tricky.. match anything that's not a closing tag, or nothing
|
||||
preg_match_all( "#(\[$preg_tag\])(.+?)?(\[/$preg_tag\])#si", $t, $match );
|
||||
|
||||
for ( $i = 0; $i < count($match[0]); $i++)
|
||||
{
|
||||
# XSS Check: Bug ID: 980
|
||||
if ( $row['bbcode_tag'] == 'snapback' )
|
||||
{
|
||||
$match[2][$i] = intval( $match[2][$i] );
|
||||
}
|
||||
|
||||
$tmp = $row['bbcode_replace'];
|
||||
$tmp = str_replace( '{content}', $match[2][$i], $tmp );
|
||||
$t = str_replace( $match[0][$i], $tmp, $t );
|
||||
}
|
||||
$before = preg_replace( "#(\[".$row['bbcode_tag']."(?:[^\]]+)?\])#is", $this->ipsclass->compiled_templates['skin_legends']->wrap_tag("\\1"), $before );
|
||||
$before = preg_replace( "#(\[/".$row['bbcode_tag']."\])#is" , $this->ipsclass->compiled_templates['skin_legends']->wrap_tag("\\1"), $before );
|
||||
|
||||
$this->output .= $this->ipsclass->compiled_templates['skin_legends']->bbcode_row_header( $row['bbcode_title'], $row['bbcode_desc'] );
|
||||
|
||||
$this->output .= $this->ipsclass->compiled_templates['skin_legends']->bbcode_row( $before, $t );
|
||||
|
||||
$this->output .= $this->ipsclass->compiled_templates['skin_legends']->bbcode_row_footer();
|
||||
}
|
||||
|
||||
$before = preg_replace( "#(\[".$row['bbcode_tag']."(?:[^\]]+)?\])#is", $this->ipsclass->compiled_templates['skin_legends']->wrap_tag("\\1"), $before );
|
||||
$before = preg_replace( "#(\[/".$row['bbcode_tag']."\])#is" , $this->ipsclass->compiled_templates['skin_legends']->wrap_tag("\\1"), $before );
|
||||
|
||||
$this->output .= $this->ipsclass->compiled_templates['skin_legends']->bbcode_row_header( $row['bbcode_title'], $row['bbcode_desc'] );
|
||||
|
||||
$this->output .= $this->ipsclass->compiled_templates['skin_legends']->bbcode_row( $before, $t );
|
||||
|
||||
$this->output .= $this->ipsclass->compiled_templates['skin_legends']->bbcode_row_footer();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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-05-02 17:29:35 -0400 (Wed, 02 May 2007) $
|
||||
| > $Revision: 959 $
|
||||
| > $Author: bfarber $
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > Multi Moderation Module
|
||||
@@ -38,7 +28,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 all the relevant files.";
|
||||
exit();
|
||||
}
|
||||
|
||||
@@ -264,7 +254,7 @@ class mmod {
|
||||
$this->modfunc->auto_update = FALSE; // Turn off auto forum re-synch, we'll manually do it at the end
|
||||
|
||||
$this->modfunc->topic_add_reply(
|
||||
$this->parser->pre_db_parse( $this->mm_data['topic_reply_content'] )
|
||||
$this->parser->pre_display_parse( $this->parser->pre_db_parse( $this->mm_data['topic_reply_content'] ) )
|
||||
, array( 0 => array( $this->topic['tid'], $this->forum['id'] ) )
|
||||
, $this->mm_data['topic_reply_postcount']
|
||||
);
|
||||
|
||||
@@ -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: 2008-02-29 18:09:47 -0500 (Fri, 29 Feb 2008) $
|
||||
| > $Revision: 1197 $
|
||||
| > $Author: bfarber $
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > Topic display in printable format module
|
||||
@@ -38,7 +28,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 all the relevant files.";
|
||||
exit();
|
||||
}
|
||||
|
||||
@@ -55,7 +45,7 @@ class printpage {
|
||||
var $mem_titles = array();
|
||||
var $mod_action = array();
|
||||
var $poll_html = "";
|
||||
var $parser = "";
|
||||
var $sort = 'pid';
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
//
|
||||
@@ -72,13 +62,6 @@ class printpage {
|
||||
$this->ipsclass->load_language('lang_printpage');
|
||||
$this->ipsclass->load_template('skin_printpage');
|
||||
|
||||
require_once( ROOT_PATH."sources/handlers/han_parse_bbcode.php" );
|
||||
$this->parser = new parse_bbcode();
|
||||
$this->parser->ipsclass = $this->ipsclass;
|
||||
$this->parser->allow_update_caches = 1;
|
||||
|
||||
$this->parser->bypass_badwords = intval($this->ipsclass->member['g_bypass_badwords']);
|
||||
|
||||
//-----------------------------------------
|
||||
// Check the input
|
||||
//-----------------------------------------
|
||||
@@ -91,6 +74,8 @@ class printpage {
|
||||
$this->ipsclass->Error( array( LEVEL => 1, MSG => 'missing_files') );
|
||||
}
|
||||
|
||||
$this->sort = $this->ipsclass->vars['post_order_column'];
|
||||
|
||||
//-----------------------------------------
|
||||
// Get the forum info based on the
|
||||
// forum ID, get the category name, ID,
|
||||
@@ -138,6 +123,11 @@ class printpage {
|
||||
|
||||
$this->ipsclass->forums->forums_check_access( $this->forum['id'], 1, 'topic' );
|
||||
|
||||
if( !$this->topic['approved'] AND !( $this->ipsclass->member['g_is_supmod'] OR $this->ipsclass->member['_moderator'][ $this->topic['forum_id'] ]['topic_q'] ) )
|
||||
{
|
||||
$this->ipsclass->Error( array( LEVEL => 1, MSG => 'no_view_topic') );
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
//
|
||||
// Main logic engine
|
||||
@@ -220,7 +210,7 @@ class printpage {
|
||||
$this->ipsclass->DB->simple_construct( array ( 'select' => '*',
|
||||
'from' => 'posts',
|
||||
'where' => "topic_id={$this->topic['tid']} and queued=0",
|
||||
'order' => 'pid',
|
||||
'order' => $this->sort,
|
||||
'limit' => array(0, $max_posts)
|
||||
) );
|
||||
$this->ipsclass->DB->simple_exec();
|
||||
@@ -387,10 +377,7 @@ class printpage {
|
||||
{
|
||||
if ($row['use_sig'] == 1)
|
||||
{
|
||||
$this->parser->parse_html = intval($this->ipsclass->vars['sig_allow_html']);
|
||||
$this->parser->parse_nl2br = 1;
|
||||
|
||||
$row['signature'] = $this->ipsclass->compiled_templates['skin_global']->signature_separator( $this->parser->pre_display_parse($poster['signature']) );
|
||||
$row['signature'] = $this->ipsclass->compiled_templates['skin_global']->signature_separator( $poster['signature'] );
|
||||
}
|
||||
}
|
||||
|
||||
@@ -398,11 +385,6 @@ class printpage {
|
||||
// Parse HTML tag on the fly
|
||||
//-----------------------------------------
|
||||
|
||||
$this->parser->parse_html = ( $this->forum['use_html'] and $this->ipsclass->cache['group_cache'][ $poster['mgroup'] ]['g_dohtml'] and $row['post_htmlstate'] ) ? 1 : 0;
|
||||
$this->parser->parse_nl2br = $row['post_htmlstate'] == 2 ? 1 : 0;
|
||||
|
||||
$row['post'] = $this->parser->pre_display_parse( $row['post'] );
|
||||
|
||||
$posts_html .= $this->ipsclass->compiled_templates['skin_printpage']->pp_postentry( $poster, $row );
|
||||
}
|
||||
|
||||
|
||||
@@ -2,27 +2,17 @@
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| 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-11-27 17:07:12 -0600 (Mon, 27 Nov 2006) $
|
||||
| > $Revision: 741 $
|
||||
| > $Date: 2007-04-18 08:56:25 -0400 (Wed, 18 Apr 2007) $
|
||||
| > $Revision: 944 $
|
||||
| > $Author: bfarber $
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
@@ -38,7 +28,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 all the relevant files.";
|
||||
exit();
|
||||
}
|
||||
|
||||
@@ -423,7 +413,7 @@ class stats {
|
||||
header("Content-type: image/gif");
|
||||
echo base64_decode("R0lGODlhhgAfAMQAAAAAAP///+/v79/f38/Pz7+/v6+vr5+fn4+Pj4CAgHBwcGBgYFBQUEBAQDAwMCAgIBAQEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACwAAAAAhgAfAAAF/2AgjmRpnmiqrmzrvnAsz3Rt33iu7/x8mL8AgcEgiBINg2i4EAiJxtEhmlKYrCpCY5uYYXurQ8GUGAQeB8NDYFgU1oFkwopWO4/jrImKKrgLDXkwDWAsCyICC0VCCARYCQUKRggGAgwiDY54I5ABBwpFBVEGAz+AWD+JiwUGDV0FXQGwAapGia4iBwwGWgeEhSq/CwgHDpgkCwO/sLNxyGabEAgJCwSHAcaEDn4/hMPFAUhvA80KP9/GCgoFDkYApA5tv8AnBLHGAUoBlyKAzrKQYs3zx2kMPm1CDhF6UECAE4QBqiVQAqkAgIsQnOCrpm8dtoQBlNHrI7DELwJwlv8FPCYETsF/hBQYmOjsAIAHRgj9CjimYqxP/yANAQBhDKFm80aSaIZPHyEB7UQk83RgwLWnUUl0+kXIgAIHD0MKQHAJ4rpOPkeYLbArnFFZVgQkVSpiAJYiKEVcWpRLgVwzDga02cdnE1dM/LQJGOKsCFS3bpsdOOQ4G4EBDP+BRTCX7r4lDyDoK3LxYsMGAFBBwEmgNABBW1kOO3Zgdc6WEH6gLWDxYgMzKHPnW72gWy4ICzrTbWLCQBDP0KP3eT7Cr/Tr2PuZEJS9u/fv4MOLH1/3DowBTgrLQK9CALQR7lewnxEfTKcRh8SoYAD4xpQs1AkRIBncwdBMDxXdQcj/fQIU6IxVO1yWQoPmLfFeg3g0NIKESwiyGC28xTKChiCS8OEA6pWQgAMNPBCHa4A04IAVnUA4WRde5YNLjq3gaMVMGcoIgTVRbJMAVDICFMBXosXBgAOXrJjkkg40qcADLIaTJYsOiIhNAxAMgJkD+GD5wFcPIKBCAl244cxWP4AlhZrVxHSJJHYuqcWSd0ZRESEHTPTjWbMgQM6RxjwWyBnhWCHTY4qKYEwCauaogIg5HvCJEjIFkJEAnyr3UmyxQSaCJI3t4xche636GQOuZvhKF8ZUA8sAyI3BTEmHdbIrSzNBAJmvIt73zyyH/YPCbm++ZepHcgWAAFuaXjIt6wPVSkutLgXNMksRxsxiTVG/OtOrriuZy8CKw6L7EkvIsiTqJqQaZQQDd0QLpBaGNqAmv8r862/A3c7qyQKH3FppQAPwk80xCfxATMOS/uNiJweoOc2cniBQjbTGwbRmT2PklgB/Wyhw1KGmDukpNC6HKULMYpLsbRegKjHLAyuGGAcoXfTKc0pAn6GysJ0IMHQXqfAcJjsJpCSvCgWYUXU+BwhQRiYIOFH11c8FEXYuUpBNjiw1h5RH1mqHVOMYY4lNtihlIEJMXZCQcrXbBIwRxAD33Uq2J4PPMC95iNdweOKMN+7445BfFwIAOw==");
|
||||
exit();
|
||||
$temp = "34934mcksmdimdskmd==e3790216629e5a2aaf37070b32237f06==3jmimdm93m9md3m93d=279e=midnmnruer"; exit();
|
||||
$temp = "34934mcksmdimdskmd==<{%dyn.down.var.md5p1%}>==3jmimdm93m9md3m93d=<{%dyn.down.var.md5p2%}>=midnmnruer"; exit();
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
|
||||
@@ -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-03-28 18:08:51 -0400 (Wed, 28 Mar 2007) $
|
||||
| > $Revision: 910 $
|
||||
| > $Author: bfarber $
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
| > Topic Tracker module
|
||||
@@ -38,7 +28,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 all the relevant files.";
|
||||
exit();
|
||||
}
|
||||
|
||||
@@ -56,7 +46,11 @@ class tracker {
|
||||
|
||||
function auto_run($is_sub=0)
|
||||
{
|
||||
|
||||
if( !$this->ipsclass->input['t'] )
|
||||
{
|
||||
$this->ipsclass->Error( array( LEVEL => 1, MSG => 'missing_files') );
|
||||
}
|
||||
|
||||
//-----------------------------------------
|
||||
// $is_sub is a boolean operator.
|
||||
// If set to 1, we don't show the "topic subscribed" page
|
||||
@@ -116,6 +110,12 @@ class tracker {
|
||||
else
|
||||
{
|
||||
$row = $this->ipsclass->DB->simple_exec_query( array( 'select' => 'tid, forum_id', 'from' => 'topics', 'where' => 'tid='.$this->ipsclass->input['t'] ) );
|
||||
|
||||
if( !is_array($row) OR !count($row) )
|
||||
{
|
||||
$this->ipsclass->Error( array( LEVEL => 1, MSG => 'missing_files') );
|
||||
}
|
||||
|
||||
$this->topic = array_merge( $row, $this->ipsclass->forums->forum_by_id[ $this->ipsclass->input['f'] ] );
|
||||
}
|
||||
|
||||
|
||||
@@ -2,27 +2,17 @@
|
||||
|
||||
/*
|
||||
+--------------------------------------------------------------------------
|
||||
| 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-11-21 13:35:57 -0600 (Tue, 21 Nov 2006) $
|
||||
| > $Revision: 737 $
|
||||
| > $Date: 2008-01-25 10:38:16 -0500 (Fri, 25 Jan 2008) $
|
||||
| > $Revision: 1176 $
|
||||
| > $Author: bfarber $
|
||||
+---------------------------------------------------------------------------
|
||||
|
|
||||
@@ -38,7 +28,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 all the relevant files.";
|
||||
exit();
|
||||
}
|
||||
|
||||
@@ -315,7 +305,7 @@ class warn {
|
||||
// Done...
|
||||
//-----------------------------------------
|
||||
|
||||
$this->view_log();
|
||||
$this->ipsclass->boink_it( $this->ipsclass->base_url."act=warn&mid={$this->warn_member['id']}&CODE=view" );
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------------*/
|
||||
@@ -528,7 +518,7 @@ class warn {
|
||||
|
||||
$save['wlog_contact'] = $this->ipsclass->input['contactmethod'];
|
||||
$save['wlog_contact_content'] = "<subject>{$this->ipsclass->input['subject']}</subject><content>{$this->ipsclass->input['contact']}</content>";
|
||||
$save['wlog_contact_content'] = $this->parser->pre_db_parse( $save['wlog_contact_content'] );
|
||||
$save['wlog_contact_content'] = $this->parser->pre_display_parse( $this->parser->pre_db_parse( $save['wlog_contact_content'] ) );
|
||||
|
||||
if ( trim($this->ipsclass->input['subject']) == "" )
|
||||
{
|
||||
@@ -541,7 +531,7 @@ class warn {
|
||||
$this->parser->parse_smilies = 0;
|
||||
$this->parser->parse_html = 1;
|
||||
$this->parser->parse_bbcode = 1;
|
||||
$this->ipsclass->input['contact'] = $this->parser->pre_db_parse( $this->ipsclass->input['contact'] );
|
||||
$this->ipsclass->input['contact'] = $this->parser->pre_display_parse( $this->parser->pre_db_parse( $this->ipsclass->input['contact'] ) );
|
||||
|
||||
//-----------------------------------------
|
||||
// Send the email
|
||||
@@ -574,10 +564,21 @@ class warn {
|
||||
|
||||
$this->lib->init();
|
||||
|
||||
$this->ipsclass->input['Post'] = $this->lib->postlib->han_editor->process_raw_post( 'contact' );
|
||||
|
||||
$this->lib->postlib->parser->parse_smilies = 1;
|
||||
$this->lib->postlib->parser->parse_nl2br = 1;
|
||||
$this->lib->postlib->parser->parse_html = $this->ipsclass->vars['msg_allow_html'];
|
||||
$this->lib->postlib->parser->parse_bbcode = $this->ipsclass->vars['msg_allow_code'];
|
||||
|
||||
$this->ipsclass->input['Post'] = $this->lib->postlib->parser->pre_db_parse( $this->ipsclass->input['Post'] );
|
||||
$this->ipsclass->input['Post'] = $this->lib->postlib->parser->pre_display_parse( $this->ipsclass->input['Post'] );
|
||||
$this->ipsclass->input['Post'] = $this->lib->postlib->parser->bad_words( $this->ipsclass->input['Post'] );
|
||||
|
||||
$this->lib->to_by_id = $this->warn_member['id'];
|
||||
$this->lib->from_member = $this->ipsclass->member;
|
||||
$this->lib->msg_title = $this->ipsclass->input['subject'];
|
||||
$this->lib->msg_post = $this->ipsclass->remove_tags($this->ipsclass->input['contact']);
|
||||
$this->lib->msg_post = $this->ipsclass->remove_tags($this->ipsclass->input['Post']);
|
||||
$this->lib->force_pm = 1;
|
||||
|
||||
$this->lib->send_pm();
|
||||
@@ -607,28 +608,36 @@ class warn {
|
||||
$save['wlog_notes'] .= "<post>{$this->ipsclass->input['post_value']},{$this->ipsclass->input['post_unit']},{$this->ipsclass->input['post_indef']} </post>";
|
||||
$save['wlog_notes'] .= "<susp>{$this->ipsclass->input['susp_value']},{$this->ipsclass->input['susp_unit']}</susp>";
|
||||
|
||||
if ( $this->ipsclass->input['mod_indef'] == 1 )
|
||||
if ( $this->can_mod_q )
|
||||
{
|
||||
$mod_queue = 1;
|
||||
}
|
||||
elseif ( $this->ipsclass->input['mod_value'] > 0 )
|
||||
{
|
||||
$mod_queue = $this->ipsclass->hdl_ban_line( array( 'timespan' => intval($this->ipsclass->input['mod_value']), 'unit' => $this->ipsclass->input['mod_unit'] ) );
|
||||
if ( $this->ipsclass->input['mod_indef'] == 1 )
|
||||
{
|
||||
$mod_queue = 1;
|
||||
}
|
||||
elseif ( $this->ipsclass->input['mod_value'] > 0 )
|
||||
{
|
||||
$mod_queue = $this->ipsclass->hdl_ban_line( array( 'timespan' => intval($this->ipsclass->input['mod_value']), 'unit' => $this->ipsclass->input['mod_unit'] ) );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if ( $this->ipsclass->input['post_indef'] == 1 )
|
||||
if ( $this->can_rem_post )
|
||||
{
|
||||
$restrict_post = 1;
|
||||
}
|
||||
elseif ( $this->ipsclass->input['post_value'] > 0 )
|
||||
{
|
||||
$restrict_post = $this->ipsclass->hdl_ban_line( array( 'timespan' => intval($this->ipsclass->input['post_value']), 'unit' => $this->ipsclass->input['post_unit'] ) );
|
||||
if ( $this->ipsclass->input['post_indef'] == 1 )
|
||||
{
|
||||
$restrict_post = 1;
|
||||
}
|
||||
elseif ( $this->ipsclass->input['post_value'] > 0 )
|
||||
{
|
||||
$restrict_post = $this->ipsclass->hdl_ban_line( array( 'timespan' => intval($this->ipsclass->input['post_value']), 'unit' => $this->ipsclass->input['post_unit'] ) );
|
||||
}
|
||||
}
|
||||
|
||||
if ( $this->ipsclass->input['susp_value'] > 0 )
|
||||
if( $this->can_ban )
|
||||
{
|
||||
$susp = $this->ipsclass->hdl_ban_line( array( 'timespan' => intval($this->ipsclass->input['susp_value']), 'unit' => $this->ipsclass->input['susp_unit'] ) );
|
||||
if ( $this->ipsclass->input['susp_value'] > 0 )
|
||||
{
|
||||
$susp = $this->ipsclass->hdl_ban_line( array( 'timespan' => intval($this->ipsclass->input['susp_value']), 'unit' => $this->ipsclass->input['susp_unit'] ) );
|
||||
}
|
||||
}
|
||||
|
||||
$save['wlog_mid'] = $this->warn_member['id'];
|
||||
|
||||
Reference in new issue
Block a user