:::

7-2 theme2014/theme.html (主佈景架構)

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

    <{includeq file="$xoops_rootpath/modules/tadtools/themes_tpl/get_var.html"}>

    <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}>

    <style type="text/css">
      body{
        color:<{$font_color}>;
        font-size:<{$font_size}>;
      }

      a{
        color:<{$link_color}>;
      }

      a:hover{
        color:<{$hover_color}>;
      }

      <{includeq file="$xoops_rootpath/modules/tadtools/themes_tpl/theme_css_blocks.html"}>

    </style>

  </head>
  <body>
    <div id="xoops_theme_container">
      <!--頁首-->
      <div id="xoops_theme_head">
        <div id="site_name">
          <a href="<{xoAppUrl index.php}>"><{$xoops_sitename}></a>
        </div>


        <{if $xoops_isuser}>
          <{xoMemberInfo assign=mem}>
          <div id="site_slogan">
            <{if $mem.name}>
              <{$mem.user_from}> <{$mem.name}> <{$smarty.const._T2014_HELLO}>
            <{else}>
              <{$mem.user_from}> <{$mem.uname}> <{$smarty.const._T2014_HELLO}>
            <{/if}>
          </div>
        <{else}>
          <div id="site_slogan"><{$xoops_slogan}></div>
        <{/if}>
      </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_player/}>">影音播放</a></li>
        <li><a href="<{xoAppUrl modules/tad_rss/}>">友站新聞</a></li>
        <li><a href="<{xoAppUrl modules/tad_cal/}>">行事曆</a></li>

        <{xoInboxCount assign=pmcount}>
        <{if $pmcount}>
          <li><a href="<{xoAppUrl viewpmsg.php}>" title="<{$pmcount|string_format:$smarty.const._T2014_HAVE_MAIL}>" style="display:block;width:48px;height:45px;text-align:center;background-image:url(<{xoImgUrl images/mail.png}>)"><span class="label label-important"><{$pmcount}></span></a></li>
        <{else}>
          <li><a href="<{xoAppUrl viewpmsg.php}>"><{$smarty.const._T2014_MAIL}></a></li>
        <{/if}>

        <{if $xoops_isadmin}>
          <li><a href="<{xoAppUrl admin.php}>">後台管理</a></li>
        <{/if}>

        <{if $xoops_isuser}>
          <li><a href="<{xoAppUrl user.php?op=logout}>">登出</a></li>
        <{else}>
          <li><a href="<{xoAppUrl user.php}>">登入</a></li>
        <{/if}>
      </ul>

      <!--內容區-->
      <div id="xoops_theme_content">
        <{includeq file="$xoops_rootpath/modules/tadtools/themes_tpl/$theme_type.html"}>
      </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>

    <{includeq file="$xoops_rootpath/modules/tadtools/themes_tpl/my_js.html"}>

    <{if $show_var==1}>
      <{includeq file="$xoops_rootpath/modules/tadtools/themes_tpl/show_var.html"}>
    <{/if}>
  </body>
</html>

 


:::

搜尋

QR Code 區塊

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

書籍目錄

展開 | 闔起

線上使用者

38人線上 (17人在瀏覽線上書籍)

會員: 0

訪客: 38

更多…