:::

3-1 theme.tpl

<!DOCTYPE html>
<html lang="<{$xoops_langcode}>">

<head>
    <{assign var=my_theme value=$xoTheme->folderName}>
    <{includeq file="$xoops_rootpath/modules/tadtools/themes_common/meta.tpl" }>
    <link rel="stylesheet" href="<{xoImgUrl}>css/animate.min.css">
    <{includeq file="$xoops_rootpath/modules/tadtools/themes4_tpl/link_css.tpl" }>
    <{$xoops_module_header}>
    <title>
        <{$xoops_sitename}>-<{$xoops_slogan}>
    </title>
</head>

<body>

    <!-- 標題區 -->
    <div class="container">
        <header class="row">
            <div class="col-sm-9">
                <!-- Logo圖 -->
                <{includeq file="$xoops_rootpath/themes/$my_theme/xotpl/logo.tpl"}>
            </div>
            <div class="col-sm-3">
                <!-- 搜尋工具 -->
                <{includeq file="$xoops_rootpath/themes/$my_theme/xotpl/search.tpl"}>
            </div>
        </header>
    </div>

    <!-- 導覽列 -->
    <{includeq file="$xoops_rootpath/themes/$my_theme/xotpl/nav.tpl"}>

    <!-- 主內容區 -->
    <div class="container">
        <div class="row">
            <!-- 左區域 -->
            <aside class="col-xl" id="canvas_left">
                <{assign var=place value=canvas_left}>
                <{includeq file="$xoops_rootpath/themes/$my_theme/xotpl/canvas.tpl"}>
            </aside>
            <!-- 中間區域 -->
            <article class="col-xl-7">
                <!-- 上中 -->
                <section id="page_topcenter">
                    <{assign var=place value=page_topcenter}>
                    <{includeq file="$xoops_rootpath/themes/$my_theme/xotpl/canvas.tpl"}>
                </section>

                <!-- 上中左、右 -->
                <section class="row">
                    <div class="col-sm-6">
                        <div id="page_topleft">
                            <{assign var=place value=page_topleft}>
                            <{includeq file="$xoops_rootpath/themes/$my_theme/xotpl/canvas.tpl"}>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div id="page_topright">
                            <{assign var=place value=page_topright}>
                            <{includeq file="$xoops_rootpath/themes/$my_theme/xotpl/canvas.tpl"}>
                        </div>
                    </div>
                </section>

                <!-- 主內容區 -->
                <article id="xoops_contents">
                    <{$xoops_contents}>
                </article>

                <!-- 下中左、右 -->
                <section class="row">
                    <div class="col-sm-6">
                        <div id="page_bottomleft">
                            <{assign var=place value=page_bottomleft}>
                            <{includeq file="$xoops_rootpath/themes/$my_theme/xotpl/canvas.tpl"}>
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div id="page_bottomright">
                            <{assign var=place value=page_bottomright}>
                            <{includeq file="$xoops_rootpath/themes/$my_theme/xotpl/canvas.tpl"}>
                        </div>
                    </div>
                </section>

                <!-- 下中 -->
                <section id="page_bottomcenter">
                    <{assign var=place value=page_bottomcenter}>
                    <{includeq file="$xoops_rootpath/themes/$my_theme/xotpl/canvas.tpl"}>
                </section>


            </article>
            <!-- 右區域 -->
            <aside class="col-xl" id="canvas_right">
                <{assign var=place value=canvas_right}>
                <{includeq file="$xoops_rootpath/themes/$my_theme/xotpl/canvas.tpl"}>
            </aside>
        </div>
    </div>

    <!-- 頁尾區 -->
    <div id="footer">
        <footer class="container">
            <div class="row">
                <div class="col-md" id="footer_left">
                    <{assign var=place value=footer_left}>
                    <{includeq file="$xoops_rootpath/themes/$my_theme/xotpl/canvas.tpl"}>
                </div>
                <div class="col-md" id="footer_center">
                    <{assign var=place value=footer_center}>
                    <{includeq file="$xoops_rootpath/themes/$my_theme/xotpl/canvas.tpl"}>
                </div>
                <div class="col-md" id="footer_right">
                    <{assign var=place value=footer_right}>
                    <{includeq file="$xoops_rootpath/themes/$my_theme/xotpl/canvas.tpl"}>
                </div>
            </div>
        </footer>
    </div>

    <{includeq file="$xoops_rootpath/modules/tadtools/themes4_tpl/bootstrap_js.tpl"}>
</body>

</html>

 


:::

搜尋

QR Code 區塊

https%3A%2F%2Ftad0616.net%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbdsn%3D1519%26tbsn%3D46

書籍目錄

展開 | 闔起

線上使用者

46人線上 (15人在瀏覽線上書籍)

會員: 0

訪客: 46

更多…