Например как здесь:
Наверно надо ставить
Код: Выделить всё
<!-- IF topicrow.SOLVED_TOPIC -->
<a href="{topicrow.U_SOLVED_TOPIC}" class="topictitle"{topicrow.SOLVED_STYLE}>{topicrow.SOLVED_TOPIC}</a>
<!-- ENDIF -->
Код: Выделить всё
<!-- IF S_NEW_TOPIC -->
<script type="text/javascript">// <![CDATA[
var u_similar_search = '{U_SIMILAR_SEARCH}';
// ]]>
</script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/similartopicsearchfunction.js"></script>
<tr id="similar_row" style="display:none;">
<td class="row2" style="padding:0" colspan="2" id="similar_table"></td>
</tr>
<script type="text/javascript">// <![CDATA[
var similar_table = getElement("similar_table");
var similar_row = getElement("similar_row");
var liveSearch = new LiveSearch(document.forms.postform.subject, similar_table, similar_row);
// ]]>
</script>
<!-- ENDIF -->
<!-- IF .similar -->
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<th width="4%" nowrap="nowrap"> </th>
<th colspan="2" nowrap="nowrap"> {L_SIMILAR_TOPICS} </th>
<th nowrap="nowrap"> {L_AUTHOR} </th>
<th nowrap="nowrap"> {L_REPLIES} </th>
<th nowrap="nowrap"> {L_VIEWS} </th>
<th nowrap="nowrap"> {L_LAST_POST} </th>
</tr>
<!-- BEGIN similar -->
<tr valign="middle">
<td class="row1" width="25" align="center">{similar.TOPIC_FOLDER_IMG}</td>
<td class="row1" width="25" align="center">
<!-- IF similar.TOPIC_ICON_IMG -->
<img src="{T_ICONS_PATH}{similar.TOPIC_ICON_IMG}" width="{similar.TOPIC_ICON_IMG_WIDTH}" height="{similar.TOPIC_ICON_IMG_HEIGHT}" alt="" title="" />
<!-- ENDIF -->
</td>
<td class="row1">
<a href="{similar.U_VIEW_TOPIC}" class="topictitle" onclick="window.open(this.href);return false;">{similar.TOPIC_TITLE}</a>
<!-- IF similar.PAGINATION -->
<p class="gensmall"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {similar.PAGINATION} ] </p>
<!-- ENDIF -->
<!-- IF similar.S_TOPIC_GLOBAL -->
<p class="gensmall">{L_GLOBAL}</p>
<!-- ELSE -->
<p class="gensmall">{L_IN} <a href="{similar.U_VIEW_FORUM}" onclick="window.open(this.href);return false;">{similar.FORUM_TITLE}</a></p>
<!-- ENDIF -->
</td>
<td class="row2" width="100" align="center"><p class="topicauthor"><!-- IF similar.U_TOPIC_AUTHOR --><a href="{similar.U_TOPIC_AUTHOR}" onclick="window.open(this.href);return false;">{similar.TOPIC_AUTHOR}</a><!-- ELSE -->{similar.TOPIC_AUTHOR}<!-- ENDIF --></p></td>
<td class="row1" width="50" align="center"><p class="topicdetails">{similar.TOPIC_REPLIES}</p></td>
<td class="row2" width="50" align="center"><p class="topicdetails">{similar.TOPIC_VIEWS}</p></td>
<td class="row1" width="120" align="center">
<p class="topicdetails">{similar.LAST_POST_TIME}</p>
<p class="topicdetails"><!-- IF similar.U_LAST_POST_AUTHOR --><a href="{similar.U_LAST_POST_AUTHOR}" onclick="window.open(this.href);return false;">{similar.LAST_POST_AUTHOR}</a><!-- ELSE -->{similar.LAST_POST_AUTHOR}<!-- ENDIF -->
<a href="{similar.U_LAST_POST}" onclick="window.open(this.href);return false;">{LAST_POST_IMG}</a>
</p>
</td>
</tr>
<!-- END similar -->
</table>
<!-- ENDIF -->
Может подскажите?