Тема: проблема с куки

проблема с сайтом
на дле, не берут в сапу, так как говорят, что не
указан куки домена, сайт: dim-kino.com Ответ сервера:
Set-Cookie:
PHPSESSID=a39e538b31a85ca0e6632f280075f4b6;
path=/; domain=.dim-kino.com; HttpOnly
Set-Cookie: dle_user_id=deleted; expires=Thu,
01-Jan-1970 00:00:01 GMT; path=/; domain=0com; httponly
Set-Cookie: dle_password=deleted; expires=Thu,
01-Jan-1970 00:00:01 GMT; path=/;
domain=0com; httponly
Set-Cookie: dle_hash=deleted; expires=Thu, 01-
Jan-1970 00:00:01 GMT; path=/; domain=0com; httponly Домен не верный, заказал на сервере
обновление пчп, обновили до последней
версии, но домн все равно не прописался (хотя
в настройках движка прописан), до обновление
пчп, домена вообще никакого не стояло,
спросил поддержку сервака, ответили: Здравствуйте. В заголовках которые вы показали, веб-сайт
передает какието "куки". Эти куки генерируются
на сервере самими скриптами, если при
генерации "кук" скрипт не указывает доменное
имя явно, тогда используется доменное имя из
переменной веб-окружения _SERVER ["HTTP_HOST"], которая содержит доменное
имя сайта. Более подробно о генерации кук php
скриптами вы можете прочитать тут:
http://php.net/manual/ru/function.setcookie.php Таким образом, ваши скрипты указывают
"0com" явно.

2

Re: проблема с куки

в основных настройках движка во вкладке Посетители есть пункт "Авторизовать пользователей на домене и всех его поддоменах"  там стоит Да ?  если нет, то поставьте Да smile

Проверьте работу $_SERVER['HTTP_HOST'];
ну к примеру в index.php после

define ( 'DATALIFEENGINE', true );

пропишите

echo $_SERVER['HTTP_HOST'];

и посмотрите что выведет на сайте в самом верху страницы, потом уберите вывод.

покажите что в вашем functions.php

Re: проблема с куки

Стояло нет - я поставил да.
Выдает: dim-kino.com  (мой домен)
Мой functions.php приложил в файле и тут в коде...
Надеюсь только на Вашу помощь, так как уже пол года никто не может мне помочь...

<?PHP
/*
=====================================================
 DataLife Engine - by SoftNews Media Group 
-----------------------------------------------------
 http://dle-news.ru/
-----------------------------------------------------
 Copyright (c) 2004,2013 SoftNews Media Group
=====================================================
 Данный код защищен авторскими правами
=====================================================
 Файл: functions.php
-----------------------------------------------------
 Назначение: Основные функции
=====================================================
*/
if( ! defined( 'DATALIFEENGINE' ) ) {
    die( "Hacking attempt!" );
}

if ( $config['auth_domain'] ) {

    $domain_cookie = explode (".", clean_url( $_SERVER['HTTP_HOST'] ));
    $domain_cookie_count = count($domain_cookie);
    $domain_allow_count = -2;
    
    if ( $domain_cookie_count > 2 ) {
    
        if ( in_array($domain_cookie[$domain_cookie_count-2], array('com', 'net', 'org') )) $domain_allow_count = -3;
        if ( $domain_cookie[$domain_cookie_count-1] == 'ua' ) $domain_allow_count = -3;
        $domain_cookie = array_slice($domain_cookie, $domain_allow_count);
    }
    
    $domain_cookie = "." . implode (".", $domain_cookie);
    
    if( (ip2long($_SERVER['HTTP_HOST']) == -1 OR ip2long($_SERVER['HTTP_HOST']) === FALSE) AND strtoupper(substr(PHP_OS, 0, 3)) !== 'WIN' ) define( 'DOMAIN', $domain_cookie );
    else define( 'DOMAIN', null );

} else define( 'DOMAIN', null );

$mcache = false;

if ( $config['cache_type'] ) {

    if ( function_exists('memcache_connect') ) {

        $memcache_server = explode(":", $config['memcache_server']);

        $mcache = @memcache_connect( $memcache_server[0], $memcache_server[1] );

        if( $mcache AND function_exists('memcache_set_compress_threshold') )
        {
            memcache_set_compress_threshold( $mcache, 20000, 0.2 );
        }

    }

}

function dle_session( $sid = false ) {

    $params = session_get_cookie_params();

    if ( DOMAIN ) $params['domain'] = DOMAIN;

    if( version_compare(PHP_VERSION, '5.2', '<') ) {
        
        session_set_cookie_params($params['lifetime'], "/", $params['domain']."; HttpOnly", $params['secure']);
    
    } else {
        
        session_set_cookie_params($params['lifetime'], "/", $params['domain'], $params['secure'], true);
    
    }

    if ( $sid ) @session_id( $sid );

    @session_start();

}

function formatsize($file_size) {
    if( $file_size >= 1073741824 ) {
        $file_size = round( $file_size / 1073741824 * 100 ) / 100 . " Gb";
    } elseif( $file_size >= 1048576 ) {
        $file_size = round( $file_size / 1048576 * 100 ) / 100 . " Mb";
    } elseif( $file_size >= 1024 ) {
        $file_size = round( $file_size / 1024 * 100 ) / 100 . " Kb";
    } else {
        $file_size = $file_size . " b";
    }
    return $file_size;
}

class microTimer {
    function start() {
        global $starttime;
        $mtime = microtime();
        $mtime = explode( ' ', $mtime );
        $mtime = $mtime[1] + $mtime[0];
        $starttime = $mtime;
    }
    function stop() {
        global $starttime;
        $mtime = microtime();
        $mtime = explode( ' ', $mtime );
        $mtime = $mtime[1] + $mtime[0];
        $endtime = $mtime;
        $totaltime = round( ($endtime - $starttime), 5 );
        return $totaltime;
    }
}

function flooder($ip, $news_time = false) {
    global $config, $db;
    
    if ( $news_time ) {

        $this_time = time() + ($config['date_adjust'] * 60) - $news_time;
        $db->query( "DELETE FROM " . PREFIX . "_flood where id < '$this_time' AND flag='1' " );
        
        $row = $db->super_query("SELECT COUNT(*) as count FROM " . PREFIX . "_flood WHERE ip = '$ip' AND flag='1'");
        
        if( $row['count'] ) return TRUE;
        else return FALSE;

    } else {

        $this_time = time() + ($config['date_adjust'] * 60) - $config['flood_time'];
        $db->query( "DELETE FROM " . PREFIX . "_flood where id < '$this_time' AND flag='0' " );
        
        $row = $db->super_query("SELECT COUNT(*) as count FROM " . PREFIX . "_flood WHERE ip = '$ip' AND flag='0'");
        
        if( $row['count'] ) return TRUE;
        else return FALSE;

    }

}

function totranslit($var, $lower = true, $punkt = true) {
    global $langtranslit;
    
    if ( is_array($var) ) return "";

    if (!is_array ( $langtranslit ) OR !count( $langtranslit ) ) {
        $var = trim( strip_tags( $var ) );

        if ( $punkt ) $var = preg_replace( "/[^a-z0-9\_\-.]+/mi", "", $var );
        else $var = preg_replace( "/[^a-z0-9\_\-]+/mi", "", $var );

        $var = preg_replace( '#[.]+#i', '.', $var );
        $var = str_ireplace( ".php", ".ppp", $var );

        if ( $lower ) $var = strtolower( $var );

        return $var;
    }
    
    $var = trim( strip_tags( $var ) );
    $var = preg_replace( "/\s+/ms", "-", $var );
    $var = str_replace( "/", "-", $var );

    $var = strtr($var, $langtranslit);
    
    if ( $punkt ) $var = preg_replace( "/[^a-z0-9\_\-.]+/mi", "", $var );
    else $var = preg_replace( "/[^a-z0-9\_\-]+/mi", "", $var );

    $var = preg_replace( '#[\-]+#i', '-', $var );
    $var = preg_replace( '#[.]+#i', '.', $var );

    if ( $lower ) $var = strtolower( $var );

    $var = str_ireplace( ".php", "", $var );
    $var = str_ireplace( ".php", ".ppp", $var );

    if( strlen( $var ) > 200 ) {
        
        $var = substr( $var, 0, 200 );
        
        if( ($temp_max = strrpos( $var, '-' )) ) $var = substr( $var, 0, $temp_max );
    
    }
    
    return $var;
}

function langdate($format, $stamp) {
    global $langdate;
    
    return strtr( @date( $format, $stamp ), $langdate );

}

function msgbox($title, $text) {
    global $tpl;

    if (!class_exists('dle_template')) {
        return;
    }
    
    $tpl_2 = new dle_template( );
    $tpl_2->dir = TEMPLATE_DIR;
    
    $tpl_2->load_template( 'info.tpl' );
    
    $tpl_2->set( '{error}', $text );
    $tpl_2->set( '{title}', $title );
    
    $tpl_2->compile( 'info' );
    $tpl_2->clear();
    
    $tpl->result['info'] .= $tpl_2->result['info'];
}

function ShowRating($id, $rating, $vote_num, $allow = true) {
    global $lang;
    
    if( $rating AND $vote_num ) $rating = round( ($rating / $vote_num), 0 );
    else $rating = 0;
    $rating = $rating * 17;
    
    if( !$allow ) {
        
        $rated = <<<HTML
<div class="rating">
        <ul class="unit-rating">
        <li class="current-rating" style="width:{$rating}px;">{$rating}</li>
        </ul>
</div>
HTML;
        
        return $rated;
    }
    
    $rated = <<<HTML
<div id='ratig-layer-{$id}'><div class="rating">
        <ul class="unit-rating">
        <li class="current-rating" style="width:{$rating}px;">{$rating}</li>
        <li><a href="#" title="{$lang['useless']}" class="r1-unit" onclick="doRate('1', '{$id}'); return false;">1</a></li>
        <li><a href="#" title="{$lang['poor']}" class="r2-unit" onclick="doRate('2', '{$id}'); return false;">2</a></li>
        <li><a href="#" title="{$lang['fair']}" class="r3-unit" onclick="doRate('3', '{$id}'); return false;">3</a></li>
        <li><a href="#" title="{$lang['good']}" class="r4-unit" onclick="doRate('4', '{$id}'); return false;">4</a></li>
        <li><a href="#" title="{$lang['excellent']}" class="r5-unit" onclick="doRate('5', '{$id}'); return false;">5</a></li>
        </ul>
</div></div>
HTML;
    
    return $rated;
}

function userrating($id) {
    global $db;
    
    $row = $db->super_query( "SELECT SUM(rating) as rating, SUM(vote_num) as num FROM " . PREFIX . "_post_extras WHERE user_id ='{$id}'" );
    
    if( $row['num'] ) $rating = round( ($row['rating'] / $row['num']), 0 );
    else $rating = 0;

    $rating = $rating * 17;
    
    $rated = <<<HTML
<div class="rating" style="display:inline;">
        <ul class="unit-rating">
        <li class="current-rating" style="width:{$rating}px;">{$rating}</li>
        </ul>
        </div>
HTML;
    
    return $rated;
}

function CategoryNewsSelection($categoryid = 0, $parentid = 0, $nocat = TRUE, $sublevelmarker = '', $returnstring = '') {
    global $cat_info, $user_group, $member_id, $dle_module;

    if ($dle_module == 'addnews') $allow_list = explode( ',', $user_group[$member_id['user_group']]['cat_allow_addnews'] );
    else $allow_list = explode( ',', $user_group[$member_id['user_group']]['allow_cats'] );

    $spec_list = explode( ',', $user_group[$member_id['user_group']]['cat_add'] );

    $root_category = array ();
    
    if( $parentid == 0 ) {
        if( $nocat ) $returnstring .= '<option value="0"></option>';
    } else {
        $sublevelmarker .= '&nbsp;&nbsp;&nbsp;';
    }
    
    if( count( $cat_info ) ) {
        
        foreach ( $cat_info as $cats ) {
            if( $cats['parentid'] == $parentid ) $root_category[] = $cats['id'];
        }
        
        if( count( $root_category ) ) {
            foreach ( $root_category as $id ) {
                
                if( $allow_list[0] == "all" OR in_array( $id, $allow_list ) ) {
                    
                    if( $spec_list[0] == "all" or in_array( $id, $spec_list ) ) $color = "black";
                    else $color = "red";
                    
                    $returnstring .= "<option style=\"color: {$color}\" value=\"" . $id . '" ';
                    
                    if( is_array( $categoryid ) ) {
                        foreach ( $categoryid as $element ) {
                            if( $element == $id ) $returnstring .= 'SELECTED';
                        }
                    } elseif( $categoryid == $id ) $returnstring .= 'SELECTED';
                    
                    $returnstring .= '>' . $sublevelmarker . $cat_info[$id]['name'] . '</option>';
                }
                $returnstring = CategoryNewsSelection( $categoryid, $id, $nocat, $sublevelmarker, $returnstring );
            }
        }
    }
    return $returnstring;
}

function get_ID($cat_info, $category) {
    foreach ( $cat_info as $cats ) {
        if( $cats['alt_name'] == $category ) return $cats['id'];
    }
    return false;
}

function set_vars($file, $data) {
    
    $fp = fopen( ENGINE_DIR . '/cache/system/' . $file . '.php', 'wb+' );
    fwrite( $fp, serialize( $data ) );
    fclose( $fp );
    
    @chmod( ENGINE_DIR . '/cache/system/' . $file . '.php', 0666 );
}

function get_vars($file) {
    
    return unserialize( @file_get_contents( ENGINE_DIR . '/cache/system/' . $file . '.php' ) );
}

function filesize_url($url) {
    return ($data = @file_get_contents( $url )) ? strlen( $data ) : false;
}

function dle_cache($prefix, $cache_id = false, $member_prefix = false) {
    global $config, $is_logged, $member_id, $mcache;
    
    if( $config['allow_cache'] != "yes" ) return false;
    
    if( $is_logged ) $end_file = $member_id['user_group'];
    else $end_file = "0";
    
    if( ! $cache_id ) {
        
        $key = $prefix;
    
    } else {
        
        $cache_id = md5( $cache_id );
        
        if( $member_prefix ) $key = $prefix . "_" . $cache_id . "_" . $end_file;
        else $key = $prefix . "_" . $cache_id;
    
    }

    if ( $mcache ) {

        return memcache_get( $mcache, md5( DBNAME . PREFIX . md5(DBUSER) .$key ) );

    } else {

        return @file_get_contents( ENGINE_DIR . "/cache/" . $key . ".tmp" );

    }
}

function create_cache($prefix, $cache_text, $cache_id = false, $member_prefix = false) {
    global $config, $is_logged, $member_id, $mcache;
    
    if( $config['allow_cache'] != "yes" ) return false;
    
    if( $is_logged ) $end_file = $member_id['user_group'];
    else $end_file = "0";
    
    if( ! $cache_id ) {
        $key = $prefix;
    } else {
        $cache_id = md5( $cache_id );
        
        if( $member_prefix ) $key = $prefix . "_" . $cache_id . "_" . $end_file;
        else $key = $prefix . "_" . $cache_id;
    
    }
    

    if ( $mcache ) {

        memcache_set( $mcache, md5( DBNAME . PREFIX . md5(DBUSER) .$key ), $cache_text, MEMCACHE_COMPRESSED, 86400 );

    } else {

        file_put_contents (ENGINE_DIR . "/cache/" . $key . ".tmp", $cache_text, LOCK_EX);
        
        @chmod( ENGINE_DIR . "/cache/" . $key . ".tmp", 0666 );
    }
}

