{**
* XS2:
*
* This file is developed by Solutecs, LLC for the purpose of the company
* and is provided together with XS2 Framework as and inherent part of the
* system. This file can be used on the terms of License Agreement.
*
* +7 (495) 585-0833 / 13 Rusakovskaya street, Moscow 107140 Russia
*
* @link http://www.solutecs.com
* @copyright ©1998-2007 Solutecs, LLC
* @version 1.XX
*}
{* Поведение: показывает список форумов и разделов в них *}
{xs2Fetch mod="forum" obj="user" met="login"}
{xs2GetNodes var="boards" NType="board"}
{if $boards|@count>0}
{foreach from=$boards item="board"}
<h1>{$board.NName}</h1>
{xs2GetChildren var="sections" ParId=$board.NodId NType="section"}
{foreach from=$sections item="section"}
<p>
<a href="{xs2Href mod="forum" obj="section" met="show" atr=$section.NodId}">
{$section.NName}
</a>
</p>
{/foreach}
{/foreach}
{else}
<p>Форумы не обнаружены</p>
{/if}
|
|