Вывод элементов ИС по n штук в группе +постраничная навигация
И в xml нет элементов внутри Informationsystem_Group ?
«Не выходи из комнаты, не совершай ошибку…»
llirik, полдела сделано, теперь хотелось бы пагинацию сделать) XML показывает по 24 элемента в группе. Как теперь прикрутить навигацию?
llirik, или может быть есть возможность при переходе в саму группу по ссылке внутри группы отображать все элементы?
aikyaira,
к сожалению в рамках форума решить вопрос с пагинацией не представится возможным, здесь нужен другой подход с переопределением контроллера, также нужно решить вопрос с тем, что делать, если на странице N кончились записи в группе. Вы можете заказать такие работы у партнеров или у нас почасовые работы.
aikyaira писал(а):
Есть, проверяете, если это не группа, то только тогда устанавливаете лимит в 0 и добавляете хук, то есть вносите это всё в условие
к сожалению в рамках форума решить вопрос с пагинацией не представится возможным, здесь нужен другой подход с переопределением контроллера, также нужно решить вопрос с тем, что делать, если на странице N кончились записи в группе. Вы можете заказать такие работы у партнеров или у нас почасовые работы.
aikyaira писал(а):
или может быть есть возможность при переходе в саму группу по ссылке внутри группы отображать все элементы?
Есть, проверяете, если это не группа, то только тогда устанавливаете лимит в 0 и добавляете хук, то есть вносите это всё в условие
if (!$Informationsystem_Controller_Show->group)
{
}
{
}
hostcms,
беда, теперь после добавления условия-не отображается сам элемент при просмотре этого элемента xml формируется, как группа, а не как элемент, что делать?
беда, теперь после добавления условия-не отображается сам элемент при просмотре этого элемента xml формируется, как группа, а не как элемент, что делать?
замените на
if (!$Informationsystem_Controller_Show->group && !$Informationsystem_Controller_Show->item)
{
}
{
}
Подправила, теперь в XML отображается 1 элемент, но по-прежнему не могу вывести его. Вот XSL, подскажите, пожалуйста, что не так?
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet SYSTEM "lang://257">
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:hostcms="http://www.hostcms.ru/"
exclude-result-prefixes="hostcms">
<xsl:output xmlns="http://www.w3.org/TR/xhtml1/strict" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" encoding="utf-8" indent="yes" method="html" omit-xml-declaration="no" version="1.0" media-type="text/xml"/>
<!-- ВыводЕдиницыИнформационнойСистемы -->
<xsl:template match="/">
<xsl:variable name="group_id" select="@id"/>
<xsl:apply-templates select="informationsystem_item[informationsystem_group_id = $group_id]"/>
</xsl:template>
<xsl:template match="informationsystem_item">
<div class="u-container-layout u-container-layout-1 video-item" data-name-of-video="{name}" data-img-of-video="{dir}{image_large}">
<div class="u-tab-links-align-justify u-tabs u-tabs-1">
<ul class="u-border-1 u-border-grey-25 u-tab-list u-unstyled" role="tablist">
<li class="u-tab-item" role="presentation">
<a class="active u-active-white u-border-2 u-border-active-palette-1-base u-border-hover-palette-1-base u-border-no-left u-border-no-right u-border-no-top u-border-palette-1-dark-1 u-button-style u-tab-link u-text-active-palette-1-base u-text-hover-palette-1-dark-3 u-text-palette-1-dark-1 u-tab-link-1" id="link-tab-213e" href="#tab-213e" role="tab" aria-controls="tab-213e" aria-selected="true"><xsl:value-of select="date"/></a>
</li>
</ul>
<div class="u-tab-content">
<div class="u-container-style u-tab-active u-tab-pane u-white u-tab-pane-1" id="tab-213e" role="tabpanel" aria-labelledby="link-tab-213e">
<div class="u-container-layout u-container-layout-2">
<p class="u-text u-text-1"><xsl:value-of disable-output-escaping="yes" select="text"/></p>
<div class="u-video u-video-contain u-video-1">
<div class="embed-responsive embed-responsive-1">
<iframe style="position: absolute;top: 0;left: 0;width: 100%;height: 100%;" class="embed-responsive-item" src="https://www.youtube.com/embed/{property_value[tag_name='video_url']/value}?mute=0&showinfo=0&controls=1&start=0" frameborder="0" allowfullscreen="1"></iframe>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</xsl:template>
</xsl:stylesheet>
XML
<informationsystem id="3">
<informationsystem_dir_id>0</informationsystem_dir_id>
<structure_id>1</structure_id>
<site_id>1</site_id>
<name>СлайдерГородов</name>
<description></description>
<use_captcha>1</use_captcha>
<items_on_page>0</items_on_page>
<format_date>%d.%m.%Y</format_date>
<format_datetime>%d.%m.%Y %H:%M:%S</format_datetime>
<url_type>1</url_type>
<http>//provas.pro</http>
<url>/</url>
<captcha_id>56b2d950b8d14e67ab8a7977a54a6f5e</captcha_id>
<siteuser_id>0</siteuser_id>
<ОтображатьСсылкуНаАрхив>0</ОтображатьСсылкуНаАрхив>
<ОтображатьСсылкиНаСледующиеСтраницы>1</ОтображатьСсылкиНаСледующиеСтраницы>
<ТекущаяГруппа>1</ТекущаяГруппа>
<show_comments>0</show_comments>
<show_add_comments>0</show_add_comments>
<group>1</group>
<page>0</page>
<part>0</part>
<limit>0</limit>
<informationsystem_group id="1">
<informationsystem_id>3</informationsystem_id>
<siteuser_id>0</siteuser_id>
<parent_id>0</parent_id>
<shortcut_id>0</shortcut_id>
<name>Сергиев Посад</name>
<description><p class="u-text-variant u-margin-top-10" style="border-top: 1px solid #2e242247;">Единственный город Подмосковья, включенный в маршрут Золотого кольца России. Ежегодно сюда приезжают тысячи паломников и туристов со всего мира. Город получил свое название от имени преподобного Сергия Радонежского, основателя крупнейшего монастыря России &mdash; Троице-Сергиевой лавры.&nbsp;</p>
<p class="u-text-variant u-margin-top-10">Город Сергиев Посад и одноименный городской округ &mdash; регион с богатейшей историей. История Сергиева Посада насчитывает почти семь веков насыщенной яркими событиями жизни.</p>
<p class="u-text-variant u-margin-top-10">Новости Сергиева Посада освещаются нашим телеканалом еженедельно. Телеканал Мой Дом начал вещание на Сергиев Посад в январе 2021 года. За это время выпущено десятки сюжетов о событиях в городе и округе, нашими экспертами стали заслуженные жители Сергиева Посада-работники промышленности, представители бизнеса, сферы ЖКХ, научных кругов, спорта и культуры.</p>
<p class="u-text-variant u-margin-top-10"><em>(С) Мой Дом и всё о нём! </em></p></description>
<sorting>0</sorting>
<path>1</path>
<image_large></image_large>
<image_small></image_small>
<indexing>1</indexing>
<subgroups_count>0</subgroups_count>
<subgroups_total_count>0</subgroups_total_count>
<items_count>70</items_count>
<items_total_count>70</items_total_count>
<seo_title></seo_title>
<seo_description></seo_description>
<seo_keywords></seo_keywords>
<siteuser_group_id>-1</siteuser_group_id>
<active>1</active>
<guid>C5CFAD62-9D8B-4277-8B2E-5A6F1F575036</guid>
<sns_type_id>0</sns_type_id>
<url>/1/</url>
<dir>/upload/information_system_3/0/0/1/group_1/</dir>
</informationsystem_group>
<informationsystem_item_properties>
<property id="2">
<property_dir_id>0</property_dir_id>
<name>ID видео на Youtube</name>
<description></description>
<type>1</type>
<default_value></default_value>
<tag_name>video_url</tag_name>
<sorting>0</sorting>
<watermark_default_use_large_image>0</watermark_default_use_large_image>
<watermark_default_use_small_image>0</watermark_default_use_small_image>
<multiple>0</multiple>
<obligatory>1</obligatory>
</property>
</informationsystem_item_properties>
<comment_properties></comment_properties>
</informationsystem>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet SYSTEM "lang://257">
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:hostcms="http://www.hostcms.ru/"
exclude-result-prefixes="hostcms">
<xsl:output xmlns="http://www.w3.org/TR/xhtml1/strict" doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" encoding="utf-8" indent="yes" method="html" omit-xml-declaration="no" version="1.0" media-type="text/xml"/>
<!-- ВыводЕдиницыИнформационнойСистемы -->
<xsl:template match="/">
<xsl:variable name="group_id" select="@id"/>
<xsl:apply-templates select="informationsystem_item[informationsystem_group_id = $group_id]"/>
</xsl:template>
<xsl:template match="informationsystem_item">
<div class="u-container-layout u-container-layout-1 video-item" data-name-of-video="{name}" data-img-of-video="{dir}{image_large}">
<div class="u-tab-links-align-justify u-tabs u-tabs-1">
<ul class="u-border-1 u-border-grey-25 u-tab-list u-unstyled" role="tablist">
<li class="u-tab-item" role="presentation">
<a class="active u-active-white u-border-2 u-border-active-palette-1-base u-border-hover-palette-1-base u-border-no-left u-border-no-right u-border-no-top u-border-palette-1-dark-1 u-button-style u-tab-link u-text-active-palette-1-base u-text-hover-palette-1-dark-3 u-text-palette-1-dark-1 u-tab-link-1" id="link-tab-213e" href="#tab-213e" role="tab" aria-controls="tab-213e" aria-selected="true"><xsl:value-of select="date"/></a>
</li>
</ul>
<div class="u-tab-content">
<div class="u-container-style u-tab-active u-tab-pane u-white u-tab-pane-1" id="tab-213e" role="tabpanel" aria-labelledby="link-tab-213e">
<div class="u-container-layout u-container-layout-2">
<p class="u-text u-text-1"><xsl:value-of disable-output-escaping="yes" select="text"/></p>
<div class="u-video u-video-contain u-video-1">
<div class="embed-responsive embed-responsive-1">
<iframe style="position: absolute;top: 0;left: 0;width: 100%;height: 100%;" class="embed-responsive-item" src="https://www.youtube.com/embed/{property_value[tag_name='video_url']/value}?mute=0&showinfo=0&controls=1&start=0" frameborder="0" allowfullscreen="1"></iframe>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</xsl:template>
</xsl:stylesheet>
XML
<informationsystem id="3">
<informationsystem_dir_id>0</informationsystem_dir_id>
<structure_id>1</structure_id>
<site_id>1</site_id>
<name>СлайдерГородов</name>
<description></description>
<use_captcha>1</use_captcha>
<items_on_page>0</items_on_page>
<format_date>%d.%m.%Y</format_date>
<format_datetime>%d.%m.%Y %H:%M:%S</format_datetime>
<url_type>1</url_type>
<http>//provas.pro</http>
<url>/</url>
<captcha_id>56b2d950b8d14e67ab8a7977a54a6f5e</captcha_id>
<siteuser_id>0</siteuser_id>
<ОтображатьСсылкуНаАрхив>0</ОтображатьСсылкуНаАрхив>
<ОтображатьСсылкиНаСледующиеСтраницы>1</ОтображатьСсылкиНаСледующиеСтраницы>
<ТекущаяГруппа>1</ТекущаяГруппа>
<show_comments>0</show_comments>
<show_add_comments>0</show_add_comments>
<group>1</group>
<page>0</page>
<part>0</part>
<limit>0</limit>
<informationsystem_group id="1">
<informationsystem_id>3</informationsystem_id>
<siteuser_id>0</siteuser_id>
<parent_id>0</parent_id>
<shortcut_id>0</shortcut_id>
<name>Сергиев Посад</name>
<description><p class="u-text-variant u-margin-top-10" style="border-top: 1px solid #2e242247;">Единственный город Подмосковья, включенный в маршрут Золотого кольца России. Ежегодно сюда приезжают тысячи паломников и туристов со всего мира. Город получил свое название от имени преподобного Сергия Радонежского, основателя крупнейшего монастыря России &mdash; Троице-Сергиевой лавры.&nbsp;</p>
<p class="u-text-variant u-margin-top-10">Город Сергиев Посад и одноименный городской округ &mdash; регион с богатейшей историей. История Сергиева Посада насчитывает почти семь веков насыщенной яркими событиями жизни.</p>
<p class="u-text-variant u-margin-top-10">Новости Сергиева Посада освещаются нашим телеканалом еженедельно. Телеканал Мой Дом начал вещание на Сергиев Посад в январе 2021 года. За это время выпущено десятки сюжетов о событиях в городе и округе, нашими экспертами стали заслуженные жители Сергиева Посада-работники промышленности, представители бизнеса, сферы ЖКХ, научных кругов, спорта и культуры.</p>
<p class="u-text-variant u-margin-top-10"><em>(С) Мой Дом и всё о нём! </em></p></description>
<sorting>0</sorting>
<path>1</path>
<image_large></image_large>
<image_small></image_small>
<indexing>1</indexing>
<subgroups_count>0</subgroups_count>
<subgroups_total_count>0</subgroups_total_count>
<items_count>70</items_count>
<items_total_count>70</items_total_count>
<seo_title></seo_title>
<seo_description></seo_description>
<seo_keywords></seo_keywords>
<siteuser_group_id>-1</siteuser_group_id>
<active>1</active>
<guid>C5CFAD62-9D8B-4277-8B2E-5A6F1F575036</guid>
<sns_type_id>0</sns_type_id>
<url>/1/</url>
<dir>/upload/information_system_3/0/0/1/group_1/</dir>
</informationsystem_group>
<informationsystem_item_properties>
<property id="2">
<property_dir_id>0</property_dir_id>
<name>ID видео на Youtube</name>
<description></description>
<type>1</type>
<default_value></default_value>
<tag_name>video_url</tag_name>
<sorting>0</sorting>
<watermark_default_use_large_image>0</watermark_default_use_large_image>
<watermark_default_use_small_image>0</watermark_default_use_small_image>
<multiple>0</multiple>
<obligatory>1</obligatory>
</property>
</informationsystem_item_properties>
<comment_properties></comment_properties>
</informationsystem>
hostcms,
как вы говорите-получается такой xml
<informationsystem id="3">
<informationsystem_dir_id>0</informationsystem_dir_id>
<structure_id>1</structure_id>
<site_id>1</site_id>
<name>СлайдерГородов</name>
<description></description>
<use_captcha>1</use_captcha>
<items_on_page>0</items_on_page>
<format_date>%d.%m.%Y</format_date>
<format_datetime>%d.%m.%Y %H:%M:%S</format_datetime>
<url_type>1</url_type>
<http>//provas.pro</http>
<url>/</url>
<captcha_id>e98e190b82e33c5b6a1414ab69a1c7fc</captcha_id>
<siteuser_id>0</siteuser_id>
<ОтображатьСсылкуНаАрхив>0</ОтображатьСсылкуНаАрхив>
<ОтображатьСсылкиНаСледующиеСтраницы>1</ОтображатьСсылкиНаСледующиеСтраницы>
<ТекущаяГруппа>1</ТекущаяГруппа>
<show_comments>0</show_comments>
<show_add_comments>0</show_add_comments>
<group>1</group>
<page>0</page>
<part>0</part>
<limit>0</limit>
<informationsystem_group id="1">
<informationsystem_id>3</informationsystem_id>
<siteuser_id>0</siteuser_id>
<parent_id>0</parent_id>
<shortcut_id>0</shortcut_id>
<name>Сергиев Посад</name>
<description><p class="u-text-variant u-margin-top-10" style="border-top: 1px solid #2e242247;">Единственный город Подмосковья, включенный в маршрут Золотого кольца России. Ежегодно сюда приезжают тысячи паломников и туристов со всего мира. Город получил свое название от имени преподобного Сергия Радонежского, основателя крупнейшего монастыря России &mdash; Троице-Сергиевой лавры.&nbsp;</p>
<p class="u-text-variant u-margin-top-10">Город Сергиев Посад и одноименный городской округ &mdash; регион с богатейшей историей. История Сергиева Посада насчитывает почти семь веков насыщенной яркими событиями жизни.</p>
<p class="u-text-variant u-margin-top-10">Новости Сергиева Посада освещаются нашим телеканалом еженедельно. Телеканал Мой Дом начал вещание на Сергиев Посад в январе 2021 года. За это время выпущено десятки сюжетов о событиях в городе и округе, нашими экспертами стали заслуженные жители Сергиева Посада-работники промышленности, представители бизнеса, сферы ЖКХ, научных кругов, спорта и культуры.</p>
<p class="u-text-variant u-margin-top-10"><em>(С) Мой Дом и всё о нём! </em></p></description>
<sorting>0</sorting>
<path>1</path>
<image_large></image_large>
<image_small></image_small>
<indexing>1</indexing>
<subgroups_count>0</subgroups_count>
<subgroups_total_count>0</subgroups_total_count>
<items_count>70</items_count>
<items_total_count>70</items_total_count>
<seo_title></seo_title>
<seo_description></seo_description>
<seo_keywords></seo_keywords>
<siteuser_group_id>-1</siteuser_group_id>
<active>1</active>
<guid>C5CFAD62-9D8B-4277-8B2E-5A6F1F575036</guid>
<sns_type_id>0</sns_type_id>
<url>/1/</url>
<dir>/upload/information_system_3/0/0/1/group_1/</dir>
<informationsystem_item id="512">
<informationsystem_id>3</informationsystem_id>
<informationsystem_group_id>1</informationsystem_group_id>
<shortcut_id>0</shortcut_id>
<name>Мнение жителей важно?</name>
<description>Жильцы дома по Новоугличскому шоссе №17 недавно узнали о том, что у них сменилась управляющая компания. Причем ни оповещения, ни сообщения об этом никакого не было. Домовладельцы, пытаясь решить эту проблему, составили коллективное обращение к депутату Го</description>
<active>1</active>
<text>Жильцы дома по Новоугличскому шоссе №17 недавно узнали о том, что у них сменилась управляющая компания. Причем ни оповещения, ни сообщения об этом никакого не было. Домовладельцы, пытаясь решить эту проблему, составили коллективное обращение к депутату Го</text>
<image_large>informationsystem_items_catalog_image512.jpg</image_large>
<image_small>small_informationsystem_items_catalog_image512.jpg</image_small>
<image_large_width>1280</image_large_width>
<image_large_height>720</image_large_height>
<image_small_width>1280</image_small_width>
<image_small_height>720</image_small_height>
<sorting>0</sorting>
<ip>94.228.198.5</ip>
<path>mnenie-zhitelej-vazhno</path>
<indexing>1</indexing>
<seo_title></seo_title>
<seo_description></seo_description>
<seo_keywords></seo_keywords>
<siteuser_group_id>-1</siteuser_group_id>
<showed>14</showed>
<siteuser_id>0</siteuser_id>
<guid>CA7135CA-2CF5-734B-986D-7AC46527E821</guid>
<url>/1/mnenie-zhitelej-vazhno/</url>
<date>20.07.2021</date>
<datetime>20.07.2021 17:32:39</datetime>
<start_datetime>0000-00-00 00:00:00</start_datetime>
<end_datetime>0000-00-00 00:00:00</end_datetime>
<dir>/upload/information_system_3/5/1/2/item_512/</dir>
</informationsystem_item>
<informationsystem_item id="513">
<informationsystem_id>3</informationsystem_id>
<informationsystem_group_id>1</informationsystem_group_id>
<shortcut_id>0</shortcut_id>
<name>Погружение в эпоху</name>
<description>В школе на уроках истории меня особенно увлекала тема средневековья. Интересно бы было погрузиться в эту эпоху детально. Сергиево-Посадский музей расскажет о последних годах правления Рюриковичей и Смутном времени.</description>
<active>1</active>
<text>В школе на уроках истории меня особенно увлекала тема средневековья. Интересно бы было погрузиться в эту эпоху детально. Сергиево-Посадский музей расскажет о последних годах правления Рюриковичей и Смутном времени.</text>
<image_large>informationsystem_items_catalog_image513.jpg</image_large>
<image_small>small_informationsystem_items_catalog_image513.jpg</image_small>
<image_large_width>1280</image_large_width>
<image_large_height>720</image_large_height>
<image_small_width>1280</image_small_width>
<image_small_height>720</image_small_height>
<sorting>0</sorting>
<ip>94.228.198.5</ip>
<path>pogruzhenie-v-epoxu</path>
<indexing>1</indexing>
<seo_title></seo_title>
<seo_description></seo_description>
<seo_keywords></seo_keywords>
<siteuser_group_id>-1</siteuser_group_id>
<showed>1</showed>
<siteuser_id>0</siteuser_id>
<guid>A1FCE214-9868-A583-F0B0-8D034B0432C0</guid>
<url>/1/pogruzhenie-v-epoxu/</url>
<date>20.07.2021</date>
<datetime>20.07.2021 17:32:40</datetime>
<start_datetime>0000-00-00 00:00:00</start_datetime>
<end_datetime>0000-00-00 00:00:00</end_datetime>
<dir>/upload/information_system_3/5/1/3/item_513/</dir>
</informationsystem_item>
<informationsystem_item id="514">
<informationsystem_id>3</informationsystem_id>
<informationsystem_group_id>1</informationsystem_group_id>
<shortcut_id>0</shortcut_id>
<name>Саидушка, поднажми, родной!</name>
<description>Скоро его необычное имя научатся произносить во всем мире. Ждем репортажей Дмитрия Губерниева в стиле "Саидушка, поднажми, родной"</description>
<active>1</active>
<text>Скоро его необычное имя научатся произносить во всем мире. Ждем репортажей Дмитрия Губерниева в стиле "Саидушка, поднажми, родной"</text>
<image_large>informationsystem_items_catalog_image514.jpg</image_large>
<image_small>small_informationsystem_items_catalog_image514.jpg</image_small>
<image_large_width>1280</image_large_width>
<image_large_height>720</image_large_height>
<image_small_width>1280</image_small_width>
<image_small_height>720</image_small_height>
<sorting>0</sorting>
<ip>94.228.198.5</ip>
<path>saidushka-podnazhmi-rodnoj</path>
<indexing>1</indexing>
<seo_title></seo_title>
<seo_description></seo_description>
<seo_keywords></seo_keywords>
<siteuser_group_id>-1</siteuser_group_id>
<showed>2</showed>
<siteuser_id>0</siteuser_id>
<guid>056D8398-92A5-F44C-4B64-DB0612BA17DA</guid>
<url>/1/saidushka-podnazhmi-rodnoj/</url>
<date>20.07.2021</date>
<datetime>20.07.2021 17:32:40</datetime>
<start_datetime>0000-00-00 00:00:00</start_datetime>
<end_datetime>0000-00-00 00:00:00</end_datetime>
<dir>/upload/information_system_3/5/1/4/item_514/</dir>
</informationsystem_item>
<informationsystem_item id="515">
<informationsystem_id>3</informationsystem_id>
<informationsystem_group_id>1</informationsystem_group_id>
<shortcut_id>0</shortcut_id>
<name>Не фонтан</name>
<description>Совсем скоро на улице станет по-настоящему тепло. Но для меня символом весны и лета являются бьющие фонтаны. В Подмосковье они заработают уже в апреле.</description>
<active>1</active>
<text>Совсем скоро на улице станет по-настоящему тепло. Но для меня символом весны и лета являются бьющие фонтаны. В Подмосковье они заработают уже в апреле.</text>
<image_large>informationsystem_items_catalog_image515.jpg</image_large>
<image_small>small_informationsystem_items_catalog_image515.jpg</image_small>
<image_large_width>1280</image_large_width>
<image_large_height>720</image_large_height>
<image_small_width>1280</image_small_width>
<image_small_height>720</image_small_height>
<sorting>0</sorting>
<ip>94.228.198.5</ip>
<path>ne-fontan</path>
<indexing>1</indexing>
<seo_title></seo_title>
<seo_description></seo_description>
<seo_keywords></seo_keywords>
<siteuser_group_id>-1</siteuser_group_id>
<showed>1</showed>
<siteuser_id>0</siteuser_id>
<guid>4DE25769-87F1-AA1F-F65B-38FB3F840056</guid>
<url>/1/ne-fontan/</url>
<date>20.07.2021</date>
<datetime>20.07.2021 17:32:40</datetime>
<start_datetime>0000-00-00 00:00:00</start_datetime>
<end_datetime>0000-00-00 00:00:00</end_datetime>
<dir>/upload/information_system_3/5/1/5/item_515/</dir>
</informationsystem_item>
<informationsystem_item id="516">
<informationsystem_id>3</informationsystem_id>
<informationsystem_group_id>1</informationsystem_group_id>
<shortcut_id>0</shortcut_id>
<name>Сверим и проверим</name>
<description>Сейчас практически у каждого в квартире есть счетчик на воду. Он позволяет следить за потреблением воды и значительно экономить бюджет. Но такой прибор требует периодической поверки. Для чего она нужна, нам рассказали специалисты «Мособлэксплуатации»</description>
<active>1</active>
<text>Сейчас практически у каждого в квартире есть счетчик на воду. Он позволяет следить за потреблением воды и значительно экономить бюджет. Но такой прибор требует периодической поверки. Для чего она нужна, нам рассказали специалисты «Мособлэксплуатации»</text>
<image_large>informationsystem_items_catalog_image516.jpg</image_large>
<image_small>small_informationsystem_items_catalog_image516.jpg</image_small>
<image_large_width>1280</image_large_width>
<image_large_height>720</image_large_height>
<image_small_width>1280</image_small_width>
<image_small_height>720</image_small_height>
<sorting>0</sorting>
<ip>94.228.198.5</ip>
<path>sverim-i-proverim</path>
<indexing>1</indexing>
<seo_title></seo_title>
<seo_description></seo_description>
<seo_keywords></seo_keywords>
<siteuser_group_id>-1</siteuser_group_id>
<showed>3</showed>
<siteuser_id>0</siteuser_id>
<guid>7B541E76-62EC-34DE-EB2B-A471BE53403E</guid>
<url>/1/sverim-i-proverim/</url>
<date>20.07.2021</date>
<datetime>20.07.2021 17:32:41</datetime>
<start_datetime>0000-00-00 00:00:00</start_datetime>
<end_datetime>0000-00-00 00:00:00</end_datetime>
<dir>/upload/information_system_3/5/1/6/item_516/</dir>
</informationsystem_item>
<informationsystem_item id="517">
<informationsystem_id>3</informationsystem_id>
<informationsystem_group_id>1</informationsystem_group_id>
<shortcut_id>0</shortcut_id>
<name>Сезон завершен? Готовимся к следующему!</name>
<description>Вот и закончился отопительный сезон в этом году. Но, управляющие компании и теплоэнергетиков ждет новая большая работа. Ведь, как известно: готовь сани летом, а телегу зимой.</description>
<active>1</active>
<text>Вот и закончился отопительный сезон в этом году. Но, управляющие компании и теплоэнергетиков ждет новая большая работа. Ведь, как известно: готовь сани летом, а телегу зимой.</text>
<image_large>informationsystem_items_catalog_image517.jpg</image_large>
<image_small>small_informationsystem_items_catalog_image517.jpg</image_small>
<image_large_width>1280</image_large_width>
<image_large_height>720</image_large_height>
<image_small_width>1280</image_small_width>
<image_small_height>720</image_small_height>
<sorting>0</sorting>
<ip>94.228.198.5</ip>
<path>sezon-zavershen-gotovimsya-k-sleduyushhemu</path>
<indexing>1</indexing>
<seo_title></seo_title>
<seo_description></seo_description>
<seo_keywords></seo_keywords>
<siteuser_group_id>-1</siteuser_group_id>
<showed>2</showed>
<siteuser_id>0</siteuser_id>
<guid>96B5F93A-7B61-51C7-7866-D3D59E094836</guid>
<url>/1/sezon-zavershen-gotovimsya-k-sleduyushhemu/</url>
<date>20.07.2021</date>
<datetime>20.07.2021 17:32:41</datetime>
<start_datetime>0000-00-00 00:00:00</start_datetime>
<end_datetime>0000-00-00 00:00:00</end_datetime>
<dir>/upload/information_system_3/5/1/7/item_517/</dir>
</informationsystem_item>
</informationsystem_group>
<informationsystem_item_properties>
<property id="2">
<property_dir_id>0</property_dir_id>
<name>ID видео на Youtube</name>
<description></description>
<type>1</type>
<default_value></default_value>
<tag_name>video_url</tag_name>
<sorting>0</sorting>
<watermark_default_use_large_image>0</watermark_default_use_large_image>
<watermark_default_use_small_image>0</watermark_default_use_small_image>
<multiple>0</multiple>
<obligatory>1</obligatory>
</property>
</informationsystem_item_properties>
<comment_properties></comment_properties>
</informationsystem>
так далее, т.е. все элементы из группы
как вы говорите-получается такой xml
<informationsystem id="3">
<informationsystem_dir_id>0</informationsystem_dir_id>
<structure_id>1</structure_id>
<site_id>1</site_id>
<name>СлайдерГородов</name>
<description></description>
<use_captcha>1</use_captcha>
<items_on_page>0</items_on_page>
<format_date>%d.%m.%Y</format_date>
<format_datetime>%d.%m.%Y %H:%M:%S</format_datetime>
<url_type>1</url_type>
<http>//provas.pro</http>
<url>/</url>
<captcha_id>e98e190b82e33c5b6a1414ab69a1c7fc</captcha_id>
<siteuser_id>0</siteuser_id>
<ОтображатьСсылкуНаАрхив>0</ОтображатьСсылкуНаАрхив>
<ОтображатьСсылкиНаСледующиеСтраницы>1</ОтображатьСсылкиНаСледующиеСтраницы>
<ТекущаяГруппа>1</ТекущаяГруппа>
<show_comments>0</show_comments>
<show_add_comments>0</show_add_comments>
<group>1</group>
<page>0</page>
<part>0</part>
<limit>0</limit>
<informationsystem_group id="1">
<informationsystem_id>3</informationsystem_id>
<siteuser_id>0</siteuser_id>
<parent_id>0</parent_id>
<shortcut_id>0</shortcut_id>
<name>Сергиев Посад</name>
<description><p class="u-text-variant u-margin-top-10" style="border-top: 1px solid #2e242247;">Единственный город Подмосковья, включенный в маршрут Золотого кольца России. Ежегодно сюда приезжают тысячи паломников и туристов со всего мира. Город получил свое название от имени преподобного Сергия Радонежского, основателя крупнейшего монастыря России &mdash; Троице-Сергиевой лавры.&nbsp;</p>
<p class="u-text-variant u-margin-top-10">Город Сергиев Посад и одноименный городской округ &mdash; регион с богатейшей историей. История Сергиева Посада насчитывает почти семь веков насыщенной яркими событиями жизни.</p>
<p class="u-text-variant u-margin-top-10">Новости Сергиева Посада освещаются нашим телеканалом еженедельно. Телеканал Мой Дом начал вещание на Сергиев Посад в январе 2021 года. За это время выпущено десятки сюжетов о событиях в городе и округе, нашими экспертами стали заслуженные жители Сергиева Посада-работники промышленности, представители бизнеса, сферы ЖКХ, научных кругов, спорта и культуры.</p>
<p class="u-text-variant u-margin-top-10"><em>(С) Мой Дом и всё о нём! </em></p></description>
<sorting>0</sorting>
<path>1</path>
<image_large></image_large>
<image_small></image_small>
<indexing>1</indexing>
<subgroups_count>0</subgroups_count>
<subgroups_total_count>0</subgroups_total_count>
<items_count>70</items_count>
<items_total_count>70</items_total_count>
<seo_title></seo_title>
<seo_description></seo_description>
<seo_keywords></seo_keywords>
<siteuser_group_id>-1</siteuser_group_id>
<active>1</active>
<guid>C5CFAD62-9D8B-4277-8B2E-5A6F1F575036</guid>
<sns_type_id>0</sns_type_id>
<url>/1/</url>
<dir>/upload/information_system_3/0/0/1/group_1/</dir>
<informationsystem_item id="512">
<informationsystem_id>3</informationsystem_id>
<informationsystem_group_id>1</informationsystem_group_id>
<shortcut_id>0</shortcut_id>
<name>Мнение жителей важно?</name>
<description>Жильцы дома по Новоугличскому шоссе №17 недавно узнали о том, что у них сменилась управляющая компания. Причем ни оповещения, ни сообщения об этом никакого не было. Домовладельцы, пытаясь решить эту проблему, составили коллективное обращение к депутату Го</description>
<active>1</active>
<text>Жильцы дома по Новоугличскому шоссе №17 недавно узнали о том, что у них сменилась управляющая компания. Причем ни оповещения, ни сообщения об этом никакого не было. Домовладельцы, пытаясь решить эту проблему, составили коллективное обращение к депутату Го</text>
<image_large>informationsystem_items_catalog_image512.jpg</image_large>
<image_small>small_informationsystem_items_catalog_image512.jpg</image_small>
<image_large_width>1280</image_large_width>
<image_large_height>720</image_large_height>
<image_small_width>1280</image_small_width>
<image_small_height>720</image_small_height>
<sorting>0</sorting>
<ip>94.228.198.5</ip>
<path>mnenie-zhitelej-vazhno</path>
<indexing>1</indexing>
<seo_title></seo_title>
<seo_description></seo_description>
<seo_keywords></seo_keywords>
<siteuser_group_id>-1</siteuser_group_id>
<showed>14</showed>
<siteuser_id>0</siteuser_id>
<guid>CA7135CA-2CF5-734B-986D-7AC46527E821</guid>
<url>/1/mnenie-zhitelej-vazhno/</url>
<date>20.07.2021</date>
<datetime>20.07.2021 17:32:39</datetime>
<start_datetime>0000-00-00 00:00:00</start_datetime>
<end_datetime>0000-00-00 00:00:00</end_datetime>
<dir>/upload/information_system_3/5/1/2/item_512/</dir>
</informationsystem_item>
<informationsystem_item id="513">
<informationsystem_id>3</informationsystem_id>
<informationsystem_group_id>1</informationsystem_group_id>
<shortcut_id>0</shortcut_id>
<name>Погружение в эпоху</name>
<description>В школе на уроках истории меня особенно увлекала тема средневековья. Интересно бы было погрузиться в эту эпоху детально. Сергиево-Посадский музей расскажет о последних годах правления Рюриковичей и Смутном времени.</description>
<active>1</active>
<text>В школе на уроках истории меня особенно увлекала тема средневековья. Интересно бы было погрузиться в эту эпоху детально. Сергиево-Посадский музей расскажет о последних годах правления Рюриковичей и Смутном времени.</text>
<image_large>informationsystem_items_catalog_image513.jpg</image_large>
<image_small>small_informationsystem_items_catalog_image513.jpg</image_small>
<image_large_width>1280</image_large_width>
<image_large_height>720</image_large_height>
<image_small_width>1280</image_small_width>
<image_small_height>720</image_small_height>
<sorting>0</sorting>
<ip>94.228.198.5</ip>
<path>pogruzhenie-v-epoxu</path>
<indexing>1</indexing>
<seo_title></seo_title>
<seo_description></seo_description>
<seo_keywords></seo_keywords>
<siteuser_group_id>-1</siteuser_group_id>
<showed>1</showed>
<siteuser_id>0</siteuser_id>
<guid>A1FCE214-9868-A583-F0B0-8D034B0432C0</guid>
<url>/1/pogruzhenie-v-epoxu/</url>
<date>20.07.2021</date>
<datetime>20.07.2021 17:32:40</datetime>
<start_datetime>0000-00-00 00:00:00</start_datetime>
<end_datetime>0000-00-00 00:00:00</end_datetime>
<dir>/upload/information_system_3/5/1/3/item_513/</dir>
</informationsystem_item>
<informationsystem_item id="514">
<informationsystem_id>3</informationsystem_id>
<informationsystem_group_id>1</informationsystem_group_id>
<shortcut_id>0</shortcut_id>
<name>Саидушка, поднажми, родной!</name>
<description>Скоро его необычное имя научатся произносить во всем мире. Ждем репортажей Дмитрия Губерниева в стиле "Саидушка, поднажми, родной"</description>
<active>1</active>
<text>Скоро его необычное имя научатся произносить во всем мире. Ждем репортажей Дмитрия Губерниева в стиле "Саидушка, поднажми, родной"</text>
<image_large>informationsystem_items_catalog_image514.jpg</image_large>
<image_small>small_informationsystem_items_catalog_image514.jpg</image_small>
<image_large_width>1280</image_large_width>
<image_large_height>720</image_large_height>
<image_small_width>1280</image_small_width>
<image_small_height>720</image_small_height>
<sorting>0</sorting>
<ip>94.228.198.5</ip>
<path>saidushka-podnazhmi-rodnoj</path>
<indexing>1</indexing>
<seo_title></seo_title>
<seo_description></seo_description>
<seo_keywords></seo_keywords>
<siteuser_group_id>-1</siteuser_group_id>
<showed>2</showed>
<siteuser_id>0</siteuser_id>
<guid>056D8398-92A5-F44C-4B64-DB0612BA17DA</guid>
<url>/1/saidushka-podnazhmi-rodnoj/</url>
<date>20.07.2021</date>
<datetime>20.07.2021 17:32:40</datetime>
<start_datetime>0000-00-00 00:00:00</start_datetime>
<end_datetime>0000-00-00 00:00:00</end_datetime>
<dir>/upload/information_system_3/5/1/4/item_514/</dir>
</informationsystem_item>
<informationsystem_item id="515">
<informationsystem_id>3</informationsystem_id>
<informationsystem_group_id>1</informationsystem_group_id>
<shortcut_id>0</shortcut_id>
<name>Не фонтан</name>
<description>Совсем скоро на улице станет по-настоящему тепло. Но для меня символом весны и лета являются бьющие фонтаны. В Подмосковье они заработают уже в апреле.</description>
<active>1</active>
<text>Совсем скоро на улице станет по-настоящему тепло. Но для меня символом весны и лета являются бьющие фонтаны. В Подмосковье они заработают уже в апреле.</text>
<image_large>informationsystem_items_catalog_image515.jpg</image_large>
<image_small>small_informationsystem_items_catalog_image515.jpg</image_small>
<image_large_width>1280</image_large_width>
<image_large_height>720</image_large_height>
<image_small_width>1280</image_small_width>
<image_small_height>720</image_small_height>
<sorting>0</sorting>
<ip>94.228.198.5</ip>
<path>ne-fontan</path>
<indexing>1</indexing>
<seo_title></seo_title>
<seo_description></seo_description>
<seo_keywords></seo_keywords>
<siteuser_group_id>-1</siteuser_group_id>
<showed>1</showed>
<siteuser_id>0</siteuser_id>
<guid>4DE25769-87F1-AA1F-F65B-38FB3F840056</guid>
<url>/1/ne-fontan/</url>
<date>20.07.2021</date>
<datetime>20.07.2021 17:32:40</datetime>
<start_datetime>0000-00-00 00:00:00</start_datetime>
<end_datetime>0000-00-00 00:00:00</end_datetime>
<dir>/upload/information_system_3/5/1/5/item_515/</dir>
</informationsystem_item>
<informationsystem_item id="516">
<informationsystem_id>3</informationsystem_id>
<informationsystem_group_id>1</informationsystem_group_id>
<shortcut_id>0</shortcut_id>
<name>Сверим и проверим</name>
<description>Сейчас практически у каждого в квартире есть счетчик на воду. Он позволяет следить за потреблением воды и значительно экономить бюджет. Но такой прибор требует периодической поверки. Для чего она нужна, нам рассказали специалисты «Мособлэксплуатации»</description>
<active>1</active>
<text>Сейчас практически у каждого в квартире есть счетчик на воду. Он позволяет следить за потреблением воды и значительно экономить бюджет. Но такой прибор требует периодической поверки. Для чего она нужна, нам рассказали специалисты «Мособлэксплуатации»</text>
<image_large>informationsystem_items_catalog_image516.jpg</image_large>
<image_small>small_informationsystem_items_catalog_image516.jpg</image_small>
<image_large_width>1280</image_large_width>
<image_large_height>720</image_large_height>
<image_small_width>1280</image_small_width>
<image_small_height>720</image_small_height>
<sorting>0</sorting>
<ip>94.228.198.5</ip>
<path>sverim-i-proverim</path>
<indexing>1</indexing>
<seo_title></seo_title>
<seo_description></seo_description>
<seo_keywords></seo_keywords>
<siteuser_group_id>-1</siteuser_group_id>
<showed>3</showed>
<siteuser_id>0</siteuser_id>
<guid>7B541E76-62EC-34DE-EB2B-A471BE53403E</guid>
<url>/1/sverim-i-proverim/</url>
<date>20.07.2021</date>
<datetime>20.07.2021 17:32:41</datetime>
<start_datetime>0000-00-00 00:00:00</start_datetime>
<end_datetime>0000-00-00 00:00:00</end_datetime>
<dir>/upload/information_system_3/5/1/6/item_516/</dir>
</informationsystem_item>
<informationsystem_item id="517">
<informationsystem_id>3</informationsystem_id>
<informationsystem_group_id>1</informationsystem_group_id>
<shortcut_id>0</shortcut_id>
<name>Сезон завершен? Готовимся к следующему!</name>
<description>Вот и закончился отопительный сезон в этом году. Но, управляющие компании и теплоэнергетиков ждет новая большая работа. Ведь, как известно: готовь сани летом, а телегу зимой.</description>
<active>1</active>
<text>Вот и закончился отопительный сезон в этом году. Но, управляющие компании и теплоэнергетиков ждет новая большая работа. Ведь, как известно: готовь сани летом, а телегу зимой.</text>
<image_large>informationsystem_items_catalog_image517.jpg</image_large>
<image_small>small_informationsystem_items_catalog_image517.jpg</image_small>
<image_large_width>1280</image_large_width>
<image_large_height>720</image_large_height>
<image_small_width>1280</image_small_width>
<image_small_height>720</image_small_height>
<sorting>0</sorting>
<ip>94.228.198.5</ip>
<path>sezon-zavershen-gotovimsya-k-sleduyushhemu</path>
<indexing>1</indexing>
<seo_title></seo_title>
<seo_description></seo_description>
<seo_keywords></seo_keywords>
<siteuser_group_id>-1</siteuser_group_id>
<showed>2</showed>
<siteuser_id>0</siteuser_id>
<guid>96B5F93A-7B61-51C7-7866-D3D59E094836</guid>
<url>/1/sezon-zavershen-gotovimsya-k-sleduyushhemu/</url>
<date>20.07.2021</date>
<datetime>20.07.2021 17:32:41</datetime>
<start_datetime>0000-00-00 00:00:00</start_datetime>
<end_datetime>0000-00-00 00:00:00</end_datetime>
<dir>/upload/information_system_3/5/1/7/item_517/</dir>
</informationsystem_item>
</informationsystem_group>
<informationsystem_item_properties>
<property id="2">
<property_dir_id>0</property_dir_id>
<name>ID видео на Youtube</name>
<description></description>
<type>1</type>
<default_value></default_value>
<tag_name>video_url</tag_name>
<sorting>0</sorting>
<watermark_default_use_large_image>0</watermark_default_use_large_image>
<watermark_default_use_small_image>0</watermark_default_use_small_image>
<multiple>0</multiple>
<obligatory>1</obligatory>
</property>
</informationsystem_item_properties>
<comment_properties></comment_properties>
</informationsystem>
так далее, т.е. все элементы из группы
Авторизация