function clear_cache($cache_areas = false) {
    global $mcache;

    if ( $mcache ) {

        memcache_flush($mcache);

    }

    if ( $cache_areas ) {
        if(!is_array($cache_areas)) {
            $cache_areas = array($cache_areas);
        }
    }
        
    $fdir = opendir( ENGINE_DIR . '/cache' );
        
    while ( $file = readdir( $fdir ) ) {
        if( $file != '.' and $file != '..' and $file != '.htaccess' and $file != 'system' ) {
            
            if( $cache_areas ) {
                
                foreach($cache_areas as $cache_area) if( strpos( $file, $cache_area ) !== false ) @unlink( ENGINE_DIR . '/cache/' . $file );
            
            } else {
                
                @unlink( ENGINE_DIR . '/cache/' . $file );
            
            }
        }
    }

}

function ChangeSkin($dir, $skin) {
    
    $templates_list = array ();
    
    $handle = opendir( $dir );
    
    while ( false !== ($file = readdir( $handle )) ) {
        if( @is_dir( "./templates/$file" ) and ($file != "." AND $file != ".." AND $file != "smartphone") ) {
            $templates_list[] = $file;
        }
    }
    
    closedir( $handle );
    sort($templates_list);
    
    $skin_list = "<form method=\"post\" action=\"\"><select onchange=\"submit()\" name=\"skin_name\">";
    
    foreach ( $templates_list as $single_template ) {
        if( $single_template == $skin ) $selected = " selected=\"selected\"";
        else $selected = "";
        $skin_list .= "<option value=\"$single_template\"" . $selected . ">$single_template</option>";
    }
    
    $skin_list .= '</select><input type="hidden" name="action_skin_change" value="yes" /></form>';
    
    return $skin_list;
}

function custom_print( $matches=array() ) {
    global $db, $is_logged, $member_id, $xf_inited, $cat_info, $config, $user_group, $category_id, $_TIME, $lang, $smartphone_detected, $dle_module, $allow_comments_ajax, $PHP_SELF;

    if ( !count($matches) ) return "";
    $param_str = trim($matches[1]);

    $aviable = array();
    $thisdate = date( "Y-m-d H:i:s", $_TIME );
    $sql_select = "SELECT p.id, p.autor, p.date, p.short_story, CHAR_LENGTH(p.full_story) as full_story, p.xfields, p.title, p.category, p.alt_name, p.comm_num, p.allow_comm, p.fixed, p.tags, e.news_read, e.allow_rate, e.rating, e.vote_num, e.votes, e.view_edit, e.editdate, e.editor, e.reason FROM " . PREFIX . "_post p LEFT JOIN " . PREFIX . "_post_extras e ON (p.id=e.news_id)";
    $where = array();
    $allow_cache = $config['allow_cache'];

    if( preg_match( "#aviable=['\"](.+?)['\"]#i", $param_str, $match ) ) {
        $aviable = explode( '|', $match[1] );
    } else $aviable[] = "global";

    $do = $dle_module ? $dle_module : "main";

    if( ! (in_array( $do, $aviable )) and ($aviable[0] != "global") ) return "";

    if( preg_match( "#id=['\"](.+?)['\"]#i", $param_str, $match ) ) {
        $custom_id = str_replace( ',', "','", $db->safesql( trim($match[1]) ) );
        $where[] = "id IN ('" . $custom_id . "')";
    }

    $allow_list = explode( ',', $user_group[$member_id['user_group']]['allow_cats'] );
    
    if( $allow_list[0] != "all" AND !$user_group[$member_id['user_group']]['allow_short'] ) {

        if( $config['allow_multi_category'] ) {
                
            $where[] = "category regexp '[[:<:]](" . implode( '|', $allow_list ) . ")[[:>:]]'";
            
        } else {
                
            $where[] = "category IN ('" . implode( "','", $allow_list ) . "')";
            
        }
    
    }

    if( preg_match( "#category=['\"](.+?)['\"]#i", $param_str, $match ) ) {

        $custom_category = $db->safesql( trim(str_replace( ',', '|', $match[1] )) );

        if( $config['allow_multi_category'] ) {
            
            $where[] = "category regexp '[[:<:]](" . $custom_category . ")[[:>:]]'";
        
        } else {
            
            $custom_category = str_replace( "|", "','", $custom_category );
            $where[] = "category IN ('" . $custom_category . "')";
        
        }
    }

    if( preg_match( "#days=['\"](.+?)['\"]#i", $param_str, $match ) ) {
        $days = intval(trim($match[1]));
        $where[] = "p.date >= '{$thisdate}' - INTERVAL {$days} DAY AND p.date < '{$thisdate}'";
    } else $days = 0;

    if( preg_match( "#author=['\"](.+?)['\"]#i", $param_str, $match ) ) {
        $author = $db->safesql(trim($match[1]));
        $where[] = "p.autor like '{$author}'";
    } else $author = "";

    $where[] = "approve=1";

    if( $config['no_date'] AND !$config['news_future'] AND !$days) $where[] = "date < '" . $thisdate . "'";

    if( preg_match( "#template=['\"](.+?)['\"]#i", $param_str, $match ) ) {
        $custom_template = trim($match[1]);
    } else $custom_template = "shortstory";

    if( preg_match( "#from=['\"](.+?)['\"]#i", $param_str, $match ) ) {
        $custom_from = intval($match[1]);
    } else $custom_from = 0;

    if( preg_match( "#limit=['\"](.+?)['\"]#i", $param_str, $match ) ) {
        $custom_limit = intval($match[1]);
    } else $custom_limit = $config['news_number'];

    if( preg_match( "#cache=['\"](.+?)['\"]#i", $param_str, $match ) ) {
        if( $match[1] == "yes" ) $config['allow_cache'] = "yes";
        else $config['allow_cache'] = false;
    }

    if( preg_match( "#fixed=['\"](.+?)['\"]#i", $param_str, $match ) ) {
        if( $match[1] == "yes" ) $fixed = "fixed DESC, ";
        else $fixed = "";
    } else $fixed = "";

    if( $is_logged and ($user_group[$member_id['user_group']]['allow_edit'] and ! $user_group[$member_id['user_group']]['allow_all_edit']) ) $config['allow_cache'] = false;

    if( $cat_info[$custom_category]['news_sort'] != "" ) $news_sort = $cat_info[$custom_category]['news_sort']; else $news_sort = $config['news_sort'];
    if( $cat_info[$custom_category]['news_msort'] != "" ) $news_msort = $cat_info[$custom_category]['news_msort']; else $news_msort = $config['news_msort'];

    if( preg_match( "#order=['\"](.+?)['\"]#i", $param_str, $match ) ) {
        $allowed_sort = array ('date' => 'date', 'rating' => 'rating', 'reads' => 'news_read', 'comments' => 'comm_num','title' => 'title', 'rand' => 'RAND()' );

        if ( $allowed_sort[$match[1]] ) $news_sort = $allowed_sort[$match[1]];

        if ($match[1] == "rand" ) { $fixed = ""; $news_msort = ""; } else $news_msort = "DESC";
        if ($match[1] == "title" ) $news_msort = "ASC";
    }

    $sql_select .= " WHERE ".implode(' AND ', $where)." ORDER BY " . $fixed . $news_sort . " " . $news_msort . " LIMIT " . $custom_from . "," . $custom_limit;

    $custom_cache_id = $custom_id.$custom_category.$user_group[$member_id['user_group']]['allow_cats'].$custom_from.$custom_limit.$news_sort.$news_msort.$custom_template.$days.$author;

    $content = dle_cache( "news", $custom_cache_id, true );
    
    if( $content !== false ) {
        $config['allow_cache'] = $allow_cache;
        return $content;
    } else {

        $tpl = new dle_template();
        $tpl->dir = TEMPLATE_DIR;                
        
        include (ENGINE_DIR . '/modules/show.custom.php');
        
        if( $config['files_allow'] == "yes" ) if( strpos( $tpl->result['content'], "[attachment=" ) !== false ) {
            $tpl->result['content'] = show_attach( $tpl->result['content'], $attachments );
        }
        
        create_cache( "news", $tpl->result['content'], $custom_cache_id, true );
        $config['allow_cache'] = $allow_cache;
        return $tpl->result['content'];
    
    }

}

function check_ip($ips) {
    
    $_IP = $_SERVER['REMOTE_ADDR'];
    
    $blockip = FALSE;
    
    if( is_array( $ips ) ) {
        foreach ( $ips as $ip_line ) {
            
            $ip_arr = rtrim( $ip_line['ip'] );
            
            $ip_check_matches = 0;
            $db_ip_split = explode( ".", $ip_arr );
            $this_ip_split = explode( ".", $_IP );
            
            for($i_i = 0; $i_i < 4; $i_i ++) {
                if( $this_ip_split[$i_i] == $db_ip_split[$i_i] or $db_ip_split[$i_i] == '*' ) {
                    $ip_check_matches += 1;
                }
            
            }
            
            if( $ip_check_matches == 4 ) {
                $blockip = $ip_line['ip'];
                break;
            }
        
        }
    }
    
    return $blockip;
}

function check_netz($ip1, $ip2) {
    
    $ip1 = explode( ".", $ip1 );
    $ip2 = explode( ".", $ip2 );
    
    if( $ip1[0] != $ip2[0] ) return false;
    if( $ip1[1] != $ip2[1] ) return false;
    
    return true;

}

function show_attach($story, $id, $static = false) {
    global $db, $config, $lang, $user_group, $member_id;

    $find_1 = array();
    $find_2 = array();
    $replace_1 = array();
    $replace_2 = array();
    
    if( $static ) {
        
        if( is_array( $id ) and count( $id ) ) $where = "static_id IN (" . implode( ",", $id ) . ")";
        else $where = "static_id = '".intval($id)."'";
        
        $db->query( "SELECT id, name, onserver, dcount FROM " . PREFIX . "_static_files WHERE $where" );
        
        $area = "&amp;area=static";
    
    } else {
        
        if( is_array( $id ) and count( $id ) ) $where = "news_id IN (" . implode( ",", $id ) . ")";
        else $where = "news_id = '".intval($id)."'";
        
        $db->query( "SELECT id, name, onserver, dcount FROM " . PREFIX . "_files WHERE $where" );
        
        $area = "";
    
    }
    
    while ( $row = $db->get_row() ) {
        
        $size = formatsize( @filesize( ROOT_DIR . '/uploads/files/' . $row['onserver'] ) );
        $row['name'] = explode( "/", $row['name'] );
        $row['name'] = end( $row['name'] );

        $find_1[] = '[attachment=' . $row['id'] . ']';
        $find_2[] = "#\[attachment={$row['id']}:(.+?)\]#i";

        if ( ! $user_group[$member_id['user_group']]['allow_files'] ) {

            $replace_1[] = "<span class=\"attachment\">{$lang['att_denied']}</span>";
            $replace_2[] = "<span class=\"attachment\">{$lang['att_denied']}</span>";

        } elseif( $config['files_count'] == 'yes' ) {

            $replace_1[] = "<span class=\"attachment\"><a href=\"{$config['http_home_url']}engine/download.php?id={$row['id']}{$area}\" >{$row['name']}</a> [{$size}] ({$lang['att_dcount']} {$row['dcount']})</span>";
            $replace_2[] = "<span class=\"attachment\"><a href=\"{$config['http_home_url']}engine/download.php?id={$row['id']}{$area}\" >\\1</a> [{$size}] ({$lang['att_dcount']} {$row['dcount']})</span>";

        } else {

            $replace_1[] = "<span class=\"attachment\"><a href=\"{$config['http_home_url']}engine/download.php?id={$row['id']}{$area}\" >{$row['name']}</a> [{$size}]</span>";
            $replace_2[] = "<span class=\"attachment\"><a href=\"{$config['http_home_url']}engine/download.php?id={$row['id']}{$area}\" >\\1</a> [{$size}]</span>";

        }

    }

    $db->free();

    $story = str_replace ( $find_1, $replace_1, $story );
    $story = preg_replace( $find_2, $replace_2, $story );
    
    return $story;

}

function xfieldsload($profile = false) {
    global $lang;
    
    if( $profile ) $path = ENGINE_DIR . '/data/xprofile.txt';
    else $path = ENGINE_DIR . '/data/xfields.txt';
    
    $filecontents = file( $path );
    
    if( ! is_array( $filecontents ) ) msgbox( "System error", "File <b>{$path}</b> not found" );
    else {
        foreach ( $filecontents as $name => $value ) {
            $filecontents[$name] = explode( "|", trim( $value ) );
            foreach ( $filecontents[$name] as $name2 => $value2 ) {
                $value2 = str_replace( "&#124;", "|", $value2 );
                $value2 = str_replace( "__NEWL__", "\r\n", $value2 );
                $filecontents[$name][$name2] = $value2;
            }
        }
    }
    return $filecontents;
}

function xfieldsdataload($id) {
    
    if( $id == "" ) return;
    
    $xfieldsdata = explode( "||", $id );
    foreach ( $xfieldsdata as $xfielddata ) {
        list ( $xfielddataname, $xfielddatavalue ) = explode( "|", $xfielddata );
        $xfielddataname = str_replace( "&#124;", "|", $xfielddataname );
        $xfielddataname = str_replace( "__NEWL__", "\r\n", $xfielddataname );
        $xfielddatavalue = str_replace( "&#124;", "|", $xfielddatavalue );
        $xfielddatavalue = str_replace( "__NEWL__", "\r\n", $xfielddatavalue );
        $data[$xfielddataname] = $xfielddatavalue;
    }
    return $data;
}

function create_keywords($story) {
    global $metatags, $config;
    
    $keyword_count = 20;
    $newarr = array ();
    
    $quotes = array ("\x22", "\x60", "\t", "\n", "\r", ",", ".", "/", "¬", "#", ";", ":", "@", "~", "[", "]", "{", "}", "=", "-", "+", ")", "(", "*", "^", "%", "$", "<", ">", "?", "!", '"');
    $fastquotes = array ("\x22", "\x60", "\t", "\n", "\r", '"', "\\", '\r', '\n', "/", "{", "}", "[", "]" );
    
    $story = preg_replace( "#\[hide\](.+?)\[/hide\]#is", "", $story );
    $story = preg_replace( "'\[attachment=(.*?)\]'si", "", $story );
    $story = preg_replace( "'\[page=(.*?)\](.*?)\[/page\]'si", "", $story );
    $story = str_replace( "{PAGEBREAK}", "", $story );
    $story = str_replace( "&nbsp;", " ", $story );
    $story = str_replace( '<br />', ' ', $story );
    $story = strip_tags( $story );
    $story = preg_replace( "#&(.+?);#", "", $story );
    $story = trim(str_replace( " ,", "", stripslashes( $story )));
    
    $story = str_replace( $fastquotes, '', $story );
    
    $metatags['description'] = dle_substr( $story, 0, 190, $config['charset'] );
    
    $story = str_replace( $quotes, ' ', $story );
    
    $arr = explode( " ", $story );
    
    foreach ( $arr as $word ) {
        if( dle_strlen( $word, $config['charset'] ) > 4 ) $newarr[] = $word;
    }
    
    $arr = array_count_values( $newarr );
    arsort( $arr );
    
    $arr = array_keys( $arr );
    
    $total = count( $arr );
    
    $offset = 0;
    
    $arr = array_slice( $arr, $offset, $keyword_count );
    
    $metatags['keywords'] = implode( ", ", $arr );
}

