当前位置: 首页>>代码示例>>PHP>>正文


PHP CKunenaLink::GetUserlistLink方法代码示例

本文整理汇总了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();
 }
开发者ID:laiello,项目名称:senluonirvana,代码行数:11,代码来源:view.html.php

示例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 ();
	}
开发者ID:rich20,项目名称:Kunena,代码行数:16,代码来源:view.html.php

示例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('&amp;orderby=name&amp;direction=ASC', '<img src="' . KUNENA_TMPLTMAINIMGURL . '/images/down.gif" border="0" alt="' . _KUNENA_USRL_ASC . '" />');
            echo CKunenaLink::GetUserlistLink('&amp;orderby=name&amp;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('&amp;orderby=username&amp;direction=ASC', '<img src="' . KUNENA_TMPLTMAINIMGURL . '/images/down.gif" border="0" alt="' . _KUNENA_USRL_ASC . '" />');
            echo CKunenaLink::GetUserlistLink('&amp;orderby=username&amp;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 
开发者ID:kaantunc,项目名称:MYK-BOR,代码行数:67,代码来源:userlist.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>&nbsp;</li>
							<li><?php echo CKunenaLink::GetUserlistLink('', JText::_('COM_KUNENA_STAT_USERLIST').' &raquo;') ?></li>
							<li><?php if ($this->config->showpopuserstats || $this->config->showpopsubjectstats) echo CKunenaLink::GetStatsLink(JText::_('COM_KUNENA_STAT_MORE_ABOUT_STATS').' &raquo;');?></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>
开发者ID:GoremanX,项目名称:Kunena-2.0,代码行数:31,代码来源:statistics.php

示例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 
开发者ID:vuchannguyen,项目名称:hoctap,代码行数:31,代码来源:stats.php


注:本文中的CKunenaLink::GetUserlistLink方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。