Поиск

Поиск

1

Помогите с блоком files

…т первую картинку из файлов. Помогите разобраться. PHP if (!defined("BLOCK_FILE")) { Header("Location: ../index.php"); exit; } global $prefix, $db; $strip = 200; $result = $db->sq...
3 71460 deather
2

Картинки в rss

…прописываются в description/ вот config_rss.php <?php if (!defined("FUNC_FILE")) die("Illegal File Access"); $confrs = array(); $confrs['min'] = "10"; $confrs['max'] = "50"; $conf...
2 44072 deather
3

Блок картинок не выводит title из базы данных

…вида запросов в BD. Код сейчас выглядит так: PHP <?php if (!defined("BLOCK_FILE")) { Header("Location: /index.php"); exit; } global $short, $spconf; $path = "images/shop/all/"; if...
11 111801 gizzo
4

Internet Explorer не отображает текст в UTF-8

…с в файле настройки config.php записано так: PHP <?php if (!defined("FUNC_FILE")) die("Illegal File Access"); $dbtype = "mysql"; $dbcode = "utf8"; ?> Подскажите, пожалуйста, что н...
5 89253 gizzo
5

Автоматическая подгрузка контента при прокручивании страницы

…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...
4 190157 ra55551
6

PHP Notice: Undefined index: HTTP_ACCEPT_ENCODING

PHP Notice: Undefined index: HTTP_ACCEPT_ENCODING in /www/htdocs/function/security.php on line 24 что за ошибка такая? как от нее избавиться?
1 33745 SuperAdm
7

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...
3 129838 VAN
8

Кеширование блоков с 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-...
133010 ra55551
9

Последние комментарии из трех таблиц

…. Цена вопроса 500 р. block-LastComments.php PHP <?php if (!defined('BLOCK_FILE')) { Header("Location: ../index.php"); exit; } global $prefix, $db; $strip = 20; #обрезка текста ко...
2 120362 Buch
10

include

…PHP <?php get_lang(); ?> На серваке выдает ошибку Call to undefined function phpget_lang() in /home/cp344540/public_html/function/ajax/fire.php on line 1 Что я делаю не так? На ло...
1 45978 ra55551
11

Проблема с блоком на хосте

…находясь на одной из страниц этой категории PHP <?php if (!defined('BLOCK_FILE')) { Header("Location: ../index.php"); exit; } global $prefix, $db, $module_name, $cid, $pid, $pagec...
11 148460 Turbo
12

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...
4 84920 nick888
13

не получается установить sape...

Разместил Сапу вот так... это в блок... <?php if (!defined('BLOCK_FILE')) { Header("Location: ../index.php"); exit; } define('_SAPE_USER', 'тут мой хэш'); require_once($_SERVER['DO...
6 107693 nick888
14

Как подключить PHP файл на все страницы сайта?

…узился, потом пробовал создать блок с содержанием: PHP if (!defined('BLOCK_FILE')) { Header("Location: ../index.php"); exit; } $content = require_once($_SERVER['DOCUMENT_ROOT'].'/...
2 81392 gagauz
15

Блокирование адреса

…AED. Вот содержимое файла config_blocker.php PHP <?php if (!defined("FUNC_FILE")) die("Illegal File Access"); $security_blocker_ip = ""; $security_blocker_user = ""; ?> Кроме очис...
2 71020 rvg
Хотите опробовать SLAED CMS в действии?
Идеи и предложения
Обратная связь
Подтверждение

Поделиться
QR-код

Предпросмотр