From 853d253a7dc0c7de6438310cd94a7ece2da9397c Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Fri, 12 Dec 2025 10:34:56 +0500 Subject: feat: store posts in text format --- status/index.php | 52 ---------------------------------------------------- 1 file changed, 52 deletions(-) delete mode 100644 status/index.php (limited to 'status/index.php') diff --git a/status/index.php b/status/index.php deleted file mode 100644 index 13d5405..0000000 --- a/status/index.php +++ /dev/null @@ -1,52 +0,0 @@ -prepare('SELECT * FROM statuses WHERE id = ?'); - $stmt->execute([$_GET['id']]); - - $status = $stmt->fetch(PDO::FETCH_ASSOC) ?: null; -} else { - $stmt = $db->query('SELECT id, title, posted_at FROM statuses ORDER BY posted_at DESC'); - $statuses = $stmt->fetchAll(PDO::FETCH_ASSOC); -} -?> - - - - - statuses - ilt.su - - - - - - - - -
-

ilt.su - statuses

- -

No title.' ?>

-
- No contents.' ?> -
-

Posted ago

- - - -

Statuses

- - -
- - - \ No newline at end of file -- cgit v1.2.3