<!doctype html>
<html lang="zh-Hant-TW">
<head>
	<?include_once("btn_head.php")?>
	<?include_once("btn_head_pikaday.php")?>
</head> 
<body>
	<div class="page-container"> 
		<?include_once("btn_header.php")?>
		<div class="row row-offcanvas row-offcanvas-left">
			<!-- sidebar -->
			<?include_once("btn_menu.php")?>
			<!-- main area -->
			
            <?if($PKind=='list'){?>
            	<div class="col-xs-12 col-sm-10 infoNewBox btLine">
            	<div class="pageTitle">
            		<?=$PrgName?>
            		<?if($features!='contactus' && $features!='products_sub' && $features!='questionnaire1' && $features!='questionnaire2' && $features!='questionnaire3' && $features!='repair' && $features!='member' && $features!='activity_cancel' && $features!='activity_record' && $features!='pmember' && $features!='inquiry'){?>
            			<?if(!$data["authority"]["canadd"]){?>
            		<a class="addBtn" href="<?=site_url("/$iiename/$features/add")?>">新增</a>
            			<?}?>
            		<?}?>
            	</div>
            <?}else if($preview){?>
            	<div class="col-xs-12 col-sm-10 infoNewBox infoNewBox btLine">
            	<div class="pageTitle">
					<?=$PrgName?> - 預覽
				</div>
            <?}else{?>
            	<div class="col-xs-12 col-sm-10 infoNewBox infoNewBox btLine">
            	<div class="pageTitle">
					<?=$PrgName?> - <?=(!empty($id)?"修改":"新增")?>
				</div>
				<div class="pageTitle">
					<p>【基本資料--><?=(!empty($id)?"修改":"新增")?>】<span class="red">＊</span>：代表必填</p>
				</div>
            <?}?>