Новичок
Покинул форум
Сообщений всего: 2
Дата рег-ции: Янв. 2011
Помог: 0 раз(а)
|
поставил движок datalife все вроде работает при установки модуля при заходе выдает не обработаный php т.е
на всю страницу код
Спойлер (Отобразить)'RSS Grabber','version'=>'3.6.4.1'); require_once ENGINE_DIR .'/inc/plugins/core.php'; require_once ENGINE_DIR .'/classes/templates.class.php'; require_once ENGINE_DIR .'/classes/parse.class.php'; include_once ENGINE_DIR.'/classes/rss.class.php'; $parse = new ParseFilter (array (),array (),1,1); $tpl = new dle_template (); $tpl->dir = ENGINE_DIR .'/inc/plugins/templates/'; require_once ENGINE_DIR .'/inc/plugins/rss.classes.php'; require_once ENGINE_DIR .'/inc/plugins/rss.functions.php'; require_once ENGINE_DIR .'/inc/plugins/rss.parser.php'; @include(ENGINE_DIR.'/data/rss_config.php'); if ($_REQUEST['action'] != '') { $action = $_REQUEST['action']; } else { $action = ''; } if ($_REQUEST['subaction'] != '') { $subaction = $_REQUEST['subaction']; } else { $subaction = ''; } if ($_REQUEST['id'] != '') { $id = intval ($_REQUEST['id']); } else { $id = ''; } if (($action == 'channel') and ($subaction == 'add')) { echoheader ('',''); opentable ('Добавление новой RSS ленты'); $tpl->load_template ('rss_addchannel.tpl'); $tpl->set ('{title}',''); $tpl->set ('{category}',categorynewsselection (1,0)); $tpl->set ('{address}',''); $tpl->set ('{date-format}',gen_date_format ($config_rss['date'])); $tpl->set ('{load-images}',yesno ($config_rss['down_image'])); $tpl->set ('{down_radikal}',yesno ($config_rss['down_radikal'])); $tpl->set ('{hide}',yesno ($config_rss['hide'])); $tpl->set ('{leech}',yesno ($config_rss['leech'])); $tpl->set ('{thumb-images}',yesno ($config_rss['cat'])); $tpl->set ('{allow-mod}',yesno ($config_rss['allow-mod'])); $tpl->set ('{allow-main}',yesno ($config_rss['allow-main'])); $tpl->set ('{allow-comm}',yesno ($config_rss['allow-comm'])); $tpl->set ('{allow-rate}',yesno ($config_rss['allow-rate'])); $tpl->set ('{allow-full}',yesno ($config_rss['allow-full'])); $tpl->set ('{allow-auto}',yesno ($config_rss['allow-auto'])); $tpl->set ('{allow-water}',yesno ($config_rss['allow-water'])); $tpl->set ('{clear-short}',yesno ($config_rss['clear-short'])); $tpl->set ('{short-images}',yesno ($config_rss['short-images'])); $tpl->set ('{short-full}',yesno ($config_rss['short-full'])); $tpl->set ('{dop-watermark}',yesno ($config_rss['dop-watermark'])); $tpl->set ('{null}',yesno ($config_rss['null'])); $tpl->set ('{text-url}',yesno ($config_rss['text-url'])); $tpl->set ('{x}',gen_x ($config_rss['x'])); $tpl->set ('{y}',gen_y ($config_rss['y'])); $tpl->set ('{margin}',$config_rss['margin']); $tpl->set ('{show_autor}',yesno ($config_rss['show_autor'])); $tpl->set ('{show_tegs}',yesno ($config_rss['show_tegs'])); $tpl->set ('{show_date}',yesno ($config_rss['show_date'])); $tpl->set ('{show_code}',yesno ($config_rss['show_code'])); $tpl->set ('{show_f}',yesno ($config_rss['show_f'])); $tpl->set ('{proxy}',yesno ('no')); $tpl->set ('{start-template}',"
{get}
"); $tpl->set ('{delate}',''); $tpl->set ('{inser}',''); $tpl->set ('{cookies}',''); $tpl->set ('{keywords}',''); $tpl->set ('{xdescr}',''); $tpl->
и так далее в чем проблема подскажите ! заранее спасибо
|