This commit is contained in:
2026-03-14 15:36:01 +09:00
parent 493bc71c94
commit 9c85b4cfc3
6 changed files with 41 additions and 311 deletions
+40 -54
View File
@@ -1,12 +1,11 @@
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8" />
<meta name="robots" content="noindex" />
<title><?= ($title == '') ? '' : ($title . ' - ') ?>キケッツチャンネル お絵描き掲示板</title>
<!-- <link rel="stylesheet" href="https://jpafonts.osdn.jp/webfonts/jpafonts.css" /> -->
<link rel="stylesheet" type="text/css" href="./styles/style.css" />
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.4/css/all.css" />
<meta charset="UTF-8">
<meta name="robots" content="noindex">
<title><?= ($title == '') ? '' : ($title . ' - ') ?>キケッツチャンネル お絵描き掲示板(跡地)</title>
<link rel="stylesheet" type="text/css" href="./styles/style.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.4/css/all.css">
<script defer src="https://use.fontawesome.com/releases/v5.15.4/js/all.js"></script>
<script src="./scripts/colour-pad.js"></script>
</head>
@@ -24,13 +23,13 @@
<div style="margin-bottom: 16px">
<div>
<label for="width">幅:</label>
<input type="number" id="change-width" name="width" value="480" min="32" max="640" />
<input type="number" id="change-width" name="width" value="480" min="32" max="640">
<label>32 〜 640</label>
</div>
<div>
<label for="height">高さ:</label>
<input type="number" id="change-height" name="height" value="480" min="24" max="480" />
<input type="number" id="change-height" name="height" value="480" min="24" max="480">
<label>24 〜 480</label>
</div>
</div>
@@ -41,14 +40,14 @@
</div>
</div>
<h1><a href="."><img src="/assets/kusobbs.gif" alt="クソ掲示板" style="width: 398px" /></a></h1>
<h1><a href="."><img src="./assets/kusobbs.gif" alt="クソ掲示板" style="width: 398px"></a></h1>
<div style="text-align: center"><a href="#" onclick="PauseMusic ()" id="mute">&emsp;</a></div>
<?php if ($thread == -1): ?>
<form action="./modules/make_thread.php" method="POST">
スレ名:<input type="text" name="thread-name" /><br />
スレ内容:<textarea name="thread-explain"></textarea><br />
<input type="submit" value="スレ立て" />
スレ名:<input type="text" name="thread-name"><br>
スレ内容:<textarea name="thread-explain"></textarea><br>
<input type="submit" value="スレ立て" disabled>
</form>
<?php if ($result = $mysqli -> query ("SELECT * FROM threads WHERE id <> 1 ORDER BY latest DESC")): ?>
@@ -81,8 +80,8 @@
</table>
<form id="message-form">
<label>名前:</label><input type="text" id="user-name" name="name" /><br />
<label>削除用パスワード:</label><input type="password" id="password" name="password" />
<label>名前:</label><input type="text" id="user-name" name="name"><br>
<label>削除用パスワード:</label><input type="password" id="password" name="password">
<!-- <textarea id="message" name="message"></textarea> -->
</form>
@@ -90,8 +89,8 @@
<div style="display: flex; justify-content: center">
<div class="button-area" style="margin-right: 64px">
<button id="new">新規作成</button>
<button id="send">送信</button>
<button id="save">ダウンロード</button>
<button id="send" disabled>送信</button>
<button id="save" disabled>ダウンロード</button>
<button id="change-size">サイズ変更</button>
</div>
@@ -105,28 +104,20 @@
<div class="radio">
<form id="mode">
<label>モード:</label>
<label><input type="radio" name="mode" value="pen" id="pen" checked />ペン</label>
<label><input type="radio" name="mode" value="rubber" id="rubber" />消しゴム</label>
<label><input type="radio" name="mode" value="bucket" id="bucket" />塗りつぶし</label>
<label><input type="radio" name="mode" value="pen" id="pen" checked>ペン</label>
<label><input type="radio" name="mode" value="rubber" id="rubber">消しゴム</label>
<label><input type="radio" name="mode" value="bucket" id="bucket">塗りつぶし</label>
</form>
</div>
<div class="radio">
<label>取込み:</label>
<input id="load" type="file" onChange="LoadFile (this.files)" />
<input id="load" type="file" onChange="LoadFile (this.files)">
</div>
<div class="radio">
<form id="colour">
<label>色:</label>
<!-- <input type="radio" name="colour" value="black" checked="checked" />黒
<input type="radio" name="colour" value="blue" />ブルー
<input type="radio" name="colour" value="red" />赤
<input type="radio" name="colour" value="magenta" />マジェンタ
<input type="radio" name="colour" value="lime" />ライム
<input type="radio" name="colour" value="cyan" />青
<input type="radio" name="colour" value="yellow" />イェロウ
<input type="radio" name="colour" value="white" />白 -->
<button id="colour-picker" type="button" onclick="cmanCP_JS_open(this)" cmanCPat="def_color:cns=#000000,rc_form:RGBA,rc_func:changeColour">選択</button>
<label id="irorororo">黒</label>
</form>
@@ -135,31 +126,30 @@
<div class="radio">
<form id="size">
<label>太さ:</label>
<label><input type="radio" name="size" value="1" />1</label>
<label><input type="radio" name="size" value="2" />2</label>
<label><input type="radio" name="size" value="3" checked="checked" />3</label>
<label><input type="radio" name="size" value="5" />5</label>
<label><input type="radio" name="size" value="7" />7</label>
<label><input type="radio" name="size" value="10" />10</label>
<label><input type="radio" name="size" value="15" />15</label>
<!-- <input type="range" name="size" min="1" max="57" value="3" /> -->
<label><input type="radio" name="size" value="0" />指定:
<input style="width: 2em" type="number" name="size" id="size-free" value="57" /></label>
<label><input type="radio" name="size" value="1">1</label>
<label><input type="radio" name="size" value="2">2</label>
<label><input type="radio" name="size" value="3" checked>3</label>
<label><input type="radio" name="size" value="5">5</label>
<label><input type="radio" name="size" value="7">7</label>
<label><input type="radio" name="size" value="10">10</label>
<label><input type="radio" name="size" value="15">15</label>
<label><input type="radio" name="size" value="0">指定:
<input style="width: 2em" type="number" name="size" id="size-free" value="57"></label>
</form>
</div>
<div class="radio">
<form id="layer">
<label>レイア:</label>
<label><input onclick="reDraw ()" type="radio" name="layer" value="0" checked="checked" />基底</label>
<label><input onclick="reDraw ()" type="radio" name="layer" value="1" />1</label>
<label><input onclick="reDraw ()" type="radio" name="layer" value="2" />2</label>
<label><input onclick="reDraw ()" type="radio" name="layer" value="0" checked>基底</label>
<label><input onclick="reDraw ()" type="radio" name="layer" value="1">1</label>
<label><input onclick="reDraw ()" type="radio" name="layer" value="2">2</label>
<button type="button" name="del">削除</button>
<button type="button" name="down">下へ</button>
<button type="button" name="up">上へ</button>
<button type="button" name="add">追加</button>
<br />
<label><input onclick="reDraw ()" type="checkbox" name="sep" />レイアを分けて表示</label>
<br>
<label><input onclick="reDraw ()" type="checkbox" name="sep">レイアを分けて表示</label>
</form>
</div>
</div>
@@ -231,7 +221,7 @@
font-size: 80%">
<div style="grid-columns: 1; text-align: left;">
<a style="color: blue; white-space: nowrap" title="低評価"
href="?thread=<?= $thread ?>&sort=<?= $sort ?>&evaluate=bad&id=<?= $row['id'] ?>#<?= $row['id'] ?>">
tabindex="-1">
<i class="fas fa-thumbs-down"></i>&thinsp;<?= $row['bad'] ?>
</a>
</div>
@@ -251,7 +241,7 @@
</div>
<div style="grid-columns: 4; text-align: right">
<a style="color: red" title="高評価" href="?thread=<?= $thread ?>&sort=<?= $sort ?>&evaluate=good&id=<?= $row['id'] ?>#<?= $row['id'] ?>">
<a style="color: red" title="高評価" tabindex="-1">
<?= $row['good'] ?>&thinsp;<i class="fas fa-thumbs-up"></i>
</a>
</div>
@@ -266,7 +256,7 @@
<?php elseif ($row['held']): ?>
<tr><td><p>確認中です.</p></td></tr>
<?php else: ?>
<tr><td class="illust" style="display: grid; grid-template-columns: .375fr auto .375fr; align-items: end"><div style="grid-columns: 1"></div><div style="grid-columns: 2; text-align: center"><img style="border: solid 1px"src="<?= $dir . $row['image'] ?>" /></div><div style="grid-columns: 3; justify-self: end; margin-right: 8px; margin-bottom: 8px; font-size: 80%"><a href="#del" onclick="deletePost (<?= $row['id'] ?>)">削除</a></div></td></tr>
<tr><td class="illust" style="display: grid; grid-template-columns: .375fr auto .375fr; align-items: end"><div style="grid-columns: 1"></div><div style="grid-columns: 2; text-align: center"><img style="border: solid 1px"src="<?= $dir . $row['image'] ?>"></div><div style="grid-columns: 3; justify-self: end; margin-right: 8px; margin-bottom: 8px; font-size: 80%"><a href="#del" onclick="deletePost (<?= $row['id'] ?>)">削除</a></div></td></tr>
<?php endif ?>
</tbody>
</table>
@@ -280,19 +270,15 @@
</div>
<h3 id="del">レス削除</h3>
削除したいレス番号と削除用パスワードを入力して &ldquo;削除&rdquo; を押してください.<br />
<label>レス番号:</label><input type="text" id="del-id" /><br />
<label>削除用パスワード:</label><input type="password" id="del-pass" /><br />
削除したいレス番号と削除用パスワードを入力して &ldquo;削除&rdquo; を押してください.<br>
<label>レス番号:</label><input type="text" id="del-id"><br>
<label>削除用パスワード:</label><input type="password" id="del-pass"><br>
<button id="delete" onclick="deletePostReally ()">削除</button>
<?php endif ?>
<hr />
<hr>
<footer>
<div class="attention">
このサイトでは,<a href="https://moji.or.jp/ipafont/license/" target="_blank">IPA フォントライセンス v1.0</a> で公開されてゐる <a href="https://jpafonts.osdn.jp/" target="_blank">JPA フォント</a>を使用してゐます.
</div>
<div class="copyright">
&copy; このペィジへの投稿は,すべて,パブリック・ドメインとします.
</div>