:::

4-8 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 $error}
                  {include file="alert_error.tpl"}
                {/if}

                {if $op=="regist"}
                  {include file="regist_form.tpl"}
                {elseif $op =="list_actions"}
                  {include file="list_actions.tpl"}
                {elseif $op =="show_action"}
                  {include file="show_action.tpl"}
                {else}
                  {$content}
                {/if}
            </div>
            <!-- 側邊 -->
            <div class="col-sm-4 col-md-3">
                <h2>嗨!{$name}</h2>
                <!-- 引入登入表單 -->
                {if $group}
                  {include file="side_tools.tpl"}
                {else}
                  {include file="side_login.tpl"}
                {/if}

                {if $op=="show_action"}
                  {include file="side_signups.tpl"}
                {/if}
            </div>
        </div>
    </div>
    <!--BootStrap js-->
    <script src="class/bootstrap/js/bootstrap.min.js"></script>
</body>

</html>

 


:::

書籍目錄

展開 | 闔起

快速登入


https%3A%2F%2Fcampus-xoops.tn.edu.tw%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbdsn%3D821%26tbsn%3D30

計數器

今天: 4154415441544154
昨天: 2489248924892489
總計: 8026136802613680261368026136802613680261368026136