все раскодировал полностью кому на да держите могу дальше раскодировать весь его позже выложу все его тут.
полная раскодировка engine/board/board.php
меняем на свой сайт примерна на 212 строке так:
define( "BOARD_DOMAIN", "пример google.ru" );
<?php
class Board
{
private static $registry = array( );
protected $db = NULL;
protected $cat = array( );
protected $con = array( );
protected $fle = "";
protected $xfl = array( );
public function __construct( )
{
global $db;
global $PHP_SELF;
$this->db =& $db;
$this->fle =& $PHP_SELF;
$this->cat =& Board::load_class( "data" )->category;
$this->con =& Board::load_class( "data" )->config;
$this->xfl =& Board::load_class( "data" )->xfields;
}
public static function guard( )
{
if ( preg_match( "#(".BOARD_DOMAIN."|localhost)#i", $_SERVER['HTTP_HOST'] ) )
{
return TRUE;
}
return FALSE;
}
protected function get_cache( )
{
$this->cat = get_vars( "board_category" );
if ( !is_array( $this->cat ) )
{
$_obfuscate_n_YQi_pLvwяя = $this->db->query( "SELECT * FROM ".PREFIX."_board_category ORDER BY cat_posi ASC" );
while ( $_obfuscate_gkt = $this->db->get_row( $_obfuscate_n_YQi_pLvwяя ) )
{
$this->cat[$_obfuscate_gkt['cat_id']] = $_obfuscate_gkt;
}
set_vars( "board_category", $this->cat );
$this->db->free( );
}
$this->xfl = get_vars( "board_xfields" );
if ( !is_array( $this->xfl ) )
{
$_obfuscate_EzBWrfJhAяя = $this->db->query( "SELECT * FROM ".PREFIX."_board_xfields ORDER BY x_posi ASC" );
while ( $_obfuscate_gkt = $this->db->get_row( $_obfuscate_EzBWrfJhAяя ) )
{
$this->xfl[$_obfuscate_gkt['x_id']] = $_obfuscate_gkt;
}
set_vars( "board_xfields", $this->xfl );
$this->db->free( );
}
}
protected function del_cache( $_obfuscate_TAxu = "" )
{
if ( $_obfuscate_TAxu == "" )
{
if ( file_exists( ENGINE_DIR."/cache/system/board_category.php" ) )
{
@unlink( ENGINE_DIR."/cache/system/board_category.php" );
}
if ( file_exists( ENGINE_DIR."/cache/system/board_config.php" ) )
{
@unlink( ENGINE_DIR."/cache/system/board_config.php" );
}
if ( file_exists( ENGINE_DIR."/cache/system/board_xfield.php" ) )
{
@unlink( ENGINE_DIR."/cache/system/board_xfield.php" );
}
}
else
{
if ( $_obfuscate_TAxu == "cat" && file_exists( ENGINE_DIR."/cache/system/board_category.php" ) )
{
@unlink( ENGINE_DIR."/cache/system/board_category.php" );
}
if ( $_obfuscate_TAxu == "con" && file_exists( ENGINE_DIR."/cache/system/board_config.php" ) )
{
@unlink( ENGINE_DIR."/cache/system/board_config.php" );
}
if ( $_obfuscate_TAxu == "xfl" && file_exists( ENGINE_DIR."/cache/system/board_xfields.php" ) )
{
@unlink( ENGINE_DIR."/cache/system/board_xfields.php" );
}
}
}
public static function load_class( $name )
{
$name = strtolower( $name );
if ( self::$registry[$name] )
{
return self::$registry[$name];
}
if ( file_exists( BOARD."/classes/".ucfirst( $name ).".php" ) )
{
include_once( BOARD."/classes/".ucfirst( $name ).".php" );
$class_name = "Board_".ucfirst( $name );
self::$registry[$name] = new $class_name( );
return self::$registry[$name];
}
exit( "Файл engine/board/classes/".ucfirst( $name ).".php не существует!" );
}
public static function load( $class, $folrer, $array = "" )
{
if ( self::$registry[$class] )
{
return self::$registry[$class];
}
if ( file_exists( ENGINE_DIR."/board/".$folrer."/".$class.".php" ) )
{
include_once( ENGINE_DIR."/board/".$folrer."/".$class.".php" );
( $array );
self::$registry[$class] = new $class( );
return self::$registry[$class];
}
return FALSE;
}
protected function count_cat( $_obfuscate_0W8я, $_obfuscate_gftfagwя )
{
foreach ( $this->cat as $_obfuscate_sxaG )
{
if ( $_obfuscate_sxaG['cat_parent'] == $_obfuscate_0W8я )
{
$_obfuscate_gftfagwя += $_obfuscate_sxaG['cat_count'];
$this->count_cat( $_obfuscate_sxaG['cat_id'], $_obfuscate_gftfagwя );
}
}
return $_obfuscate_gftfagwя;
}
protected function cats_ids( $_obfuscate_0W8я, $_obfuscate_a1O1Uwяя = "" )
{
foreach ( $this->cat as $_obfuscate_sxaG )
{
if ( $_obfuscate_sxaG['cat_parent'] == $_obfuscate_0W8я )
{
$_obfuscate_a1O1Uwяя[] = $_obfuscate_sxaG['cat_id'];
$_obfuscate_a1O1Uwяя = $this->cats_ids( $_obfuscate_sxaG['cat_id'], $_obfuscate_a1O1Uwяя );
}
}
return $_obfuscate_a1O1Uwяя;
}
protected function refresh_category( )
{
$_obfuscate_3y0Y = $this->db->query( "SELECT cat_id FROM ".PREFIX."_board_category" );
while ( $_obfuscate_gkt = $this->db->get_row( $_obfuscate_3y0Y ) )
{
$_obfuscate_gftfagwя = $this->db->super_query( "SELECT COUNT(*) as count FROM ".PREFIX."_board_bulletins WHERE bul_cat = '".$_obfuscate_gkt['cat_id']."' AND bul_status = '1'" );
$this->db->query( "UPDATE ".PREFIX."_board_category SET cat_count = '".$_obfuscate_gftfagwя['count']."' WHERE cat_id = '".$_obfuscate_gkt['cat_id']."'" );
}
$this->db->free( );
$this->del_cache( "cat" );
return TRUE;
}
protected function uslug_name( $_obfuscate_0W8я )
{
$_obfuscate_uJTPqNUo = array( );
$_obfuscate_uJTPqNUo[1] = $this->lng['35'];
$_obfuscate_uJTPqNUo[2] = $this->lng['36'];
$_obfuscate_uJTPqNUo[3] = $this->lng['37'];
if ( $_obfuscate_0W8я == 1 || $_obfuscate_0W8я == 2 || $_obfuscate_0W8я == 3 )
{
return $_obfuscate_uJTPqNUo[$_obfuscate_0W8я];
}
return FALSE;
}
protected function word_wrap( $_obfuscate_xyiNieq6 )
{
$_obfuscate_xyiNieq6 = preg_split( "((>)|(<))", $_obfuscate_xyiNieq6, -1, PREG_SPLIT_DELIM_CAPTURE );
$_obfuscate_FQяя = count( $_obfuscate_xyiNieq6 );
$_obfuscate_7wяя = 0;
for ( ; $_obfuscate_7wяя < $_obfuscate_FQяя; ++$_obfuscate_7wяя )
{
if ( $_obfuscate_xyiNieq6[$_obfuscate_7wяя] == "<" )
{
++$_obfuscate_7wяя;
}
else
{
$_obfuscate_xyiNieq6[$_obfuscate_7wяя] = preg_replace( "#([^\\s\n\r]{30})#i", "\\1 ", $_obfuscate_xyiNieq6[$_obfuscate_7wяя] );
}
}
return implode( "", $_obfuscate_xyiNieq6 );
}
protected function safesql2( $_obfuscate_xyiNieq6 )
{
$_obfuscate_xyiNieq6 = stripslashes( $_obfuscate_xyiNieq6 );
$_obfuscate_xyiNieq6 = addslashes( $_obfuscate_xyiNieq6 );
return $_obfuscate_xyiNieq6;
}
}
if ( !defined( "DATALIFEENGINE" ) )
{
exit( "Hacking attempt!" );
}
define( "BOARD", ENGINE_DIR."/board" );
define( "BOARD_DOMAIN", "пример google.ru" );
if ( !isset( $_REQUEST['do'] ) && $_REQUEST['do'] == "board" || isset( $_REQUEST['mod'] ) && $_REQUEST['mod'] == "board" )
{
$board_config =& Board::load_class( "data" )->config;
$dir = $_REQUEST['mod'] == "board" ? "admin" : "site";
include_once( BOARD."/".$dir."/".$dir.".php" );
if ( $_REQUEST['action'] == "sort" )
{
if ( isset( $_POST['from'], $_POST['type'] ) && preg_match( "#^(start|rate|shows|theme)\$#i", $_POST['from'] ) && preg_match( "#^(asc|desc)\$#", $_POST['type'] ) )
{
unset( $_SESSION['dle_board_sort'] );
$_SESSION['dle_board_sort'][$_POST['from']] = $_POST['type'];
}
header( "Location: ".$_SERVER['HTTP_REFERER'] );
}
else
{
$action = isset( $_REQUEST['action'] ) ? $_REQUEST['action'] : "main";
}
$method = isset( $_REQUEST['go'] ) ? $_REQUEST['go'] : "show";
$class_name = "Board_".ucfirst( $dir )."_".ucfirst( $action );
include_once( BOARD."/".$dir."/".$action.".php" );
$object = new $class_name( );
$mata_board = $object->$method( );
}
?>
можете помочь не могу понять когда я хочу добавить обевления то там на страницы пустота нет текста
.