initial commit

This commit is contained in:
jan.skoda
2024-01-10 12:26:54 +01:00
commit c65052e5c4
62 changed files with 4307 additions and 0 deletions

5
template/container.php Executable file
View File

@@ -0,0 +1,5 @@
</head>
<body class="">
<div class="container" style="min-height:500px;">

13
template/footer.php Executable file
View File

@@ -0,0 +1,13 @@
<div class="insert-post-ads1" style="margin-top:20px;">
<footer>
Powered by <a href='https://jan-skoda.cz' target="_blank">PSL - CMS</a> by <a href='https://jan-skoda.cz' target="_blank">Jan Škoda</a>
</footer>
</div>
</div>
</body>
</html>

11
template/header.php Executable file
View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href=" <?= Config::ROOT_PATH ?>css/bootstrap.min.css">
<script src=" <?= Config::ROOT_PATH ?>js/jquery.min.js"></script>
<script src=" <?= Config::ROOT_PATH ?>js/bootstrap.min.js"></script>
<!-- jQuery -->

18
template/topmenu.php Normal file
View File

@@ -0,0 +1,18 @@
<div id="blog" class="row">
<div class="header">
<a href="./index.php" class="logo">
<img src="<?= Config::ROOT_PATH?>resources/images/logo.png">
<?= Config::WEBSITE_NAME ?>
</a>
<div id="slogan"> <?= Config::WEBSITE_SLOGAN ?> </div>
<?php
$menuItems = $menu->getMenuArray();
?>
<div class="header-right">
<?php
foreach($menuItems as $item){
echo '<a href="' . $item['link'] . '">' . $item['title'] . '</a>';
}
?>
</div>
</div>