<?php 
$sqlu = "SELECT * FROM users WHERE uid = '".$_SESSION['ecimsuser']."'";
$queryu = $conn->query($sqlu);
$ecimsuser = $queryu->fetch_assoc(); ?>
<ul class="nav page-navigation">
	  <li class="nav-item <?= (($activePage == 'user-dashboard')) ? 'active':''; ?>">
		<a class="nav-link" href="user-dashboard.php">
		  <span class="menu-title">Dashboard</span>
		</a>
	  </li>
	  <li class="nav-item <?= (($activePage == 'userComplaints')) ? 'active':''; ?>">
		<a class="nav-link" href="userComplaints.php">
		  <span class="menu-title">ALL COMPLAINTS</span>
		</a>
	  </li>
	  <li class="nav-item <?= (($activePage == 'pendingComplaints')) ? 'active':''; ?>">
		<a class="nav-link" href="pendingComplaints.php">
		  <span class="menu-title">COMPLAINTS IN-PROCESS</span>
		</a>
	  </li>
	  <li class="nav-item <?= (($activePage == 'completeComplaints')) ? 'active':''; ?>">
		<a class="nav-link" href="completeComplaints.php">
		  <span class="menu-title">CLOSED COMPLAINTS</span>
		</a>
	  </li>
	  <li class="nav-item <?= (($activePage == 'cancelComplaints')) ? 'active':''; ?>">
		<a class="nav-link" href="cancelComplaints.php">
		  <span class="menu-title">CANCELLED COMPLAINTS</span>
		</a>
	  </li>
	  <li class="nav-item profilelistingnav<?= (($activePage == 'userlogs')) ? ' active':''; ?>" style="">
		<a class="nav-link" href="JAVASCRIPT:">
		  <span class="menu-title">Welcome +91<?php echo $ecimsuser['phone']; ?></span>&nbsp;
		<i class="fa fa-caret-down"></i>
		</a>
		  <div class="submenu">
              <ul class="submenu-item">
                <li class="nav-item"><a class="nav-link <?= (($activePage == 'userlogs.php')) ? 'active':''; ?>" href="userlogs.php">LOGS</a></li>
                <li class="nav-item"><a class="nav-link" href="signout.php">SIGNOUT</a></li>
              </ul>
            </div>
	  </li>
	</ul>