initial commit
This commit is contained in:
18
template/topmenu.php
Normal file
18
template/topmenu.php
Normal 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>
|
||||
Reference in New Issue
Block a user