Просмотр поста

.
BmD-music

seg0ro,

Мой код вывода картинка названи счетчик (+/-)
$topicQuery = mysql_query("SELECT * FROM `forum_topics` ORDER BY `time` DESC LIMIT $limit ");
echo '<div class="menu">';
while ($topicRes = mysql_fetch_assoc($topicQuery)){

  if ($topicRes['count'] > 1){
    $lastPost = explode(':|:', $topicRes['lastpost']);
    $sub .= ' <a href="forum/index.php?topic='.$topicRes['topic'].'&amp;post='.$lastPost[1].'" title="перейти к сообщению">Последн.</a>: '.$lastPost[0];
  }
  echo '<div>'.show_topic($topicRes, $sub.'').'</div>';
}