:::

3-5 templates/index.tpl

<!DOCTYPE html>
<html lang="zh-Hant">
<!-- 引入檔頭 -->
{include file="head.tpl"}

<body>
    <div class="container">
        <h1 class="page-header">
          <i class="fa fa-address-book-o" aria-hidden="true"></i>
          <a href="index.php">{$page_title}</a>
        </h1>
        <div class="row">
            <div class="col-sm-8 col-md-9">
                {if $op=="regist"}
                  {include file="regist_form.tpl"}
                {else}
                  <h2>{$content}</h2>
                {/if}
            </div>
            <div class="col-sm-4 col-md-3">
                <h2>嗨!{$name}</h2>
                <!-- 引入登入表單 -->
                {if $group=="admin"}
                  {include file="side_tools.tpl"}
                {else}
                  {include file="side_login.tpl"}
                {/if}
            </div>
        </div>
    </div>
    <!--BootStrap js-->
    <script src="class/bootstrap/js/bootstrap.min.js"></script>
</body>

</html>

 


:::

書籍目錄

展開 | 闔起

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

計數器

今天: 1324132413241324
昨天: 2138213821382138
總計: 7322606732260673226067322606732260673226067322606