blob: 0f090bf2565d959320cb6b28964d737c6fb0936e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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>
|