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


PHP CKunenaLink::GetCategoryReviewListLink方法代码示例

本文整理汇总了PHP中CKunenaLink::GetCategoryReviewListLink方法的典型用法代码示例。如果您正苦于以下问题:PHP CKunenaLink::GetCategoryReviewListLink方法的具体用法?PHP CKunenaLink::GetCategoryReviewListLink怎么用?PHP CKunenaLink::GetCategoryReviewListLink使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在CKunenaLink的用法示例。


在下文中一共展示了CKunenaLink::GetCategoryReviewListLink方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: if

		<?php endif; ?>
		<?php if (! empty ( $category->moderators )) : ?>
			<div class="kthead-moderators ks">
		<?php
				// get the Moderator list for display
				$modslist = array();
				foreach ( $category->moderators as $moderator ) {
					$modslist[] = $moderator->getLink();
				}
				echo JText::_('COM_KUNENA_GEN_MODERATORS') . ': ' . implode(', ', $modslist);
		?>
			</div>
		<?php endif; ?>
		<?php if (! empty ( $this->pending [$category->id] )) : ?>
			<div class="ks kalert">
				<?php echo CKunenaLink::GetCategoryReviewListLink ( intval($category->id), intval($this->pending [$category->id]) . ' ' . JText::_('COM_KUNENA_SHOWCAT_PENDING'), 'nofollow' ); ?>
			</div>
		<?php endif; ?>
			</td>

			<td class="kcol-mid kcol-kcattopics">
				<!-- Number of Topics -->
				<span class="kcat-topics-number"><?php echo $this->formatLargeNumber ( $category->getTopics() ) ?></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 $this->formatLargeNumber ( $category->getPosts() ) ?></span>
			<span class="kcat-replies"><?php echo JText::_('COM_KUNENA_GEN_REPLIES');?> </span>
开发者ID:GoremanX,项目名称:Kunena-2.0,代码行数:31,代码来源:list_embed.php

示例2: foreach

            if (count($modslist) > 0) {
                echo '<div class="' . $boardclass . 'thead-moderators  fbs">' . _GEN_MODERATORS . ": ";
                $mod_cnt = 0;
                foreach ($modslist as $mod) {
                    if ($mod_cnt) {
                        echo ', ';
                    }
                    $mod_cnt++;
                    echo CKunenaLink::GetProfileLink($fbConfig, $mod->userid, $fbConfig->username ? $mod->username : $mod->name);
                }
                echo '</div>';
            }
            if ($is_Moderator) {
                if ($numPending > 0) {
                    echo '<div class="fbs" ><font color="red">';
                    echo ' ' . CKunenaLink::GetCategoryReviewListLink($singlerow->id, $numcolor . ' ' . $numPending . ' ' . _SHOWCAT_PENDING, 'nofollow');
                    echo '</font></div>';
                }
            }
            echo "</td>";
            echo " <td class=\"td-3  fbm\" align=\"center\" >{$numtopics}</td>";
            echo " <td class=\"td-4  fbm\" align=\"center\" >{$numreplies}</td>";
            if ($numtopics != 0) {
                ?>

                        <td class = "td-5" align="left">
                            <div class = "<?php 
                echo $boardclass;
                ?>
latest-subject fbm">
                                <?php 
开发者ID:kaantunc,项目名称:MYK-BOR,代码行数:31,代码来源:fb_sub_category_list.php


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