_members.phtml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <?php
  2. /**
  3. * @version 7.4
  4. */
  5. ?>
  6. <!-- MEMBERS AREA SUB LAYOUT -->
  7. <!-- members area top navigation -->
  8. <div class="sub-container">
  9. <?php $container = $this->navigation()->getInitialContainer()->findOneBy('label', $this->_('Members Area')); ?>
  10. <!-- display members main navigation menu -->
  11. <?php echo $this->navigation()
  12. ->setContainer($container)
  13. ->setPartial('navigation/navigation.phtml')
  14. ->menu(); ?>
  15. <!-- display breadcrumbs -->
  16. <?php echo $this->navigation()->setPartial('navigation/breadcrumbs.phtml')->setMinDepth(0)->breadcrumbs(); ?>
  17. <?php if ($this->userDetails($this->loggedInUser['id'])->getUser()->isVerified() === false) { ?>
  18. <?php echo $this->partial('partials/user-verification-message.phtml', null); ?>
  19. <?php } ?>
  20. <div class="row row-offcanvas row-offcanvas-left">
  21. <div class="col-md-3 sidebar-offcanvas">
  22. <!-- members area side navigation -->
  23. <?php
  24. if ($this->controller) {
  25. $controller = $this->controller;
  26. }
  27. else {
  28. $controller = $this->request()->getRequest()->getController();
  29. }
  30. $container = $this->navigation()->getInitialContainer()->findOneBy('label', $this->_($controller));
  31. echo $this->navigation()
  32. ->setContainer($container)
  33. ->setPartial('navigation/left-side.phtml')
  34. ->menu();
  35. ?>
  36. </div>
  37. <div class="col-md-9">
  38. <p class="hidden-md hidden-lg">
  39. <button class="btn btn-default" data-toggle="offcanvas" type="button">
  40. <i class="fa fa-2x fa-list"></i>
  41. </button>
  42. </p>
  43. <!-- members area content -->
  44. <?php echo $this->render('_heading.phtml'); ?>
  45. <?php echo $this->getContent(); ?>
  46. </div>
  47. </div>
  48. </div>