adlerka.top/templates/navpages.php

14 lines
210 B
PHP
Raw Normal View History

2024-01-11 10:14:21 +01:00
<?php
2024-01-11 10:16:24 +01:00
ob_start();
2024-01-11 10:14:21 +01:00
$navpage_template = '<li><a href="__LOCATION__" __CLASS__>__NAME__</a></li>';
2024-01-11 10:18:10 +01:00
$page_dir = "../pages";
2024-01-11 10:14:21 +01:00
$files1 = scandir($page_dir);
2024-01-11 10:19:22 +01:00
echo print_r($files1, true);
2024-01-11 10:14:21 +01:00
2024-01-11 10:16:24 +01:00
return ob_get_clean();
2024-01-11 10:14:21 +01:00
?>