:::

5-5 theme2014/theme.html 樣板檔(大架構初步完成)

<!DOCTYPE html>
<html lang="<{$xoops_langcode}>">
  <head>
    <{assign var=theme_name value=$xoTheme->folderName}>

    <meta charset="<{$xoops_charset}>">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="robots" content="<{$xoops_meta_robots}>" />
    <meta name="keywords" content="<{$xoops_meta_keywords}>" />
    <meta name="description" content="<{$xoops_meta_description}>" />
    <meta name="rating" content="<{$xoops_meta_rating}>" />
    <meta name="author" content="<{$xoops_meta_author}>" />
    <meta name="copyright" content="<{$xoops_meta_copyright}>" />
    <meta name="generator" content="XOOPS" />

    <title><{$xoops_sitename}> - <{$xoops_pagetitle}></title>

    <!-- Rss -->
    <link rel="alternate" type="application/rss+xml" title="" href="<{xoAppUrl backend.php}>" />

    <!-- Favicon -->
    <link rel="shortcut icon" type="image/ico" href="<{xoImgUrl icons/favicon.ico}>" />
    <link rel="icon" type="image/png" href="<{xoImgUrl icons/favicon.png}>" />

    <!-- Sheet Css -->
    <link rel="stylesheet" type="text/css" media="all" title="Style sheet" href="<{xoAppUrl xoops.css}>" />
    <link rel="stylesheet" type="text/css" media="all" title="Style sheet" href="<{xoImgUrl css/style.css}>" />
    <link rel="stylesheet" type="text/css" media="all" title="Style sheet" href="<{xoImgUrl css/xoops.css}>" />
    <!-- Bootstrap -->
    <link href="<{xoAppUrl modules/tadtools/bootstrap/css/bootstrap.css}>" rel="stylesheet" media="screen">


    <!-- customized header contents -->
    <{$xoops_module_header}>



  </head>
  <body>
    <div id="xoops_theme_container">
      <!--頁首-->
      <div id="xoops_theme_head">
        <div id="site_name"><{$xoops_sitename}></div>
        <div id="site_slogan"><{$xoops_slogan}></div>
      </div>

      <!--導覽列-->
      <ul id="xoops_theme_navbar">
        <li><a href="<{xoAppUrl index.php}>">回首頁</a></li>
        <li><a href="<{xoAppUrl modules/tadnews/}>">本站消息</a></li>
        <li><a href="<{xoAppUrl modules/tadgallery/}>">電子相簿</a></li>
        <li><a href="<{xoAppUrl modules/tad_rss/}>">友站新聞</a></li>
      </ul>

      <!--內容區-->
      <div id="xoops_theme_content">
        <div class="container-fluid">
          <div class="row-fluid">
            <!--側邊欄-->
            <div class="span3">
              <!--左區塊區-->
              <div id="block_left">
                <{foreach item=block from=$xoBlocks.canvas_left}>
                  <{includeq file="$theme_name/xotpl/block.html"}>
                <{/foreach}>
              </div>

              <!--右區塊區-->
              <div id="block_right">
                <{foreach item=block from=$xoBlocks.canvas_right}>
                  <{includeq file="$theme_name/xotpl/block.html"}>
                <{/foreach}>
              </div>

            </div>

            <!--內容區-->
            <div class="span9">

              <div class="row-fluid">
                <!--上中-->
                <div class="span12">
                  <!-- 上中區塊 -->
                  <{foreach item=block from=$xoBlocks.page_topcenter}>
                    <{includeq file="$theme_name/xotpl/block_center.html"}>
                  <{/foreach}>
                </div>
              </div>

              <div class="row-fluid">
                <!--上中左-->
                <div class="span6">
                  <!-- 上中左區塊 -->
                  <{foreach item=block from=$xoBlocks.page_topleft}>
                    <{includeq file="$theme_name/xotpl/block.html"}>
                  <{/foreach}>

                </div>
                <!--上中右-->
                <div class="span6">
                  <!-- 上中右區塊 -->
                  <{foreach item=block from=$xoBlocks.page_topright}>
                    <{includeq file="$theme_name/xotpl/block.html"}>
                  <{/foreach}>
                </div>
              </div>

              <div class="row-fluid">
                <!--主內容區-->
                <div class="span12">
                  <!--主內容區-->
                  <{$xoops_contents}>
                </div>
              </div>

              <div class="row-fluid">
                <!--下中左-->
                <div class="span6">
                  <!-- 下中左區塊 -->
                  <{foreach item=block from=$xoBlocks.page_bottomleft}>
                    <{include file="$theme_name/xotpl/block.html"}>
                  <{/foreach}>
                </div>
                <!--下中右-->
                <div class="span6">
                  <!-- 下中右區塊 -->
                  <{foreach item=block from=$xoBlocks.page_bottomright}>
                    <{include file="$theme_name/xotpl/block.html"}>
                  <{/foreach}>
                </div>
              </div>

              <div class="row-fluid">
                <!--下中-->
                <div class="span12">
                  <!-- 下中區塊 -->
                  <{if $xoBlocks.page_bottomcenter}>
                    <{foreach item=block from=$xoBlocks.page_bottomcenter}>
                      <{include file="$theme_name/xotpl/block_center.html"}>
                    <{/foreach}>
                  <{/if}>
                </div>
              </div>
            </div>

          </div>
        </div>
      </div>
    </div>

    <!--頁尾-->
    <div id="xoops_theme_foot">
      <div id="theme_foot">
        <div id="foot_content">
          <!--頁尾區-->
          <{$xoops_footer}>
        </div>
      </div>
    </div>

    <script type='text/javascript'>
      if(typeof jQuery == 'undefined') {
      document.write("<script type='text/javascript' src='<{xoAppUrl modules/tadtools/jquery/jquery.js}>'><\/script>");
      }
    </script>
    <script src="<{xoAppUrl modules/tadtools/bootstrap/js/bootstrap.min.js}>"></script>
  </body>
</html>

 


:::

搜尋

QR Code 區塊

https%3A%2F%2Fwww.tad0616.net%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbsn%3D32%26tbdsn%3D928

書籍目錄

展開 | 闔起

線上使用者

25人線上 (8人在瀏覽線上書籍)

會員: 0

訪客: 25

更多…