Sources/SPortal1-1.php
m.smileysEnabled, m.ID_MSG, t.locked,
m.smileysEnabled, m.ID_MSG, t.locked, b.ID_BOARD, c.ID_CAT, c.name AS cName, b.name AS bName,
WHERE t.ID_FIRST_MSG IN (" . implode(', ', $posts) . ")
INNER JOIN {$db_prefix}boards AS b ON (b.ID_BOARD = t.ID_BOARD)
INNER JOIN {$db_prefix}categories AS c ON (c.ID_CAT = b.ID_CAT)
WHERE t.ID_FIRST_MSG IN (" . implode(', ', $posts) . ")
'link' => '<a href="' . $scripturl . '?topic=' . $row['ID_TOPIC'] . '.0">' . $txt['sp-read_more'] . '</a>',
'link' => '<a href="' . $scripturl . '?topic=' . $row['ID_TOPIC'] . '.0">' . $txt['sp-read_more'] . '</a>',
'board' => '<a href="' . $scripturl . '?board=' . $row['ID_BOARD'] . '.0">' . $row['bName'] . '</a>',
'category' => '<a href="' . $scripturl . '?action=forum#' . $row['ID_CAT'] . '">' . $row['cName'] . '</a>',
<td class="sp_regular_padding" colspan="2">';
if ($avatars && $news['avatar']['name'] !== null && !empty($news['avatar']['href']))
echo '
<img src="', $news['avatar']['href'], '" alt="', $news['poster']['name'], '" width="30" style="float: right;" />
<div class="middletext">', $news['timeday'], ' ', $txt[525], ' ', $news['poster']['link'], '<br />', $txt['sp-articlesViews'], ': ', $news['views'], ' | ', $txt['sp-articlesComments'], ': ', $news['replies'], '</div>';
else
echo '
<div class="middletext">', $news['timeday'], ' ', $txt[525], ' ', $news['poster']['link'], ' | ', $txt['sp-articlesViews'], ': ', $news['views'], ' | ', $txt['sp-articlesComments'], ': ', $news['replies'], '</div>';
echo '
<td class="sp_regular_padding" colspan="2">
<div class="middletext">', $news['category'], ' > ', $news['board'], '</div>