<!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>
	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="sub_banner">
        <?# banner ?>
        <div class="pos_rel d_flex" id="page_title">
			<div class="workframe">
				<h1 class="talign_sm_left talign_center txt_white_5 pag_tit"><?# CategoryName ?></h1>
				<div class="waylink">
					<ol class="talign_sm_left talign_center nowrap_box">
						<li class="d_inblock"><a class="d_inblock txt_white_5" href="/" title="首頁">首頁</a></li>
						<li class="d_inblock txt_white_5"><?# CategoryName ?></li>
					</ol>
				</div>
			</div>
        </div>
    </div>
	<div class="pos_rel" id="wrap">
		<div class="workframe">
			<aside class="pos_rel">
				<ul class="talign_center nowrap_box" id="category_nav">
					<li<?# categoryClass ?>><h4 class="pos_rel"><a class="d_inblock" href="<?# htLink3 ?>" 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 id="content_wrap">
				<ul id="faq_list">
					<php:repeater id="list">
					<template>
                    <li class="">
                        <a class="pos_rel bg_secondary_5 d_block title" href="javascript:void(0);" title="<?# Title ?>"><font class="pos_rel d_block txt_white_5"><?# Title ?></font><i class="pos_abs txt_white_5 fa fa-angle-down"></i></a>
                        <div class="d_none info"><?# Description ?></div>
                    </li>
					</template>
					</php:repeater>
				</ul>
				<div class="talign_center" id="pagenav"><?# pagtxt ?></div>
			</div>
		</div>
	</div>
    <?# footer ?>
</div>
</div>
</body>
</html>
<script src="/js/less.min.js" ></script>
<script>
	$(function(){
		$("#faq_list .title").click(function(){
			var $self = $(this);
			if($self.parent().eq(0).attr('class') == ''){
				$('#faq_list li').removeClass('current');
				$('#faq_list li .info').slideUp('fast');
				$self.next("div.info").slideToggle('fast', function(){
					$self.parent('li').toggleClass('current');
				});
			}else{
				$self.next("div.info").slideUp('fast', function(){
					$self.parent('li').removeClass('current');
				});
			}
		});
	});
	document.body.oncopy = event => {
		event.preventDefault();
		let textFont,
			copyFont = window.getSelection(0).toString();
		textFont = (copyFont.length > 10) ?copyFont + '\n\n' + '原文網址: <?# webTitle ?> <?# RelLink ?><?# REQUESTURI ?>\n' + '著作權歸作者所有。商業轉載請聯絡作者獲得授權，非商業轉載請註明出處。':copyFont;
		return (event.clipboardData) ?event.clipboardData.setData('text', textFont):window.clipboardData.setData('text', textFont);// 相容IE
	};
</script>