:::

6-9 templates/op_show_article.tpl

<div class="container">
    <h1>{$article.title}</h1>
    <p>{$article.content}</p>
 
    {if isset($smarty.session.username) and $smarty.session.username==$article.username}
        <div class="alert alert-info text-center">
            <a href="admin.php?op=delete_article&sn={$article.sn}" class="btn btn-danger">刪除</a>
            <a href="admin.php?op=modify_article&sn={$article.sn}" class="btn btn-warning">編輯</a>
        </div>
    {/if}
</div>

 


:::

搜尋

QR Code 區塊

https%3A%2F%2Ftad0616.cp22.secserverpros.com%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbdsn%3D1395%26tbsn%3D43

書籍目錄

展開 | 闔起

線上使用者

375人線上 (149人在瀏覽線上書籍)

會員: 0

訪客: 375

更多…