Invalid argument supplied for foreach()
#1 Theme_functions->show_xml(Array(...)) called at [/var/www/u0075902/public_html/orendfm.ru/includes/parser_theme.php:206]
#2 Parser_theme->start_element(Array(...)) called at [/var/www/u0075902/public_html/orendfm.ru/includes/parser_theme.php:90]
#3 Parser_theme->get_function_in_theme(<?php if(!defined("DIAFAN")){include "../includes/404.php";exit();} ?> <!DOCTYPE HTML> <!--[if IE 7]><html class="ie7"><![endif]--> <!--[if IE 8]><html class="ie8"><![endif]--> <!--[if gt IE 8]><!--> <html> <!--<![endif]--> <head> <title><insert name="show_title"></title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="description" content="<insert name="show_description">"> <meta name="keywords" content="<insert name="show_keywords">"> <meta content="<insert value="Russian">" name="language"> <meta content="DiAfan http://www.diafan.ru/" name="author"> <meta content="All" name="robots"> <link href="<insert name="path">css/style.css" rel="stylesheet" type="text/css"> <link href="<insert name="path">css/sliderkit-core.css" rel="stylesheet" type="text/css"> <link href="<insert name="path">css/sliderkit-demos.css" rel="stylesheet" type="text/css"> <link rel="alternate" type="application/rss+xml" title="RSS" href="<insert name="path_url">news/rss/"> <insert name="show_js"> <script type="text/javascript" src="<insert name="path">js/placeholder.js"></script> <script type="text/javascript" src="<insert name="path">js/jquery.sliderkit.1.9.2.pack.js"></script> <script type="text/javascript" src="<insert name="path">js/common.js"></script> <!--[if lt IE 9]> <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> </head> <body> <div id="container"> <header id="header"> <div id="logo"> <insert name="show_href" rewrite="" img="img/logo.png"> </div> <insert name="show_block" id="23"> <div id="soc"> <ul class="ul_reset"> <li><a href="http://vk.com/orendfm"><img src="<insert name="path">img/icon_vk.png" width="38" height="37" /></a></li> <li><a href="https://twitter.com/orendfm"><img src="<insert name="path">img/icon_tw.png" width="38" height="37" /></a></li> <li><a href="http://www.facebook.com/dfm.orenburg"><img src="<insert name="path">img/icon_fb.png" width="38" height="37" /></a></li> </ul> </div> </header> <div id="main"> <div id="content"> <nav id="menu"> <ul> <insert name="show_block" module="menu" id="1" tag_start_1="[li]" tag_end_1="[/li]" tag_level_start_2="[ul]" tag_start_2="[li]" tag_end_2="[/li]" tag_level_end_2="[/ul]" > </ul> </nav> <div id="slider_wrapper"> <div class="sliderkit photosgallery-vertical"> <div class="sliderkit-nav"> <div class="sliderkit-nav-clip"> <ul> <insert name="show_slider_main_prev"> <!-- <li><a href="#" rel="nofollow" title="[link title]"><img src="<insert name="path">img/banner_1.jpg" alt="[Alternative text]" /></a></li> <li><a href="#" rel="nofollow" title="[link title]"><img src="<insert name="path">img/banner_5.jpg" alt="[Alternative text]" /></a></li> --> </ul> </div> <div class="sliderkit-btn sliderkit-nav-btn sliderkit-nav-prev"><a rel="nofollow" href="#" title="Previous line"><span>Previous</span></a></div> <div class="sliderkit-btn sliderkit-nav-btn sliderkit-nav-next"><a rel="nofollow" href="#" title="Next line"><span>Next</span></a></div> </div> <div class="sliderkit-panels"> <insert name="show_slider_main"> <!-- <div class="sliderkit-panel"> <img src="<insert name="path">img/banner_1.jpg" width="502" height="300" /> </div> <div class="sliderkit-panel"> <img src="<insert name="path">img/banner_5.jpg" width="502" height="300" /> </div> --> </div> </div> </div> <article class="post"> <insert name="show_body"> </article> </div> <aside> <section class="news"> <h4>Новости сайта</h4> <insert name="show_block" module="news" count="3"> <h4>Новости DFM</h4> <insert name="show_xml"> </section> <section class="poll"> <h4>Голосование</h4> <insert name="show_votes"> </section> <script type="text/javascript" src="//vk.com/js/api/openapi.js?82"></script> <!-- VK Widget --> <div id="vk_groups"></div> <script type="text/javascript"> VK.Widgets.Group("vk_groups", {mode: 0, width: "200", height: "290"}, 13192642); </script> </aside> <div class="clr"></div> </div> <footer id="bottom"> <insert name="show_block" id="33"> </footer> </div> </body> </html>) called at [/var/www/u0075902/public_html/orendfm.ru/includes/parser_theme.php:53]
#4 Parser_theme->show_theme(Controller) called at [/var/www/u0075902/public_html/orendfm.ru/includes/init.php:342]
#5 Init->start() called at [/var/www/u0075902/public_html/orendfm.ru/index.php:56]
/var/www/u0075902/public_html/orendfm.ru/includes/function.php:648