Поиск
Помогите с блоком files
…т первую картинку из файлов. Помогите разобраться. PHP if (!defined("BLOCK_FILE")) { Header("Location: ../index.php"); exit; } global $prefix, $db; $strip = 200; $result = $db->sq...
Картинки в rss
…прописываются в description/ вот config_rss.php <?php if (!defined("FUNC_FILE")) die("Illegal File Access"); $confrs = array(); $confrs['min'] = "10"; $confrs['max'] = "50"; $conf...
Блок картинок не выводит title из базы данных
…вида запросов в BD. Код сейчас выглядит так: PHP <?php if (!defined("BLOCK_FILE")) { Header("Location: /index.php"); exit; } global $short, $spconf; $path = "images/shop/all/"; if...
Internet Explorer не отображает текст в UTF-8
…с в файле настройки config.php записано так: PHP <?php if (!defined("FUNC_FILE")) die("Illegal File Access"); $dbtype = "mysql"; $dbcode = "utf8"; ?> Подскажите, пожалуйста, что н...
Автоматическая подгрузка контента при прокручивании страницы
…st').attr('rel'); if(typeof($('#warning')).attr('id') != 'undefined' )return false; $.ajax({ url:'index.php', method:'GET', data:{'name':'news','thisajax':'true','num':num}, befor...
PHP Notice: Undefined index: HTTP_ACCEPT_ENCODING
PHP Notice: Undefined index: HTTP_ACCEPT_ENCODING in /www/htdocs/function/security.php on line 24 что за ошибка такая? как от нее избавиться?
SLAED 5.0.3 Небольшой ХАК для блока (block_user_info)
…ht © 2005 - 2011 SLAED # Website: http://www.slaed.net if (!defined("BLOCK_FILE")) { header("Location: ../index.php"); exit; } global $prefix, $db, $currentlang, $conf, $confu, $c...
Кеширование блоков с sql-запросами для slaed cms
…ht © 2005 - 2011 SLAED # Website: http://www.slaed.net if (!defined("BLOCK_FILE")) { header("Location: ../index.php"); exit; } /* Начало изменений */ $content = call_cache("block-...
Последние комментарии из трех таблиц
…. Цена вопроса 500 р. block-LastComments.php PHP <?php if (!defined('BLOCK_FILE')) { Header("Location: ../index.php"); exit; } global $prefix, $db; $strip = 20; #обрезка текста ко...
include
…PHP <?php get_lang(); ?> На серваке выдает ошибку Call to undefined function phpget_lang() in /home/cp344540/public_html/function/ajax/fire.php on line 1 Что я делаю не так? На ло...
Проблема с блоком на хосте
…находясь на одной из страниц этой категории PHP <?php if (!defined('BLOCK_FILE')) { Header("Location: ../index.php"); exit; } global $prefix, $db, $module_name, $cid, $pid, $pagec...
BB Code - Text area
…_break($desc)."</textarea>" ."<div class=\"editor\">"; if ((defined("ADMIN_FILE") && $con[8] == 1) || (is_user() && $con[8] == 1) || (!is_user() && $con[9] == 1)) $code .= "<div i...
не получается установить sape...
Разместил Сапу вот так... это в блок... <?php if (!defined('BLOCK_FILE')) { Header("Location: ../index.php"); exit; } define('_SAPE_USER', 'тут мой хэш'); require_once($_SERVER['DO...
Как подключить PHP файл на все страницы сайта?
…узился, потом пробовал создать блок с содержанием: PHP if (!defined('BLOCK_FILE')) { Header("Location: ../index.php"); exit; } $content = require_once($_SERVER['DOCUMENT_ROOT'].'/...
Блокирование адреса
…AED. Вот содержимое файла config_blocker.php PHP <?php if (!defined("FUNC_FILE")) die("Illegal File Access"); $security_blocker_ip = ""; $security_blocker_user = ""; ?> Кроме очис...