<?php
  /**
   * Cart
   *
   * @package Wojo Framework
   * @author wojoscripts.com
   * @copyright 2017
   * @version $Id: dashNav.tpl.php, v1.00 2017-05-05 10:12:05 gewa Exp $
   */
  if (!defined("_WOJO"))
      die('Direct access to this location is not allowed.');
?>
<div class="padding">
  <div class="row">
    <div class="columns">
      <ul class="wojo responsive tabs">
        <li<?php if (count($this->segments) == 1) echo ' class="active"';?>>
          <a href="<?php echo Url::url('/dashboard');?>"><?php echo Lang::$word->META_M_MYDOWNS;?></a>
        </li>
        <li<?php if (Utility::in_array_any(["memberships"], $this->segments)) echo ' class="active"';?>>
          <a href="<?php echo Url::url('/dashboard', 'memberships');?>"><?php echo Lang::$word->MEMBERSHIPS;?></a>
        </li>
        <li<?php if (Utility::in_array_any(["profile"], $this->segments)) echo ' class="active"';?>>
          <a href="<?php echo Url::url('/dashboard', 'profile');?>"><?php echo Lang::$word->ADM_MYACC;?></a>
        </li>
        <li>
          <a href="<?php echo Url::url('/logout');?>"><?php echo Lang::$word->LOGOUT;?></a>
        </li>
      </ul>
    </div>
    <div class="columns shrink relative">
      <div id="colorPanel">
        <a id="cpToggle" href="#"><i class="icon contrast"></i></a>
        <ul></ul>
      </div>
    </div>
  </div>
</div>