本文整理汇总了PHP中CKunenaLink::GetUserlistLink方法的典型用法代码示例。如果您正苦于以下问题:PHP CKunenaLink::GetUserlistLink方法的具体用法?PHP CKunenaLink::GetUserlistLink怎么用?PHP CKunenaLink::GetUserlistLink使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类CKunenaLink
的用法示例。
在下文中一共展示了CKunenaLink::GetUserlistLink方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: displayDefault
function displayDefault($tpl = null)
{
require_once KPATH_SITE . '/lib/kunena.link.class.php';
$kunena_stats = KunenaForumStatistics::getInstance();
$kunena_stats->loadAll();
$this->assign($kunena_stats);
$this->latestMemberLink = KunenaFactory::getUser(intval($this->lastUserId))->getLink();
$this->userlist = CKunenaLink::GetUserlistLink('', intval($this->get('memberCount')));
$this->_prepareDocument();
parent::display();
}
示例2: displayDefault
function displayDefault($tpl = null) {
$this->config = KunenaFactory::getConfig ();
$document = JFactory::getDocument();
$document->setTitle(JText::_('COM_KUNENA_STAT_FORUMSTATS') . ' - ' . $this->config->board_title);
require_once(KPATH_SITE.'/lib/kunena.link.class.php');
$kunena_stats = KunenaForumStatistics::getInstance ( );
$kunena_stats->loadAll();
$this->assign($kunena_stats);
$this->latestMemberLink = CKunenaLink::GetProfileLink($this->lastUserId);
$this->userlist = CKunenaLink::GetUserlistLink('', intval($this->get('memberCount')));
$this->statisticsURL = KunenaRoute::_('index.php?option=com_kunena&view=statistics');
parent::display ();
}
示例3: showlist
//.........这里部分代码省略.........
</th>
<?php
}
?>
<?php
if ($fbConfig->userlist_avatar) {
?>
<th class = "th-3 <?php
echo $boardclass;
?>
sectiontableheader" align="center">
<?php
echo _KUNENA_USRL_AVATAR;
?>
</th>
<?php
}
?>
<?php
if ($fbConfig->userlist_name) {
?>
<th class = "th-4 <?php
echo $boardclass;
?>
sectiontableheader" align="center">
<?php
echo _KUNENA_USRL_NAME;
echo CKunenaLink::GetUserlistLink('&orderby=name&direction=ASC', '<img src="' . KUNENA_TMPLTMAINIMGURL . '/images/down.gif" border="0" alt="' . _KUNENA_USRL_ASC . '" />');
echo CKunenaLink::GetUserlistLink('&orderby=name&direction=DESC', '<img src="' . KUNENA_TMPLTMAINIMGURL . '/images/up.gif" border="0" alt="' . _KUNENA_USRL_DESC . '" />');
?>
</th>
<?php
}
?>
<?php
if ($fbConfig->userlist_username) {
?>
<th class = "th-5 <?php
echo $boardclass;
?>
sectiontableheader" align="center">
<?php
echo _KUNENA_USRL_USERNAME;
echo CKunenaLink::GetUserlistLink('&orderby=username&direction=ASC', '<img src="' . KUNENA_TMPLTMAINIMGURL . '/images/down.gif" border="0" alt="' . _KUNENA_USRL_ASC . '" />');
echo CKunenaLink::GetUserlistLink('&orderby=username&direction=DESC', '<img src="' . KUNENA_TMPLTMAINIMGURL . '/images/up.gif" border="0" alt="' . _KUNENA_USRL_DESC . '" />');
?>
</th>
<?php
}
?>
<?php
if ($fbConfig->userlist_group) {
?>
<th class = "th-6 <?php
示例4: if
<div class="kblock kfrontstats">
<div class="kheader">
<span class="ktoggler"><a class="ktoggler close" title="<?php echo JText::_('COM_KUNENA_TOGGLER_COLLAPSE') ?>" rel="kfrontstats-tbody"></a></span>
<h2><span><?php echo CKunenaLink::GetStatsLink($this->config->board_title.' '.JText::_('COM_KUNENA_STAT_FORUMSTATS'), ''); ?></span></h2>
</div>
<div class="kcontainer" id="kfrontstats-tbody">
<div class="kbody">
<table class = "kblocktable" id ="kfrontstats">
<tr class="krow1">
<td class = "kcol-first">
<div class="kstatsicon"></div>
</td>
<td class="kcol-mid km">
<ul id="kstatslistright" class="fltrt kright">
<li><?php echo JText::_('COM_KUNENA_STAT_TOTAL_USERS'); ?>: <strong><?php echo CKunenaLink::GetUserlistLink('', $this->memberCount) ?></strong> <span class="divider">|</span> <?php echo JText::_('COM_KUNENA_STAT_LATEST_MEMBERS'); ?>: <strong><?php echo $this->latestMemberLink ?></strong></li>
<li> </li>
<li><?php echo CKunenaLink::GetUserlistLink('', JText::_('COM_KUNENA_STAT_USERLIST').' »') ?></li>
<li><?php if ($this->config->showpopuserstats || $this->config->showpopsubjectstats) echo CKunenaLink::GetStatsLink(JText::_('COM_KUNENA_STAT_MORE_ABOUT_STATS').' »');?></li>
</ul>
<ul id="kstatslistleft" class="fltlft">
<li><?php echo JText::_('COM_KUNENA_STAT_TOTAL_MESSAGES'); ?>: <strong> <?php echo intval($this->messageCount); ?></strong> <span class="divider">|</span> <?php echo JText::_('COM_KUNENA_STAT_TOTAL_SUBJECTS'); ?>: <strong><?php echo intval($this->topicCount); ?></strong></li>
<li><?php echo JText::_('COM_KUNENA_STAT_TOTAL_SECTIONS'); ?>: <strong><?php echo intval($this->sectionCount); ?></strong> <span class="divider">|</span> <?php echo JText::_('COM_KUNENA_STAT_TOTAL_CATEGORIES'); ?>: <strong><?php echo intval($this->categoryCount); ?></strong></li>
<li><?php echo JText::_('COM_KUNENA_STAT_TODAY_OPEN_THREAD'); ?>: <strong><?php echo $this->todayTopicCount; ?></strong> <span class="divider">|</span> <?php echo JText::_('COM_KUNENA_STAT_YESTERDAY_OPEN_THREAD'); ?>: <strong><?php echo intval($this->yesterdayTopicCount); ?></strong></li>
<li><?php echo JText::_('COM_KUNENA_STAT_TODAY_TOTAL_ANSWER'); ?>: <strong><?php echo intval($this->todayReplyCount); ?></strong> <span class="divider">|</span> <?php echo JText::_('COM_KUNENA_STAT_YESTERDAY_TOTAL_ANSWER'); ?>: <strong><?php echo intval($this->yesterdayReplyCount); ?></strong></li>
</ul>
</td>
</tr>
</table>
</div>
</div>
</div>
示例5: defined
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @author TSMF & Jan de Graaff
**/
// Dont allow direct linking
defined('_JEXEC') or die;
$kunena_config = KunenaFactory::getConfig();
$document = JFactory::getDocument();
$document->setTitle(JText::_('COM_KUNENA_STAT_FORUMSTATS') . ' - ' . $kunena_config->board_title);
if ($kunena_config->showstats) {
$this->loadGenStats();
$this->loadUserStats();
$this->loadTopicStats();
$this->loadPollStats();
$this->loadThanksStats();
$forumurl = 'index.php?option=com_kunena';
$userlist1 = CKunenaLink::GetUserlistLink('', intval($this->totalmembers));
?>
<!-- BEGIN: GENERAL STATS -->
<?php
if ($kunena_config->showgenstats) {
?>
<div class="kblock kgenstats">
<div class="kheader">
<span class="ktoggler"><a class="ktoggler close" title="<?php
echo JText::_('COM_KUNENA_TOGGLER_COLLAPSE');
?>
" rel="kgenstats_tbody"></a></span>
<h2><span><?php
echo $this->escape($kunena_config->board_title);
?>
<?php