function allowed_ip($ip_array) {
    
    $ip_array = trim( $ip_array );
    
    if( $ip_array == "" ) {
        return true;
    }
    
    $ip_array = explode( "|", $ip_array );
    
    $db_ip_split = explode( ".", $_SERVER['REMOTE_ADDR'] );
    
    foreach ( $ip_array as $ip ) {
        
        $ip_check_matches = 0;
        $this_ip_split = explode( ".", trim( $ip ) );
        
        for($i_i = 0; $i_i < 4; $i_i ++) {
            if( $this_ip_split[$i_i] == $db_ip_split[$i_i] or $this_ip_split[$i_i] == '*' ) {
                $ip_check_matches += 1;
            }
        
        }
        
        if( $ip_check_matches == 4 ) return true;
    
    }
    
    return FALSE;
}

function news_permission($id) {
    
    if( $id == "" ) return;
    
    $data = array ();
    $groups = explode( "||", $id );
    foreach ( $groups as $group ) {
        list ( $groupid, $groupvalue ) = explode( ":", $group );
        $data[$groupid] = $groupvalue;
    }
    return $data;
}

function bannermass($fest, $massiv) {
    return $fest . $massiv[@array_rand( $massiv )]['text'];
}

function get_sub_cats($id, $subcategory = '') {
    
    global $cat_info;
    $subfound = array ();
    
    if( $subcategory == '' ) $subcategory = $id;
    
    foreach ( $cat_info as $cats ) {
        if( $cats['parentid'] == $id ) {
            $subfound[] = $cats['id'];
        }
    }
    
    foreach ( $subfound as $parentid ) {
        $subcategory .= "|" . $parentid;
        $subcategory = get_sub_cats( $parentid, $subcategory );
    }
    
    return $subcategory;

}

function check_xss() {

    $url = html_entity_decode( urldecode( $_SERVER['QUERY_STRING'] ), ENT_QUOTES, 'ISO-8859-1' );
    $url = str_replace( "\\", "/", $url );

    if ($_GET['do'] == "xfsearch") {

        $f = html_entity_decode( urldecode( $_GET['xf'] ), ENT_QUOTES, 'ISO-8859-1' );

        $count1 = substr_count ($f, "'");
        $count2 = substr_count ($f, '"');
        $count3 = substr_count ($url, "'");
        $count4 = substr_count ($url, '"');

        if ( $count1 == $count3 AND $count2 == $count4 AND (strpos( $url, '<' ) === false) AND (strpos( $url, '>' ) === false) AND (strpos( $url, './' ) === false) AND (strpos( $url, '../' ) === false) AND (strpos( $url, '.php' ) === false) ) return;

    }

    if ($_GET['do'] == "tags") {

        $f = html_entity_decode( urldecode( $_GET['tag'] ), ENT_QUOTES, 'ISO-8859-1' );

        $count1 = substr_count ($f, "'");
        $count2 = substr_count ($url, "'");

        if ( $count1 == $count2 AND (strpos( $url, '<' ) === false) AND (strpos( $url, '>' ) === false) AND (strpos( $url, '"' ) === false) AND (strpos( $url, './' ) === false) AND (strpos( $url, '../' ) === false) AND (strpos( $url, '.php' ) === false) ) return;

    }
    
    if( $url ) {
        
        if( (strpos( $url, '<' ) !== false) || (strpos( $url, '>' ) !== false) || (strpos( $url, '"' ) !== false) || (strpos( $url, './' ) !== false) || (strpos( $url, '../' ) !== false) || (strpos( $url, '\'' ) !== false) || (strpos( $url, '.php' ) !== false) ) {
            if( $_GET['do'] != "search" OR $_GET['subaction'] != "search" ) die( "Hacking attempt!" );
        }
    
    }
    
    $url = html_entity_decode( urldecode( $_SERVER['REQUEST_URI'] ), ENT_QUOTES, 'ISO-8859-1' );
    $url = str_replace( "\\", "/", $url );
    
    if( $url ) {
        
        if( (strpos( $url, '<' ) !== false) || (strpos( $url, '>' ) !== false) || (strpos( $url, '"' ) !== false) || (strpos( $url, '\'' ) !== false) ) {
            if( $_GET['do'] != "search" OR $_GET['subaction'] != "search" ) die( "Hacking attempt!" );
        
        }
    
    }

}

function check_category($cats, $block, $category, $action = true) {

    $cats = str_replace(" ", "", $cats );    
    $cats = explode( ',', $cats );
    $category = explode( ',', $category );
    $found = false;
    
    foreach ( $category as $element ) {
        
        if( $action ) {
            
            if( in_array( $element, $cats ) ) {
                
                $block = str_replace( '\"', '"', $block );
                return $block;
            }
        
        } else {
            
            if( in_array( $element, $cats ) ) {
                $found = true;
            }
        
        }
    
    }

    if ( !$action AND !$found ) {    

        $block = str_replace( '\"', '"', $block  );
        return $block;
    }

    return "";

}

function clean_url($url) {
    
    if( $url == '' ) return;
    
    $url = str_replace( "http://", "", strtolower( $url ) );
    $url = str_replace( "https://", "", $url );
    if( substr( $url, 0, 4 ) == 'www.' ) $url = substr( $url, 4 );
    $url = explode( '/', $url );
    $url = reset( $url );
    $url = explode( ':', $url );
    $url = reset( $url );
    
    return $url;
}

function get_url($id) {
    
    global $cat_info;
    
    if( ! $id ) return;
    
    $parent_id = $cat_info[$id]['parentid'];
    
    $url = $cat_info[$id]['alt_name'];
    
    while ( $parent_id ) {
        
        $url = $cat_info[$parent_id]['alt_name'] . "/" . $url;
        
        $parent_id = $cat_info[$parent_id]['parentid'];
        
        if( $cat_info[$parent_id]['parentid'] == $cat_info[$parent_id]['id'] ) break;
    
    }
    
    return $url;
}

function get_categories($id) {
    
    global $cat_info, $config, $PHP_SELF;
    
    if( ! $id ) return;
    
    $parent_id = $cat_info[$id]['parentid'];
    
    if( $config['allow_alt_url'] == "yes" ) $list = "<a href=\"" . $config['http_home_url'] . get_url( $id ) . "/\">{$cat_info[$id]['name']}</a>";
    else $list = "<a href=\"$PHP_SELF?do=cat&amp;category={$cat_info[$id]['alt_name']}\">{$cat_info[$id]['name']}</a>";
    
    while ( $parent_id ) {
        
        if( $config['allow_alt_url'] == "yes" ) $list = "<a href=\"" . $config['http_home_url'] . get_url( $parent_id ) . "/\">{$cat_info[$parent_id]['name']}</a>" . " &raquo; " . $list;
        else $list = "<a href=\"$PHP_SELF?do=cat&amp;category={$cat_info[$parent_id]['alt_name']}\">{$cat_info[$parent_id]['name']}</a>" . " &raquo; " . $list;
        
        $parent_id = $cat_info[$parent_id]['parentid'];
        
        if( $cat_info[$parent_id]['parentid'] == $cat_info[$parent_id]['id'] ) break;
    
    }
    
    return $list;
}

function set_cookie($name, $value, $expires) {
    
    if( $expires ) {
        
        $expires = time() + ($expires * 86400);
    
    } else {
        
        $expires = FALSE;
    
    }
    
    if( PHP_VERSION < 5.2 ) {

        if ( DOMAIN ) setcookie( $name, $value, $expires, "/",  "; HttpOnly" );
        else setcookie( $name, $value, $expires, "/",  dim-kino.com . "; HttpOnly" );
    
    } else {
        
        setcookie( $name, $value, $expires, "/", dim-kino.com, NULL, TRUE );
    
    }
}

function news_sort($do) {
    
    global $config, $lang;
    
    if( ! $do ) $do = "main";
    
    $find_sort = "dle_sort_" . $do;
    $direction_sort = "dle_direction_" . $do;
    
    $find_sort = str_replace( ".", "", $find_sort );
    $direction_sort = str_replace( ".", "", $direction_sort );
    
    $sort = array ();
    $allowed_sort = array ('date', 'rating', 'news_read', 'comm_num', 'title' );
    
    $soft_by_array = array (

    'date' => array (

    'name' => $lang['sort_by_date'], 'value' => "date", 'direction' => "desc", 'image' => "" ), 

    'rating' => array (

    'name' => $lang['sort_by_rating'], 'value' => "rating", 'direction' => "desc", 'image' => "" ), 

    'news_read' => array (

    'name' => $lang['sort_by_read'], 'value' => "news_read", 'direction' => "desc", 'image' => "" ), 

    'comm_num' => array (

    'name' => $lang['sort_by_comm'], 'value' => "comm_num", 'direction' => "desc", 'image' => "" ), 

    'title' => array (

    'name' => $lang['sort_by_title'], 'value' => "title", 'direction' => "desc", 'image' => "" )

     );
    
    if( isset( $_SESSION[$direction_sort] ) AND ($_SESSION[$direction_sort] == "desc" OR $_SESSION[$direction_sort] == "asc") ) $direction = $_SESSION[$direction_sort];
    else $direction = $config['news_msort'];

    if( isset( $_SESSION[$find_sort] ) AND $_SESSION[$find_sort] AND in_array( $_SESSION[$find_sort], $allowed_sort ) ) $soft_by = $_SESSION[$find_sort];
    else $soft_by = $config['news_sort'];
    
    if( strtolower( $direction ) == "asc" ) {
        
        $soft_by_array[$soft_by]['image'] = "<img src=\"{THEME}/dleimages/asc.gif\" alt=\"\" />";
        $soft_by_array[$soft_by]['direction'] = "desc";
    
    } else {
        
        $soft_by_array[$soft_by]['image'] = "<img src=\"{THEME}/dleimages/desc.gif\" alt=\"\" />";
        $soft_by_array[$soft_by]['direction'] = "asc";
    }
    
    foreach ( $soft_by_array as $value ) {
        
        $sort[] = $value['image'] . "<a href=\"#\" onclick=\"dle_change_sort('{$value['value']}','{$value['direction']}'); return false;\">" . $value['name'] . "</a>";
    }
    
    $sort = "<form name=\"news_set_sort\" id=\"news_set_sort\" method=\"post\" action=\"\" >" . $lang['sort_main'] . "&nbsp;" . implode( " | ", $sort );
    
    $sort .= <<<HTML
<input type="hidden" name="dlenewssortby" id="dlenewssortby" value="{$config['news_sort']}" />
<input type="hidden" name="dledirection" id="dledirection" value="{$config['news_msort']}" />
<input type="hidden" name="set_new_sort" id="set_new_sort" value="{$find_sort}" />
<input type="hidden" name="set_direction_sort" id="set_direction_sort" value="{$direction_sort}" />
<script type="text/javascript" language="javascript">
<!-- begin

function dle_change_sort(sort, direction){

  var frm = document.getElementById('news_set_sort');

  frm.dlenewssortby.value=sort;
  frm.dledirection.value=direction;

  frm.submit();
  return false;
};

// end -->
</script></form>
HTML;
    
    return $sort;
}

function compare_tags($a, $b) {
    
    if( $a['tag'] == $b['tag'] ) return 0;
    
    return strcasecmp( $a['tag'], $b['tag'] );

}

function convert_unicode($t, $to = 'windows-1251') {

    $to = strtolower( $to );

    if( $to == 'utf-8' ) {
        
        return $t;
    
    } else {

        if( function_exists( 'mb_convert_encoding' ) ) {

            $t = mb_convert_encoding( $t, $to, "UTF-8" );

        } elseif( function_exists( 'iconv' ) ) {

            $t = iconv( "UTF-8", $to . "//IGNORE", $t );

        } else $t = "The library iconv AND mbstring is not supported by your server";
    
    }

    return $t;
}

function check_smartphone() {

    if ( $_SESSION['mobile_enable'] ) return true;

    $phone_array = array('iphone', 'android', 'pocket', 'palm', 'windows ce', 'windowsce', 'mobile windows', 'cellphone', 'opera mobi', 'operamobi', 'ipod', 'small', 'sharp', 'sonyericsson', 'symbian', 'symbos', 'opera mini', 'nokia', 'htc_', 'samsung', 'motorola', 'smartphone', 'blackberry', 'playstation portable', 'tablet browser', 'android');
    $agent = strtolower( $_SERVER['HTTP_USER_AGENT'] );

    foreach ($phone_array as $value) {

        if ( strpos($agent, $value) !== false ) return true;

    }

    return false;

}

function build_js($js, $config) {

    $js_array = array();

    if ($config['js_min'] AND version_compare(PHP_VERSION, '5.1.0', '>') ) {

        $js_array[] = "<script type=\"text/javascript\" src=\"{$config['http_home_url']}engine/classes/min/index.php?charset={$config['charset']}&amp;g=general&amp;9\"></script>";

        if ( count($js) ) $js_array[] = "<script type=\"text/javascript\" src=\"{$config['http_home_url']}engine/classes/min/index.php?charset={$config['charset']}&amp;f=".implode(",", $js)."&amp;9\"></script>";

        return implode("\n", $js_array);

    } else {

        $default_array = array (
            'engine/classes/js/jquery.js',
            'engine/classes/js/jqueryui.js',
            'engine/classes/js/dle_js.js',
        );

        $js = array_merge($default_array, $js);

        foreach ($js as $value) {
        
            $js_array[] = "<script type=\"text/javascript\" src=\"{$config['http_home_url']}{$value}\"></script>";
        
        }

        return implode("\n", $js_array);
    }
}

function check_static($names, $block, $action = true) {
    global $dle_module;

    $names = str_replace(" ", "", $names );
    $names = explode( ',', $names );

    if ( isset($_GET['page']) ) $page = trim($_GET['page']); else $page = "";
    
    if( $action ) {
            
        if( in_array( $page, $names ) AND $dle_module == "static" ) {
                
            $block = str_replace( '\"', '"', $block );
            return $block;
        }
        
    } else {
            
        if( !in_array( $page, $names ) OR $dle_module != "static") {
                
            $block = str_replace( '\"', '"', $block  );
            return $block;
        }
        
    }
    
    return "";
}


function dle_strlen($value, $charset ) {

    if ( strtolower($charset) == "utf-8") return iconv_strlen($value, "utf-8");
    else return strlen($value);

}

function dle_substr($str, $start, $length, $charset ) {

    if ( strtolower($charset) == "utf-8") return iconv_substr($str, $start, $length, "utf-8");
    else return substr($str, $start, $length);

}

function dle_strrpos($str, $needle, $charset ) {

    if ( strtolower($charset) == "utf-8") return iconv_strrpos($str, $needle, "utf-8");
    else return strrpos($str, $needle);

}

function check_allow_login($ip, $max ) {
    global $db;

    $block_date = time()-1200;

    $row = $db->super_query( "SELECT * FROM " . PREFIX . "_login_log WHERE ip='{$ip}'" );

    if ( $row['count'] AND $row['date'] < $block_date ) $db->query( "DELETE FROM " . PREFIX . "_login_log WHERE ip = '{$ip}'" );

    if ($row['count'] > $max AND $row['date'] > $block_date ) return false;
    else return true;

} 

function detect_encoding($string) {  
  static $list = array('utf-8', 'windows-1251');
   
  foreach ($list as $item) {
     $sample = iconv($item, $item, $string);
     if (md5($sample) == md5($string))
       return $item;
   }
   return null;
}
 
function get_ip() {

    $ip_split = explode( ".", $_SERVER['REMOTE_ADDR'] );
    $_IP = array();
    
    for($i = 0; $i < 4; $i++) {
        $_IP[] = intval($ip_split[$i]);
    }
    
    return implode(".", $_IP);
}
?>

4

Re: проблема с куки

замените functions.php
на это

