<div class="nav notify-row" id="top_menu">
    <!--  notification start -->
	<?php $user_data = $this->session->userdata('user_login');?>
    <ul class="nav top-menu">
        <!-- settings start -->
        <li class="dropdown">
            <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                <i class="fa fa-tasks"></i>
                <span class="badge bg-success"><?php echo count(newNotificationlist());?></span>
            </a>
             </li>
          <li class="dropdown">
            <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                <i class="fa fa-calendar"></i>
                <span class="badge bg-success"><?php echo count(TodaysNotificationlist());?></span>
            </a>
             </li>

        <!--<li id="header_notification_bar" class="dropdown">
            <a data-toggle="dropdown" class="dropdown-toggle" href="#">

                <i class="fa fa-bell-o"></i>
                <span class="badge bg-warning"><?php echo count(Notificationlist());?></span>
            </a>
             <ul class="dropdown-menu extended notification">
                <li>
                    <p>Pending Follow Ups</p>
                </li>
				<?php $i=0;foreach(Notificationlist() as $noti){if($i<15){?>
                <li>
                    <div class="alert alert-info clearfix" style="padding:0px !important;margin-bottom:2px !important">
                        <div class="noti-info">
                            <a href="#"><?php echo $noti->name;?> | <?php echo $noti->phone;?></a>
                        </div>
                    </div>
                </li>
				<?php $i++;}else{}} ?>
				    <li>
                    <div class="alert alert-info clearfix" >
                        <div class="noti-info">
                            <a href="#">View All</a>
                        </div>
                    </div>
                </li> 
              </ul>
        </li>-->
        <!-- notification dropdown end -->
    </ul>
    <!--  notification end -->
</div>
<style>
@media(max-width:750px){
.droppy{margin-top: -50px;}
}
</style>
<div class="top-nav clearfix">
    <!--search & user info start-->
    <ul class="nav pull-right top-menu">
         <li class="dropdown droppy">
            <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                <i class="fa fa-user" style="padding:4px;font-size:20px;"></i>
                <span class="username"><?php echo $user_data[0]['username'];?></span>
                <b class="caret"></b>
            </a>
            <ul class="dropdown-menu extended logout">
                <li><a href="<?php echo base_url();?>home/logout"><i class="fa fa-key"></i> Log Out</a></li>
            </ul>
        </li>
        <!-- user login dropdown end -->
       
    </ul>
    <!--search & user info end-->
</div>
</header>
<!--header end-->
<!--sidebar start-->