echo CKunenaTools::formatLargeNumber(intval($leaf->hits)); ?> </span> <span class="ktopic-views"> <?php echo JText::_('COM_KUNENA_GEN_HITS'); ?> </span> <!-- /Views --> </td> <?php if ($this->showposts) { ?> <td class="kcol-mid kmycount"> <!-- Posts --> <span class="ktopic-views-number"><?php echo CKunenaTools::formatLargeNumber(intval($leaf->mycount)); ?> </span> <span class="ktopic-views"> <?php echo JText::_('COM_KUNENA_MY_POSTS'); ?> </span> <!-- /Posts --> </td> <?php } ?> <td class="kcol-mid kcol-ktopiclastpost"> <div class="klatest-post-info"> <?php if ($leaf->ordering != 0) {
?> </span> <span class="ktopic-views"> <?php echo JText::_('COM_KUNENA_DISCUSSIONS'); ?> </span> <!-- /Views --> </td> <?php if ($this->showposts) { ?> <td class="kcol-mid kmycount"> <!-- Posts --> <span class="ktopic-views-number"><?php echo CKunenaTools::formatLargeNumber((int) $leaf->numPosts); ?> </span> <span class="ktopic-views"> <?php echo JText::_('COM_KUNENA_MY_POSTS'); ?> </span> <!-- /Posts --> </td> <?php } ?> <td class="kcol-mid kcol-ktopiclastpost"> <div class="klatest-post-info"> <!-- Avatar -->
<?php elseif ( $this->type == 'posters' ) : ?> <?php foreach ( $this->stats as $stat) : ?> <tr class="krow<?php echo ($i^=1)+1;?>"> <td class="kcol-first"><?php echo CKunenaLink::GetProfileLink($stat->userid, JString::substr ( htmlspecialchars ($stat->username), '0', $this->params->get ( 'titlelength' ) )); ?></td> <td class="kcol-last"><span class="kstats-hits-bg"><span class="kstats-hits" style="width:<?php echo $this->getBarWidth($stat->posts);?>%;"><?php echo CKunenaTools::formatLargeNumber($stat->posts, 3);?></span></span></td> </tr> <?php endforeach; ?> <?php elseif ( $this->type == 'profiles' ) : ?> <?php foreach ( $this->stats as $stat) : ?> <tr class="krow<?php echo ($i^=1)+1;?>"> <td class="kcol-first"><?php echo CKunenaLink::GetProfileLink($stat->user_id, JString::substr ( htmlspecialchars ($stat->user), '0', $this->params->get ( 'titlelength' ) )); ?></td> <td class="kcol-last"><span class="kstats-hits-bg"><span class="kstats-hits" style="width:<?php echo $this->getBarWidth($stat->hits);?>%;"><?php echo CKunenaTools::formatLargeNumber($stat->hits, 3);?></span></span></td> </tr> <?php endforeach; ?> <?php elseif ( $this->type == 'thanks' ) : ?> <?php foreach ( $this->stats as $stat) : ?> <tr class="krow<?php echo ($i^=1)+1;?>"> <td class="kcol-first"><?php echo CKunenaLink::GetProfileLink($stat->id, JString::substr ( htmlspecialchars ($stat->username), '0', $this->params->get ( 'titlelength' ) )); ?></td> <td class="kcol-last"><span class="kstats-hits-bg"><span class="kstats-hits" style="width:<?php echo $this->getBarWidth($stat->receivedthanks);?>%;"><?php echo CKunenaTools::formatLargeNumber($stat->receivedthanks, 3);?></span></span></td> </tr> <?php endforeach; ?> <?php endif; ?> <?php endif; ?> </table> <?php endif; ?> <?php if ($this->params->get( 'sh_statslink' )) : ?> <div class="kstats-all"><?php echo CKunenaLink::GetStatsLink(JText::_('MOD_KUNENASTATS_LINK')); ?></div> <?php endif; ?> </div>
<?php foreach ($this->stats as $stat) { ?> <tr class="krow<?php echo ($i ^= 1) + 1; ?> "> <td class="kcol-first"><?php echo CKunenaLink::GetProfileLink($stat->id, JString::substr(htmlspecialchars($stat->username), '0', $this->params->get('titlelength'))); ?> </td> <td class="kcol-last"><span class="kstats-hits-bg"><span class="kstats-hits" style="width:<?php echo $this->getBarWidth($stat->receivedthanks); ?> %;"><?php echo CKunenaTools::formatLargeNumber($stat->receivedthanks, 3); ?> </span></span></td> </tr> <?php } ?> <?php } ?> <?php } ?> </table> <?php }
<!-- Number of Topics --> <span class="kcat-topics-number"><?php echo CKunenaTools::formatLargeNumber(intval($category->numTopics)); ?> </span> <span class="kcat-topics"><?php echo JText::_('COM_KUNENA_GEN_TOPICS'); ?> </span> <!-- /Number of Topics --> </td> <td class="kcol-mid kcol-kcatreplies"> <!-- Number of Replies --> <span class="kcat-replies-number"><?php echo CKunenaTools::formatLargeNumber(intval($category->numPosts)); ?> </span> <span class="kcat-replies"><?php echo JText::_('COM_KUNENA_GEN_REPLIES'); ?> </span> <!-- /Number of Replies --> </td> <?php if ($category->numTopics != 0) { ?> <td class="kcol-mid kcol-kcatlastpost"> <?php if ($this->config->avataroncat > 0) {
if ($mes->name) { ?> <span class="ktopic-by ks"><?php echo JText::_('COM_KUNENA_GEN_BY') . ' ' . CKunenaLink::GetProfileLink(intval($mes->userid), $this->escape($mes->name)); ?> </span> <?php } ?> <!-- /By --> </div> </td> <td class="kcol-mid kcol-ktopicviews"> <!-- Views --> <span class="ktopic-views-number"><?php echo CKunenaTools::formatLargeNumber(intval($mes->hits)); ?> </span> <span class="ktopic-views"> <?php echo JText::_('COM_KUNENA_GEN_HITS'); ?> </span> <!-- /Views --> </td> <td class="kcol-mid"> <?php echo smile::smileReplace($mes->message, 0, $this->config->disemoticons, smile::getEmoticons("")); ?> </td> <?php if (CKunenaTools::isModerator($this->my->id, $this->catid)) {