Esempio n. 1
0
    ?>
                        </ul>
                    </dl>
                    <dl id="tab2">
                        <h3>最新文章</h3>
                        <ul> 
                            <?php 
    $this->widget('Widget_Contents_Post_Recent')->parse('<li>&raquo; <a href="{permalink}" title="{title}">{title}</a></li>');
    ?>
                        </ul> 
                    </dl>
                    <dl id="tab3">
                        <h3>随机文章</h3>
                        <ul> 
                            <?php 
    RandomArticleList::parse('<li>&raquo; <a href="{permalink}">{title}</a></li>');
    ?>
                        </ul>
                    </dl>
                </div>
            </section>
<?php 
}
?>

<?php 
if (empty($this->options->sidebarBlock) || in_array('ShowCategory', $this->options->sidebarBlock)) {
    ?>
            <section class="sidelink"> 
                <h3><?php 
    _e('文章分类');
Esempio n. 2
0
        ?>
</a></li>
                    <?php 
    }
    ?>
                </ul>
            <?php 
}
?>
        </div>

        <div class="btm-nav">
            <h3 class="btm-title">随机文章</h3>
            <ul class="btm-list">
                <?php 
RandomArticleList::parse();
?>
            </ul>
        </div>

        <div class="btm-nav">
            <h3 class="btm-title">热门标签</h3>
            <ul class="btm-list tags clearfix">
                <?php 
$this->widget('Widget_Metas_Tag_Cloud', array('sort' => 'count', 'ignoreZeroCount' => true, 'desc' => true, 'limit' => 20))->parse('<li><a href="{permalink}" title="{count} 个相关">{name}</a></li>');
?>
            </ul>
            <ul class="cpr">
                <li><a href="http://weibo.com/banrikun" target="_blank" title="新浪微博" data-icon="s"></a>
                </li><li><a href="https://github.com/banrikun" target="_blank" title="GitHub" data-icon="g"></a>
                </li><li><a href="<?php