<!doctype html>
<!--[if IE 6]><html id="ie6" dir="ltr" lang="zh-TW"><![endif]-->
<!--[if IE 7]><html id="ie7" dir="ltr" lang="zh-TW"><![endif]-->
<!--[if IE 8]><html id="ie8" dir="ltr" lang="zh-TW"><![endif]-->
<!--[if !(IE 6) | !(IE 7) | !(IE 8)  ]><!-->
<html dir="ltr" lang="zh-TW">
<!--<![endif]-->
<head>
<!--[if lt IE 9]><script src="/js/html5.js"></script><![endif]-->
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0">
<title><?# webTitle ?></title>	
<meta name="author" content="<?# webTitle ?>" />
<meta name="copyright" content="<?# webName ?>版權所有" />
<meta name="description" content="<?# webDescription ?>" />
<meta name="distribution" content="Taiwan" /> 
<meta name="keywords" content="<?# webKeyword ?>" />
<meta name="format-detection" content="telephone=no" />
<meta property="og:url" content="<?# RelLink ?><?# REQUESTURI ?>" />
<meta property="og:type" content="website" />
<meta property="og:title" content="<?# ogTitle ?>" />
<meta property="og:description" content="<?# ogDescription ?>" />
<meta property="og:image" content="<?# ogImage ?>" />
<link href="/less/<?# webTemplates ?>/main.less" rel="stylesheet/less">
<link href="/less/<?# webTemplates ?>/layout.less" rel="stylesheet/less">
<link href="/css/<?# webTemplates ?>/main.css" rel="stylesheet">
<link href="/css/<?# webTemplates ?>/layout.css" rel="stylesheet">
<script src="/jquery/jquery-1.10.js"></script>
<script src="/js/less.min.js" ></script>
<script>
	if('<?# alertMsg ?>' != ''){
		alert('<?# alertMsg ?>');
		if('<?# goBack ?>' == 'Y'){
			history.back();
		}
	}
	if('<?# locationHref ?>' != ''){
		location.href = '<?# locationHref ?>';
	}
</script>
<?# headHTML ?>
</head>
<body<?# JumpBody ?>>
<?# bodyTopHTML ?>
<div class="webBox" style="<?# JumpStyle ?>">
<?# JumpHTML ?>
<?# JumpScript ?>
<div class="wrapper">
    <?# header ?>
	<div class="pos_rel" id="wrap">
		<?# banner ?>
		<div class="pos_rel d_flex page_area" id="page_title">
			<div class="row col_offset_12">
				<h2 class="talign_center txt_white_5 pag_tit"><?# CategoryName ?></h2>
				<div class="waylink">
					<ol class="talign_center nowrap_box">
						<li class="d_inblock"><a class="d_inblock txt_white_5" href="/" title="首頁">首頁</a></li>
						<li class="d_inblock"><a class="d_inblock txt_white_5" href="<?# linkC ?>" title="<?# CategoryName ?>"><?# CategoryName ?></a></li>
						<li class="d_inblock txt_white_5"><?# Title ?></li>
					</ol>
				</div>
			</div>
		</div>
		<aside class="pos_rel page_area">
			<ul class="talign_center nowrap_box" id="category_nav">
				<li<?# categoryClass ?>><h4 class="pos_rel"><a class="d_inblock" href="<?# htLink1 ?>" title="全部文章">全部文章</a></h4></li>
				<php:repeater id="listC">
				<template>
				<li<?# className ?> data-type="1">
					<h4 class="pos_rel"><a class="d_inblock" href="<?# link ?>" title="<?# CategoryName ?>"><?# CategoryName ?></a><?# iLabel ?></h4>
					<?# SubList ?>
				</li>
				</template>
				</php:repeater>
			</ul>
		</aside>
		<div class="pos_rel" id="content_wrap">
			<div class="workframe">
				<h1 class="txt_secondary_5"><?# Title ?></h1>
				<div id="describe"><?# Description ?></div>
				<div class="nowrap_box" id="google_shere">
					<div class="row col_xs_offset_6 d_xs_inblock"><?# GoogleSearch ?></div>
					<div class="row col_xs_offset_6 d_xs_inblock" id="community">
						<ul class="talign_xs_right nowrap_box">
							<li class="d_inblock"><div class="fb-share-button" data-href="<?# RelLink ?><?# REQUESTURI ?>" data-layout="button" data-size="small"><a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2F<?# RelLink ?><?# REQUESTURI ?>%2F&amp;src=sdkpreparse" class="fb-xfbml-parse-ignore">分享</a></div></li>
							<li class="d_inblock"><a href="https://twitter.com/share" class="twitter-share-button" data-lang="zh-tw" data-dnt="true">推文</a><script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script></li>
							<li class="d_inblock"><div class="line-it-button" data-lang="zh_Hant" data-type="like" data-url="<?# RelLink ?><?# REQUESTURI ?>" data-share="true" style="display: none;"></div></li>
						</ul>
					</div>
				</div>
			</div>
		</div>
	</div>
    <?# footer ?>
</div>
</div>
</body>
</html>
<script>
	document.body.oncopy = event => {
		event.preventDefault();
		let textFont,
		copyFont = window.getSelection(0).toString();
		if(copyFont.length > 10){
			textFont = copyFont + '\n\n' + '原文網址: <?# webTitle ?> <?# RelLink ?><?# REQUESTURI ?>\n' + '著作權歸作者所有。商業轉載請聯絡作者獲得授權，非商業轉載請註明出處。';
		}else{
			textFont = copyFont;
		}
		if(event.clipboardData){
			return event.clipboardData.setData('text', textFont);
		}else{// 相容IE
			return window.clipboardData.setData('text', textFont);
		}
	};
</script>