
    <nav class="navbar navbar-expand-md navbar-fixed-top" role="navigation">
        <a href="#" class="logo">
            <!-- Add the class icon to your logo image or logo icon to add the margining -->
            <img src="images/<?php

							if(empty($site_logo)){

							}else{
								echo $site_logo;
							}

							?>" alt="logo" style="width:30%;"/>
            <h3><b></b></h3>
        </a>
        <!-- Header Navbar: style can be found in header-->
        <!-- Sidebar toggle button-->
        <!-- Sidebar toggle button-->
        <div>
            <a href="#" class="navbar-btn sidebar-toggle" data-toggle="offcanvas" role="button"> <i
                    class="fa fa-fw fa-bars"></i>
            </a>
        </div>
        <div class="navbar-right ml-auto" id="navbarNav">
            <ul class="nav navbar-nav">

                <!--tasks-->


                <!-- User Account: style can be found in dropdown-->
                <li class="nav-item dropdown user user-menu">
                    <a href="#" class="dropdown-toggle padding-user nav-link">
                        <img src="images/admin.jpg" width="35" class="rounded-circle img-responsive pull-left"
                             height="35" alt="User Image">
                        <div class="riot">
                            <div>
                                <?php if(empty($fullname)){
								echo 'Admin';
							}else{
								echo $fullname;
							} ?>
                                <span>
                                        <i class="fa fa-caret-down"></i>
                                    </span>
                            </div>
                        </div>
                    </a>
                    <ul class="dropdown-menu">
                        <!-- User image -->
                        <li class="user-header">
                            <img src="images/admin.jpg" class="rounded-circle" alt="User Image">
                            <p>  <?php if(empty($fullname)){
								echo 'Admin';
							}else{
								echo $fullname;
							} ?></p>
                        </li>
                        <!-- Menu Body -->
                        <li class="p-t-3 nav-item">
                            <a href="#" class="nav-link">
                                <i class="fa fa-fw fa-user"></i>



							 <?php if(empty($admin_role_id)){
								echo '<span class="badge badge-pill badge-danger">Ghost </span>';
							}else{
								echo '<span class="badge badge-pill badge-danger">'.get_admin_role_by_id($conn_1,$admin_role_id).' </span>';
							} ?>
                            </a>
                        </li>
                        <li ></li>
                        <li class="nav-item">
                            <a href="dashboard.php?hub=account_setting" class="nav-link">
                                <i class="fa fa-fw fa-gear"></i> Account Settings
                            </a>
                        </li>
                        <li  class="dropdown-divider"></li>
                        <!-- Menu Footer-->
                        <li class="user-footer">
                            <div class="pull-left">
                                <a href="#">
                                    <i class="fa fa-fw fa-lock"></i>
                                    Lock
                                </a>
                            </div>
                            <div class="pull-right">
                                <a href="scripts/logout.php">
                                    <i class="fa fa-fw fa-sign-out"></i>
                                    Logout
                                </a>
                            </div>
                        </li>
                    </ul>
                </li>
            </ul>
        </div>
    </nav>
