<?php
$url = explode('/', $_SERVER['REQUEST_URI']);
// $url = $this -> sanitizeString($url[count($url) - 1], true);
$url = $url[count($url) - 1];
?>
<!DOCTYPE html>
<html lang="tc">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title><?php echo $page_title; ?> | <?php echo $site_name; ?></title>
  <meta name="keywords" content="keywords">
  <meta name="description" content="description">
  <link rel="stylesheet" href="../../files/css/bootstrap.css">
  <script src="../js/jquery.js"></script>
	<!-- <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> -->
    <script src="../../files/js/bootstrap_3_3_7.min.js"></script>
	<script type="text/javascript" src="../js/common.js"></script>
	<link rel="stylesheet" type="text/css" href="../../files/css/style.min.css">
	<link rel="stylesheet" type="text/css" href="../../files/css/mystyle.min.css">
	<link rel="stylesheet" type="text/css" href="../../files/css/font-awesome.min.css">
	<link rel="stylesheet" type="text/css" href="../../files/css/hamburger.min.css">
	<link rel="stylesheet" type="text/css" href="../../files/js/owlcarousel/assets/owl.carousel.min.css">
	<link rel='shortcut icon' href='../../files/img/favicon.png' type='image/x-icon'/ >
</head>
<body>
  <!-- コンテナ -->
  <div id="container">
    <!-- ヘッダ -->
	<header class="container-fluid" id="header">
		<div class="row">
				<div class="nav-block">
					<div class="mymenu">
						<button class="hamburger hamburger--collapse" type="button">
						  <span class="hamburger-box">
						    <span class="hamburger-inner"></span>
						  </span>
						</button>
					</div>
				</div>
				<div class="logo-block">
					<a href="<?php echo $home_url; ?>/tc"><img src="../../files/img/logo.svg" alt="<?php echo $site_name; ?>"></a>
				</div>
				<div class="menu-block">
					<ul>
						<li><a href="/private-account_tc">個人<br>用戶</a></li><!--
						--><li><a href="/business-account_tc">企業<br>用戶</a></li><!--
						--><li><a href="/open-account_tc">帳戶開設<br>指南</a></li><!--
						--><li><a href="/deals_tc">儲值&<br>餘額轉出</a></li><!--
						--><li><a href="https://www.iwl.hk/tc/prepaid-card">預付卡</a></li><!--
						--><li><a href="/charge_tc">費用明細</a></li><!--
						--><li><a href="/promotion_tc">促銷活動</a></li>
					</ul>
				</div>
				<div class="user-block">
					<div class="lang_container">
						<a href="#" class="lang"><img src="../../files/img/flag-tc.png" />TC</a>
						<ul>
							<li><a href="/en/<?php echo $url; ?>"><img src="../../files/img/flag-en.png" />EN</a></li>
							<li><a href="/ja/<?php echo $url; ?>"><img src="../../files/img/flag-ja.png" />JP</a></li>
							<li><a href="/sc/<?php echo $url; ?>"><img src="../../files/img/flag-cn.png" />SC</a></li>
							<li><a href="/id/<?php echo $url; ?>"><img src="../../files/img/flag-id.png" />ID</a></li>
						</ul>
					</div>
					<div class="user_container">
						<img src="../../files/img/user-icon.svg">
						<div>
							<a class="user-link" href="/tc/login" target="_blank"><span class="glyphicon glyphicon-log-in"></span><br>登入</a>
							<a class="user-link" href="/tc/register"><span class="glyphicon glyphicon-edit" target="_blank"></span><br>登錄</a>
						</div>
					</div>
				</div>
		</div>
	</header>
