|
@@ -34,11 +34,26 @@
|
|
<a href="<?= $category1['url'] ?>"><?= $category1['name'] ?></a>
|
|
<a href="<?= $category1['url'] ?>"><?= $category1['name'] ?></a>
|
|
<?php $childMenu1 = $category1['childMenu']; ?>
|
|
<?php $childMenu1 = $category1['childMenu']; ?>
|
|
<?php if(is_array($childMenu1) && !empty($childMenu1)): ?>
|
|
<?php if(is_array($childMenu1) && !empty($childMenu1)): ?>
|
|
- <ul class="sub-menu">
|
|
|
|
|
|
+ <div class="sub-menu">
|
|
<?php foreach($childMenu1 as $category2): ?>
|
|
<?php foreach($childMenu1 as $category2): ?>
|
|
- <li><a href="<?= $category2['url'] ?>"><?= $category2['name'] ?></a></li>
|
|
|
|
|
|
+ <div class="menu2"><a href="<?= $category2['url'] ?>"><?= $category2['name'] ?></a>
|
|
|
|
+
|
|
|
|
+ <?php $childMenu2 = $category2['childMenu']; ?>
|
|
|
|
+ <?php if(is_array($childMenu2) && !empty($childMenu2)): ?>
|
|
|
|
+ <ul>
|
|
|
|
+ <?php foreach($childMenu2 as $category3): ?>
|
|
|
|
+ <li class="item-content">
|
|
|
|
+ <div class="item-title"><a href="<?= $category3['url'] ?>" external> <?= $category3['name'] ?></a></div>
|
|
|
|
+ </li>
|
|
|
|
+
|
|
|
|
+ <?php endforeach; ?>
|
|
|
|
+ </ul>
|
|
|
|
+ <?php endif; ?>
|
|
|
|
+ </div>
|
|
|
|
+
|
|
|
|
+
|
|
<?php endforeach; ?>
|
|
<?php endforeach; ?>
|
|
- </ul>
|
|
|
|
|
|
+ </div>
|
|
<?php endif; ?>
|
|
<?php endif; ?>
|
|
</li>
|
|
</li>
|
|
<?php endforeach; ?>
|
|
<?php endforeach; ?>
|