<div class="theme-layout">
	
	<div class="responsive-header">
		<div class="res-logo"><img src="images/wlogo.svg" alt=""></div>
		
		<div class="user-avatar mobile">
			<a href="#" title="View Profile"><img alt="" src="images/resources/user.jpg"></a>
			<div class="name">
				<!--<h4>Mahesh Posa</h4>-->
				
			</div>
		</div>
		<div class="right-compact">
			<div class="menu-area">
				<div id="nav-icon3">
					<i>
                    <svg class="feather feather-grid" stroke-linejoin="round" stroke-linecap="round" stroke-width="2" stroke="currentColor" fill="none" viewBox="0 0 24 24" height="18" width="18" xmlns="http://www.w3.org/2000/svg"><rect height="7" width="7" y="3" x="3"/><rect height="7" width="7" y="3" x="14"/><rect height="7" width="7" y="14" x="14"/><rect height="7" width="7" y="14" x="3"/></svg>
						</i>
				</div>
				<ul class="drop-menu">
				  	
					<li><a title="" href="#"><i class="icofont-question-circle"></i>Help</a></li>
					<li><a title="" href="#"><i class="icofont-gear"></i>Setting</a></li>
					<li><a class="dark-mod" title="" href="#"><i class="icofont-moon"></i>Dark Mode</a></li>
					<li><a title="" href="login-register.html" class="logout"><i class="icofont-logout"></i>Logout</a></li>
				</ul>
			</div>
			<div class="res-search">
				<span><i>
                <svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-search"><circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line></svg></i></span>
			</div>
		</div>
		<div class="restop-search">
			<span class="hide-search"><i class="icofont-close-circled"></i></span>
			<form method="post">
				<input type="text" placeholder="Search...">
			</form>
		</div>
	</div><!-- responsive header -->
	
	<header class="">
		<div class="topbar stick">
			<div class="logo"><img alt="" src="images/wlogo.svg"></div>
			<div class="searches">
				<br>
			</div>
			<ul class="web-elements">
				<li>
					<div class="user-dp">
						<a href="#" title="">
							<img src="images/resources/user.jpg" alt="">
							<div class="name">
							<?php 
					$uid=$_SESSION["login_id"];
							
							if($uid==""){?>
							  <script type="text/javascript">
            window.location.href = "https://crm.wisibles.com/admin/index"
        </script>
							    <?php
							}
							
								if($_SESSION['login_id'])	{

								?>
								<h4><?php echo $_SESSION["login_id"]; ?></h4>
								<?php
								}
								else{header ("Location: index");}
								?>
							
							</div>
						</a>	
					</div>
				</li>
				
				<li>
					<a title="" href="#">
						<i>
                        <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-grid"><rect x="3" y="3" width="7" height="7"></rect><rect x="14" y="3" width="7" height="7"></rect><rect x="14" y="14" width="7" height="7"></rect><rect x="3" y="14" width="7" height="7"></rect></svg>
						</i>
					</a>
					<ul class="dropdown">
						
						<li><a href="#" title=""><i class="icofont-question-circle"></i> Help</a></li>
						<!--<li><a href="settings.html" title=""><i class="icofont-gear"></i> Setting</a></li>-->
						<li><a href="#" title=""><i class="icofont-notepad"></i> Privacy</a></li>
						<li><a class="dark-mod" title="" href="#"><i class="icofont-moon"></i> Dark Mode</a></li>
						<li class="logout"><a href="actions/logout.php" title=""><i class="icofont-power"></i> Logout</a></li>
					</ul>
				</li>
			</ul>
		</div>
		
	</header><!-- header -->