:::

5-4 templates/aside.tpl

<!-- 年度文章 -->
<div class="list-group">
  {foreach $article_count as $yc}
    <a href="{$url}/index.php?year={$yc.year}" class="list-group-item d-flex justify-content-between align-items-center {if $year==$yc.year}active{/if}">
      {$yc.year}
      <span class="badge bg-success rounded-pill">{$yc.count}</span>
    </a>
  {/foreach}
</div>

{if $is_admin}
  <div class="d-grid gap-2 mt-3">
    <a href="{$url}/admin/index.php" class="btn btn-primary">
      <i class="fas fa-pencil-alt"></i> 新增文章
    </a>
  </div>
{/if}

 


:::

書籍目錄

展開 | 闔起

https%3A%2F%2Fcampus-xoops.tn.edu.tw%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbsn%3D53%26tbdsn%3D1870

計數器

今天: 2690269026902690
昨天: 2892289228922892
總計: 7864988786498878649887864988786498878649887864988