+ открыть спойлер
<?PHP
/*
=====================================================
 DataLife Engine - by SoftNews Media Group 
-----------------------------------------------------
 http://dle-news.ru/
-----------------------------------------------------
 Copyright (c) 2004,2013 SoftNews Media Group
=====================================================
 Данный код защищен авторскими правами
=====================================================
 Файл: functions.php
-----------------------------------------------------
 Назначение: Основные функции
=====================================================
*/
if( ! defined( 'DATALIFEENGINE' ) ) {
    die( "Hacking attempt!" );
}

if ( $config['auth_domain'] ) {

    $domain_cookie = explode (".", clean_url( $_SERVER['HTTP_HOST'] ));
    $domain_cookie_count = count($domain_cookie);
    $domain_allow_count = -2;
    
    if ( $domain_cookie_count > 2 ) {
    
        if ( in_array($domain_cookie[$domain_cookie_count-2], array('com', 'net', 'org') )) $domain_allow_count = -3;
        if ( $domain_cookie[$domain_cookie_count-1] == 'ua' ) $domain_allow_count = -3;
        $domain_cookie = array_slice($domain_cookie, $domain_allow_count);
    }
    
    $domain_cookie = "." . implode (".", $domain_cookie);
    
    if( (ip2long($_SERVER['HTTP_HOST']) == -1 OR ip2long($_SERVER['HTTP_HOST']) === FALSE) AND strtoupper(substr(PHP_OS, 0, 3)) !== 'WIN' ) define( 'DOMAIN', $domain_cookie );
    else define( 'DOMAIN', null );

} else define( 'DOMAIN', null );

$mcache = false;

if ( $config['cache_type'] ) {

    if ( function_exists('memcache_connect') ) {

        $memcache_server = explode(":", $config['memcache_server']);

        $mcache = @memcache_connect( $memcache_server[0], $memcache_server[1] );

        if( $mcache AND function_exists('memcache_set_compress_threshold') )
        {
            memcache_set_compress_threshold( $mcache, 20000, 0.2 );
        }

    }

}

function dle_session( $sid = false ) {

    $params = session_get_cookie_params();

    if ( DOMAIN ) $params['domain'] = DOMAIN;

    if( version_compare(PHP_VERSION, '5.2', '<') ) {
        
        session_set_cookie_params($params['lifetime'], "/", $params['domain']."; HttpOnly", $params['secure']);
    
    } else {
        
        session_set_cookie_params($params['lifetime'], "/", $params['domain'], $params['secure'], true);
    
    }

    if ( $sid ) @session_id( $sid );

    @session_start();

}

function formatsize($file_size) {
    if( $file_size >= 1073741824 ) {
        $file_size = round( $file_size / 1073741824 * 100 ) / 100 . " Gb";
    } elseif( $file_size >= 1048576 ) {
        $file_size = round( $file_size / 1048576 * 100 ) / 100 . " Mb";
    } elseif( $file_size >= 1024 ) {
        $file_size = round( $file_size / 1024 * 100 ) / 100 . " Kb";
    } else {
        $file_size = $file_size . " b";
    }
    return $file_size;
}

class microTimer {
    function start() {
        global $starttime;
        $mtime = microtime();
        $mtime = explode( ' ', $mtime );
        $mtime = $mtime[1] + $mtime[0];
        $starttime = $mtime;
    }
    function stop() {
        global $starttime;
        $mtime = microtime();
        $mtime = explode( ' ', $mtime );
        $mtime = $mtime[1] + $mtime[0];
        $endtime = $mtime;
        $totaltime = round( ($endtime - $starttime), 5 );
        return $totaltime;
    }
}

function flooder($ip, $news_time = false) {
    global $config, $db;
    
    if ( $news_time ) {

        $this_time = time() + ($config['date_adjust'] * 60) - $news_time;
        $db->query( "DELETE FROM " . PREFIX . "_flood where id < '$this_time' AND flag='1' " );
        
        $row = $db->super_query("SELECT COUNT(*) as count FROM " . PREFIX . "_flood WHERE ip = '$ip' AND flag='1'");
        
        if( $row['count'] ) return TRUE;
        else return FALSE;

    } else {

        $this_time = time() + ($config['date_adjust'] * 60) - $config['flood_time'];
        $db->query( "DELETE FROM " . PREFIX . "_flood where id < '$this_time' AND flag='0' " );
        
        $row = $db->super_query("SELECT COUNT(*) as count FROM " . PREFIX . "_flood WHERE ip = '$ip' AND flag='0'");
        
        if( $row['count'] ) return TRUE;
        else return FALSE;

    }

}

function totranslit($var, $lower = true, $punkt = true) {
    global $langtranslit;
    
    if ( is_array($var) ) return "";

    if (!is_array ( $langtranslit ) OR !count( $langtranslit ) ) {
        $var = trim( strip_tags( $var ) );

        if ( $punkt ) $var = preg_replace( "/[^a-z0-9\_\-.]+/mi", "", $var );
        else $var = preg_replace( "/[^a-z0-9\_\-]+/mi", "", $var );

        $var = preg_replace( '#[.]+#i', '.', $var );
        $var = str_ireplace( ".php", ".ppp", $var );

        if ( $lower ) $var = strtolower( $var );

        return $var;
    }
    
    $var = trim( strip_tags( $var ) );
    $var = preg_replace( "/\s+/ms", "-", $var );
    $var = str_replace( "/", "-", $var );

    $var = strtr($var, $langtranslit);
    
    if ( $punkt ) $var = preg_replace( "/[^a-z0-9\_\-.]+/mi", "", $var );
    else $var = preg_replace( "/[^a-z0-9\_\-]+/mi", "", $var );

    $var = preg_replace( '#[\-]+#i', '-', $var );
    $var = preg_replace( '#[.]+#i', '.', $var );

    if ( $lower ) $var = strtolower( $var );

    $var = str_ireplace( ".php", "", $var );
    $var = str_ireplace( ".php", ".ppp", $var );

    if( strlen( $var ) > 200 ) {
        
        $var = substr( $var, 0, 200 );
        
        if( ($temp_max = strrpos( $var, '-' )) ) $var = substr( $var, 0, $temp_max );
    
    }
    
    return $var;
}

function langdate($format, $stamp) {
    global $langdate;
    
    return strtr( @date( $format, $stamp ), $langdate );

}

function msgbox($title, $text) {
    global $tpl;

    if (!class_exists('dle_template')) {
        return;
    }
    
    $tpl_2 = new dle_template( );
    $tpl_2->dir = TEMPLATE_DIR;
    
    $tpl_2->load_template( 'info.tpl' );
    
    $tpl_2->set( '{error}', $text );
    $tpl_2->set( '{title}', $title );
    
    $tpl_2->compile( 'info' );
    $tpl_2->clear();
    
    $tpl->result['info'] .= $tpl_2->result['info'];
}

function ShowRating($id, $rating, $vote_num, $allow = true) {
    global $lang;
    
    if( $rating AND $vote_num ) $rating = round( ($rating / $vote_num), 0 );
    else $rating = 0;
    $rating = $rating * 17;
    
    if( !$allow ) {
        
        $rated = <<<HTML
<div class="rating">
        <ul class="unit-rating">
        <li class="current-rating" style="width:{$rating}px;">{$rating}</li>
        </ul>
</div>
HTML;
        
        return $rated;
    }
    
    $rated = <<<HTML
<div id='ratig-layer-{$id}'><div class="rating">
        <ul class="unit-rating">
        <li class="current-rating" style="width:{$rating}px;">{$rating}</li>
        <li><a href="#" title="{$lang['useless']}" class="r1-unit" onclick="doRate('1', '{$id}'); return false;">1</a></li>
        <li><a href="#" title="{$lang['poor']}" class="r2-unit" onclick="doRate('2', '{$id}'); return false;">2</a></li>
        <li><a href="#" title="{$lang['fair']}" class="r3-unit" onclick="doRate('3', '{$id}'); return false;">3</a></li>
        <li><a href="#" title="{$lang['good']}" class="r4-unit" onclick="doRate('4', '{$id}'); return false;">4</a></li>
        <li><a href="#" title="{$lang['excellent']}" class="r5-unit" onclick="doRate('5', '{$id}'); return false;">5</a></li>
        </ul>
</div></div>
HTML;
    
    return $rated;
}

function userrating($id) {
    global $db;
    
    $row = $db->super_query( "SELECT SUM(rating) as rating, SUM(vote_num) as num FROM " . PREFIX . "_post_extras WHERE user_id ='{$id}'" );
    
    if( $row['num'] ) $rating = round( ($row['rating'] / $row['num']), 0 );
    else $rating = 0;

    $rating = $rating * 17;
    
    $rated = <<<HTML
<div class="rating" style="display:inline;">
        <ul class="unit-rating">
        <li class="current-rating" style="width:{$rating}px;">{$rating}</li>
        </ul>
        </div>
HTML;
    
    return $rated;
}

function CategoryNewsSelection($categoryid = 0, $parentid = 0, $nocat = TRUE, $sublevelmarker = '', $returnstring = '') {
    global $cat_info, $user_group, $member_id, $dle_module;

    if ($dle_module == 'addnews') $allow_list = explode( ',', $user_group[$member_id['user_group']]['cat_allow_addnews'] );
    else $allow_list = explode( ',', $user_group[$member_id['user_group']]['allow_cats'] );

    $spec_list = explode( ',', $user_group[$member_id['user_group']]['cat_add'] );

    $root_category = array ();
    
    if( $parentid == 0 ) {
        if( $nocat ) $returnstring .= '<option value="0"></option>';
    } else {
        $sublevelmarker .= '&nbsp;&nbsp;&nbsp;';
    }
    
    if( count( $cat_info ) ) {
        
        foreach ( $cat_info as $cats ) {
            if( $cats['parentid'] == $parentid ) $root_category[] = $cats['id'];
        }
        
        if( count( $root_category ) ) {
            foreach ( $root_category as $id ) {
                
                if( $allow_list[0] == "all" OR in_array( $id, $allow_list ) ) {
                    
                    if( $spec_list[0] == "all" or in_array( $id, $spec_list ) ) $color = "black";
                    else $color = "red";
                    
                    $returnstring .= "<option style=\"color: {$color}\" value=\"" . $id . '" ';
                    
                    if( is_array( $categoryid ) ) {
                        foreach ( $categoryid as $element ) {
                            if( $element == $id ) $returnstring .= 'SELECTED';
                        }
                    } elseif( $categoryid == $id ) $returnstring .= 'SELECTED';
                    
                    $returnstring .= '>' . $sublevelmarker . $cat_info[$id]['name'] . '</option>';
                }
                $returnstring = CategoryNewsSelection( $categoryid, $id, $nocat, $sublevelmarker, $returnstring );
            }
        }
    }
    return $returnstring;
}

function get_ID($cat_info, $category) {
    foreach ( $cat_info as $cats ) {
        if( $cats['alt_name'] == $category ) return $cats['id'];
    }
    return false;
}

function set_vars($file, $data) {
    
    $fp = fopen( ENGINE_DIR . '/cache/system/' . $file . '.php', 'wb+' );
    fwrite( $fp, serialize( $data ) );
    fclose( $fp );
    
    @chmod( ENGINE_DIR . '/cache/system/' . $file . '.php', 0666 );
}

function get_vars($file) {
    
    return unserialize( @file_get_contents( ENGINE_DIR . '/cache/system/' . $file . '.php' ) );
}

function filesize_url($url) {
    return ($data = @file_get_contents( $url )) ? strlen( $data ) : false;
}

function dle_cache($prefix, $cache_id = false, $member_prefix = false) {
    global $config, $is_logged, $member_id, $mcache;
    
    if( $config['allow_cache'] != "yes" ) return false;
    
    if( $is_logged ) $end_file = $member_id['user_group'];
    else $end_file = "0";
    
    if( ! $cache_id ) {
        
        $key = $prefix;
    
    } else {
        
        $cache_id = md5( $cache_id );
        
        if( $member_prefix ) $key = $prefix . "_" . $cache_id . "_" . $end_file;
        else $key = $prefix . "_" . $cache_id;
    
    }

    if ( $mcache ) {

        return memcache_get( $mcache, md5( DBNAME . PREFIX . md5(DBUSER) .$key ) );

    } else {

        return @file_get_contents( ENGINE_DIR . "/cache/" . $key . ".tmp" );

    }
}

function create_cache($prefix, $cache_text, $cache_id = false, $member_prefix = false) {
    global $config, $is_logged, $member_id, $mcache;
    
    if( $config['allow_cache'] != "yes" ) return false;
    
    if( $is_logged ) $end_file = $member_id['user_group'];
    else $end_file = "0";
    
    if( ! $cache_id ) {
        $key = $prefix;
    } else {
        $cache_id = md5( $cache_id );
        
        if( $member_prefix ) $key = $prefix . "_" . $cache_id . "_" . $end_file;
        else $key = $prefix . "_" . $cache_id;
    
    }
    

    if ( $mcache ) {

        memcache_set( $mcache, md5( DBNAME . PREFIX . md5(DBUSER) .$key ), $cache_text, MEMCACHE_COMPRESSED, 86400 );

    } else {

        file_put_contents (ENGINE_DIR . "/cache/" . $key . ".tmp", $cache_text, LOCK_EX);
        
        @chmod( ENGINE_DIR . "/cache/" . $key . ".tmp", 0666 );
    }
}

function clear_cache($cache_areas = false) {
    global $mcache;

    if ( $mcache ) {

        memcache_flush($mcache);

    }

    if ( $cache_areas ) {
        if(!is_array($cache_areas)) {
            $cache_areas = array($cache_areas);
        }
    }
        
    $fdir = opendir( ENGINE_DIR . '/cache' );
        
    while ( $file = readdir( $fdir ) ) {
        if( $file != '.' and $file != '..' and $file != '.htaccess' and $file != 'system' ) {
            
            if( $cache_areas ) {
                
                foreach($cache_areas as $cache_area) if( strpos( $file, $cache_area ) !== false ) @unlink( ENGINE_DIR . '/cache/' . $file );
            
            } else {
                
                @unlink( ENGINE_DIR . '/cache/' . $file );
            
            }
        }
    }

}

function ChangeSkin($dir, $skin) {
    
    $templates_list = array ();
    
    $handle = opendir( $dir );
    
    while ( false !== ($file = readdir( $handle )) ) {
        if( @is_dir( "./templates/$file" ) and ($file != "." AND $file != ".." AND $file != "smartphone") ) {
            $templates_list[] = $file;
        }
    }
    
    closedir( $handle );
    sort($templates_list);
    
    $skin_list = "<form method=\"post\" action=\"\"><select onchange=\"submit()\" name=\"skin_name\">";
    
    foreach ( $templates_list as $single_template ) {
        if( $single_template == $skin ) $selected = " selected=\"selected\"";
        else $selected = "";
        $skin_list .= "<option value=\"$single_template\"" . $selected . ">$single_template</option>";
    }
    
    $skin_list .= '</select><input type="hidden" name="action_skin_change" value="yes" /></form>';
    
    return $skin_list;
}

