このコミットが含まれているのは:
守矢諏訪子 2022-08-25 22:12:49 +09:00
コミット 707ee844d9
5個のファイルの変更13行の追加13行の削除

ファイルの表示

@ -3,7 +3,7 @@
<head>
<meta content="text/html; charset=utf-8" http-equiv="content-type" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title><?php echo SITE_NAME.''.$title; ?></title>
<title><?= SITE_NAME.''.$title; ?></title>
<link rel="stylesheet" type="text/css" href="/static/style.css" />
</head>
<body>

ファイルの表示

@ -1,4 +1,4 @@
<div class="links-<?php echo $linktype; ?>">
<div class="links-<?= $linktype; ?>">
<p>
<?php if ($linktype == 'top') { ?>
<a href="/">トップ</a> |

ファイルの表示

@ -10,7 +10,7 @@
?>
<hr />
<h1><?php echo SITE_NAME.' '.VERSION; ?></h1>
<h1><?= SITE_NAME.' '.VERSION; ?></h1>
<p>
匿名自営業076のテクニカル諏訪子様の商品です。<br />
@ -21,7 +21,7 @@
</p>
<hr />
<h1><?php echo SITE_NAME_EN.' '.VERSION; ?></h1>
<h1><?= SITE_NAME_EN.' '.VERSION; ?></h1>
<p>
This is a product of TechnicalSuwako from 076 Anonymous Independent Business.<br />

ファイルの表示

@ -77,7 +77,7 @@
<hr />
<div class="form">
<form action="/search.php" method="get">
<input type="text" name="q" value="<?php echo $q; ?>" />
<input type="text" name="q" value="<?= $q; ?>" />
<input type="submit" value="送信" />
</form>
</div>
@ -85,17 +85,17 @@
<?php foreach ($res as $r) { ?>
<div class="result">
<a href="<?php echo $r['url']; ?>">
<span class="result-url"><?php echo $r['url']; ?></span>
<div class="result-title"><?php echo $r['title']; ?></div>
<div class="result-description"><?php echo $r['body']; ?></div>
<a href="<?= $r['url']; ?>">
<span class="result-url"><?= $r['url']; ?></span>
<div class="result-title"><?= $r['title']; ?></div>
<div class="result-description"><?= $r['body']; ?></div>
</a>
</div>
<?php } ?>
<hr />
<?php for ($i = 1; $i <= ceil($totalpages/$limit); $i++) { ?>
<a class="pagination" href="/search.php?q=<?php echo $q; ?>&page=<?php echo $i; ?>"><?php echo $i; ?></a>
<a class="pagination" href="/search.php?q=<?= $q; ?>&page=<?= $i; ?>"><?= $i; ?></a>
<?php } ?>
<?php

ファイルの表示

@ -56,7 +56,7 @@
<hr />
<?php if ($_SERVER['REQUEST_METHOD'] === 'POST') { ?>
<p>
<h1><?php echo $h; ?>の追加</h1>
<h1><?= $h; ?>の追加</h1>
<?php if (empty($err)) { ?>
URLを追加しました。<br />
24時間以内から索引作業開始しますので、お待ち下さいませ。<br /><br />
@ -67,7 +67,7 @@
下記のエラーが出ました (I got the following error)<br />
<ul>
<?php foreach ($err as $e) { ?>
<li><?php echo $e; ?></li>
<li><?= $e; ?></li>
<?php } ?>
</ul>
<?php } ?>
@ -90,7 +90,7 @@
</ul>
<hr />
<form action="/submit.php" method="POST">
<input type="hidden" name="csrf" value="<?php echo $csrf; ?>" />
<input type="hidden" name="csrf" value="<?= $csrf; ?>" />
URL<input type="text" name="hostname" placeholder="例)https://suwakochan.moe" value="" />
<input type="submit" value="送信" />
</form>