<div class="sl-logo"><a href=""><i class="icon ion-android-star-outline"></i> SMS DATABASE</a>
	</div>
    <div class="sl-sideleft">
      <div class="input-group input-group-search">
        <input type="search" name="search" class="form-control" placeholder="Search">
        <span class="input-group-btn">
          <button class="btn"><i class="fa fa-search"></i></button>
        </span><!-- input-group-btn -->
      </div><!-- input-group -->
<?php $pagen = basename($_SERVER['PHP_SELF']);?>
      <label class="sidebar-label">Navigation </label>
      <div class="sl-sideleft-menu">
        <a href="dashboard.php" class="sl-menu-link <?php if($pagen == "dashboard.php"){echo 'active';} ?>">
          <div class="sl-menu-item">
            <i class="menu-item-icon icon ion-ios-home-outline tx-22"></i>
            <span class="menu-item-label">Dashboard</span>
          </div><!-- menu-item -->
        </a><!-- sl-menu-link -->
      
		
		<a href="emirates.php" class="sl-menu-link <?php if($pagen == "emirates.php"){echo 'active';} ?>">
          <div class="sl-menu-item">
            <i class="menu-item-icon icon ion-ios-gear-outline tx-24"></i>
            <span class="menu-item-label">Emirates</span>
          </div><!-- menu-item -->
        </a><!-- sl-menu-link -->
		
		<a href="area.php" class="sl-menu-link <?php if($pagen == "area.php"){echo 'active';} ?>">
          <div class="sl-menu-item">
            <i class="menu-item-icon icon ion-ios-navigate-outline tx-24"></i>
            <span class="menu-item-label">Emirate Area</span>
          </div><!-- menu-item -->
        </a><!-- sl-menu-link -->
        
		<!--<a href="category.php" class="sl-menu-link">
          <div class="sl-menu-item">
            <i class="menu-item-icon icon ion-ios-paper-outline tx-22"></i>
            <span class="menu-item-label">Special Categories</span>
          </div><!-- menu-item --
        </a><!-- sl-menu-link -->
		

		
		<a href="#" class="sl-menu-link  <?php if($pagen == "nationalty.php" || $pagen == "add_nationalty.php"){echo 'active show-sub';} ?>">
          <div class="sl-menu-item">
            <i class="menu-item-icon icon ion-ios-paper-outline tx-22"></i>
            <span class="menu-item-label">Nationalty</span>
            <i class="menu-item-arrow fa fa-angle-down"></i>
          </div><!-- menu-item -->
        </a><!-- sl-menu-link -->
        <ul class="sl-menu-sub nav flex-column">
          <li class="nav-item"><a href="add_nationalty.php" class="nav-link <?php if($pagen == "add_nationalty.php"){echo 'active';} ?>">Add Nationalty</a></li>
          <li class="nav-item"><a href="nationalty.php" class="nav-link  <?php if($pagen == "nationalty.php"){echo 'active';} ?>">Nationalty Wise</a></li>
        </ul>
		
		
		<a href="#" class="sl-menu-link  <?php if($pagen == "category.php" || $pagen == "add_category.php"){echo 'active show-sub';} ?>">
          <div class="sl-menu-item">
            <i class="menu-item-icon icon ion-ios-paper-outline tx-22"></i>
            <span class="menu-item-label">Special Categories</span>
            <i class="menu-item-arrow fa fa-angle-down"></i>
          </div><!-- menu-item -->
        </a><!-- sl-menu-link -->
        <ul class="sl-menu-sub nav flex-column">
          <li class="nav-item"><a href="add_category.php" class="nav-link <?php if($pagen == "add_category.php"){echo 'active';} ?>">Add Categories</a></li>
          <li class="nav-item"><a href="category.php" class="nav-link  <?php if($pagen == "category.php"){echo 'active';} ?>">Special Categories</a></li>
        </ul>
       
        <a href="category_nationalty.php" class="sl-menu-link <?php if($pagen == "category_nationalty.php"){echo 'active';} ?>">
          <div class="sl-menu-item">
            <i class="menu-item-icon icon ion-ios-paper-outline tx-22"></i>
            <span class="menu-item-label">Categories with Nationalty</span>
          </div><!-- menu-item -->
        </a><!-- sl-menu-link -->
		
		
        <a href="#" class="sl-menu-link <?php if($pagen == "design.php"){echo 'active show-sub';} ?>">
          <div class="sl-menu-item">
            <i class="menu-item-icon icon ion-ios-paper-outline tx-22"></i>
            <span class="menu-item-label">Pages</span>
            <i class="menu-item-arrow fa fa-angle-down"></i>
          </div><!-- menu-item -->
        </a><!-- sl-menu-link -->
        <ul class="sl-menu-sub nav flex-column">
          <li class="nav-item"><a href="design.php" class="nav-link <?php if($pagen == "design.php"){echo 'active';} ?>">Report Page Design</a></li>
          <li class="nav-item"><a href="report.php" target="_blank" class="nav-link">Get Report</a></li>
          <li class="nav-item"><a href="query/signout.php" class="nav-link">Sign Out</a></li>
          <!--  <li class="nav-item"><a href="page-notfound.html" class="nav-link">404 Page Not Found</a></li>-->
        </ul>
      </div><!-- sl-sideleft-menu -->

      <br>
    </div><!-- sl-sideleft -->