From c4f387d21147b91e708345fc6f7405fb1a2b6271 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 1 Feb 2025 10:18:06 +0200 Subject: feat: Move single archive item code to a separate file --- views/profile/index.php | 36 ++++++------------------------------ 1 file changed, 6 insertions(+), 30 deletions(-) (limited to 'views/profile/index.php') diff --git a/views/profile/index.php b/views/profile/index.php index 0a10e4a..58a43e2 100644 --- a/views/profile/index.php +++ b/views/profile/index.php @@ -18,36 +18,12 @@

Archives

Lists

- archives() as $page): ?> -
-
-
- - URL ?> - Date ?> -
-
- Visits: Visits ?> - RequesterUID)->Username ?> -
-
- -
- - + archives() as $page) { + include $VIEWS_DIR . '/archive/item.php'; + } + include_once $VIEWS_DIR . '/archive/item_show.php'; + ?>