本文整理汇总了PHP中CKunenaLink::GetWhoIsOnlineLink方法的典型用法代码示例。如果您正苦于以下问题:PHP CKunenaLink::GetWhoIsOnlineLink方法的具体用法?PHP CKunenaLink::GetWhoIsOnlineLink怎么用?PHP CKunenaLink::GetWhoIsOnlineLink使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CKunenaLink
的用法示例。
在下文中一共展示了CKunenaLink::GetWhoIsOnlineLink方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
$totaluser = $this->getTotalRegistredUsers();
$totalguests = $this->getTotalGuestUsers();
$who_name = $this->getTitleWho($totaluser, $totalguests);
?>
<div class="kblock kwhoisonline">
<div class="kheader">
<span class="ktoggler"><a class="ktoggler close" title="<?php
echo JText::_('COM_KUNENA_TOGGLER_COLLAPSE');
?>
" rel="kwhoisonline"></a></span>
<h2><span><?php
//FIXME: remove link to who.php page
$who_online = JText::_('COM_KUNENA_WHO_WHOIS_ONLINE');
if (CKunenaTools::isModerator($this->my->id)) {
echo CKunenaLink::GetWhoIsOnlineLink($who_online, '');
} else {
echo '<span class="ktitle km">' . $who_online . '</span>';
}
?>
</span>
</h2>
</div>
<div class="kcontainer" id="kwhoisonline">
<div class="kbody">
<table class = "kblocktable">
<tr class = "krow2">
<td class = "kcol-first">
<div class="kwhoicon"></div>
</td>
<td class = "kcol-mid km">