0 Пользователей и 1 Гость просматривают эту тему.
// Find the post ids. if($context['TPortal']['front_type'] == 'forum_articles') $request = $smcFunc['db_query']('', ' SELECT t.id_first_msg as ID_FIRST_MSG , m.poster_time as date FROM ({db_prefix}topics as t, {db_prefix}boards as b, {db_prefix}messages as m) WHERE t.id_board = b.id_board AND t.id_first_msg = m.id_msg AND t.id_board IN({[color=red][b]string[/b][/color]:board}) ' . ($context['TPortal']['allow_guestnews'] == 0 ? 'AND {query_see_board}' : '') . ' ORDER BY date DESC LIMIT {int:max}', array('board' => $context['TPortal']['SSI_board'], 'max' => $totalmax) );