} } ?> "> <td class="kcol-first kcol-ktopicreplies"> <strong> <?php echo CKunenaTools::formatLargeNumber($leaf->msgcount - 1); ?> </strong><?php echo JText::_('COM_KUNENA_GEN_REPLIES'); ?> </td> <td class="kcol-mid kcol-ktopicicon"> <?php echo CKunenaLink::GetThreadPageLink('view', intval($leaf->catid), intval($leaf->id), $unreadPage, intval($this->config->messages_per_page), CKunenaTools::topicIcon($leaf), intval($leaf->lastread)); ?> </td> <td class="kcol-mid kcol-ktopictitle"> <?php if ($leaf->attachments) { echo CKunenaTools::showIcon('ktopicattach', JText::_('COM_KUNENA_ATTACH')); } ?> <div class="ktopic-title-cover"><?php echo CKunenaLink::GetThreadLink('view', intval($leaf->catid), intval($leaf->id), KunenaParser::parseText($leaf->subject), KunenaParser::stripBBCode($leaf->message, 500), 'follow', 'ktopic-title km'); ?> <?php if ($leaf->favcount) { if ($leaf->myfavorite) {
echo '-stickymsg'; } echo $this->escape($firstpost->class_sfx); } if ($message->hold == 1) { echo ' kunapproved'; } else { if ($message->hold) { echo ' kdeleted'; } } ?> "> <td class="kcol-first kcol-ktopicicon"> <?php echo CKunenaTools::topicIcon($message); ?> </td> <td class="kcol-mid ktopictittle"> <?php $curMessageNo = $message->msgcount - ($message->unread ? $message->unread - 1 : 0); $threadPages = ceil($message->msgcount / $this->config->messages_per_page); $unreadPage = ceil($curMessageNo / $this->config->messages_per_page); if ($message->attachments) { echo CKunenaTools::showIcon('ktopicattach', JText::_('COM_KUNENA_ATTACH')); } ?> <div class="ktopic-title-cover"> <?php echo CKunenaLink::GetThreadLink('view', intval($message->catid), intval($message->id), KunenaParser::parseText($message->subject, 30), KunenaParser::stripBBCode($message->message), 'follow', 'ktopic-title km');
echo JText::_('COM_KUNENA_MOD_NOTHING'); ?> </td> </tr> <?php } else { $k = 0; foreach ($this->MessagesToApprove as $mes) { ?> <tr class="k<?php echo $this->tabclass[$k ^= 1]; ?> " > <td class="kcol-mid kcol-ktopicicon"> <?php echo CKunenaLink::GetThreadPageLink('view', intval($mes->catid), intval($mes->id), '1', intval($this->config->messages_per_page), CKunenaTools::topicIcon($mes), ''); ?> </td> <td class="kcol-mid kcol-ktopictitle"> <div class="ktopic-title-cover"><?php echo CKunenaLink::GetThreadLink('view', intval($mes->catid), intval($mes->id), KunenaParser::parseText($mes->subject), KunenaParser::stripBBCode($mes->message, 500), 'follow', 'ktopic-title km'); ?> </div> <div class="ktopic-details"> <!-- By --> <!-- Category --> <span class="ktopic-category"> <?php echo JText::_('COM_KUNENA_CATEGORY') . ' ' . CKunenaLink::GetCategoryLink('showcat', intval($mes->catid), $this->escape($mes->catname)); ?>