<header class="header">
            <?php 
                $utypee = Auth::user()->utype;
            ?>

            @if($utypee == 1)
                <a href="{{url('admin/projects')}}" class="logo">
                    Task Management
                </a>
            @else
                <a href="{{url('user/user_projects')}}" class="logo">
                    Task Management
                </a>
            @endif
            <!-- Header Navbar: style can be found in header.less -->
            <nav class="navbar navbar-static-top" role="navigation">
               <div class="toggle-bar-box">
                <!-- Sidebar toggle button-->
                <a href="#" class="navbar-btn sidebar-toggle" data-toggle="offcanvas" role="button">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </a>
                     
                    <div class="dropdown pull-right" style="margin-top:14px;" data-toggle="tooltip" data-placement="left" title="Notifications">

                        <input type="hidden" class="hdn-user-id" value="{{\Auth::user()->id}}">
                        <button class="btn btn-primary dropdown-toggle cls-noti-btn" type="button" data-toggle="dropdown">
                            <i class="fa fa-bell-o" aria-hidden="true"></i>

                            @if($total_noti > 0)
                            <span class="badge cls-show-noti-number" style="background-color:#FD5D42;color:#fff;">
                                {{$total_noti}}
                            </span>
                            @endif
                        </button>
                        <ul class="dropdown-menu" style="width: 310px;background-color:#E2E3E6;">
                            @if(count($noti) > 0)
                                <?php $count = 1; ?>
                                @foreach($noti as $info)
                                   <li style="padding: 5px;">{{$count++.". "}}{{$info->msg}}</li> 
                                @endforeach
                            @else
                                <li>No Notification Available</li>
                            @endif
                        </ul>
                    </div>
                    @if(\Auth::user()->utype==1)
                    <div class="dropdown" style="margin-top:14px;margin-left: 84%" data-toggle="tooltip" data-placement="left" title="Notifications">
                        <button class="btn btn-primary dropdown-toggle cls-noti-btn1" type="button" data-toggle="dropdown">
                            <i class="fa fa-bell-o" aria-hidden="true"></i>

                            @if($total_support_noti > 0)
                            <span class="badge cls-show-noti-number1" style="background-color:#FD5D42;color:#fff;">
                                {{$total_support_noti}}
                            </span>
                            @endif
                        </button>
                        <ul class="dropdown-menu" style="width: 310px;background-color:#E2E3E6;">
                            @if(count($support_noti) > 0)
                                <?php $count1 = 1; ?>
                                @foreach($support_noti as $info1)
                                   <li style="padding: 5px;">{{$count1++.". "}}{{$info1->title}}</li>
                                   <input type="hidden" class="ticket_ids" name="ticket_ids[]" value="{{$info1->id}}"> 
                                @endforeach
                            @else
                                <li>No Support Notification Available</li>
                            @endif
                        </ul>
                    </div>
                    @endif
                </div>
                <div class="navbar-right">
                    <ul class="nav navbar-nav">
                        <!-- User Account: style can be found in dropdown.less -->
                        <li class="dropdown user user-menu">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                <i class="fa fa-user"></i>
                                <span>{{ Auth::user()->name }} <i class="caret"></i></span>
                            </a>
                            <ul class="dropdown-menu dropdown-custom dropdown-menu-right">
                                {{-- <li class="dropdown-header text-center">Account</li> --}}

                                {{-- <li>
                                    <a href="#">
                                    <i class="fa fa-clock-o fa-fw pull-right"></i>
                                        <span class="badge badge-success pull-right">10</span> Updates</a>
                                    <a href="#">
                                    <i class="fa fa-envelope-o fa-fw pull-right"></i>
                                        <span class="badge badge-danger pull-right">5</span> Messages</a>
                                    <a href="#"><i class="fa fa-magnet fa-fw pull-right"></i>
                                        <span class="badge badge-info pull-right">3</span> Subscriptions</a>
                                    <a href="#"><i class="fa fa-question fa-fw pull-right"></i> <span class=
                                        "badge pull-right">11</span> FAQ</a>
                                </li> --}}

                                <li class="divider"></li>

                                    <li>
                                        {{-- <a href="#">
                                        <i class="fa fa-user fa-fw pull-right"></i>
                                            Profile
                                        </a>
                                        <a data-toggle="modal" href="#modal-user-settings">
                                        <i class="fa fa-cog fa-fw pull-right"></i>
                                            Settings
                                        </a>
                                        </li>

                                        <li class="divider"></li> --}}

                                        <li>
                                            <a href="{{ url('/logout') }}"><i class="fa fa-ban fa-fw pull-right"></i> Logout</a>
                                        </li>
                                    </ul>
                                </li>
                            </ul>
                        </div>
                    </nav>
        </header>