:::

8-8 templates/nav.tpl

<nav id="nav" class="navbar navbar-expand-md navbar-dark sticky-top bg-dark py-0">
    <button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#menu">
        <span class="navbar-toggler-icon"></span>
    </button>
    <a class="navbar-brand" href="index.php">
        <img alt="Brand" src="images/logo.png" class="img-fluid">
    </a>

    <div class="collapse navbar-collapse" id="menu">
        <div class="navbar-nav mr-auto">
            <a href="index.php" class="nav-link text-white">首頁</a>
            <a href="focus.php" class="nav-link text-white">編輯精選</a>
            <a href="index.php" class="nav-link text-white">街巷故事</a>
            <a href="point.php" class="nav-link text-white">市井觀點</a>
            <a href="class.php" class="nav-link text-white">私房知識塾</a>
        </div>

        <div class="navbar-nav">
        {if isset($smarty.session.username)}
            <a href="admin.php?op=article_form" class="nav-link text-white">發布</a>
            <a href="picked.php" class="nav-link text-white">精選管理</a>
            <a href="logout.php" class="nav-link text-white">登出</a>
        {else} 
            <a href="index.php?op=submission" class="nav-link text-white">投稿</a>
            <a href="signup.php" class="nav-link text-white">註冊</a>
            <a href="main_login.php" class="nav-link text-white">登入</a>
        {/if}
        </div>
    </div>
</nav>

 


:::

搜尋

QR Code 區塊

https%3A%2F%2Fmail.tad0616.cp22.secserverpros.com%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbdsn%3D1412%26tbsn%3D43

書籍目錄

展開 | 闔起

線上使用者

346人線上 (156人在瀏覽線上書籍)

會員: 0

訪客: 346

更多…