From f626a1ebd558b7048d0ce465b5032db110a49bd4 Mon Sep 17 00:00:00 2001 From: miteruzo Date: Mon, 22 May 2023 08:25:38 +0900 Subject: [PATCH] =?UTF-8?q?form=20=E3=81=AE=E4=BD=93=E8=A3=81=E3=81=A0?= =?UTF-8?q?=E3=81=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- forms/index.frm.php | 312 ++++++++++++++++++++++++++++++++++++++++ index.php | 343 +------------------------------------------- 2 files changed, 314 insertions(+), 341 deletions(-) diff --git a/forms/index.frm.php b/forms/index.frm.php index e69de29..e597e8c 100644 --- a/forms/index.frm.php +++ b/forms/index.frm.php @@ -0,0 +1,312 @@ + + + + + + <?= ($title == '') ? '' : ($title . ' - ') ?>キケッツチャンネル お絵描き掲示板 + + + + + + + + + + + + + +

クソ掲示板

+
+ + +
+ スレ名:
+ スレ内容:
+ +
+ + query ("SELECT * FROM threads WHERE id <> 1 ORDER BY latest DESC")): ?> + fetch_assoc ()): ?> + + + + + +

'): ?> + + + + +
 更新:1 レス
+ + + + + + + + + +

'): ?> + + + + +
+ +
+
+ + +
+ +
+
+
+ + + + +
+ +
+ + +
+
+ +
+
+
+ + + + +
+
+ +
+ + +
+ +
+
+ + + + +
+
+ +
+
+ + + + + + + + + + +
+
+ +
+
+ + + + + + + + +
+ +
+
+
+ +
+ + + +
+
+ +
+ +
+ +
+ query (" + SELECT + response_id as id, name, message, date, image, held, deleted, pass, good, bad, good - bad as evaluate + FROM + responses + WHERE + thread_id = $thread + ORDER BY + " . (($sort == 'td') + ? 'id DESC' + : (($sort == 'eg') + ? 'evaluate DESC, id DESC' + : (($sort == 'ta') + ? 'id ASC' + : (($sort == 'eb') + ? 'evaluate ASC, id DESC' + : 'id DESC')))))): +?> + fetch_assoc ()): ?> + + + + + + + + + + + + + + + + +
+
+
: + +
+ +
+ 1 +
+
+ +
+ + +
+   +
+ +
+   +
+ + +
+

削除されました.

確認中です.

+ + + close (); + endif; +?> +
+ +

レス削除

+ 削除したいレス番号と削除用パスワードを入力して “削除” を押してください.
+
+
+ + + +
+ + + + + + + + + + + + + + diff --git a/index.php b/index.php index 8a1e274..917384b 100644 --- a/index.php +++ b/index.php @@ -1,6 +1,6 @@ - - - - - - <?= ($title == '') ? '' : ($title . ' - ') ?>キケッツチャンネル お絵描き掲示板 - - - - - - - - - - - - - -

クソ掲示板

-
- - -
- スレ名:
- スレ内容:
- -
- query ("SELECT * FROM threads WHERE id <> 1 ORDER BY latest DESC")): - while ($row = $result -> fetch_assoc ()): -?> - - - - - -

'): -?> - - - - -
 更新:1 レス
-

') - endwhile; // end of ($row = $result -> fetch_assoc ()) - endif; // end of ($result = $mysqli -> query ("SELECT * FROM threads ORDER BY latest DESC")) -else: // $thread != -1 -?> - - - - - - -

'): -?> - - - - - -
- -
-
- - -
- -
-
-
- - - - -
- -
- - -
-
- -
-
-
- - - - -
-
- -
- - -
- -
-
- - - - -
-
- -
-
- - - - - - - - - - -
-
- -
-
- - - - - - - - -
- -
-
-
- -
- - - -
-
- -
- -
- -
- query (" - SELECT - response_id as id, name, message, date, image, held, deleted, pass, good, bad, good - bad as evaluate - FROM - responses - WHERE - thread_id = $thread - ORDER BY - " . (($sort == 'td') - ? 'id DESC' - : (($sort == 'eg') - ? 'evaluate DESC, id DESC' - : (($sort == 'ta') - ? 'id ASC' - : (($sort == 'eb') - ? 'evaluate ASC, id DESC' - : 'id DESC')))))): - while ($row = $result -> fetch_assoc ()): -?> - - - - - - - - - - - - - - - - -
-
-
: - -
- -
- 1 -
-
- -
- - -
-   -
- -
-   -
- - -
-

削除されました.

確認中です.

- close (); - endif; -?> -
- -

レス削除

- 削除したいレス番号と削除用パスワードを入力して “削除” を押してください.
-
-
- - - -
- - - - - - - - - - - - +require_once './forms/index.frm.php';