本文整理匯總了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">