Есть ли такая переменная ?
Доброго дня, делаю сайт вопросов и ответов, с функцией микро-блогов фотосетов. Мне нужна функция: Если пользователь сдесь первый раз, то выводить то то… Если есть сие чудо, просьба написать ;)
{if $oBlog->getId()>=1 and $oBlog->getId()<=8}
<p><label for="topic_anonscontent">{$aLang.topic_create_anons}:</label>
<small class="note">{$aLang.topic_create_anons_notice}</small>
<textarea rows="4" id="topic_anonscontent" name="topic_anonscontent" class="input-text input-width-full js-wall-reply-parent-text">{$_aRequest.topic_anonscontent}</textarea>
</p>
{/if}
{$oTopic->getAnonsContent()}
meta name="description" content="{$sHtmlDescription}"
{if $oBlog->getId()==13 or $oBlog->getId()==14 or $oBlog->getId()==15 or $oBlog->getId()==16 or $oBlog->getId()==17 or $oBlog->getId()==18 or $oBlog->getId()==19 or $oBlog->getId()==21 or $oBlog->getId()==22 or $oBlog->getId()==23 or $oBlog->getId()==24 or $oBlog->getId()==25 or $oBlog->getId()==26 or $oBlog->getId()==27 or $oBlog->getId()==28 or $oBlog->getId()==29 or $oBlog->getId()==30 or $oBlog->getId()==31 or $oBlog->getId()==32 or $oBlog->getId()==33 or $oBlog->getId()==34 or $oBlog->getId()==35 or $oBlog->getId()==36}
{if $oBlog->getId()==13-37}
или что-то в этом роде.
{if url==http://site.ru/page/privet}
Здрасте
{/if}
{if url==http://site.ru/page/poka}
До свидания
{/if}