diff options
Diffstat (limited to 'views/list/index.php')
| -rw-r--r-- | views/list/index.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/views/list/index.php b/views/list/index.php new file mode 100644 index 0000000..01c18b4 --- /dev/null +++ b/views/list/index.php @@ -0,0 +1,22 @@ +<?php + $list = null; + $author = null; + + try { + $list = Database\ArchiveList::fromDB($lid); + $author = Database\User::fromDBuid($list->AuthorUID); + } + catch(Exception $e) {} +?> + +<?php if ($list !== null): ?> + <section> + <p><?= $list->Name ?></p> + <p><?= $list->Description ?></p> + <p><?= $author->Username ?></p> + </section> +<?php else: ?> + <p> + List doesn't exist + </p> +<?php endif; ?> |
