本文整理汇总了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>
示例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