function custom_print( $matches=array() ) {
    global $db, $is_logged, $member_id, $xf_inited, $cat_info, $config, $user_group, $category_id, $_TIME, $lang, $smartphone_detected, $dle_module, $allow_comments_ajax, $PHP_SELF;

    if ( !count($matches) ) return "";
    $param_str = trim($matches[1]);

    $aviable = array();
    $thisdate = date( "Y-m-d H:i:s", $_TIME );
    $sql_select = "SELECT p.id, p.autor, p.date, p.short_story, CHAR_LENGTH(p.full_story) as full_story, p.xfields, p.title, p.category, p.alt_name, p.comm_num, p.allow_comm, p.fixed, p.tags, e.news_read, e.allow_rate, e.rating, e.vote_num, e.votes, e.view_edit, e.editdate, e.editor, e.reason FROM " . PREFIX . "_post p LEFT JOIN " . PREFIX . "_post_extras e ON (p.id=e.news_id)";
    $where = array();
    $allow_cache = $config['allow_cache'];

    if( preg_match( "#aviable=['\"](.+?)['\"]#i", $param_str, $match ) ) {
        $aviable = explode( '|', $match[1] );
    } else $aviable[] = "global";

    $do = $dle_module ? $dle_module : "main";

    if( ! (in_array( $do, $aviable )) and ($aviable[0] != "global") ) return "";

    if( preg_match( "#id=['\"](.+?)['\"]#i", $param_str, $match ) ) {
        $custom_id = str_replace( ',', "','", $db->safesql( trim($match[1]) ) );
        $where[] = "id IN ('" . $custom_id . "')";
    }

    $allow_list = explode( ',', $user_group[$member_id['user_group']]['allow_cats'] );
    
    if( $allow_list[0] != "all" AND !$user_group[$member_id['user_group']]['allow_short'] ) {

        if( $config['allow_multi_category'] ) {
                
            $where[] = "category regexp '[[:<:]](" . implode( '|', $allow_list ) . ")[[:>:]]'";
            
        } else {
                
            $where[] = "category IN ('" . implode( "','", $allow_list ) . "')";
            
        }
    
    }

    if( preg_match( "#category=['\"](.+?)['\"]#i", $param_str, $match ) ) {

        $custom_category = $db->safesql( trim(str_replace( ',', '|', $match[1] )) );

        if( $config['allow_multi_category'] ) {
            
            $where[] = "category regexp '[[:<:]](" . $custom_category . ")[[:>:]]'";
        
        } else {
            
            $custom_category = str_replace( "|", "','", $custom_category );
            $where[] = "category IN ('" . $custom_category . "')";
        
        }
    }

    if( preg_match( "#days=['\"](.+?)['\"]#i", $param_str, $match ) ) {
        $days = intval(trim($match[1]));
        $where[] = "p.date >= '{$thisdate}' - INTERVAL {$days} DAY AND p.date < '{$thisdate}'";
    } else $days = 0;

    if( preg_match( "#author=['\"](.+?)['\"]#i", $param_str, $match ) ) {
        $author = $db->safesql(trim($match[1]));
        $where[] = "p.autor like '{$author}'";
    } else $author = "";

    $where[] = "approve=1";

    if( $config['no_date'] AND !$config['news_future'] AND !$days) $where[] = "date < '" . $thisdate . "'";

    if( preg_match( "#template=['\"](.+?)['\"]#i", $param_str, $match ) ) {
        $custom_template = trim($match[1]);
    } else $custom_template = "shortstory";

    if( preg_match( "#from=['\"](.+?)['\"]#i", $param_str, $match ) ) {
        $custom_from = intval($match[1]);
    } else $custom_from = 0;

    if( preg_match( "#limit=['\"](.+?)['\"]#i", $param_str, $match ) ) {
        $custom_limit = intval($match[1]);
    } else $custom_limit = $config['news_number'];

    if( preg_match( "#cache=['\"](.+?)['\"]#i", $param_str, $match ) ) {
        if( $match[1] == "yes" ) $config['allow_cache'] = "yes";
        else $config['allow_cache'] = false;
    }

    if( preg_match( "#fixed=['\"](.+?)['\"]#i", $param_str, $match ) ) {
        if( $match[1] == "yes" ) $fixed = "fixed DESC, ";
        else $fixed = "";
    } else $fixed = "";

    if( $is_logged and ($user_group[$member_id['user_group']]['allow_edit'] and ! $user_group[$member_id['user_group']]['allow_all_edit']) ) $config['allow_cache'] = false;

    if( $cat_info[$custom_category]['news_sort'] != "" ) $news_sort = $cat_info[$custom_category]['news_sort']; else $news_sort = $config['news_sort'];
    if( $cat_info[$custom_category]['news_msort'] != "" ) $news_msort = $cat_info[$custom_category]['news_msort']; else $news_msort = $config['news_msort'];

    if( preg_match( "#order=['\"](.+?)['\"]#i", $param_str, $match ) ) {
        $allowed_sort = array ('date' => 'date', 'rating' => 'rating', 'reads' => 'news_read', 'comments' => 'comm_num','title' => 'title', 'rand' => 'RAND()' );

        if ( $allowed_sort[$match[1]] ) $news_sort = $allowed_sort[$match[1]];

        if ($match[1] == "rand" ) { $fixed = ""; $news_msort = ""; } else $news_msort = "DESC";
        if ($match[1] == "title" ) $news_msort = "ASC";
    }

    $sql_select .= " WHERE ".implode(' AND ', $where)." ORDER BY " . $fixed . $news_sort . " " . $news_msort . " LIMIT " . $custom_from . "," . $custom_limit;

    $custom_cache_id = $custom_id.$custom_category.$user_group[$member_id['user_group']]['allow_cats'].$custom_from.$custom_limit.$news_sort.$news_msort.$custom_template.$days.$author;

    $content = dle_cache( "news", $custom_cache_id, true );
    
    if( $content !== false ) {
        $config['allow_cache'] = $allow_cache;
        return $content;
    } else {

        $tpl = new dle_template();
        $tpl->dir = TEMPLATE_DIR;                
        
        include (ENGINE_DIR . '/modules/show.custom.php');
        
        if( $config['files_allow'] == "yes" ) if( strpos( $tpl->result['content'], "[attachment=" ) !== false ) {
            $tpl->result['content'] = show_attach( $tpl->result['content'], $attachments );
        }
        
        create_cache( "news", $tpl->result['content'], $custom_cache_id, true );
        $config['allow_cache'] = $allow_cache;
        return $tpl->result['content'];
    
    }

}

function check_ip($ips) {
    
    $_IP = $_SERVER['REMOTE_ADDR'];
    
    $blockip = FALSE;
    
    if( is_array( $ips ) ) {
        foreach ( $ips as $ip_line ) {
            
            $ip_arr = rtrim( $ip_line['ip'] );
            
            $ip_check_matches = 0;
            $db_ip_split = explode( ".", $ip_arr );
            $this_ip_split = explode( ".", $_IP );
            
            for($i_i = 0; $i_i < 4; $i_i ++) {
                if( $this_ip_split[$i_i] == $db_ip_split[$i_i] or $db_ip_split[$i_i] == '*' ) {
                    $ip_check_matches += 1;
                }
            
            }
            
            if( $ip_check_matches == 4 ) {
                $blockip = $ip_line['ip'];
                break;
            }
        
        }
    }
    
    return $blockip;
}

function check_netz($ip1, $ip2) {
    
    $ip1 = explode( ".", $ip1 );
    $ip2 = explode( ".", $ip2 );
    
    if( $ip1[0] != $ip2[0] ) return false;
    if( $ip1[1] != $ip2[1] ) return false;
    
    return true;

}

function show_attach($story, $id, $static = false) {
    global $db, $config, $lang, $user_group, $member_id;

    $find_1 = array();
    $find_2 = array();
    $replace_1 = array();
    $replace_2 = array();
    
    if( $static ) {
        
        if( is_array( $id ) and count( $id ) ) $where = "static_id IN (" . implode( ",", $id ) . ")";
        else $where = "static_id = '".intval($id)."'";
        
        $db->query( "SELECT id, name, onserver, dcount FROM " . PREFIX . "_static_files WHERE $where" );
        
        $area = "&amp;area=static";
    
    } else {
        
        if( is_array( $id ) and count( $id ) ) $where = "news_id IN (" . implode( ",", $id ) . ")";
        else $where = "news_id = '".intval($id)."'";
        
        $db->query( "SELECT id, name, onserver, dcount FROM " . PREFIX . "_files WHERE $where" );
        
        $area = "";
    
    }
    
    while ( $row = $db->get_row() ) {
        
        $size = formatsize( @filesize( ROOT_DIR . '/uploads/files/' . $row['onserver'] ) );
        $row['name'] = explode( "/", $row['name'] );
        $row['name'] = end( $row['name'] );

        $find_1[] = '[attachment=' . $row['id'] . ']';
        $find_2[] = "#\[attachment={$row['id']}:(.+?)\]#i";

        if ( ! $user_group[$member_id['user_group']]['allow_files'] ) {

            $replace_1[] = "<span class=\"attachment\">{$lang['att_denied']}</span>";
            $replace_2[] = "<span class=\"attachment\">{$lang['att_denied']}</span>";

        } elseif( $config['files_count'] == 'yes' ) {

            $replace_1[] = "<span class=\"attachment\"><a href=\"{$config['http_home_url']}engine/download.php?id={$row['id']}{$area}\" >{$row['name']}</a> [{$size}] ({$lang['att_dcount']} {$row['dcount']})</span>";
            $replace_2[] = "<span class=\"attachment\"><a href=\"{$config['http_home_url']}engine/download.php?id={$row['id']}{$area}\" >\\1</a> [{$size}] ({$lang['att_dcount']} {$row['dcount']})</span>";

        } else {

            $replace_1[] = "<span class=\"attachment\"><a href=\"{$config['http_home_url']}engine/download.php?id={$row['id']}{$area}\" >{$row['name']}</a> [{$size}]</span>";
            $replace_2[] = "<span class=\"attachment\"><a href=\"{$config['http_home_url']}engine/download.php?id={$row['id']}{$area}\" >\\1</a> [{$size}]</span>";

        }

    }

    $db->free();

    $story = str_replace ( $find_1, $replace_1, $story );
    $story = preg_replace( $find_2, $replace_2, $story );
    
    return $story;

}

function xfieldsload($profile = false) {
    global $lang;
    
    if( $profile ) $path = ENGINE_DIR . '/data/xprofile.txt';
    else $path = ENGINE_DIR . '/data/xfields.txt';
    
    $filecontents = file( $path );
    
    if( ! is_array( $filecontents ) ) msgbox( "System error", "File <b>{$path}</b> not found" );
    else {
        foreach ( $filecontents as $name => $value ) {
            $filecontents[$name] = explode( "|", trim( $value ) );
            foreach ( $filecontents[$name] as $name2 => $value2 ) {
                $value2 = str_replace( "&#124;", "|", $value2 );
                $value2 = str_replace( "__NEWL__", "\r\n", $value2 );
                $filecontents[$name][$name2] = $value2;
            }
        }
    }
    return $filecontents;
}

function xfieldsdataload($id) {
    
    if( $id == "" ) return;
    
    $xfieldsdata = explode( "||", $id );
    foreach ( $xfieldsdata as $xfielddata ) {
        list ( $xfielddataname, $xfielddatavalue ) = explode( "|", $xfielddata );
        $xfielddataname = str_replace( "&#124;", "|", $xfielddataname );
        $xfielddataname = str_replace( "__NEWL__", "\r\n", $xfielddataname );
        $xfielddatavalue = str_replace( "&#124;", "|", $xfielddatavalue );
        $xfielddatavalue = str_replace( "__NEWL__", "\r\n", $xfielddatavalue );
        $data[$xfielddataname] = $xfielddatavalue;
    }
    return $data;
}

function create_keywords($story) {
    global $metatags, $config;
    
    $keyword_count = 20;
    $newarr = array ();
    
    $quotes = array ("\x22", "\x60", "\t", "\n", "\r", ",", ".", "/", "¬", "#", ";", ":", "@", "~", "[", "]", "{", "}", "=", "-", "+", ")", "(", "*", "^", "%", "$", "<", ">", "?", "!", '"');
    $fastquotes = array ("\x22", "\x60", "\t", "\n", "\r", '"', "\\", '\r', '\n', "/", "{", "}", "[", "]" );
    
    $story = preg_replace( "#\[hide\](.+?)\[/hide\]#is", "", $story );
    $story = preg_replace( "'\[attachment=(.*?)\]'si", "", $story );
    $story = preg_replace( "'\[page=(.*?)\](.*?)\[/page\]'si", "", $story );
    $story = str_replace( "{PAGEBREAK}", "", $story );
    $story = str_replace( "&nbsp;", " ", $story );
    $story = str_replace( '<br />', ' ', $story );
    $story = strip_tags( $story );
    $story = preg_replace( "#&(.+?);#", "", $story );
    $story = trim(str_replace( " ,", "", stripslashes( $story )));
    
    $story = str_replace( $fastquotes, '', $story );
    
    $metatags['description'] = dle_substr( $story, 0, 190, $config['charset'] );
    
    $story = str_replace( $quotes, ' ', $story );
    
    $arr = explode( " ", $story );
    
    foreach ( $arr as $word ) {
        if( dle_strlen( $word, $config['charset'] ) > 4 ) $newarr[] = $word;
    }
    
    $arr = array_count_values( $newarr );
    arsort( $arr );
    
    $arr = array_keys( $arr );
    
    $total = count( $arr );
    
    $offset = 0;
    
    $arr = array_slice( $arr, $offset, $keyword_count );
    
    $metatags['keywords'] = implode( ", ", $arr );
}

function allowed_ip($ip_array) {
    
    $ip_array = trim( $ip_array );
    
    if( $ip_array == "" ) {
        return true;
    }
    
    $ip_array = explode( "|", $ip_array );
    
    $db_ip_split = explode( ".", $_SERVER['REMOTE_ADDR'] );
    
    foreach ( $ip_array as $ip ) {
        
        $ip_check_matches = 0;
        $this_ip_split = explode( ".", trim( $ip ) );
        
        for($i_i = 0; $i_i < 4; $i_i ++) {
            if( $this_ip_split[$i_i] == $db_ip_split[$i_i] or $this_ip_split[$i_i] == '*' ) {
                $ip_check_matches += 1;
            }
        
        }
        
        if( $ip_check_matches == 4 ) return true;
    
    }
    
    return FALSE;
}

function news_permission($id) {
    
    if( $id == "" ) return;
    
    $data = array ();
    $groups = explode( "||", $id );
    foreach ( $groups as $group ) {
        list ( $groupid, $groupvalue ) = explode( ":", $group );
        $data[$groupid] = $groupvalue;
    }
    return $data;
}

function bannermass($fest, $massiv) {
    return $fest . $massiv[@array_rand( $massiv )]['text'];
}

function get_sub_cats($id, $subcategory = '') {
    
    global $cat_info;
    $subfound = array ();
    
    if( $subcategory == '' ) $subcategory = $id;
    
    foreach ( $cat_info as $cats ) {
        if( $cats['parentid'] == $id ) {
            $subfound[] = $cats['id'];
        }
    }
    
    foreach ( $subfound as $parentid ) {
        $subcategory .= "|" . $parentid;
        $subcategory = get_sub_cats( $parentid, $subcategory );
    }
    
    return $subcategory;

}

