From 57472eab3c7b035392c6a5aa240593ecaa7d1ccf Mon Sep 17 00:00:00 2001 From: ilotterytea Date: Mon, 8 Dec 2025 21:53:36 +0500 Subject: upd: moved all /public/ files to the root folder --- public/inbox.php | 77 -------------------------------------------------------- 1 file changed, 77 deletions(-) delete mode 100644 public/inbox.php (limited to 'public/inbox.php') diff --git a/public/inbox.php b/public/inbox.php deleted file mode 100644 index f7742d1..0000000 --- a/public/inbox.php +++ /dev/null @@ -1,77 +0,0 @@ -prepare("SELECT * FROM inbox_messages WHERE recipient_id = ? ORDER BY sent_at DESC"); -$stmt->execute([$_SESSION["user_id"]]); - -$messages = $stmt->fetchAll(PDO::FETCH_ASSOC); - -$stmt = $db->prepare("UPDATE inbox_messages SET has_read = true WHERE recipient_id = ?"); -$stmt->execute([$_SESSION["user_id"]]); - -?> - - - - - Inbox - <?php echo INSTANCE_NAME ?> - - - - - -
-
- -
-
- -
- - - - - - - '; - - echo ''; - echo ''; - - echo ''; - - echo ''; - } - ?> -
Contents
' . $message["contents"]; - echo ' (' . format_timestamp(time() - strtotime($message["sent_at"])) . ' ago)'; - echo ''; - if ($message["link"]) { - echo '[ View ]'; - } - echo '
-
-
-
-
-
- - - \ No newline at end of file -- cgit v1.2.3