:::

5-3 templates/nav.tpl

<nav class="navbar navbar-expand-lg navbar-dark bg-my-blue mb-5">
  <div class="container">
    <a class="navbar-brand" href="/">
      <img src="https://campus-xoops.tn.edu.tw/uploads/logo/210105122929.png" alt="校園日誌" />
    </a>
    <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent">
      <span class="navbar-toggler-icon"></span>
    </button>
    <div class="collapse navbar-collapse" id="navbarSupportedContent">
      <ul class="navbar-nav me-auto mb-2 mb-lg-0">
        {foreach $categories as $k => $cate}
          <li class="nav-item">
            <a class="nav-link {if $cate_id == $k}active{/if}" href="index.php?cate_id={$k}">{$cate}</a>
          </li>
        {/foreach}
      </ul>
      <!-- 搜尋 -->
      <form action="index.php" class="d-flex">
        <div class="input-group">
          <input name="keyword" class="form-control border border-end-0" type="search" placeholder="請輸入關鍵字" />
          <button class="btn bg-white border border-start-0" type="submit">
            <i class="fas fa-search"></i>
          </button>
        </div>
      </form>
    </div>
  </div>
</nav>

 


:::

書籍目錄

展開 | 闔起

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

計數器

今天: 563563563
昨天: 2455245524552455
總計: 6115260611526061152606115260611526061152606115260