[1031]XOOPS佈景設計
<!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="<{xoAppUrl themes/theme2014/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">
<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">
<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>