diff options
author | Minteck <nekostarfan@gmail.com> | 2021-08-04 16:56:12 +0200 |
---|---|---|
committer | Minteck <nekostarfan@gmail.com> | 2021-08-04 16:56:12 +0200 |
commit | 896fa7c96856142f844d958b049d5432f511641c (patch) | |
tree | d8bbbe327939ade9bd13276c6b4c6105adf95323 /_site/articles/index.php | |
parent | 7df2fb3f5ee0ac5bd89e127c86ad0c2d6de126d1 (diff) | |
download | unchainedtech-896fa7c96856142f844d958b049d5432f511641c.tar.gz unchainedtech-896fa7c96856142f844d958b049d5432f511641c.tar.bz2 unchainedtech-896fa7c96856142f844d958b049d5432f511641c.zip |
v2.0
Diffstat (limited to '_site/articles/index.php')
-rw-r--r-- | _site/articles/index.php | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/_site/articles/index.php b/_site/articles/index.php index fcac33a..14f892b 100644 --- a/_site/articles/index.php +++ b/_site/articles/index.php @@ -1,18 +1,18 @@ -<?php $_TITLE = "Articles Index"; require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/dom/header.php"; ?> - -<div class="container" style="margin-top:30px;text-align: center;"> - <h2>Here be dragons!</h2> - <p>This is the complete list of all the posts that were on UnchainedTech one day. Yep, they are all here!</p> -</div> -<?php $list = getArticlesList() ?> -<div class="container"> - <div class="list-group"> - <?php $index = 0;foreach ($list as $id => $item): ?> - <?php if (!$item["admin"] || ($admin && $item["admin"])): ?> - <a href="<?= $item["admin"] ? "/admin" : "" ?>/article/<?= $item["id"] ?>" class="list-group-item list-group-item-action<?= $item["admin"] ? " list-group-item-admin" : "" ?>"><?= $item["title"] ?></a> - <?php endif; ?> - <?php $index++;endforeach; ?> - </div> -</div> - +<?php $_TITLE = "Articles Index"; require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/dom/header.php"; ?>
+
+<div class="container" style="margin-top:30px;text-align: center;">
+ <h2>Here be dragons!</h2>
+ <p>This is the complete list of all the posts that were on UnchainedTech one day. Yep, they are all here!</p>
+</div>
+<?php $list = getArticlesList() ?>
+<div class="container">
+ <div class="list-group">
+ <?php $index = 0;foreach ($list as $id => $item): ?>
+ <?php if (!$item["admin"] || ($admin && $item["admin"])): ?>
+ <a href="<?= $item["admin"] ? "/admin" : "" ?>/article/<?= $item["id"] ?>" class="list-group-item list-group-item-action<?= $item["admin"] ? " list-group-item-admin" : "" ?>"><?= $item["title"] ?></a>
+ <?php endif; ?>
+ <?php $index++;endforeach; ?>
+ </div>
+</div>
+
<?php require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/dom/footer.php"; ?>
\ No newline at end of file |