2022-05-08 02:56:47 +09:00
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja">
|
|
|
|
|
<head>
|
|
|
|
|
<meta content="text/html; charset=utf-8" http-equiv="content-type" />
|
2022-05-08 16:13:58 +09:00
|
|
|
|
<title><?php echo STORE_NAME; ?></title>
|
2022-05-08 02:56:47 +09:00
|
|
|
|
<?php
|
|
|
|
|
if (!empty($styles)) {
|
|
|
|
|
foreach ($styles as $s) {
|
|
|
|
|
?>
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="/static/<?php echo $s; ?>.css" />
|
|
|
|
|
<?php
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<div class="jswarning" id="jswarning">
|
|
|
|
|
<?php echo $eigo ?
|
|
|
|
|
'Warning: JavaScript is ON. For safety and security reasons, please turn JavaScript OFF.' : '注意:JavsScriptはONです。安全・安心の為、JavaScriptをOFFにしてお願い致します。'; ?>
|
|
|
|
|
</div>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
document.getElementById('jswarning').style.display = 'block';
|
|
|
|
|
</script>
|
2022-05-08 16:13:58 +09:00
|
|
|
|
<h1><?php echo STORE_NAME; ?></h1>
|
2022-05-08 02:56:47 +09:00
|
|
|
|
<div class="container">
|
|
|
|
|
<form method="post" action="/">
|
|
|
|
|
<input class="langchange" type="submit" name="langchange" value="<?php echo $eigo ? '日本語に戻る' : 'Switch to English'; ?>" />
|
|
|
|
|
</form>
|
|
|
|
|
<h2><?php echo $pagetitle; ?></h2>
|
|
|
|
|
|
2022-05-08 11:16:07 +09:00
|
|
|
|
<?php $countcart = count(array_filter(explode(',', getcookie('cart')))); ?>
|
2022-05-08 02:56:47 +09:00
|
|
|
|
<div class="nav">
|
|
|
|
|
<ul>
|
|
|
|
|
<li><a href="/"><?php echo $eigo ? 'Home' : 'トップページ'; ?></a></li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="/cart.php">
|
|
|
|
|
<?php echo $eigo ? 'Cart' : 'カート'; ?>
|
|
|
|
|
</a>
|
|
|
|
|
<?php if ($countcart > 0) { ?><div class="cart-count"><?php echo $countcart < 99 ? $countcart : '99'; ?></div> <?php } ?>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="anarchy">
|