このコミットが含まれているのは:
守矢諏訪子 2022-08-25 22:09:51 +09:00
コミット 7b8775400a
1個のファイルの変更16行の追加16行の削除

ファイルの表示

@ -134,23 +134,23 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja">
<head> <head>
<meta content="text/html; charset=utf-8" http-equiv="content-type" /> <meta content="text/html; charset=utf-8" http-equiv="content-type" />
<meta name="title" content="<?php echo $lang == 'en' ? SITE_NAME_EN : SITE_NAME_JA ?>" /> <meta name="title" content="<?= $lang == 'en' ? SITE_NAME_EN : SITE_NAME_JA ?>" />
<meta name="description" content="<?php echo $lang == 'en' ? SITE_DESC_EN : SITE_DESC_JA?>" /> <meta name="description" content="<?= $lang == 'en' ? SITE_DESC_EN : SITE_DESC_JA?>" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title><?php echo $lang == 'en' ? SITE_NAME_EN : SITE_NAME_JA ?></title> <title><?= $lang == 'en' ? SITE_NAME_EN : SITE_NAME_JA ?></title>
<link rel="stylesheet" type="text/css" href="/style.css" /> <link rel="stylesheet" type="text/css" href="/style.css" />
</head> </head>
<body> <body>
<?php if ($err != '') { ?><div class="error"><?php echo $err; ?></div> <?php } ?> <?php if ($err != '') { ?><div class="error"><?= $err; ?></div> <?php } ?>
<h1><img class="headerimg" src="/logo.jpg" alt="<?php echo LOC_LOGO; ?>" /></h1> <h1><img class="headerimg" src="/logo.jpg" alt="<?= LOC_LOGO; ?>" /></h1>
<div class="body"> <div class="body">
<p> <p>
<a href="/"><?php echo LOC_TOP; ?></a> | <a href="/"><?= LOC_TOP; ?></a> |
<?php echo LOC_BETA_BAN1; ?><a href="https://gitler.moe/TechnicalSuwako/hozon.site/issues"><?php echo LOC_BETA_BAN2; ?></a> <?= LOC_BETA_BAN1; ?><a href="https://gitler.moe/TechnicalSuwako/hozon.site/issues"><?= LOC_BETA_BAN2; ?></a>
</p> </p>
<form method="post" action="/"> <form method="post" action="/">
<div class="switchlang"> <div class="switchlang">
<input class="langchange" type="submit" name="langchange" value="<?php echo $lang == 'en' ? '日本語に更新' : 'Change to English'; ?>" /> <input class="langchange" type="submit" name="langchange" value="<?= $lang == 'en' ? '日本語に更新' : 'Change to English'; ?>" />
</div> </div>
</form> </form>
<hr /> <hr />
@ -158,31 +158,31 @@
<?php <?php
if (count($_POST) > 0 && count($exists) > 0) { if (count($_POST) > 0 && count($exists) > 0) {
?> ?>
<h3><?php echo $url; ?></h3> <h3><?= $url; ?></h3>
<?php echo LOC_SUDENI_HOZONSARETA_PAGE; ?><br /> <?= LOC_SUDENI_HOZONSARETA_PAGE; ?><br />
<?php <?php
foreach ($exists as $e) { foreach ($exists as $e) {
echo '<a href="/archive/'.$e.'/'.$url.'">'.date('Y年m月d日 H:i:s', $e).'</a>'; echo '<a href="/archive/'.$e.'/'.$url.'">'.date('Y年m月d日 H:i:s', $e).'</a>';
echo "<br />"; echo "<br />";
} }
?> ?>
<p><?php echo LOC_HONTONI_TETUDUKI; ?></p> <p><?= LOC_HONTONI_TETUDUKI; ?></p>
<form action="/" method="post"> <form action="/" method="post">
<input type="hidden" name="hozonsite" value="<?php echo $_POST['hozonsite']; ?>" /> <input type="hidden" name="hozonsite" value="<?= $_POST['hozonsite']; ?>" />
<input type="hidden" name="agree" value="1" /> <input type="hidden" name="agree" value="1" />
<div class="submit"> <div class="submit">
<input type="submit" name="submit" value="<?php echo LOC_HAI_HOZONSITEKUDASAI; ?>" /> <input type="submit" name="submit" value="<?= LOC_HAI_HOZONSITEKUDASAI; ?>" />
</div> </div>
</form> </form>
<?php <?php
} }
else { else {
?> ?>
<?php echo LOC_DONO_PAGE_HOZON; ?> <?= LOC_DONO_PAGE_HOZON; ?>
<form action="/" method="post"> <form action="/" method="post">
<input type="text" name="hozonsite" value="" /> <input type="text" name="hozonsite" value="" />
<div class="submit"> <div class="submit">
<input type="submit" name="submit" value="<?php echo LOC_HOZON; ?>" /> <input type="submit" name="submit" value="<?= LOC_HOZON; ?>" />
</div> </div>
</form> </form>
<?php <?php
@ -191,7 +191,7 @@
</div> </div>
</div> </div>
<div class="footer"> <div class="footer">
<a href="https://gitler.moe/TechnicalSuwako/hozon.site"><img src="/git.png" alt="<?php echo LOC_SOURCE_CODE; ?>" /></a> | <a href="https://076.moe"><?php echo LOC_076_AIB; ?></a> <a href="https://gitler.moe/TechnicalSuwako/hozon.site"><img src="/git.png" alt="<?= LOC_SOURCE_CODE; ?>" /></a> | <a href="https://076.moe"><?= LOC_076_AIB; ?></a>
</div> </div>
</body> </body>
</html> </html>