function check_xss() {

    $url = html_entity_decode( urldecode( $_SERVER['QUERY_STRING'] ), ENT_QUOTES, 'ISO-8859-1' );
    $url = str_replace( "\\", "/", $url );

    if ($_GET['do'] == "xfsearch") {

        $f = html_entity_decode( urldecode( $_GET['xf'] ), ENT_QUOTES, 'ISO-8859-1' );

        $count1 = substr_count ($f, "'");
        $count2 = substr_count ($f, '"');
        $count3 = substr_count ($url, "'");
        $count4 = substr_count ($url, '"');

        if ( $count1 == $count3 AND $count2 == $count4 AND (strpos( $url, '<' ) === false) AND (strpos( $url, '>' ) === false) AND (strpos( $url, './' ) === false) AND (strpos( $url, '../' ) === false) AND (strpos( $url, '.php' ) === false) ) return;

    }

    if ($_GET['do'] == "tags") {

        $f = html_entity_decode( urldecode( $_GET['tag'] ), ENT_QUOTES, 'ISO-8859-1' );

        $count1 = substr_count ($f, "'");
        $count2 = substr_count ($url, "'");

        if ( $count1 == $count2 AND (strpos( $url, '<' ) === false) AND (strpos( $url, '>' ) === false) AND (strpos( $url, '"' ) === false) AND (strpos( $url, './' ) === false) AND (strpos( $url, '../' ) === false) AND (strpos( $url, '.php' ) === false) ) return;

    }
    
    if( $url ) {
        
        if( (strpos( $url, '<' ) !== false) || (strpos( $url, '>' ) !== false) || (strpos( $url, '"' ) !== false) || (strpos( $url, './' ) !== false) || (strpos( $url, '../' ) !== false) || (strpos( $url, '\'' ) !== false) || (strpos( $url, '.php' ) !== false) ) {
            if( $_GET['do'] != "search" OR $_GET['subaction'] != "search" ) die( "Hacking attempt!" );
        }
    
    }
    
    $url = html_entity_decode( urldecode( $_SERVER['REQUEST_URI'] ), ENT_QUOTES, 'ISO-8859-1' );
    $url = str_replace( "\\", "/", $url );
    
    if( $url ) {
        
        if( (strpos( $url, '<' ) !== false) || (strpos( $url, '>' ) !== false) || (strpos( $url, '"' ) !== false) || (strpos( $url, '\'' ) !== false) ) {
            if( $_GET['do'] != "search" OR $_GET['subaction'] != "search" ) die( "Hacking attempt!" );
        
        }
    
    }

}

function check_category($cats, $block, $category, $action = true) {

    $cats = str_replace(" ", "", $cats );    
    $cats = explode( ',', $cats );
    $category = explode( ',', $category );
    $found = false;
    
    foreach ( $category as $element ) {
        
        if( $action ) {
            
            if( in_array( $element, $cats ) ) {
                
                $block = str_replace( '\"', '"', $block );
                return $block;
            }
        
        } else {
            
            if( in_array( $element, $cats ) ) {
                $found = true;
            }
        
        }
    
    }

    if ( !$action AND !$found ) {    

        $block = str_replace( '\"', '"', $block  );
        return $block;
    }

    return "";

}

function clean_url($url) {
    
    if( $url == '' ) return;
    
    $url = str_replace( "http://", "", strtolower( $url ) );
    $url = str_replace( "https://", "", $url );
    if( substr( $url, 0, 4 ) == 'www.' ) $url = substr( $url, 4 );
    $url = explode( '/', $url );
    $url = reset( $url );
    $url = explode( ':', $url );
    $url = reset( $url );
    
    return $url;
}

function get_url($id) {
    
    global $cat_info;
    
    if( ! $id ) return;
    
    $parent_id = $cat_info[$id]['parentid'];
    
    $url = $cat_info[$id]['alt_name'];
    
    while ( $parent_id ) {
        
        $url = $cat_info[$parent_id]['alt_name'] . "/" . $url;
        
        $parent_id = $cat_info[$parent_id]['parentid'];
        
        if( $cat_info[$parent_id]['parentid'] == $cat_info[$parent_id]['id'] ) break;
    
    }
    
    return $url;
}

function get_categories($id) {
    
    global $cat_info, $config, $PHP_SELF;
    
    if( ! $id ) return;
    
    $parent_id = $cat_info[$id]['parentid'];
    
    if( $config['allow_alt_url'] == "yes" ) $list = "<a href=\"" . $config['http_home_url'] . get_url( $id ) . "/\">{$cat_info[$id]['name']}</a>";
    else $list = "<a href=\"$PHP_SELF?do=cat&amp;category={$cat_info[$id]['alt_name']}\">{$cat_info[$id]['name']}</a>";
    
    while ( $parent_id ) {
        
        if( $config['allow_alt_url'] == "yes" ) $list = "<a href=\"" . $config['http_home_url'] . get_url( $parent_id ) . "/\">{$cat_info[$parent_id]['name']}</a>" . " &raquo; " . $list;
        else $list = "<a href=\"$PHP_SELF?do=cat&amp;category={$cat_info[$parent_id]['alt_name']}\">{$cat_info[$parent_id]['name']}</a>" . " &raquo; " . $list;
        
        $parent_id = $cat_info[$parent_id]['parentid'];
        
        if( $cat_info[$parent_id]['parentid'] == $cat_info[$parent_id]['id'] ) break;
    
    }
    
    return $list;
}


function set_cookie($name, $value, $expires) {
    
    if( $expires ) {
        
        $expires = time() + ($expires * 86400);
    
    } else {
        
        $expires = FALSE;
    
    }
    
    if( PHP_VERSION < 5.2 ) {

        if ( DOMAIN ) setcookie( $name, $value, $expires, "/", "; HttpOnly" );
        else setcookie( $name, $value, $expires, "/", DOMAIN . "; HttpOnly" );
    
    } else {
        
        setcookie( $name, $value, $expires, "/", DOMAIN, NULL, TRUE );
    
    }
}

function news_sort($do) {
    
    global $config, $lang;
    
    if( ! $do ) $do = "main";
    
    $find_sort = "dle_sort_" . $do;
    $direction_sort = "dle_direction_" . $do;
    
    $find_sort = str_replace( ".", "", $find_sort );
    $direction_sort = str_replace( ".", "", $direction_sort );
    
    $sort = array ();
    $allowed_sort = array ('date', 'rating', 'news_read', 'comm_num', 'title' );
    
    $soft_by_array = array (

    'date' => array (

    'name' => $lang['sort_by_date'], 'value' => "date", 'direction' => "desc", 'image' => "" ), 

    'rating' => array (

    'name' => $lang['sort_by_rating'], 'value' => "rating", 'direction' => "desc", 'image' => "" ), 

    'news_read' => array (

    'name' => $lang['sort_by_read'], 'value' => "news_read", 'direction' => "desc", 'image' => "" ), 

    'comm_num' => array (

    'name' => $lang['sort_by_comm'], 'value' => "comm_num", 'direction' => "desc", 'image' => "" ), 

    'title' => array (

    'name' => $lang['sort_by_title'], 'value' => "title", 'direction' => "desc", 'image' => "" )

     );
    
    if( isset( $_SESSION[$direction_sort] ) AND ($_SESSION[$direction_sort] == "desc" OR $_SESSION[$direction_sort] == "asc") ) $direction = $_SESSION[$direction_sort];
    else $direction = $config['news_msort'];

    if( isset( $_SESSION[$find_sort] ) AND $_SESSION[$find_sort] AND in_array( $_SESSION[$find_sort], $allowed_sort ) ) $soft_by = $_SESSION[$find_sort];
    else $soft_by = $config['news_sort'];
    
    if( strtolower( $direction ) == "asc" ) {
        
        $soft_by_array[$soft_by]['image'] = "<img src=\"{THEME}/dleimages/asc.gif\" alt=\"\" />";
        $soft_by_array[$soft_by]['direction'] = "desc";
    
    } else {
        
        $soft_by_array[$soft_by]['image'] = "<img src=\"{THEME}/dleimages/desc.gif\" alt=\"\" />";
        $soft_by_array[$soft_by]['direction'] = "asc";
    }
    
    foreach ( $soft_by_array as $value ) {
        
        $sort[] = $value['image'] . "<a href=\"#\" onclick=\"dle_change_sort('{$value['value']}','{$value['direction']}'); return false;\">" . $value['name'] . "</a>";
    }
    
    $sort = "<form name=\"news_set_sort\" id=\"news_set_sort\" method=\"post\" action=\"\" >" . $lang['sort_main'] . "&nbsp;" . implode( " | ", $sort );
    
    $sort .= <<<HTML
<input type="hidden" name="dlenewssortby" id="dlenewssortby" value="{$config['news_sort']}" />
<input type="hidden" name="dledirection" id="dledirection" value="{$config['news_msort']}" />
<input type="hidden" name="set_new_sort" id="set_new_sort" value="{$find_sort}" />
<input type="hidden" name="set_direction_sort" id="set_direction_sort" value="{$direction_sort}" />
<script type="text/javascript" language="javascript">
<!-- begin

function dle_change_sort(sort, direction){

  var frm = document.getElementById('news_set_sort');

  frm.dlenewssortby.value=sort;
  frm.dledirection.value=direction;

  frm.submit();
  return false;
};

// end -->
</script></form>
HTML;
    
    return $sort;
}

function compare_tags($a, $b) {
    
    if( $a['tag'] == $b['tag'] ) return 0;
    
    return strcasecmp( $a['tag'], $b['tag'] );

}

function convert_unicode($t, $to = 'windows-1251') {

    $to = strtolower( $to );

    if( $to == 'utf-8' ) {
        
        return $t;
    
    } else {

        if( function_exists( 'mb_convert_encoding' ) ) {

            $t = mb_convert_encoding( $t, $to, "UTF-8" );

        } elseif( function_exists( 'iconv' ) ) {

            $t = iconv( "UTF-8", $to . "//IGNORE", $t );

        } else $t = "The library iconv AND mbstring is not supported by your server";
    
    }

    return $t;
}

function check_smartphone() {

    if ( $_SESSION['mobile_enable'] ) return true;

    $phone_array = array('iphone', 'android', 'pocket', 'palm', 'windows ce', 'windowsce', 'mobile windows', 'cellphone', 'opera mobi', 'operamobi', 'ipod', 'small', 'sharp', 'sonyericsson', 'symbian', 'symbos', 'opera mini', 'nokia', 'htc_', 'samsung', 'motorola', 'smartphone', 'blackberry', 'playstation portable', 'tablet browser', 'android');
    $agent = strtolower( $_SERVER['HTTP_USER_AGENT'] );

    foreach ($phone_array as $value) {

        if ( strpos($agent, $value) !== false ) return true;

    }

    return false;

}

function build_js($js, $config) {

    $js_array = array();

    if ($config['js_min'] AND version_compare(PHP_VERSION, '5.1.0', '>') ) {

        $js_array[] = "<script type=\"text/javascript\" src=\"{$config['http_home_url']}engine/classes/min/index.php?charset={$config['charset']}&amp;g=general&amp;9\"></script>";

        if ( count($js) ) $js_array[] = "<script type=\"text/javascript\" src=\"{$config['http_home_url']}engine/classes/min/index.php?charset={$config['charset']}&amp;f=".implode(",", $js)."&amp;9\"></script>";

        return implode("\n", $js_array);

    } else {

        $default_array = array (
            'engine/classes/js/jquery.js',
            'engine/classes/js/jqueryui.js',
            'engine/classes/js/dle_js.js',
        );

        $js = array_merge($default_array, $js);

        foreach ($js as $value) {
        
            $js_array[] = "<script type=\"text/javascript\" src=\"{$config['http_home_url']}{$value}\"></script>";
        
        }

        return implode("\n", $js_array);
    }
}

function check_static($names, $block, $action = true) {
    global $dle_module;

    $names = str_replace(" ", "", $names );
    $names = explode( ',', $names );

    if ( isset($_GET['page']) ) $page = trim($_GET['page']); else $page = "";
    
    if( $action ) {
            
        if( in_array( $page, $names ) AND $dle_module == "static" ) {
                
            $block = str_replace( '\"', '"', $block );
            return $block;
        }
        
    } else {
            
        if( !in_array( $page, $names ) OR $dle_module != "static") {
                
            $block = str_replace( '\"', '"', $block  );
            return $block;
        }
        
    }
    
    return "";
}


function dle_strlen($value, $charset ) {

    if ( strtolower($charset) == "utf-8") return iconv_strlen($value, "utf-8");
    else return strlen($value);

}

function dle_substr($str, $start, $length, $charset ) {

    if ( strtolower($charset) == "utf-8") return iconv_substr($str, $start, $length, "utf-8");
    else return substr($str, $start, $length);

}

function dle_strrpos($str, $needle, $charset ) {

    if ( strtolower($charset) == "utf-8") return iconv_strrpos($str, $needle, "utf-8");
    else return strrpos($str, $needle);

}

function check_allow_login($ip, $max ) {
    global $db;

    $block_date = time()-1200;

    $row = $db->super_query( "SELECT * FROM " . PREFIX . "_login_log WHERE ip='{$ip}'" );

    if ( $row['count'] AND $row['date'] < $block_date ) $db->query( "DELETE FROM " . PREFIX . "_login_log WHERE ip = '{$ip}'" );

    if ($row['count'] > $max AND $row['date'] > $block_date ) return false;
    else return true;

} 

function detect_encoding($string) {  
  static $list = array('utf-8', 'windows-1251');
   
  foreach ($list as $item) {
     $sample = iconv($item, $item, $string);
     if (md5($sample) == md5($string))
       return $item;
   }
   return null;
}
 
function get_ip() {

    $ip_split = explode( ".", $_SERVER['REMOTE_ADDR'] );
    $_IP = array();
    
    for($i = 0; $i < 4; $i++) {
        $_IP[] = intval($ip_split[$i]);
    }
    
    return implode(".", $_IP);
}
?>

и скорее всего будет вам счастье smile

Re: проблема с куки

Светлана - Вы волшебница! Я более чем 6 месяцев борюсь с этой проблемой, отписывал на многих форумах,  в самой сапе не могли помочь... Весь интернет перерыл, находил схожие проблемы, но никто не мог справится, помогало обновление двига только.
Скажите сколько я Вам должен? Вы действительно мне помогли!

6

Re: проблема с куки

Ну цена обычно варьируется в промежутке между обычным "Спасибо" и "Большим Спасибо"
smile

Re: проблема с куки

Большое списибо. Если чем еще могу помочь - обращайтесь.

Re: проблема с куки

сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
сайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайтсайт
tuchkasсайтсайт

Re: проблема с куки

Econ136.6BettBettKoboWierHearPeriJuliPlayWindAtlaLotoGardObjeMarcPolaDeclBoneCyclLeigHaro
SignGranJorgDomeSeriGarnCaudDoctJuniPatrPalmSaleJohnJeweLacaPhilExpeSpicTaftWestPeteRHOD
SyphInteLacaKateWindLuisJeffJennGezaSanjSergLolimiliSansBehiCampNaroRodnHervmirrNikiPian
ElenToolBacaWindDolcEnriFirsContIdriEdwaLogiMiloNivaWillThieGardArtsArtsSalmBrowXXVIArts
EdmuAlanHiroArtsLapiMarkArtsdiamRHZNFranDonaJohnKoboJohaRandRadaPatrBriaMerrZORLWindStep
ChriStevJeweDemaSahaTokuXVIIFragSlyGJaneCurrLiebPierWilhLimeUndePsycdesiLibeExpeALCHHenr
SpeeHarvKenwSterJourBlueESBTEducEducBlanLiPoPureOZONWindWindWinxCrazBoscPhilCafeCrysUtel
TighRoxeThosVanbFlyiPartSublXVIIErviXVIIArisJameVIIIHonoJameOswamailVivaOlegBusiKillJohn
StepHardJohnClaySpyrJereRogeLipsMPEGHamiApplVIIIMachJeffSharWindPaulExciFanfFranJameRobe
BuilStopGeorRowlAutoLateThemSlyGSlyGSlyGNURBGetaBridRogeJackVaniIntrPotoBernSelmNeedPres
tuchkasWindDust

Re: проблема с куки

XVII

Добавлено: 15.08.2023 04:31

48.8

Добавлено: 15.08.2023 04:34

Bett

Добавлено: 15.08.2023 04:35

Bett

Добавлено: 15.08.2023 04:36

Jump

Добавлено: 15.08.2023 04:37

Part

Добавлено: 15.08.2023 04:39

Thre

