<?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">Pengguna<br>Individu</a></li><!--
						--><li><a href="/business-account">Pengguna<br>Bisnis</a></li><!--
						--><li><a href="/open-account">Petunjuk Pembukaan<br>Akun</a></li><!--
						--><li><a href="/deals">Deposit &amp;<br>Penarikan</a></li><!--
						--><li><a href="/visa-platinum-prepaid-card">Kartu<br>Prabayar</a></li><!--
						--><li><a href="/charge">Daftar Biaya</a></li><!--
                        --><li><a href="/promotion">Promosi</a></li><!--
						-->
					</ul>
				</div>
				<div class="user-block">
					<div class="lang_container">
						<a href="#" class="lang"><img src="../../files/img/flag-id.png" />ID</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" />JA</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>
						</ul>
					</div>
					<div class="user_container">
						<img src="../../files/img/user-icon.svg">
						<div>
							<a class="user-link" href="/id/login" target="_blank"><span class="glyphicon glyphicon-log-in"></span><br>Masuk</a>
							<a class="user-link" href="/id/register"><span class="glyphicon glyphicon-edit" target="_blank"></span><br>Daftar</a>
						</div>
					</div>
				</div>
		</div>
	</header>
