{**
* 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
*}
{* Поведение: показывает одно сообщение *}
{* Параметры: 0:message.NodId *}
{xs2GetNode var="message" NodId=$_THE.PARAMS[0]}
{if $message.NType eq "message"}
{xs2Fetch mod="forum" met="path" atr=$message.NodId}
{if $message.NName and $message.NName neq $message.NType}
<h1>{$message.NName}</h1>
{/if}
<div>
{$message.Text}
</div>
{else}
<p>Сообщение не найдено</p>
{/if}
|
|