Код: <table width='100%' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td class='column_header'>
<p>Последние вопросы на Форуме</p>
</td>
</tr>
</table>
<table class='column_text' style='width: 100%; border: 0; padding-top: 0px;' cellpadding='0' cellspacing='0'>
<tr valign=top>
".listQuery("(SELECT *,DATE_FORMAT(Topic_regdate,'%Y') as Topic_regdate_year,DATE_FORMAT(Topic_regdate,'%m') as Topic_regdate_month,DATE_FORMAT(Topic_regdate,'%d') as Topic_regdate_day FROM Forum_topics10) UNION
(SELECT *,DATE_FORMAT(Topic_regdate,'%Y') as Topic_regdate_year,DATE_FORMAT(Topic_regdate,'%m') as Topic_regdate_month,DATE_FORMAT(Topic_regdate,'%d') as Topic_regdate_day FROM Forum_topics11) UNION
(SELECT *,DATE_FORMAT(Topic_regdate,'%Y') as Topic_regdate_year,DATE_FORMAT(Topic_regdate,'%m') as Topic_regdate_month,DATE_FORMAT(Topic_regdate,'%d') as Topic_regdate_day FROM Forum_topics13) UNION
(SELECT *,DATE_FORMAT(Topic_regdate,'%Y') as Topic_regdate_year,DATE_FORMAT(Topic_regdate,'%m') as Topic_regdate_month,DATE_FORMAT(Topic_regdate,'%d') as Topic_regdate_day FROM Forum_topics14)
ORDER BY Topic_regdate DESC LIMIT 2","<td class='bottom_yellow' style='border-bottom: 1px solid black; padding: 5px; width: 50%;'><a href=/forum/?Subdiv_ID=$data[Subdiv_ID]&Topic_ID=$data[Topic_ID]><b>$data[Topic_subject]</b><br>[$data[Topic_regdate_day].$data[Topic_regdate_month].$data[Topic_regdate_year]] Ответов: $data[Topic_replies], просмотров: $data[Topic_views]</a></td>")."
</tr>
</table>