
<div class="mobile-menu-left-overlay"></div>
<nav class="side-menu">
  <ul class="side-menu-list">


    <li class="<?php if ($menu_active == 'dashboard') echo 'active open'; ?>">
      <a href="dashboard.php">
        <i class="font-icon font-icon-dashboard"></i>
        <span class="lbl">Dashboard</span>
      </a>
    </li>
    <li class="with-sub <?php if ($menu_active == 'sms') echo 'active open'; ?>">
      <span>
        <i class="font-icon fa fa-envelope-o"></i>
        <span class="lbl">SMS</span>
      </span>
      <ul <?php if ($menu_active == 'sms') echo 'STYLE="display:block"'; ?>>
        <li class="<?php if (($menu_active == 'sms') && ($menu_sub_active == 'addnedit')) echo 'active'; ?>"><a href="sms.php?page=add"><span class="lbl">Send SMS</span></a></li>
        <li class="<?php if (($menu_active == 'sms') && ($menu_sub_active == 'view')) echo 'active'; ?>"><a href="sms.php?page=view"><span class="lbl">Send to All</span></a></li>
      </ul>
    </li>
    <li class="with-sub <?php if ($menu_active == 'email') echo 'active open'; ?>">
      <span>
        <i class="font-icon fa fa-envelope-o"></i>
        <span class="lbl">Email</span>
      </span>
      <ul <?php if ($menu_active == 'email') echo 'STYLE="display:block"'; ?>>
        <li class="<?php if (($menu_active == 'email') && ($menu_sub_active == 'addnedit')) echo 'active'; ?>"><a href="email.php?page=add"><span class="lbl">Send Email</span></a></li>
        <li class="<?php if (($menu_active == 'email') && ($menu_sub_active == 'view')) echo 'active'; ?>"><a href="email.php?page=view"><span class="lbl">Send to All</span></a></li>
      </ul>
    </li>
    <?
    if ($superadmin == 1) {
      ?>
      <li class="with-sub <?php if ($menu_active == 'customers') echo 'active open'; ?>">
        <span>
          <i class="font-icon fa fa-user"></i>
          <span class="lbl">Customers</span>
        </span>
        <ul <?php if ($menu_active == 'customers') echo 'STYLE="display:block"'; ?>>
          <li class="<?php if (($menu_active == 'customers') && ($menu_sub_active == 'addnedit')) echo 'active'; ?>"><a href="customers.php?page=add"><span class="lbl">Add New</span></a></li>
          <li class="<?php if (($menu_active == 'customers') && ($menu_sub_active == 'view')) echo 'active'; ?>"><a href="customers.php?page=view"><span class="lbl">View / Edit</span></a></li>
        </ul>
      </li>
    <? } ?>

  </ul>
</nav><!--.side-menu-->
