aboutsummaryrefslogtreecommitdiff
path: root/includes/video/list.php
diff options
context:
space:
mode:
authorMinteck <nekostarfan@gmail.com>2021-08-08 12:04:30 +0200
committerMinteck <nekostarfan@gmail.com>2021-08-08 12:04:30 +0200
commit95112b1eb06a4be531ded59563d53a63a8d614e8 (patch)
treefd3dc676227309c87a39feab9ca458985e327907 /includes/video/list.php
parent87303b0d3540037fb94efdde24dbaacb2880d6cb (diff)
downloadmain-95112b1eb06a4be531ded59563d53a63a8d614e8.tar.gz
main-95112b1eb06a4be531ded59563d53a63a8d614e8.tar.bz2
main-95112b1eb06a4be531ded59563d53a63a8d614e8.zip
Opening!
Diffstat (limited to 'includes/video/list.php')
-rw-r--r--includes/video/list.php24
1 files changed, 12 insertions, 12 deletions
diff --git a/includes/video/list.php b/includes/video/list.php
index 0f090bf..57375d1 100644
--- a/includes/video/list.php
+++ b/includes/video/list.php
@@ -1,13 +1,13 @@
-<div class="list-group">
- <?php
-
- $articles = scandir($_SERVER['DOCUMENT_ROOT'] . "/creations/video");
- $i = 1;
- foreach ($articles as $article):
-
- ?>
- <?php if (trim($article) !== "." && trim($article) !== ".." && is_dir($_SERVER['DOCUMENT_ROOT'] . "/creations/video/" . $article)): ?>
- <a href="/creations/video/<?= $article ?>" class="list-group-item list-group-item-action"><?= file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/creations/video/" . $article . "/title.txt") ?></a>
- <?php endif;$i++; ?>
- <?php endforeach; ?>
+<div class="list-group">
+ <?php
+
+ $articles = scandir($_SERVER['DOCUMENT_ROOT'] . "/creations/video");
+ $i = 1;
+ foreach ($articles as $article):
+
+ ?>
+ <?php if (trim($article) !== "." && trim($article) !== ".." && is_dir($_SERVER['DOCUMENT_ROOT'] . "/creations/video/" . $article)): ?>
+ <a href="/creations/video/<?= $article ?>" class="list-group-item list-group-item-action"><?= file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/creations/video/" . $article . "/title.txt") ?></a>
+ <?php endif;$i++; ?>
+ <?php endforeach; ?>
</div> \ No newline at end of file