<?php
$url = explode('/', $_SERVER['REQUEST_URI']);
// $url = $this -> sanitizeString($url[count($url) - 1], true);
$url = $url[count($url) - 1];
?>

<!DOCTYPE html>
<html lang="ja">
<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; ?>"><img src="../../files/img/logo.svg" alt="<?php echo $site_name; ?>"></a>
				</div>
				<div class="menu-block">
					<ul>
						<li><a href="/private-account_ja">個人の方</a></li><!--
						--><li><a href="/business-account_ja">ビジネス利用の方</a></li><!--
						--><li><a href="/open-account_ja">口座開設のご案内</a></li><!--
						--><li><a href="/deals_ja">入出金について</a></li><!--
						--><li><a href="https://www.iwl.hk/jp/prepaid-card">プリペイドカード</a></li><!--
						--><li><a href="/charge_ja">手数料一覧</a></li><!--
                        --><li><a href="/promotion_ja">プロモーション</a></li>
					</ul>
				</div>
				<div class="user-block">
					<div class="lang_container">
						<a href="#" class="lang"><img src="../../files/img/flag-ja.png" />JA</a>
						<ul>
							<li><a href="/en/<?php echo $url; ?>"><img src="../../files/img/flag-en.png" />EN</a></li>
							<li><a href="/sc/<?php echo $url; ?>"><img src="../../files/img/flag-cn.png" />SC</a></li>
							<li><a href="/tc/<?php echo $url; ?>"><img src="../../files/img/flag-tc.png" />TC</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="/ja/login" target="_blank"><span class="glyphicon glyphicon-log-in"></span><br>ログイン</a>
							<a class="user-link" href="/ja/register"><span class="glyphicon glyphicon-edit" target="_blank"></span><br>新規口座開設</a>
						</div>
					</div>
				</div>
		</div>
	</header>
