adlerka.space/templates/navpages.php

15 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>';
$page_dir = "/pages";
$files1 = scandir($page_dir);
2024-01-11 10:16:24 +01:00
print_r($files1);
2024-01-11 10:17:10 +01:00
echo "hehe";
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
?>