постраничная навигация

#
постраничная навигация
Добрый день!

Я создала портфолио на подобии шаблона Andia, в структуре и в информационной системе стоит выводить по 12 элементов, а всего элементов закачено 48. Но почему то не появляется постраничная навигация...может есть какие нить идеи?))
#
Re: постраничная навигация
ulla,
проверьте xsl шаблон вывода элементов
HostDev.pw - модули для HostCMS, Telegram: @hostdev
#
Re: постраничная навигация
вот шаблон...вроде все тоже..и есть вывод навигации..не понимаю(

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE xsl:stylesheet>
<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:apply-templates select="/informationsystem"/>
   </xsl:template>
   
   <xsl:variable name="n" select="number(3)"/>
   
   <xsl:template match="/informationsystem">
      <!-- Получаем ID родительской группы и записываем в переменную $group -->
      <xsl:variable name="group" select="group"/>
      
      <div class="page-title">
         <div class="container">
            <div class="row">
               <div class="span12">
                  <!--
                  <h2>Portfolio /</h2>
                  <p>Here is the work we've done so far</p>
                  -->
                  <h2 hostcms:id="{@id}" hostcms:field="name" hostcms:entity="informationsystem">
                     <xsl:value-of disable-output-escaping="yes" select="name"/>
                     <xsl:if test=" description != ''"> /</xsl:if>
                  </h2>
                  
                  <!-- Описание выводится при отсутствии фильтрации по тэгам -->
                  <xsl:if test="count(tag) = 0 and page = 0 and description != ''">
                     <p hostcms:id="{@id}" hostcms:field="description" hostcms:entity="informationsystem" hostcms:type="wysiwyg"><xsl:value-of disable-output-escaping="yes" select="description"/></p>
                  </xsl:if>
               </div>
            </div>
         </div>
      </div>
      
      <!-- Обработка выбранных тэгов -->
      <!--
      <xsl:if test="count(tag)">
      <p class="h2">Метка — <strong><xsl:value-of select="tag/name" disable-output-escaping="yes" /></strong>.</p>
         <xsl:if test="tag/description != ''">
            <p><xsl:value-of select="tag/description" disable-output-escaping="yes" /></p>
         </xsl:if>
      </xsl:if>-->
      
      <!-- Отображение подгрупп данной группы, только если подгруппы есть и не идет фильтра по меткам -->
      <div class="portfolio portfolio-page container">
         <div class="row">
            <div class="portfolio-navigator span12">
               <h4 class="filter-portfolio">
                  <xsl:apply-templates select=".//informationsystem_group[parent_id=$group][position() mod $n = 1]" mode="groups"/>
               </h4>
            </div>
         </div>
         
         <div class="row">
            <!-- Отображение записи информационной системы -->
            <!--<ul class="portfolio-img" style="height: 1049px; width: 1200px;">-->
               <!--<ul class="portfolio-img" style="height: 640px; width: 1200px;">-->
                  <ul class="portfolio-img" style="width: 950px;">
                     <xsl:apply-templates select="informationsystem_item"/>
                  </ul>
               </div>
               
               <!-- Строка ссылок на другие страницы информационной системы -->
               <xsl:if test="0 and ОтображатьСсылкиНаСледующиеСтраницы=1">
                  <div>
                     <!-- Ссылка, для которой дописываются суффиксы page-XX/ -->
                     <!-- <xsl:variable name="link">
                        <xsl:value-of select="/informationsystem/url"/>
                        <xsl:if test="$group != 0">
                           <xsl:value-of select="/informationsystem//informationsystem_group[@id = $group]/url"/>
                        </xsl:if>
                     </xsl:variable> -->
                     
                     <xsl:if test="total &gt; 0 and limit &gt; 0">
                        
                        <xsl:variable name="count_pages" select="ceiling(total div limit)"/>
                        
                        <xsl:variable name="visible_pages" select="5"/>
                        
                        <xsl:variable name="real_visible_pages"><xsl:choose>
                              <xsl:when test="$count_pages &lt; $visible_pages"><xsl:value-of select="$count_pages"/></xsl:when>
                              <xsl:otherwise><xsl:value-of select="$visible_pages"/></xsl:otherwise>
                        </xsl:choose></xsl:variable>
                        
                        <!-- Считаем количество выводимых ссылок перед текущим элементом -->
                        <xsl:variable name="pre_count_page"><xsl:choose>
                              <xsl:when test="page - (floor($real_visible_pages div 2)) &lt; 0">
                                 <xsl:value-of select="page"/>
                              </xsl:when>
                              <xsl:when test="($count_pages - page - 1) &lt; floor($real_visible_pages div 2)">
                                 <xsl:value-of select="$real_visible_pages - ($count_pages - page - 1) - 1"/>
                              </xsl:when>
                              <xsl:otherwise>
                                 <xsl:choose>
                                    <xsl:when test="round($real_visible_pages div 2) = $real_visible_pages div 2">
                                       <xsl:value-of select="floor($real_visible_pages div 2) - 1"/>
                                    </xsl:when>
                                    <xsl:otherwise>
                                       <xsl:value-of select="floor($real_visible_pages div 2)"/>
                                    </xsl:otherwise>
                                 </xsl:choose>
                              </xsl:otherwise>
                        </xsl:choose></xsl:variable>
                        
                        <!-- Считаем количество выводимых ссылок после текущего элемента -->
                        <xsl:variable name="post_count_page"><xsl:choose>
                              <xsl:when test="0 &gt; page - (floor($real_visible_pages div 2) - 1)">
                                 <xsl:value-of select="$real_visible_pages - page - 1"/>
                              </xsl:when>
                              <xsl:when test="($count_pages - page - 1) &lt; floor($real_visible_pages div 2)">
                                 <xsl:value-of select="$real_visible_pages - $pre_count_page - 1"/>
                              </xsl:when>
                              <xsl:otherwise>
                                 <xsl:value-of select="$real_visible_pages - $pre_count_page - 1"/>
                              </xsl:otherwise>
                        </xsl:choose></xsl:variable>
                        
                        <xsl:variable name="i"><xsl:choose>
                              <xsl:when test="page + 1 = $count_pages"><xsl:value-of select="page - $real_visible_pages + 1"/></xsl:when>
                              <xsl:when test="page - $pre_count_page &gt; 0"><xsl:value-of select="page - $pre_count_page"/></xsl:when>
                              <xsl:otherwise>0</xsl:otherwise>
                        </xsl:choose></xsl:variable>
                        
                        <p>
                           <xsl:call-template name="for">
                              <xsl:with-param name="limit" select="limit"/>
                              <xsl:with-param name="page" select="page"/>
                              <xsl:with-param name="items_count" select="total"/>
                              <xsl:with-param name="i" select="$i"/>
                              <xsl:with-param name="post_count_page" select="$post_count_page"/>
                              <xsl:with-param name="pre_count_page" select="$pre_count_page"/>
                              <xsl:with-param name="visible_pages" select="$real_visible_pages"/>
                           </xsl:call-template>
                        </p>
                        <div style="clear: both"></div>
                     </xsl:if>
                  </div>
               </xsl:if>
            </div>
         </xsl:template>
         
         <!-- Вывод строки со значением свойства -->
         <xsl:template match="property">
            <tr>
               <td style="padding: 5px" bgcolor="#eeeeee">
                  <b><xsl:value-of select="name"/></b>
               </td>
               <td style="padding: 5px" bgcolor="#eeeeee">
                  <xsl:choose>
                     <xsl:when test="type = 1">
                        <a href="{file_path}">Скачать файл</a>
                     </xsl:when>
                     <xsl:when test="type = 7">
                        <xsl:choose>
                           <xsl:when test="value = 1">
                              <input type="checkbox" checked="" disabled="" />
                           </xsl:when>
                           <xsl:otherwise>
                              <input type="checkbox" disabled="" />
                           </xsl:otherwise>
                        </xsl:choose>
                     </xsl:when>
                     <xsl:otherwise>
                        <xsl:value-of disable-output-escaping="yes" select="value"/>
                     </xsl:otherwise>
                  </xsl:choose>
               </td>
            </tr>
         </xsl:template>
         
         <!-- Шаблон выводит рекурсивно ссылки на группы инф. элемента -->
         <xsl:template match="informationsystem_group" mode="breadCrumbs">
            <xsl:variable name="parent_id" select="parent_id"/>
            
            <xsl:apply-templates select="//informationsystem_group[@id=$parent_id]" mode="breadCrumbs"/>
            
            <xsl:if test="parent_id=0">
               <a href="{/informationsystem/url}" hostcms:id="{/informationsystem/@id}" hostcms:field="name" hostcms:entity="informationsystem">
                  <xsl:value-of disable-output-escaping="yes" select="/informationsystem/name"/>
               </a>
            </xsl:if>
            
         <span><xsl:text> → </xsl:text></span>
            
            <a href="{url}" hostcms:id="{@id}" hostcms:field="name" hostcms:entity="informationsystem_group">
               <xsl:value-of disable-output-escaping="yes" select="name"/>
            </a>
         </xsl:template>
         
         <!-- Шаблон выводит группы свойств для группы инфосистемы -->
         <xsl:template match="informationsystem_group_properties">
            
         <p><b><xsl:value-of select="information_propertys_groups_dir_name"/></b></p>
            
            <xsl:variable name="dir_id" select="@id"/>
            
            <xsl:if test="count(//informationsystem_group[@id = //group]/property[parent_id = $dir_id])">
               <table border="0">
                  <xsl:apply-templates select="//informationsystem_group[@id = //group]/property[parent_id = $dir_id]"/>
               </table>
            </xsl:if>
            
            <xsl:if test="count(informationsystem_group_properties)">
               <blockquote>
                  <xsl:apply-templates select="informationsystem_group_properties"/>
               </blockquote>
            </xsl:if>
         </xsl:template>
         
         <!-- Шаблон выводит ссылки подгруппы информационного элемента -->
         <xsl:template match="informationsystem_group" mode="groups">
            
            <xsl:if test="count(/informationsystem/informationsystem_group) > 0">
               <a id="active-imgs" class="all" href="#">Все</a>
            </xsl:if>
            
            <xsl:for-each select=". | following-sibling::informationsystem_group[position() &lt; $n]">
            / <a href="#" id="" class="class_group_{@id}"><xsl:value-of disable-output-escaping="yes" select="name"/></a>
            </xsl:for-each>
         </xsl:template>
         
         <!-- Шаблон вывода информационного элемента -->
         <xsl:template match="informationsystem_item">
            
            <li class="span3" data-type="class_group_{informationsystem_group_id}" data-id="p-{position()}" style="">
               <div class="work">
                  <xsl:if test="image_large != ''">
                     <a rel="prettyPhoto" href="{dir}{image_large}">
                        <xsl:choose>
                           <xsl:when test="image_small != ''">
                              <img alt="{name}" src="{dir}{image_small}" />
                           </xsl:when>
                           <xsl:otherwise>
                              <img alt="{name}" src="{dir}{image_large}" />
                           </xsl:otherwise>
                        </xsl:choose>
                     </a>
                  </xsl:if>
                  <h4 hostcms:id="{@id}" hostcms:field="name" hostcms:entity="informationsystem_item"><xsl:value-of select="name" disable-output-escaping="yes" /></h4>
                  <xsl:if test="description != ''">
                     <p hostcms:id="{@id}" hostcms:field="description" hostcms:entity="informationsystem_item" hostcms:type="wysiwyg"><xsl:value-of disable-output-escaping="yes" select="description"/></p>
                  </xsl:if>
               </div>
            </li>
         </xsl:template>
         
         <!-- Цикл для вывода строк ссылок -->
         <xsl:template name="for">
            
            <xsl:param name="limit"/>
            <xsl:param name="page"/>
            <xsl:param name="pre_count_page"/>
            <xsl:param name="post_count_page"/>
            <xsl:param name="i" select="0"/>
            <xsl:param name="items_count"/>
            <xsl:param name="visible_pages"/>
            
            <xsl:variable name="n" select="ceiling($items_count div $limit)"/>
            
            <xsl:variable name="start_page"><xsl:choose>
                  <xsl:when test="$page + 1 = $n"><xsl:value-of select="$page - $visible_pages + 1"/></xsl:when>
                  <xsl:when test="$page - $pre_count_page &gt; 0"><xsl:value-of select="$page - $pre_count_page"/></xsl:when>
                  <xsl:otherwise>0</xsl:otherwise>
            </xsl:choose></xsl:variable>
            
            <xsl:if test="$i = $start_page and $page != 0">
               <span class="ctrl">
                  ← Ctrl
               </span>
            </xsl:if>
            
            <xsl:if test="$i = ($page + $post_count_page + 1) and $n != ($page+1)">
               <span class="ctrl">
                  Ctrl →
               </span>
            </xsl:if>
            
            <xsl:if test="$items_count &gt; $limit and ($page + $post_count_page + 1) &gt; $i">
               <!-- Заносим в переменную $group идентификатор текущей группы -->
               <xsl:variable name="group" select="/informationsystem/group"/>
               
               <!-- Путь для тэга -->
               <xsl:variable name="tag_path">
                  <xsl:choose>
                     <!-- Если не нулевой уровень -->
                     <xsl:when test="count(/informationsystem/tag) != 0">tag/<xsl:value-of select="/informationsystem/tag/urlencode"/>/</xsl:when>
                     <!-- Иначе если нулевой уровень - просто ссылка на страницу со списком элементов -->
                     <xsl:otherwise></xsl:otherwise>
                  </xsl:choose>
               </xsl:variable>
               
               <!-- Определяем группу для формирования адреса ссылки -->
               <xsl:variable name="group_link">
                  <xsl:choose>
                     <!-- Если группа не корневая (!=0) -->
                     <xsl:when test="$group != 0">
                        <xsl:value-of select="/informationsystem//informationsystem_group[@id=$group]/url"/>
                     </xsl:when>
                     <!-- Иначе если нулевой уровень - просто ссылка на страницу со списком элементов -->
                     <xsl:otherwise><xsl:value-of select="/informationsystem/url"/></xsl:otherwise>
                  </xsl:choose>
               </xsl:variable>
               
               <!-- Определяем адрес ссылки -->
               <xsl:variable name="number_link">
                  <xsl:choose>
                     <!-- Если не нулевой уровень -->
                     <xsl:when test="$i != 0">page-<xsl:value-of select="$i + 1"/>/</xsl:when>
                     <!-- Иначе если нулевой уровень - просто ссылка на страницу со списком элементов -->
                     <xsl:otherwise></xsl:otherwise>
                  </xsl:choose>
               </xsl:variable>
               
               <!-- Выводим ссылку на первую страницу -->
               <xsl:if test="$page - $pre_count_page &gt; 0 and $i = $start_page">
                  <a href="{$group_link}{$tag_path}" class="page_link" style="text-decoration: none;">←</a>
               </xsl:if>
               
               <!-- Ставим ссылку на страницу-->
               <xsl:if test="$i != $page">
                  <xsl:if test="($page - $pre_count_page) &lt;= $i and $i &lt; $n">
                     <!-- Выводим ссылки на видимые страницы -->
                     <a href="{$group_link}{$number_link}{$tag_path}" class="page_link">
                        <xsl:value-of select="$i + 1"/>
                     </a>
                  </xsl:if>
                  
                  <!-- Выводим ссылку на последнюю страницу -->
                  <xsl:if test="$i+1 &gt;= ($page + $post_count_page + 1) and $n &gt; ($page + 1 + $post_count_page)">
                     <!-- Выводим ссылку на последнюю страницу -->
                     <a href="{$group_link}page-{$n}/{$tag_path}" class="page_link" style="text-decoration: none;">→</a>
                  </xsl:if>
               </xsl:if>
               
               <!-- Ссылка на предыдущую страницу для Ctrl + влево -->
               <xsl:if test="$page != 0 and $i = $page">
                  <xsl:variable name="prev_number_link">
                     <xsl:choose>
                        <!-- Если не нулевой уровень -->
                        <xsl:when test="($page) != 0">page-<xsl:value-of select="$i"/>/</xsl:when>
                        <!-- Иначе если нулевой уровень - просто ссылка на страницу со списком элементов -->
                        <xsl:otherwise></xsl:otherwise>
                     </xsl:choose>
                  </xsl:variable>
                  
                  <a href="{$group_link}{$prev_number_link}{$tag_path}" id="id_prev"></a>
               </xsl:if>
               
               <!-- Ссылка на следующую страницу для Ctrl + вправо -->
               <xsl:if test="($n - 1) > $page and $i = $page">
                  <a href="{$group_link}page-{$page+2}/{$tag_path}" id="id_next"></a>
               </xsl:if>
               
               <!-- Не ставим ссылку на страницу-->
               <xsl:if test="$i = $page">
                  <span class="current">
                     <xsl:value-of select="$i+1"/>
                  </span>
               </xsl:if>
               
               <!-- Рекурсивный вызов шаблона. НЕОБХОДИМО ПЕРЕДАВАТЬ ВСЕ НЕОБХОДИМЫЕ ПАРАМЕТРЫ! -->
               <xsl:call-template name="for">
                  <xsl:with-param name="i" select="$i + 1"/>
                  <xsl:with-param name="limit" select="$limit"/>
                  <xsl:with-param name="page" select="$page"/>
                  <xsl:with-param name="items_count" select="$items_count"/>
                  <xsl:with-param name="pre_count_page" select="$pre_count_page"/>
                  <xsl:with-param name="post_count_page" select="$post_count_page"/>
                  <xsl:with-param name="visible_pages" select="$visible_pages"/>
               </xsl:call-template>
            </xsl:if>
         </xsl:template>
         
         <!-- Склонение после числительных -->
         <xsl:template name="declension">
            
            <xsl:param name="number" select="number"/>
            
            <!-- Именительный падеж -->
            <xsl:variable name="nominative">
               <xsl:text>комментарий</xsl:text>
            </xsl:variable>
            
            <!-- Родительный падеж, единственное число -->
            <xsl:variable name="genitive_singular">
               <xsl:text>комментария</xsl:text>
            </xsl:variable>
            
            
            <xsl:variable name="genitive_plural">
               <xsl:text>комментариев</xsl:text>
            </xsl:variable>
            
            <xsl:variable name="last_digit">
               <xsl:value-of select="$number mod 10"/>
            </xsl:variable>
            
            <xsl:variable name="last_two_digits">
               <xsl:value-of select="$number mod 100"/>
            </xsl:variable>
            
            <xsl:choose>
               <xsl:when test="$last_digit = 1 and $last_two_digits != 11">
                  <xsl:value-of select="$nominative"/>
               </xsl:when>
               <xsl:when test="$last_digit = 2 and $last_two_digits != 12
                  or $last_digit = 3 and $last_two_digits != 13
                  or $last_digit = 4 and $last_two_digits != 14">
                  <xsl:value-of select="$genitive_singular"/>
               </xsl:when>
               <xsl:otherwise>
                  <xsl:value-of select="$genitive_plural"/>
               </xsl:otherwise>
            </xsl:choose>
         </xsl:template>
      </xsl:stylesheet>


#
Re: постраничная навигация
XML страницы

<informationsystem id="21">
   <informationsystem_dir_id>0</informationsystem_dir_id>
   <structure_id>100</structure_id>
   <site_id>3</site_id>
   <name>Каталог</name>
   <description></description>
   <items_sorting_direction>0</items_sorting_direction>
   <items_sorting_field>0</items_sorting_field>
   <groups_sorting_direction>0</groups_sorting_direction>
   <groups_sorting_field>0</groups_sorting_field>
   <image_large_max_width>1024</image_large_max_width>
   <image_large_max_height>1024</image_large_max_height>
   <image_small_max_width>270</image_small_max_width>
   <image_small_max_height>270</image_small_max_height>
   <siteuser_group_id>0</siteuser_group_id>
   <use_captcha>1</use_captcha>
   <watermark_file></watermark_file>
   <watermark_default_use_large_image>0</watermark_default_use_large_image>
   <watermark_default_use_small_image>0</watermark_default_use_small_image>
   <watermark_default_position_x>50%</watermark_default_position_x>
   <watermark_default_position_y>100%</watermark_default_position_y>
   <user_id>19</user_id>
   <items_on_page>12</items_on_page>
   <format_date>%d.%m.%Y</format_date>
   <format_datetime>%d.%m.%Y %H:%M:%S</format_datetime>
   <url_type>0</url_type>
   <typograph_default_items>0</typograph_default_items>
   <typograph_default_groups>0</typograph_default_groups>
   <apply_tags_automatically>1</apply_tags_automatically>
   <change_filename>1</change_filename>
   <apply_keywords_automatically>1</apply_keywords_automatically>
   <group_image_large_max_width>300</group_image_large_max_width>
   <group_image_large_max_height>300</group_image_large_max_height>
   <group_image_small_max_width>70</group_image_small_max_width>
   <group_image_small_max_height>70</group_image_small_max_height>
   <preserve_aspect_ratio>1</preserve_aspect_ratio>
   <preserve_aspect_ratio_small>0</preserve_aspect_ratio_small>
   <preserve_aspect_ratio_group>1</preserve_aspect_ratio_group>
   <preserve_aspect_ratio_group_small>1</preserve_aspect_ratio_group_small>
   <url>/catalog/</url>
   <captcha_id>37481</captcha_id>
   <items_count>0</items_count>
   <items_total_count>52</items_total_count>
   <subgroups_count>3</subgroups_count>
   <subgroups_total_count>3</subgroups_total_count>
   <siteuser_id>0</siteuser_id>
   <ОтображатьСсылкуНаАрхив>0</ОтображатьСсылкуНаАрхив>
   <ОтображатьСсылкиНаСледующиеСтраницы>1</ОтображатьСсылкиНаСледующиеСтраницы>
   <ТекущаяГруппа>0</ТекущаяГруппа>
   <show_comments>0</show_comments>
   <show_add_comments>0</show_add_comments>
   <group>0</group>
   <page>0</page>
   <part>0</part>
   <limit>12</limit>
   <total>48</total>
   <informationsystem_group id="11">
      <informationsystem_id>21</informationsystem_id>
      <siteuser_id>0</siteuser_id>
      <parent_id>0</parent_id>
      <top_parent_id>0</top_parent_id>
      <name>Аксессуары</name>
      <description></description>
      <sorting>30</sorting>
      <path>print_design</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>1</items_count>
      <items_total_count>1</items_total_count>
      <seo_title></seo_title>
      <seo_description></seo_description>
      <seo_keywords></seo_keywords>
      <siteuser_group_id>0</siteuser_group_id>
      <active>1</active>
      <user_id>19</user_id>
      <sns_type_id>0</sns_type_id>
      <url>/catalog/print_design/</url>
      <dir>/upload/information_system_21/0/1/1/group_11/</dir>
   </informationsystem_group>
   <informationsystem_group id="9">
      <informationsystem_id>21</informationsystem_id>
      <siteuser_id>0</siteuser_id>
      <parent_id>0</parent_id>
      <top_parent_id>0</top_parent_id>
      <name>Длинные шубы</name>
      <description></description>
      <sorting>0</sorting>
      <path>9</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>3</items_count>
      <items_total_count>3</items_total_count>
      <seo_title></seo_title>
      <seo_description></seo_description>
      <seo_keywords></seo_keywords>
      <siteuser_group_id>0</siteuser_group_id>
      <active>1</active>
      <user_id>19</user_id>
      <sns_type_id>0</sns_type_id>
      <url>/catalog/9/</url>
      <dir>/upload/information_system_21/0/0/9/group_9/</dir>
   </informationsystem_group>
   <informationsystem_group id="10">
      <informationsystem_id>21</informationsystem_id>
      <siteuser_id>0</siteuser_id>
      <parent_id>0</parent_id>
      <top_parent_id>0</top_parent_id>
      <name>Короткие шубы</name>
      <description></description>
      <sorting>0</sorting>
      <path>10</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>48</items_count>
      <items_total_count>48</items_total_count>
      <seo_title></seo_title>
      <seo_description></seo_description>
      <seo_keywords></seo_keywords>
      <siteuser_group_id>0</siteuser_group_id>
      <active>1</active>
      <user_id>19</user_id>
      <sns_type_id>0</sns_type_id>
      <url>/catalog/10/</url>
      <dir>/upload/information_system_21/0/1/0/group_10/</dir>
   </informationsystem_group>
   <informationsystem_item_properties></informationsystem_item_properties>
   <informationsystem_item id="177">
      <informationsystem_id>21</informationsystem_id>
      <informationsystem_group_id>10</informationsystem_group_id>
      <shortcut_id>0</shortcut_id>
      <name>sh-1</name>
      <description></description>
      <active>1</active>
      <image_large>information_items_177.jpg</image_large>
      <image_small>small_information_items_177.jpg</image_small>
      <image_large_width>699</image_large_width>
      <image_large_height>1024</image_large_height>
      <image_small_width>184</image_small_width>
      <image_small_height>270</image_small_height>
      <sorting>0</sorting>
      <ip>31.163.38.41</ip>
      <path>177</path>
      <indexing>1</indexing>
      <seo_title></seo_title>
      <seo_description></seo_description>
      <seo_keywords></seo_keywords>
      <siteuser_group_id>-1</siteuser_group_id>
      <showed>0</showed>
      <user_id>19</user_id>
      <siteuser_id>0</siteuser_id>
      <deleted>0</deleted>
      <url>/catalog/10/177/</url>
      <date>19.10.2014</date>
      <datetime>19.10.2014 12:47:36</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_21/1/7/7/item_177/</dir>
      <comments_count>0</comments_count>
      <comments_grade_sum>0</comments_grade_sum>
      <comments_grade_count>0</comments_grade_count>
      <comments_average_grade>0</comments_average_grade>
   </informationsystem_item>
   <informationsystem_item id="178">
      <informationsystem_id>21</informationsystem_id>
      <informationsystem_group_id>10</informationsystem_group_id>
      <shortcut_id>0</shortcut_id>
      <name>sh-2</name>
      <description></description>
      <active>1</active>
      <image_large>information_items_178.jpg</image_large>
      <image_small>small_information_items_178.jpg</image_small>
      <image_large_width>545</image_large_width>
      <image_large_height>1024</image_large_height>
      <image_small_width>144</image_small_width>
      <image_small_height>270</image_small_height>
      <sorting>0</sorting>
      <ip>31.163.38.41</ip>
      <path>178</path>
      <indexing>1</indexing>
      <seo_title></seo_title>
      <seo_description></seo_description>
      <seo_keywords></seo_keywords>
      <siteuser_group_id>-1</siteuser_group_id>
      <showed>0</showed>
      <user_id>19</user_id>
      <siteuser_id>0</siteuser_id>
      <deleted>0</deleted>
      <url>/catalog/10/178/</url>
      <date>19.10.2014</date>
      <datetime>19.10.2014 12:49:56</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_21/1/7/8/item_178/</dir>
      <comments_count>0</comments_count>
      <comments_grade_sum>0</comments_grade_sum>
      <comments_grade_count>0</comments_grade_count>
      <comments_average_grade>0</comments_average_grade>
   </informationsystem_item>
   <informationsystem_item id="179">
      <informationsystem_id>21</informationsystem_id>
      <informationsystem_group_id>10</informationsystem_group_id>
      <shortcut_id>0</shortcut_id>
      <name>sh-3</name>
      <description></description>
      <active>1</active>
      <image_large>information_items_179.jpg</image_large>
      <image_small>small_information_items_179.jpg</image_small>
      <image_large_width>692</image_large_width>
      <image_large_height>1024</image_large_height>
      <image_small_width>182</image_small_width>
      <image_small_height>270</image_small_height>
      <sorting>0</sorting>
      <ip>31.163.38.41</ip>
      <path>179</path>
      <indexing>1</indexing>
      <seo_title></seo_title>
      <seo_description></seo_description>
      <seo_keywords></seo_keywords>
      <siteuser_group_id>-1</siteuser_group_id>
      <showed>0</showed>
      <user_id>19</user_id>
      <siteuser_id>0</siteuser_id>
      <deleted>0</deleted>
      <url>/catalog/10/179/</url>
      <date>19.10.2014</date>
      <datetime>19.10.2014 12:50:42</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_21/1/7/9/item_179/</dir>
      <comments_count>0</comments_count>
      <comments_grade_sum>0</comments_grade_sum>
      <comments_grade_count>0</comments_grade_count>
      <comments_average_grade>0</comments_average_grade>
   </informationsystem_item>
   <informationsystem_item id="180">
      <informationsystem_id>21</informationsystem_id>
      <informationsystem_group_id>10</informationsystem_group_id>
      <shortcut_id>0</shortcut_id>
      <name>sh-4</name>
      <description></description>
      <active>1</active>
      <image_large>information_items_180.jpg</image_large>
      <image_small>small_information_items_180.jpg</image_small>
      <image_large_width>480</image_large_width>
      <image_large_height>1024</image_large_height>
      <image_small_width>127</image_small_width>
      <image_small_height>270</image_small_height>
      <sorting>0</sorting>
      <ip>31.163.38.41</ip>
      <path>180</path>
      <indexing>1</indexing>
      <seo_title></seo_title>
      <seo_description></seo_description>
      <seo_keywords></seo_keywords>
      <siteuser_group_id>-1</siteuser_group_id>
      <showed>0</showed>
      <user_id>19</user_id>
      <siteuser_id>0</siteuser_id>
      <deleted>0</deleted>
      <url>/catalog/10/180/</url>
      <date>19.10.2014</date>
      <datetime>19.10.2014 12:51:02</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_21/1/8/0/item_180/</dir>
      <comments_count>0</comments_count>
      <comments_grade_sum>0</comments_grade_sum>
      <comments_grade_count>0</comments_grade_count>
      <comments_average_grade>0</comments_average_grade>
   </informationsystem_item>
   <informationsystem_item id="181">
      <informationsystem_id>21</informationsystem_id>
      <informationsystem_group_id>10</informationsystem_group_id>
      <shortcut_id>0</shortcut_id>
      <name>sh-5</name>
      <description></description>
      <active>1</active>
      <image_large>information_items_181.jpg</image_large>
      <image_small>small_information_items_181.jpg</image_small>
      <image_large_width>698</image_large_width>
      <image_large_height>1024</image_large_height>
      <image_small_width>184</image_small_width>
      <image_small_height>270</image_small_height>
      <sorting>0</sorting>
      <ip>31.163.38.41</ip>
      <path>181</path>
      <indexing>1</indexing>
      <seo_title></seo_title>
      <seo_description></seo_description>
      <seo_keywords></seo_keywords>
      <siteuser_group_id>-1</siteuser_group_id>
      <showed>0</showed>
      <user_id>19</user_id>
      <siteuser_id>0</siteuser_id>
      <deleted>0</deleted>
      <url>/catalog/10/181/</url>
      <date>19.10.2014</date>
      <datetime>19.10.2014 12:51:15</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_21/1/8/1/item_181/</dir>
      <comments_count>0</comments_count>
      <comments_grade_sum>0</comments_grade_sum>
      <comments_grade_count>0</comments_grade_count>
      <comments_average_grade>0</comments_average_grade>
   </informationsystem_item>
   <informationsystem_item id="182">
      <informationsystem_id>21</informationsystem_id>
      <informationsystem_group_id>10</informationsystem_group_id>
      <shortcut_id>0</shortcut_id>
      <name>sh-6</name>
      <description></description>
      <active>1</active>
      <image_large>information_items_182.jpg</image_large>
      <image_small>small_information_items_182.jpg</image_small>
      <image_large_width>593</image_large_width>
      <image_large_height>1024</image_large_height>
      <image_small_width>156</image_small_width>
      <image_small_height>270</image_small_height>
      <sorting>0</sorting>
      <ip>31.163.38.41</ip>
      <path>182</path>
      <indexing>1</indexing>
      <seo_title></seo_title>
      <seo_description></seo_description>
      <seo_keywords></seo_keywords>
      <siteuser_group_id>-1</siteuser_group_id>
      <showed>0</showed>
      <user_id>19</user_id>
      <siteuser_id>0</siteuser_id>
      <deleted>0</deleted>
      <url>/catalog/10/182/</url>
      <date>19.10.2014</date>
      <datetime>19.10.2014 12:51:29</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_21/1/8/2/item_182/</dir>
      <comments_count>0</comments_count>
      <comments_grade_sum>0</comments_grade_sum>
      <comments_grade_count>0</comments_grade_count>
      <comments_average_grade>0</comments_average_grade>
   </informationsystem_item>
   <informationsystem_item id="183">
      <informationsystem_id>21</informationsystem_id>
      <informationsystem_group_id>10</informationsystem_group_id>
      <shortcut_id>0</shortcut_id>
      <name>sh-7</name>
      <description></description>
      <active>1</active>
      <image_large>information_items_183.jpg</image_large>
      <image_small>small_information_items_183.jpg</image_small>
      <image_large_width>568</image_large_width>
      <image_large_height>1024</image_large_height>
      <image_small_width>150</image_small_width>
      <image_small_height>270</image_small_height>
      <sorting>0</sorting>
      <ip>31.163.38.41</ip>
      <path>183</path>
      <indexing>1</indexing>
      <seo_title></seo_title>
      <seo_description></seo_description>
      <seo_keywords></seo_keywords>
      <siteuser_group_id>-1</siteuser_group_id>
      <showed>0</showed>
      <user_id>19</user_id>
      <siteuser_id>0</siteuser_id>
      <deleted>0</deleted>
      <url>/catalog/10/183/</url>
      <date>19.10.2014</date>
      <datetime>19.10.2014 12:51:44</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_21/1/8/3/item_183/</dir>
      <comments_count>0</comments_count>
      <comments_grade_sum>0</comments_grade_sum>
      <comments_grade_count>0</comments_grade_count>
      <comments_average_grade>0</comments_average_grade>
   </informationsystem_item>
   <informationsystem_item id="184">
      <informationsystem_id>21</informationsystem_id>
      <informationsystem_group_id>10</informationsystem_group_id>
      <shortcut_id>0</shortcut_id>
      <name>sh-8</name>
      <description></description>
      <active>1</active>
      <image_large>information_items_184.jpg</image_large>
      <image_small>small_information_items_184.jpg</image_small>
      <image_large_width>749</image_large_width>
      <image_large_height>1024</image_large_height>
      <image_small_width>197</image_small_width>
      <image_small_height>270</image_small_height>
      <sorting>0</sorting>
      <ip>31.163.38.41</ip>
      <path>184</path>
      <indexing>1</indexing>
      <seo_title></seo_title>
      <seo_description></seo_description>
      <seo_keywords></seo_keywords>
      <siteuser_group_id>-1</siteuser_group_id>
      <showed>0</showed>
      <user_id>19</user_id>
      <siteuser_id>0</siteuser_id>
      <deleted>0</deleted>
      <url>/catalog/10/184/</url>
      <date>19.10.2014</date>
      <datetime>19.10.2014 12:52:03</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_21/1/8/4/item_184/</dir>
      <comments_count>0</comments_count>
      <comments_grade_sum>0</comments_grade_sum>
      <comments_grade_count>0</comments_grade_count>
      <comments_average_grade>0</comments_average_grade>
   </informationsystem_item>
   <informationsystem_item id="185">
      <informationsystem_id>21</informationsystem_id>
      <informationsystem_group_id>10</informationsystem_group_id>
      <shortcut_id>0</shortcut_id>
      <name>sh-9</name>
      <description></description>
      <active>1</active>
      <image_large>information_items_185.jpg</image_large>
      <image_small>small_information_items_185.jpg</image_small>
      <image_large_width>755</image_large_width>
      <image_large_height>1024</image_large_height>
      <image_small_width>199</image_small_width>
      <image_small_height>270</image_small_height>
      <sorting>0</sorting>
      <ip>31.163.38.41</ip>
      <path>185</path>
      <indexing>1</indexing>
      <seo_title></seo_title>
      <seo_description></seo_description>
      <seo_keywords></seo_keywords>
      <siteuser_group_id>-1</siteuser_group_id>
      <showed>0</showed>
      <user_id>19</user_id>
      <siteuser_id>0</siteuser_id>
      <deleted>0</deleted>
      <url>/catalog/10/185/</url>
      <date>19.10.2014</date>
      <datetime>19.10.2014 12:52:23</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_21/1/8/5/item_185/</dir>
      <comments_count>0</comments_count>
      <comments_grade_sum>0</comments_grade_sum>
      <comments_grade_count>0</comments_grade_count>
      <comments_average_grade>0</comments_average_grade>
   </informationsystem_item>
   <informationsystem_item id="186">
      <informationsystem_id>21</informationsystem_id>
      <informationsystem_group_id>10</informationsystem_group_id>
      <shortcut_id>0</shortcut_id>
      <name>sh-10</name>
      <description></description>
      <active>1</active>
      <image_large>information_items_186.jpg</image_large>
      <image_small>small_information_items_186.jpg</image_small>
      <image_large_width>529</image_large_width>
      <image_large_height>1024</image_large_height>
      <image_small_width>139</image_small_width>
      <image_small_height>270</image_small_height>
      <sorting>0</sorting>
      <ip>31.163.38.41</ip>
      <path>186</path>
      <indexing>1</indexing>
      <seo_title></seo_title>
      <seo_description></seo_description>
      <seo_keywords></seo_keywords>
      <siteuser_group_id>-1</siteuser_group_id>
      <showed>0</showed>
      <user_id>19</user_id>
      <siteuser_id>0</siteuser_id>
      <deleted>0</deleted>
      <url>/catalog/10/186/</url>
      <date>19.10.2014</date>
      <datetime>19.10.2014 12:53:19</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_21/1/8/6/item_186/</dir>
      <comments_count>0</comments_count>
      <comments_grade_sum>0</comments_grade_sum>
      <comments_grade_count>0</comments_grade_count>
      <comments_average_grade>0</comments_average_grade>
   </informationsystem_item>
   <informationsystem_item id="187">
      <informationsystem_id>21</informationsystem_id>
      <informationsystem_group_id>10</informationsystem_group_id>
      <shortcut_id>0</shortcut_id>
      <name>sh-11</name>
      <description></description>
      <active>1</active>
      <image_large>information_items_187.jpg</image_large>
      <image_small>small_information_items_187.jpg</image_small>
      <image_large_width>405</image_large_width>
      <image_large_height>1024</image_large_height>
      <image_small_width>107</image_small_width>
      <image_small_height>270</image_small_height>
      <sorting>0</sorting>
      <ip>31.163.38.41</ip>
      <path>187</path>
      <indexing>1</indexing>
      <seo_title></seo_title>
      <seo_description></seo_description>
      <seo_keywords></seo_keywords>
      <siteuser_group_id>-1</siteuser_group_id>
      <showed>0</showed>
      <user_id>19</user_id>
      <siteuser_id>0</siteuser_id>
      <deleted>0</deleted>
      <url>/catalog/10/187/</url>
      <date>19.10.2014</date>
      <datetime>19.10.2014 12:53:37</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_21/1/8/7/item_187/</dir>
      <comments_count>0</comments_count>
      <comments_grade_sum>0</comments_grade_sum>
      <comments_grade_count>0</comments_grade_count>
      <comments_average_grade>0</comments_average_grade>
   </informationsystem_item>
   <informationsystem_item id="188">
      <informationsystem_id>21</informationsystem_id>
      <informationsystem_group_id>10</informationsystem_group_id>
      <shortcut_id>0</shortcut_id>
      <name>sh-12</name>
      <description></description>
      <active>1</active>
      <image_large>information_items_188.jpg</image_large>
      <image_small>small_information_items_188.jpg</image_small>
      <image_large_width>673</image_large_width>
      <image_large_height>1024</image_large_height>
      <image_small_width>177</image_small_width>
      <image_small_height>270</image_small_height>
      <sorting>0</sorting>
      <ip>31.163.38.41</ip>
      <path>188</path>
      <indexing>1</indexing>
      <seo_title></seo_title>
      <seo_description></seo_description>
      <seo_keywords></seo_keywords>
      <siteuser_group_id>-1</siteuser_group_id>
      <showed>0</showed>
      <user_id>19</user_id>
      <siteuser_id>0</siteuser_id>
      <deleted>0</deleted>
      <url>/catalog/10/188/</url>
      <date>19.10.2014</date>
      <datetime>19.10.2014 12:53:54</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_21/1/8/8/item_188/</dir>
      <comments_count>0</comments_count>
      <comments_grade_sum>0</comments_grade_sum>
      <comments_grade_count>0</comments_grade_count>
      <comments_average_grade>0</comments_average_grade>
   </informationsystem_item>
</informationsystem>
#
Re: постраничная навигация
или что надо прописать в настройках структуры и информационной системы..чтобы показывались все элементы?)
#
Re: постраничная навигация
ulla,
я думаю нужно изменить
<xsl:if test="0 and ОтображатьСсылкиНаСледующиеСтраницы=1">

на
<xsl:if test="ОтображатьСсылкиНаСледующиеСтраницы=1">
HostDev.pw - модули для HostCMS, Telegram: @hostdev
#
Re: постраничная навигация
EugenyP,
благодарю!! сработало))))
Авторизация