Эммм нафига ? В портале есть такая функция, раширенный вид новости или как там, глядите внимательноyanreon писал(а):А как вывести блок новостей, от мода NV newspage,
hedinnk, сложноватый вопрос, по идее так - открыть
Код: Выделить всё
'TITLE' => character_limit($row['topic_title'], $config['board3_recent_title_limit_' . $module_id]),
Код: Выделить всё
'TOPIC_PREFIX' => (!empty($row['topic_prefix'])) ? '[' . $row['topic_prefix'] . ']' : false,
Код: Выделить всё
<!-- BEGIN latest_announcements -->
<a href="{latest_announcements.U_VIEW_TOPIC}" title="{latest_announcements.FULL_TITLE}">{latest_announcements.TITLE}</a><br />
<!-- END latest_announcements -->
Код: Выделить всё
<!-- BEGIN latest_announcements -->
<a href="{latest_announcements.U_VIEW_TOPIC}" title="{latest_announcements.FULL_TITLE}"><!-- IF latest_announcements.TOPIC_PREFIX -->{latest_announcements.TOPIC_PREFIX} <!-- ENDIF -->{latest_announcements.TITLE}</a><br />
<!-- END latest_announcements -->
Код: Выделить всё
<!-- BEGIN latest_hot_topics -->
<a href="{latest_hot_topics.U_VIEW_TOPIC}" title="{latest_hot_topics.FULL_TITLE}">{latest_hot_topics.TITLE}</a><br />
<!-- END latest_hot_topics -->
Код: Выделить всё
<!-- BEGIN latest_hot_topics -->
<a href="{latest_hot_topics.U_VIEW_TOPIC}" title="{latest_hot_topics.FULL_TITLE}"><!-- IF latest_hot_topics.TOPIC_PREFIX -->{latest_hot_topics.TOPIC_PREFIX} <!-- ENDIF -->{latest_hot_topics.TITLE}</a><br />
<!-- END latest_hot_topics -->
Код: Выделить всё
<!-- BEGIN latest_topics -->
<a href="{latest_topics.U_VIEW_TOPIC}" title="{latest_topics.FULL_TITLE}">{latest_topics.TITLE}</a><br />
<!-- END latest_topics -->
Код: Выделить всё
<!-- BEGIN latest_topics -->
<a href="{latest_topics.U_VIEW_TOPIC}" title="{latest_topics.FULL_TITLE}"><!-- IF latest_topics.TOPIC_PREFIX -->{latest_topics.TOPIC_PREFIX} <!-- ENDIF -->{latest_topics.TITLE}</a><br />
<!-- END latest_topics -->