DimoN
Tech administrator | Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору В коде Код: oreach $topic (@topics) { # start topic foreach chomp $topic; ($topicid, $topictitle, $topicdescription, $threadstate, $threadposts, $threadviews, $startedby, $startedpostdate, $lastposter, $lastpostdate) = split(/\|/,$topic); if ($forumlastvisit < $lastpostdate) { $found = ("$categoryplace|$category|$forumid|$topicid|$forumname|$topictitle|$lastposter|$lastpostdate"); push (@founditems, $found); } | выделенную строку заменяем на эту Код: $found = ("$categoryplace|$category|$forumid|$topicid|$forumname|$topictitle|$lastposter|$lastpostdate|$threadposts"); | Чуть ниже эту строку Код: ($categoryplace, $categoryname, $forumid, $topicid, $forumname, $topictitle, $lastposter, $lastpostdate) = split (/\|/,$_); | заменяем на эту Код: ($categoryplace, $categoryname, $forumid, $topicid, $forumname, $topictitle, $lastposter, $lastpostdate, $threadposts) = split (/\|/,$_); | Теперь добавляем между этим Код: <td bgcolor=$forumcolortwo><font face="$font" color=$forumfontcolor size=1><a href="$threadprog?forum=$forumid&topic=$topicid" target="_source">$topictitle</a></td> | и этим Код: <td bgcolor=$forumcolortwo><font face="$font" color=$forumfontcolor size=1 colspan=3>Last post by <a href="$profileprog?action=show&member=$lastposter">$lastposter</a> at $topiclastpost</td> | Вот это Код: <td bgcolor=$forumcolortwo>$threadposts</td> | Также можно сделать и с количеством просмотров Дерзай |