leftmenu.php 929 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * FecShop file.
  4. *
  5. * @link http://www.fecshop.com/
  6. * @copyright Copyright (c) 2016 FecShop Software LLC
  7. * @license http://www.fecshop.com/license/
  8. */
  9. ?>
  10. <div class="list-block" style="margin-top:80px;">
  11. <ul>
  12. <?php if(!empty($leftMenuArr) && is_array($leftMenuArr)): ?>
  13. <?php foreach($leftMenuArr as $one): ?>
  14. <li class="item-content item-link">
  15. <div class="item-media"><i class="icon icon-f7"></i></div>
  16. <div class="item-inner">
  17. <div class="item-title">
  18. <a external href="<?= $one['url'] ?>" ><?= Yii::$service->page->translate->__($one['name']); ?></a>
  19. </div>
  20. </div>
  21. </li>
  22. <?php endforeach; ?>
  23. <?php endif; ?>
  24. </ul>
  25. </div>
  26. <div class="account_footer">
  27. <a external href="<?= Yii::$service->url->getUrl("customer/account/logout");?> " class="button button-fill button-bbb">
  28. <?= Yii::$service->page->translate->__('Logout'); ?>
  29. </a>
  30. </div>