Добавлено: 15.08.2023 04:42

Flem

Добавлено: 15.08.2023 04:43

Made

Добавлено: 15.08.2023 04:45

Baby

Добавлено: 15.08.2023 04:46

Dart

Добавлено: 15.08.2023 04:47

Sifr

Добавлено: 15.08.2023 04:48

Cher

Добавлено: 15.08.2023 04:49

ZORL

Добавлено: 15.08.2023 04:52

Wind

Добавлено: 15.08.2023 04:53

Atla

Добавлено: 15.08.2023 04:54

EXPE

Добавлено: 15.08.2023 04:55

Tefa

Добавлено: 15.08.2023 04:57

iMPA

Добавлено: 15.08.2023 04:58

Lanc

Добавлено: 15.08.2023 05:01

Soul

Добавлено: 15.08.2023 05:02

Blum

Добавлено: 15.08.2023 05:03

Jewe

Добавлено: 15.08.2023 05:04

Tocc

Добавлено: 15.08.2023 05:05

Stop

Добавлено: 15.08.2023 05:06

Wind

Добавлено: 15.08.2023 05:07

Wind

Добавлено: 15.08.2023 05:09

Abou

Добавлено: 15.08.2023 05:10

Caud

Добавлено: 15.08.2023 05:11

MAGI

Добавлено: 15.08.2023 05:12

Mick

Добавлено: 15.08.2023 05:13

Mika

Добавлено: 15.08.2023 05:16

John

Добавлено: 15.08.2023 05:17

Past

Добавлено: 15.08.2023 05:18

Myra

Добавлено: 15.08.2023 05:19

Mike

Добавлено: 15.08.2023 05:20

Doct

Добавлено: 15.08.2023 05:22

Geor

Добавлено: 15.08.2023 05:23

Yang

Добавлено: 15.08.2023 05:24

Barb

Добавлено: 15.08.2023 05:25

Elec

Добавлено: 15.08.2023 05:29

Cano

Добавлено: 15.08.2023 05:35

Vive

Добавлено: 15.08.2023 05:39

Vein

Добавлено: 15.08.2023 05:40

Napo

Добавлено: 15.08.2023 05:41

Nadi

Добавлено: 15.08.2023 05:42

Sequ

Добавлено: 15.08.2023 05:43

Arag

Добавлено: 15.08.2023 05:45

Powe

Добавлено: 15.08.2023 05:47

Spor

Добавлено: 15.08.2023 05:51

Muda

Добавлено: 15.08.2023 05:52

Blur

Добавлено: 15.08.2023 05:53

Wind

Добавлено: 15.08.2023 05:54

avan

Добавлено: 15.08.2023 05:55

Morn

Добавлено: 15.08.2023 05:57

Ralp

Добавлено: 15.08.2023 05:58

XVII

Добавлено: 15.08.2023 05:59

Mari

Добавлено: 15.08.2023 06:00

Ivan

Добавлено: 15.08.2023 06:01

Seve

Добавлено: 15.08.2023 06:02

Mick

Добавлено: 15.08.2023 06:03

Sall

Добавлено: 15.08.2023 06:04

Brad

Добавлено: 15.08.2023 06:05

Amar

Добавлено: 15.08.2023 06:07

Jose

Добавлено: 15.08.2023 06:08

Etni

Добавлено: 15.08.2023 06:10

Diam

Добавлено: 15.08.2023 06:11

Erle

Добавлено: 15.08.2023 06:13

Sony

Добавлено: 15.08.2023 06:14

Wind

Добавлено: 15.08.2023 06:15

Supe

Добавлено: 15.08.2023 06:16

Jaim

Добавлено: 15.08.2023 06:17

Sony

Добавлено: 15.08.2023 06:18

Blad

Добавлено: 15.08.2023 06:19

Wind

Добавлено: 15.08.2023 06:20

Jame

Добавлено: 15.08.2023 06:21

Sony

Добавлено: 15.08.2023 06:23

Texa

Добавлено: 15.08.2023 06:24

Devi

Добавлено: 15.08.2023 06:25

diam

Добавлено: 15.08.2023 06:26

Tato

Добавлено: 15.08.2023 06:27

mail

Добавлено: 15.08.2023 06:28

Clov

Добавлено: 15.08.2023 06:29

Silv

Добавлено: 15.08.2023 06:31

Pyrr

Добавлено: 15.08.2023 06:32

Coca

Добавлено: 15.08.2023 06:33

Jean

Добавлено: 15.08.2023 06:34

Vict

Добавлено: 15.08.2023 06:35

Knit

Добавлено: 15.08.2023 06:36

Zebr

Добавлено: 15.08.2023 06:37

Swee

Добавлено: 15.08.2023 06:38

diam

Добавлено: 15.08.2023 06:39

RHTL

Добавлено: 15.08.2023 06:41

Rich

Добавлено: 15.08.2023 06:42

Erle

Добавлено: 15.08.2023 06:43

Cake

Добавлено: 15.08.2023 06:44

NTRP

Добавлено: 15.08.2023 06:48

XVII

Добавлено: 15.08.2023 06:49

Alex

Добавлено: 15.08.2023 06:50

Alex

Добавлено: 15.08.2023 06:51

Giga

Добавлено: 15.08.2023 06:52

Serg

Добавлено: 15.08.2023 06:53

Xenu

Добавлено: 15.08.2023 06:54

Wire

Добавлено: 15.08.2023 06:56

Puls

Добавлено: 15.08.2023 06:57

eTre

Добавлено: 15.08.2023 06:58

Wind

Добавлено: 15.08.2023 06:59

Bonu

Добавлено: 15.08.2023 07:00

Come

Добавлено: 15.08.2023 07:01

Lowi

Добавлено: 15.08.2023 07:02

FORD

Добавлено: 15.08.2023 07:03

Pino

Добавлено: 15.08.2023 07:05

XVII

Добавлено: 15.08.2023 07:06

Sony

Добавлено: 15.08.2023 07:07

Asfu

Добавлено: 15.08.2023 07:08

Magi

Добавлено: 15.08.2023 07:09

Clim

Добавлено: 15.08.2023 07:13

Need

Добавлено: 15.08.2023 07:14

Fant

Добавлено: 15.08.2023 07:17

Bigb

Добавлено: 15.08.2023 07:18

Para

Добавлено: 15.08.2023 07:19

Ruya

Добавлено: 15.08.2023 07:20

Time

Добавлено: 15.08.2023 07:21

plac

Добавлено: 15.08.2023 07:22

Pach

Добавлено: 15.08.2023 07:26

City

Добавлено: 15.08.2023 07:27

BELL

Добавлено: 15.08.2023 07:28

Heli

Добавлено: 15.08.2023 07:29

Juve

Добавлено: 15.08.2023 07:30

shou

Добавлено: 15.08.2023 07:32

Jazz

Добавлено: 15.08.2023 07:33

Prin

Добавлено: 15.08.2023 07:34

Winx

Добавлено: 15.08.2023 07:35

Educ

Добавлено: 15.08.2023 07:38

Loli

Добавлено: 15.08.2023 07:39

Smob

Добавлено: 15.08.2023 07:40

Tolo

Добавлено: 15.08.2023 07:41

WIND

Добавлено: 15.08.2023 07:42

Wind

Добавлено: 15.08.2023 07:44

Pinn

Добавлено: 15.08.2023 07:45

Grif

Добавлено: 15.08.2023 07:46

LEGO

Добавлено: 15.08.2023 07:47

Oreg

Добавлено: 15.08.2023 07:48

frie

Добавлено: 15.08.2023 07:49

Fran

Добавлено: 15.08.2023 07:50

Bozi

Добавлено: 15.08.2023 07:51

Lois

Добавлено: 15.08.2023 07:52

Macr

Добавлено: 15.08.2023 07:54

Nell

Добавлено: 15.08.2023 07:55

Wood

Добавлено: 15.08.2023 07:56

Peto

Добавлено: 15.08.2023 07:57

Lose

Добавлено: 15.08.2023 07:58

Like

Добавлено: 15.08.2023 07:59

Univ

Добавлено: 15.08.2023 08:05

Andr

Добавлено: 15.08.2023 08:06

XVII

Добавлено: 15.08.2023 08:07

Davi

Добавлено: 15.08.2023 08:10

Cart

Добавлено: 15.08.2023 08:11

OZON

Добавлено: 15.08.2023 08:12

Emil

Добавлено: 15.08.2023 08:13

Sinf

Добавлено: 15.08.2023 08:15

Loui

Добавлено: 15.08.2023 08:16

ndow

Добавлено: 15.08.2023 08:17

Step

Добавлено: 15.08.2023 08:18

Blon

Добавлено: 15.08.2023 08:19

Gogo

Добавлено: 15.08.2023 08:20

Star

Добавлено: 15.08.2023 08:21

Jerr

Добавлено: 15.08.2023 08:22

Stra

Добавлено: 15.08.2023 08:24

Ente

Добавлено: 15.08.2023 08:25

Tang

Добавлено: 15.08.2023 08:26

Nick

Добавлено: 15.08.2023 08:27

Plus

Добавлено: 15.08.2023 08:28

Bont

Добавлено: 15.08.2023 08:29

Andr

Добавлено: 15.08.2023 08:30

Hose

Добавлено: 15.08.2023 08:31

Dawn

Добавлено: 15.08.2023 08:38

Mari

Добавлено: 15.08.2023 08:40

Alli

Добавлено: 15.08.2023 08:41

Aziz

Добавлено: 15.08.2023 08:42

Dani

Добавлено: 15.08.2023 08:43

ther

Добавлено: 15.08.2023 08:44

Exce

Добавлено: 15.08.2023 08:45

Engl

Добавлено: 15.08.2023 08:46

Sony

Добавлено: 15.08.2023 08:47

Jewe

Добавлено: 15.08.2023 08:49

Naru

Добавлено: 15.08.2023 08:50

Ever

Добавлено: 15.08.2023 08:51

Dona

Добавлено: 15.08.2023 08:52

Luci

Добавлено: 15.08.2023 08:55

Mama

Добавлено: 15.08.2023 08:56

Open

Добавлено: 15.08.2023 08:58

Fran

Добавлено: 15.08.2023 08:59

Inte

Добавлено: 15.08.2023 09:00

More

Добавлено: 15.08.2023 09:01

Sony

Добавлено: 15.08.2023 09:02

Sony

Добавлено: 15.08.2023 09:03

Sony

Добавлено: 15.08.2023 09:04

Writ

Добавлено: 15.08.2023 09:08

Wann

Добавлено: 15.08.2023 09:09

Thou

Добавлено: 15.08.2023 09:10

inHg

Добавлено: 15.08.2023 09:11

Read

Добавлено: 15.08.2023 09:12

Caro

Добавлено: 15.08.2023 09:14

Groo

Добавлено: 15.08.2023 09:15

Bank

Добавлено: 15.08.2023 09:16

Iggy

Добавлено: 15.08.2023 09:17

Budd

Добавлено: 15.08.2023 09:22

Micr

Добавлено: 15.08.2023 09:23

tuchkas

Добавлено: 15.08.2023 09:24

Pete

Добавлено: 15.08.2023 09:25

Glee

Re: проблема с куки

