Не помогло, по адресу site.ru/rss.xml лента так и не открывается.
Как это сделать, как мне изменить адрес RSS?
Тему можно удалить.
Большое спасибо, все заработало, не понимаю как такое могло произойти, возможно когда по FTP файл заливал, как-то код потерялся.
Тему можно закрыть.
Она там есть, просто выше только кусок кода, вот код с самого начала и почти до середины:
<?php /* ===================================================== DataLife Engine - by SoftNews Media Group ----------------------------------------------------- http://dle-news.ru/ ----------------------------------------------------- Copyright (c) 2004,2008 SoftNews Media Group ===================================================== Данный код защищен авторскими правами ===================================================== Файл: templates.php ----------------------------------------------------- Назначение: Управление шаблонами ===================================================== */ if(!defined('DATALIFEENGINE')) { die("Hacking attempt!"); } // ******************************************************************************** // Edit Templates // ******************************************************************************** if($member_db[1] != 1){ msg("error", $lang['opt_denied'], $lang['opt_denied']); } if ($_REQUEST['user_hash'] == "" OR $_REQUEST['user_hash'] != $dle_login_hash) { header("Location: $PHP_SELF?mod=templates&user_hash=".$dle_login_hash); } /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Detect all template packs we have ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ $templates_list = array(); if(!$handle = opendir("./templates")){ die($lang['opt_errfo']); } while (false !== ($file = readdir($handle))){ if(is_dir("./templates/$file") and ($file != "." and $file!="..")){ $templates_list[] = $file; } } closedir($handle); $language_list = array(); if(!$handle = opendir("./language")){ die($lang['opt_errfo']); } while (false !== ($file = readdir($handle))){ if(is_dir("./language/$file") and ($file != "." and $file!="..")){ $language_list[] = $file; } } closedir($handle); if($_REQUEST['subaction'] == "language"){ $allow_save = false; $_REQUEST['do_template'] = trim( totranslit($_REQUEST['do_template'], false, false) ); $_REQUEST['do_language'] = trim( totranslit($_REQUEST['do_lang 59-ааааааая: -if ($_REQUEST['do_template'] != "" AND $_REQUEST['do_language'] != "") { $config["lang_".$_REQUEST['do_template']] = $_REQUEST['do_language']; $allow_save = true; } elseif ($config["lang_".$_REQUEST['do_template']] AND $_REQUEST['do_language'] == "") { unset ($config["lang_".$_REQUEST['do_template']]); $allow_save = true; } if ($allow_save) { if ($auto_detect_config) $config['http_home_url'] = ""; $handler = fopen(ENGINE_DIR.'/data/config.php', "w"); fwrite($handler, "<?PHP \n\n//System Configurations\n\n\$config = array (\n\n"); foreach($config as $name => $value) { fwrite($handler, "'{$name}' => \"{$value}\",\n\n"); } fwrite($handler, ");\n\n?>"); fclose($handler); } } if($subaction == "new"){ echoheader("options", $lang['opt_newtemp']); echo"<form method=post action=\"$PHP_SELF\"><table width=100%><tr><td height=\"150\"><center>$lang[opt_newtemp_1] <select name=base_template>"; foreach($templates_list as $single_template){ echo "<option value=\"$single_template\">$single_template</option>"; } echo '</select> '.$lang[opt_msgnew].' <input class=edit type=text name=template_name> <br /><br /><input type="submit" value="'.$lang['b_start'].'" class="buttons"> <input type=hidden name=mod value=templates> <input type=hidden name=action value=templates> <input type=hidden name=subaction value=donew> <input type=hidden name=user_hash value="'.$dle_login_hash.'"> </td></tr></table></form>'; echofooter(); exit; } /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Do Create the new template ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ if($subaction == "donew"){ function open_dir($dir, $newdir){ //The function that will copy the files if(file_exists($dir) && file_exists($newdir)){ $open_dir=opendir($dir); while (false !== ($file = readdir($open_dir))) { if($file != "." && $file != ".."){ if(@filetype($dir."/".$file."/") == "dir"){ if(!file_exists($newdir."/".$file."/")){ mkdir($newdir."/".$file."/"); @chmod($newdir."/".$file, 0777); open_dir($dir."/".$file."/", $newdir."/".$file."/"); } } else { copy($dir."/".$file."/", $newdir."/".$file); @chmod($newdir."/".$file, 0666); } } } } } if(!eregi("^[a-z0-9_-]+$", $template_name)){ msg("error", $lang['opt_error'], $lang['opt_error_1'], "$PHP_SELF?mod=templates&subaction=new&user_hash={$dle_login_hash}"); } $result = @mkdir("./templates/".$template_name, 0777);@chmod("./templates/".$template_name, 0777); if (!$result) msg("error", $lang['opt_error'], $lang['opt_cr_err'], "$PHP_SELF?mod=templates&subaction=new&user_hash={$dle_login_hash}"); else open_dir("./templates/".$base_template, "./templates/".$template_name); msg("info", $lang['opt_info'], $lang['opt_info_1'], "$PHP_SELF?mod=templates&user_hash={$dle_login_hash}"); } /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Deleting template, preparation ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ if($subaction == "delete"){ if(strtolower($do_template) == "default" OR strtolower($do_template) == ''){ msg("Error", $lang['opt_error'], $lang['opt_error_4'], "$PHP_SELF?mod=templates&user_hash={$dle_login_hash}"); } $msg = "<form method=post action=\"$PHP_SELF\">$lang[opt_info_2] <b>$do_template</b>?<br><br> <input class=bbcodes type=submit value=\" $lang[opt_yes] \"> <input class=bbcodes onClick=\"document.location='$PHP_SELF?mod=templates';\" type=button value=\"$lang[opt_no]\"> <input type=hidden name=mod value=templates> <input type=hidden name=subaction value=dodelete> <input type=hidden name=do_template value=\"$do_template\"> <input type=hidden name=user_hash value=\"$dle_login_hash\"> </form>"; msg("info", $lang['opt_info_3'], $msg); } /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DO Deleting template ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ if($subaction == "dodelete"){ if(strtolower($do_template) == "default"){ msg("Error", $lang['opt_error'], $lang['opt_error_4'], "$PHP_SELF?mod=templates&user_hash={$dle_login_hash}"); } listdir("./templates/".$do_template); msg("info", $lang['opt_info_3'], $lang['opt_info_4'], "$PHP_SELF?mod=templates&user_hash={$dle_login_hash}"); } // ******************************************************************************** // Do Save Changes to Templates // ******************************************************************************** if($action == "dosavetemplates") { extract($_POST, EXTR_SKIP); if($do_template == "" or !$do_template){ $do_template = "Default"; } function save_template($tpl_name, $text) { global $do_template; $handle = fopen('./templates/'. $do_template . DIRECTORY_SEPARATOR . $tpl_name,"w"); fwrite($handle, $text); fclose($handle); } $templates_names = array("edit_main" => "main.tpl", "edit_vote" => "vote.tpl", "edit_active" => "shortstory.tpl", "edit_comment" => "comments.tpl", "edit_form" => "addcomments.tpl", "edit_full" => "fullstory.tpl", "edit_prev_next" => "navigation.tpl", "edit_user" => "userinfo.tpl", "edit_addnews" => "addnews.tpl", "edit_search" => "search.tpl", "edit_searchresult" => "searchresult.tpl", "edit_stats" => "stats.tpl", "edit_error" => "info.tpl", "edit_reg" => "registration.tpl", "edit_pass" => "lostpassword.tpl", "edit_mail" => "feedback.tpl", "edit_pm" => "pm.tpl", "edit_offline" => "offline.tpl", "edit_static" => "static.tpl", "edit_poll" => "poll.tpl", "edit_speedbar" => "speedbar.tpl"); foreach($templates_names as $template => $template_file) { save_template($template_file, stripslashes($$template)); } clear_cache (); msg("info",$lang['opt_editok'],$lang['opt_editok_1'],"$PHP_SELF?mod=templates&user_hash={$dle_login_hash}&do_template=$do_template"); } /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Show The Template Manager ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ if($do_template == '' or !$do_template){ $do_template = $config['skin']; $show_delete_link = ''; }elseif($do_template != $config['skin']){ $show_delete_link = "[<a class=\"maintitle\" href=\"$PHP_SELF?mod=templates&subaction=delete&user_hash={$dle_login_hash}&do_template=$do_template\">$lang[opt_dellink]</a>]"; }
Магазин был сразу-же куплен, всем спасибо за внимание, удачи. :)
Мой KIS 7-ой не ругается. Сайт нормально грузится ... Теперь уже без рекламы. Можно смотреть.
ога, а где ещё есть мониторинг WMB, ато на обменнике мало очень, всего несколько сайтов :)
Я могу обменять, мне наоборот нужно WMZ перевести в нал :)
я пока нашел только про то, как класть на телефон через WMB без процентов :)