<!-- Page Header Start-->
      <div class="page-main-header">
        <div class="main-header-right row m-0">
          <div class="main-header-left">
            <div class="logo-wrapper"><a href="index"><img class="img-fluid" src="assets/img/favicon.png" alt="" style="height:30px"></a></div>
            <div class="dark-logo-wrapper"><a href="index"><img class="img-fluid" src="assets/img/favicon.png" alt="" style="height:30px"></a></div>
            <div class="toggle-sidebar"><i class="status_toggle middle" data-feather="align-center" id="sidebar-toggle"></i></div>
          </div>
          <div class="left-menu-header col">
            <ul>
              <li>
                <form class="form-inline search-form" action="report-task-view.php" method="post">
                  <div class="search-bg"><i class="fa fa-search"></i>
                    <input class="form-control-plaintext" placeholder="Search here....." name="searchdata" required >
                  </div>
                </form>
				<span class="d-sm-none mobile-search search-bg"><i class="fa fa-search"></i></span>
              </li>
            </ul>
          </div>
		  
<?php
$notitaskqry="select * from task_master where task_deleted='No' AND task_userid='$user_id' order by task_id DESC";
$notitaskres=mysqli_query($con, $notitaskqry);
$notitaskrow=mysqli_num_rows($notitaskres);
?>
          <div class="nav-right col pull-right right-menu p-0 box-col-6">
            <ul class="nav-menus">
              <li><a class="text-dark" href="#!" onclick="javascript:toggleFullScreen()"><i data-feather="maximize"></i></a></li>
              
              <li class="onhover-dropdown">
                <div class="notification-box"><i data-feather="bell"></i><span class="dot-animated"></span></div>
                <ul class="notification-dropdown onhover-show-div">
                  <li>
                    <p class="f-w-700 mb-0">You have <?php echo $notitaskrow ?> Notifications<span class="pull-right badge badge-primary badge-pill"><?php echo $notitaskrow ?></span></p>
                  </li>
                  <?php
				  if($notitaskrow > 0)
				  {
				  while($notitaskdata=mysqli_fetch_assoc($notitaskres))
				  {
				  ?>
                  <li class="noti-success">
                    <div class="media"><span class="notification-bg bg-light-success"><i data-feather="file-text"> </i></span>
                      <div class="media-body">
                        <p> Task : <?php echo $notitaskdata['task_title'] ?></p>
						<span><?php echo date('d-M-Y h:i A',strtotime($notitaskdata['task_ctime'])) ?></span>
                      </div>
                    </div>
                  </li>
                  <?php
				  }
				  }
				  ?>
                </ul>
              </li>
            
              <li class="onhover-dropdown p-0">
                <button class="btn btn-primary-light" type="button">
				<a href="logout"><i data-feather="log-out"></i>Log out</a></button>
              </li>
			  
            </ul>
          </div>
          <div class="d-lg-none mobile-toggle pull-right w-auto"><i data-feather="more-horizontal"></i></div>
        </div>
      </div>
      <!-- Page Header Ends  -->