:::

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}

 


:::

書籍目錄

展開 | 闔起

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

計數器

今天: 611611611
昨天: 2455245524552455
總計: 6115308611530861153086115308611530861153086115308