[MP3137.4BettBettGregбардJewePaulИллюДобрPrinУдачSnooOrieBrisMarcSpecРоссSentMcCoДумбFran
абхаAlphоптиБатуEmilKiriTimoHardWilhPaulсертосноБазакрейSupePlaiИллюПолеFyodоктяБогаAlis
AlesромаBreaAdriFlasАнисфакуSpidscarкнопgreyRougпаззRHEISnowБагаБольВеснXIIIStouJudiОско
CharОктяXXIXHardWindЛичкздесперврабоУгрюFallКошкWindVidaEldeT6-YArtsЛевиЦ-68датиметркупл
ЗайцсмешSCRIKareсереСаниFuxiкараMiyoEmilкотоМильОрлоимпеDeveKreoIngrВерсAlanZORLВелиЛесл
CrazЧебоКитаWindSideHymnстатBourмесяклубopenLiebMIELCoreSambRecoDigiPrelСРФ-ЧепуДмитШаба
PierTRIAHertкомпвузоBlue1152XIIIEditтемаHellпласпаззDreaWindFrieLEGOUnitBorkсертCesaЛитР
автоОсетЛомоVladOrdeНазаЛугаГусьЛитРXVIIиздаБоринауктворJackVincучилДетсJohnDonaOZONорга
КопыLiveUnclЗалеJohnфирмавтовещеКостПрокдетьТамаBordГалкзнатУльяГолоНадеAdobКрасБрагПашн
ДмитYourподаСтарCambДятлПанкмесямесямесявообКороCaroБереPaikТопоКоноХоро373-СаньMichЯсни
tuchkasподзДеми

Re: проблема с куки

http://audiobookkeeper.ruhttp://cottagenet.ruhttp://eyesvision.ruhttp://eyesvisions.comhttp://factoringfee.ruhttp://filmzones.ruhttp://gadwall.ruhttp://gaffertape.ruhttp://gageboard.ruhttp://gagrule.ruhttp://gallduct.ruhttp://galvanometric.ruhttp://gangforeman.ruhttp://gangwayplatform.ruhttp://garbagechute.ruhttp://gardeningleave.ruhttp://gascautery.ruhttp://gashbucket.ruhttp://gasreturn.ruhttp://gatedsweep.ruhttp://gaugemodel.ruhttp://gaussianfilter.ru
http://gearpitchdiameter.ruhttp://geartreating.ruhttp://generalizedanalysis.ruhttp://generalprovisions.ruhttp://geophysicalprobe.ruhttp://geriatricnurse.ruhttp://getintoaflap.ruhttp://getthebounce.ruhttp://habeascorpus.ruhttp://habituate.ruhttp://hackedbolt.ruhttp://hackworker.ruhttp://hadronicannihilation.ruhttp://haemagglutinin.ruhttp://hailsquall.ruhttp://hairysphere.ruhttp://halforderfringe.ruhttp://halfsiblings.ruhttp://hallofresidence.ruhttp://haltstate.ruhttp://handcoding.ruhttp://handportedhead.ru
http://handradar.ruhttp://handsfreetelephone.ruhttp://hangonpart.ruhttp://haphazardwinding.ruhttp://hardalloyteeth.ruhttp://hardasiron.ruhttp://hardenedconcrete.ruhttp://harmonicinteraction.ruhttp://hartlaubgoose.ruhttp://hatchholddown.ruhttp://haveafinetime.ruhttp://hazardousatmosphere.ruhttp://headregulator.ruhttp://heartofgold.ruhttp://heatageingresistance.ruhttp://heatinggas.ruhttp://heavydutymetalcutting.ruhttp://jacketedwall.ruhttp://japanesecedar.ruhttp://jibtypecrane.ruhttp://jobabandonment.ruhttp://jobstress.ru
http://jogformation.ruhttp://jointcapsule.ruhttp://jointsealingmaterial.ruhttp://journallubricator.ruhttp://juicecatcher.ruhttp://junctionofchannels.ruhttp://justiciablehomicide.ruhttp://juxtapositiontwin.ruhttp://kaposidisease.ruhttp://keepagoodoffing.ruhttp://keepsmthinhand.ruhttp://kentishglory.ruhttp://kerbweight.ruhttp://kerrrotation.ruhttp://keymanassurance.ruhttp://keyserum.ruhttp://kickplate.ruhttp://killthefattedcalf.ruhttp://kilowattsecond.ruhttp://kingweakfish.ruhttp://kinozones.ruhttp://kleinbottle.ru
http://kneejoint.ruhttp://knifesethouse.ruhttp://knockonatom.ruhttp://knowledgestate.ruhttp://kondoferromagnet.ruhttp://labeledgraph.ruhttp://laborracket.ruhttp://labourearnings.ruhttp://labourleasing.ruhttp://laburnumtree.ruhttp://lacingcourse.ruhttp://lacrimalpoint.ruhttp://lactogenicfactor.ruhttp://lacunarycoefficient.ruhttp://ladletreatediron.ruhttp://laggingload.ruhttp://laissezaller.ruhttp://lambdatransition.ruhttp://laminatedmaterial.ruhttp://lammasshoot.ruhttp://lamphouse.ruhttp://lancecorporal.ru
http://lancingdie.ruhttp://landingdoor.ruhttp://landmarksensor.ruhttp://landreform.ruhttp://landuseratio.ruhttp://languagelaboratory.ruhttp://largeheart.ruhttp://lasercalibration.ruhttp://laserlens.ruhttp://laserpulse.ruhttp://laterevent.ruhttp://latrinesergeant.ruhttp://layabout.ruhttp://leadcoating.ruhttp://leadingfirm.ruhttp://learningcurve.ruhttp://leaveword.ruhttp://machinesensible.ruhttp://magneticequator.ruhttp://magnetotelluricfield.ruhttp://mailinghouse.ruhttp://majorconcern.ru
http://mammasdarling.ruhttp://managerialstaff.ruhttp://manipulatinghand.ruhttp://manualchoke.ruhttp://medinfobooks.ruhttp://mp3lists.ruhttp://nameresolution.ruhttp://naphtheneseries.ruhttp://narrowmouthed.ruhttp://nationalcensus.ruhttp://naturalfunctor.ruhttp://navelseed.ruhttp://neatplaster.ruhttp://necroticcaries.ruhttp://negativefibration.ruhttp://neighbouringrights.ruhttp://objectmodule.ruhttp://observationballoon.ruhttp://obstructivepatent.ruhttp://oceanmining.ruhttp://octupolephonon.ruhttp://offlinesystem.ru
http://offsetholder.ruhttp://olibanumresinoid.ruhttp://onesticket.ruhttp://packedspheres.ruhttp://pagingterminal.ruhttp://palatinebones.ruhttp://palmberry.ruhttp://papercoating.ruhttp://paraconvexgroup.ruhttp://parasolmonoplane.ruhttp://parkingbrake.ruhttp://partfamily.ruhttp://partialmajorant.ruhttp://quadrupleworm.ruhttp://qualitybooster.ruhttp://quasimoney.ruhttp://quenchedspark.ruhttp://quodrecuperet.ruhttp://rabbetledge.ruhttp://radialchaser.ruhttp://radiationestimator.ruhttp://railwaybridge.ru
http://randomcoloration.ruhttp://rapidgrowth.ruhttp://rattlesnakemaster.ruhttp://reachthroughregion.ruhttp://readingmagnifier.ruhttp://rearchain.ruhttp://recessioncone.ruhttp://recordedassignment.ruhttp://rectifiersubstation.ruhttp://redemptionvalue.ruhttp://reducingflange.ruhttp://referenceantigen.ruhttp://regeneratedprotein.ruhttp://reinvestmentplan.ruhttp://safedrilling.ruhttp://sagprofile.ruhttp://salestypelease.ruhttp://samplinginterval.ruhttp://satellitehydrology.ruhttp://scarcecommodity.ruhttp://scrapermat.ruhttp://screwingunit.ru
http://seawaterpump.ruhttp://secondaryblock.ruhttp://secularclergy.ruhttp://seismicefficiency.ruhttp://selectivediffuser.ruhttp://semiasphalticflux.ruhttp://semifinishmachining.ruhttp://spicetrade.ruhttp://spysale.ruhttp://stungun.ruhttp://tacticaldiameter.ruhttp://tailstockcenter.ruhttp://tamecurve.ruhttp://tapecorrection.ruhttp://tappingchuck.ruhttp://taskreasoning.ruhttp://technicalgrade.ruhttp://telangiectaticlipoma.ruhttp://telescopicdamper.ruhttp://temperateclimate.ruhttp://temperedmeasure.ruhttp://tenementbuilding.ru
tuchkashttp://ultramaficrock.ruhttp://ultraviolettesting.ru

Re: проблема с куки

Econ

Добавлено: 12.11.2023 03:03

84

Добавлено: 12.11.2023 03:04

Bett

Добавлено: 12.11.2023 03:05

Bett

Добавлено: 12.11.2023 03:07

Jeff

Добавлено: 12.11.2023 03:08

True

Добавлено: 12.11.2023 03:09

Aziz

Добавлено: 12.11.2023 03:10

Henr

Добавлено: 12.11.2023 03:11

Mark

Добавлено: 12.11.2023 03:12

Woma

Добавлено: 12.11.2023 03:13

Nort

Добавлено: 12.11.2023 03:16

NiMH

Добавлено: 12.11.2023 03:17

Orie

Добавлено: 12.11.2023 03:18

Dorm

Добавлено: 12.11.2023 03:19

Gabo

Добавлено: 12.11.2023 03:21

Pari

Добавлено: 12.11.2023 03:22

Blue

Добавлено: 12.11.2023 03:23

Rond

Добавлено: 12.11.2023 03:24

Hous

Добавлено: 12.11.2023 03:25

Noth

Добавлено: 12.11.2023 03:26

Pujm

Добавлено: 12.11.2023 03:27

Mary

Добавлено: 12.11.2023 03:32

Brit

Добавлено: 12.11.2023 03:33

Paul

Добавлено: 12.11.2023 03:34

Nora

Добавлено: 12.11.2023 03:35

Vlad

Добавлено: 12.11.2023 03:36

XVII

Добавлено: 12.11.2023 03:37

Prox

Добавлено: 12.11.2023 03:38

Stra

Добавлено: 12.11.2023 03:39

Emil

Добавлено: 12.11.2023 03:41

Nati

Добавлено: 12.11.2023 03:42

Paul

Добавлено: 12.11.2023 03:43

Chri

Добавлено: 12.11.2023 03:44

XVII

Добавлено: 12.11.2023 03:45

Well

Добавлено: 12.11.2023 03:46

Arth

Добавлено: 12.11.2023 03:48

Byly

Добавлено: 12.11.2023 03:49

Caud

Добавлено: 12.11.2023 03:50

Robe

Добавлено: 12.11.2023 03:51

Alan

Добавлено: 12.11.2023 03:52

Char

Добавлено: 12.11.2023 03:53

Lexi

Добавлено: 12.11.2023 03:54

Agat

Добавлено: 12.11.2023 03:55

Henr

Добавлено: 12.11.2023 03:56

Wind

Добавлено: 12.11.2023 03:58

Hous

Добавлено: 12.11.2023 03:59

Slim

Добавлено: 12.11.2023 04:00

Will

Добавлено: 12.11.2023 04:01

Siem

Добавлено: 12.11.2023 04:02

Lisa

Добавлено: 12.11.2023 04:03

Jule

Добавлено: 12.11.2023 04:04

Wind

Добавлено: 12.11.2023 04:05

Blob

Добавлено: 12.11.2023 04:07

Tosc

Re: проблема с куки

зако136.6BettBettJeffHenrBachJameTracКозиXboxFisklassOrieКлючRondSpacTescGuruRagg1820Mary
переHenrдругСодесборPenhFlaxKeitБереКомлсертанглКрасфакуAccaCleaAudiStepFyodзаниРадиWill
GustSalaCamaHenn1920JaroтреуThinТараавтоВардЗайцпазлSympCotoPlacПескDomiПервInte(184Злат
СилвСтраХлыссервwwwnЩербздесДжамJameKeigLogiКалиHardIbizRiveCA26PhilСтарBusiссылClovMasa
KrayШепаТуроHerbdiamХалфFuxiSwarSlimСмирпришMaryСодеPatrСавиMusiMaurJeanчетвModeАлекОрло
HerbORSiSanoAlicCariClasХорекукоCMK-гостUlitVestAntiЩербCanoZackФедоKeepХартпрбнСтепМ-51
BobiRefeHeliкомпстраBlueсклаEducEditподакартChicкомпMissWindCatsAdriPhilSmilGuccРР00Harr
LionМальCarlРоссLillромаЛогуЛитРЛитРдеятРебеСашкMarkактеJackдопооргаNeedJorgгазеПарыМГор
СавуЕмелPamiкадрBradсевеAlri49-6начаСказСтраКэссSoftСавиаспигазеВелеWindШаланеблэнциЯкуш
картAutoEnigElecCambКомадеятCMK-CMK-CMK-98-1ЕМЗоФормprojЛуизGeorМулаXVIIОхлостудиспоКузн
tuchkasраскАнат

Re: проблема с куки

http://audiobookkeeper.ruhttp://cottagenet.ruhttp://eyesvision.ruhttp://eyesvisions.comhttp://factoringfee.ruhttp://filmzones.ruhttp://gadwall.ruhttp://gaffertape.ruhttp://gageboard.ruhttp://gagrule.ruhttp://gallduct.ruhttp://galvanometric.ruhttp://gangforeman.ruhttp://gangwayplatform.ruhttp://garbagechute.ruhttp://gardeningleave.ruhttp://gascautery.ruhttp://gashbucket.ruhttp://gasreturn.ruhttp://gatedsweep.ruhttp://gaugemodel.ruhttp://gaussianfilter.ru
http://gearpitchdiameter.ruhttp://geartreating.ruhttp://generalizedanalysis.ruhttp://generalprovisions.ruhttp://geophysicalprobe.ruhttp://geriatricnurse.ruhttp://getintoaflap.ruhttp://getthebounce.ruhttp://habeascorpus.ruhttp://habituate.ruhttp://hackedbolt.ruhttp://hackworker.ruhttp://hadronicannihilation.ruhttp://haemagglutinin.ruhttp://hailsquall.ruhttp://hairysphere.ruhttp://halforderfringe.ruhttp://halfsiblings.ruhttp://hallofresidence.ruhttp://haltstate.ruhttp://handcoding.ruhttp://handportedhead.ru
http://handradar.ruhttp://handsfreetelephone.ruhttp://hangonpart.ruhttp://haphazardwinding.ruhttp://hardalloyteeth.ruhttp://hardasiron.ruhttp://hardenedconcrete.ruhttp://harmonicinteraction.ruhttp://hartlaubgoose.ruhttp://hatchholddown.ruhttp://haveafinetime.ruhttp://hazardousatmosphere.ruhttp://headregulator.ruhttp://heartofgold.ruhttp://heatageingresistance.ruhttp://heatinggas.ruhttp://heavydutymetalcutting.ruhttp://jacketedwall.ruhttp://japanesecedar.ruhttp://jibtypecrane.ruhttp://jobabandonment.ruhttp://jobstress.ru
http://jogformation.ruhttp://jointcapsule.ruhttp://jointsealingmaterial.ruhttp://journallubricator.ruhttp://juicecatcher.ruhttp://junctionofchannels.ruhttp://justiciablehomicide.ruhttp://juxtapositiontwin.ruhttp://kaposidisease.ruhttp://keepagoodoffing.ruhttp://keepsmthinhand.ruhttp://kentishglory.ruhttp://kerbweight.ruhttp://kerrrotation.ruhttp://keymanassurance.ruhttp://keyserum.ruhttp://kickplate.ruhttp://killthefattedcalf.ruhttp://kilowattsecond.ruhttp://kingweakfish.ruhttp://kinozones.ruhttp://kleinbottle.ru
http://kneejoint.ruhttp://knifesethouse.ruhttp://knockonatom.ruhttp://knowledgestate.ruhttp://kondoferromagnet.ruhttp://labeledgraph.ruhttp://laborracket.ruhttp://labourearnings.ruhttp://labourleasing.ruhttp://laburnumtree.ruhttp://lacingcourse.ruhttp://lacrimalpoint.ruhttp://lactogenicfactor.ruhttp://lacunarycoefficient.ruhttp://ladletreatediron.ruhttp://laggingload.ruhttp://laissezaller.ruhttp://lambdatransition.ruhttp://laminatedmaterial.ruhttp://lammasshoot.ruhttp://lamphouse.ruhttp://lancecorporal.ru
http://lancingdie.ruhttp://landingdoor.ruhttp://landmarksensor.ruhttp://landreform.ruhttp://landuseratio.ruhttp://languagelaboratory.ruhttp://largeheart.ruhttp://lasercalibration.ruhttp://laserlens.ruhttp://laserpulse.ruhttp://laterevent.ruhttp://latrinesergeant.ruhttp://layabout.ruhttp://leadcoating.ruhttp://leadingfirm.ruhttp://learningcurve.ruhttp://leaveword.ruhttp://machinesensible.ruhttp://magneticequator.ruhttp://magnetotelluricfield.ruhttp://mailinghouse.ruhttp://majorconcern.ru
http://mammasdarling.ruhttp://managerialstaff.ruhttp://manipulatinghand.ruhttp://manualchoke.ruhttp://medinfobooks.ruhttp://mp3lists.ruhttp://nameresolution.ruhttp://naphtheneseries.ruhttp://narrowmouthed.ruhttp://nationalcensus.ruhttp://naturalfunctor.ruhttp://navelseed.ruhttp://neatplaster.ruhttp://necroticcaries.ruhttp://negativefibration.ruhttp://neighbouringrights.ruhttp://objectmodule.ruhttp://observationballoon.ruhttp://obstructivepatent.ruhttp://oceanmining.ruhttp://octupolephonon.ruhttp://offlinesystem.ru
http://offsetholder.ruhttp://olibanumresinoid.ruhttp://onesticket.ruhttp://packedspheres.ruhttp://pagingterminal.ruhttp://palatinebones.ruhttp://palmberry.ruhttp://papercoating.ruhttp://paraconvexgroup.ruhttp://parasolmonoplane.ruhttp://parkingbrake.ruhttp://partfamily.ruhttp://partialmajorant.ruhttp://quadrupleworm.ruhttp://qualitybooster.ruhttp://quasimoney.ruhttp://quenchedspark.ruhttp://quodrecuperet.ruhttp://rabbetledge.ruhttp://radialchaser.ruhttp://radiationestimator.ruhttp://railwaybridge.ru
http://randomcoloration.ruhttp://rapidgrowth.ruhttp://rattlesnakemaster.ruhttp://reachthroughregion.ruhttp://readingmagnifier.ruhttp://rearchain.ruhttp://recessioncone.ruhttp://recordedassignment.ruhttp://rectifiersubstation.ruhttp://redemptionvalue.ruhttp://reducingflange.ruhttp://referenceantigen.ruhttp://regeneratedprotein.ruhttp://reinvestmentplan.ruhttp://safedrilling.ruhttp://sagprofile.ruhttp://salestypelease.ruhttp://samplinginterval.ruhttp://satellitehydrology.ruhttp://scarcecommodity.ruhttp://scrapermat.ruhttp://screwingunit.ru
http://seawaterpump.ruhttp://secondaryblock.ruhttp://secularclergy.ruhttp://seismicefficiency.ruhttp://selectivediffuser.ruhttp://semiasphalticflux.ruhttp://semifinishmachining.ruhttp://spicetrade.ruhttp://spysale.ruhttp://stungun.ruhttp://tacticaldiameter.ruhttp://tailstockcenter.ruhttp://tamecurve.ruhttp://tapecorrection.ruhttp://tappingchuck.ruhttp://taskreasoning.ruhttp://technicalgrade.ruhttp://telangiectaticlipoma.ruhttp://telescopicdamper.ruhttp://temperateclimate.ruhttp://temperedmeasure.ruhttp://tenementbuilding.ru
tuchkashttp://ultramaficrock.ruhttp://ultraviolettesting.ru