Войти
Введите цифры и буквы
Валерий
{assign var="iTopicId" value=$oTopic->getId()} {assign var="voted" value="voted_`$iTopicId`"} <ul class="voting {if $oVote || ($oUserCurrent && $oTopic->getUserId()==$oUserCurrent->getId()) || (!$oUserCurrent && (!$smarty.session.$voted))} {if $oTopic->getRating()>0}positive{elseif $oTopic->getRating()<0}negative{/if}{/if} {if !$oUserCurrent || $oTopic->getUserId()==$oUserCurrent->getId() || (!$oUserCurrent && (!$smarty.session.$voted))}guest{/if} {if $oVote} voted {if $oVote->getDirection()>0}plus{elseif $oVote->getDirection()<0}minus{/if}{/if}"> <li class="plus"><a href="#" onclick="lsVote.vote({$oTopic->getId()},this,1,'topic'); return false;"></a></li> <li class="total" title="{$aLang.topic_vote_count}: {$oTopic->getCountVote()}">{if $oVote || ($oUserCurrent && $oTopic->getUserId()==$oUserCurrent->getId()) || (!$oUserCurrent && (!$smarty.session.$voted))} {if $oTopic->getRating()>0}+{/if}{$oTopic->getRating()} {else} <a href="#" onclick="lsVote.vote({$oTopic->getId()},this,0,'topic'); return false;">—</a> {/if}</li> <li class="minus"><a href="#" onclick="lsVote.vote({$oTopic->getId()},this,-1,'topic'); return false;"></a></li>
** * Проверяем фамилию */ if (func_check(getRequest('profile_surname'),'text',1,100)) { $this->oUserCurrent->setProfileSurname(getRequest('profile_surname')); } else { $this->oUserCurrent->setProfileSurname(null);
<li {if $sAction=='price' and $sEvent=='kirpich'}class="active"{/if}><div><a href="{router page='price'}kirpich/">kirpich</a></div></li>
<li {if $sAction=='price' and $sEvent=='kirpich'}class="active"{/if}<div><a href="{router page='price'}kirpich/">kirpich</a></div></li>
фигурная скобка стоит? или вы просто здесь не написали ее? может ошибка могла возникнуть, когда вы разделяли настройки по страницам.