<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title> <?php echo e(CNF_APPNAME); ?> </title>
<meta name="keywords" content="">
<meta name="description" content=""/>
<link rel="shortcut icon" href="<?php echo e(asset('favicon.ico')); ?>" type="image/x-icon">
		<!--<link href="http://fonts.googleapis.com/css?family=Lato:300,400,400italic,600,700|Raleway:300,400,500,600,700|Crete+Round:400italic" rel="stylesheet" type="text/css" />-->
		<link href="<?php echo e(asset('abserve/fonts/google_font/google_font.css')); ?>" rel="stylesheet">
		<link href="<?php echo e(asset('abserve/js/plugins/bootstrap/css/bootstrap.css')); ?>" rel="stylesheet"> 
		<link href="<?php echo e(asset('abserve/js/plugins/jasny-bootstrap/css/jasny-bootstrap.min.css')); ?>" rel="stylesheet">
		<link href="<?php echo e(asset('abserve/fonts/awesome/css/font-awesome.min.css')); ?>" rel="stylesheet">
		<link href="<?php echo e(asset('abserve/js/plugins/bootstrap.summernote/summernote.css')); ?>" rel="stylesheet">
		<link href="<?php echo e(asset('abserve/js/plugins/datepicker/css/bootstrap-datetimepicker.min.css')); ?>" rel="stylesheet">
		<link href="<?php echo e(asset('abserve/js/plugins/bootstrap.datetimepicker/css/bootstrap-datetimepicker.min.css')); ?>" rel="stylesheet">
		<link href="<?php echo e(asset('abserve/js/plugins/select2/select2.css')); ?>" rel="stylesheet">
		<link href="<?php echo e(asset('abserve/js/plugins/iCheck/skins/square/green.css')); ?>" rel="stylesheet">
		<link href="<?php echo e(asset('abserve/js/plugins/fancybox/jquery.fancybox.css')); ?>" rel="stylesheet">
		<link href="<?php echo e(asset('abserve/js/plugins/markitup/skins/simple/style.css')); ?>" rel="stylesheet">
		<link href="<?php echo e(asset('abserve/js/plugins/markitup/sets/default/style.css')); ?>" rel="stylesheet">
		<link href="<?php echo e(asset('abserve/css/animate.css')); ?>" rel="stylesheet">		
		<link href="<?php echo e(asset('abserve/css/icons.min.css')); ?>" rel="stylesheet">
		<link href="<?php echo e(asset('abserve/js/plugins/toastr/toastr.css')); ?>" rel="stylesheet">
		<?php if(!Session::get('themes') or Session::get('themes') ==''): ?>
		<link href="<?php echo e(asset('abserve/css/abserve.css')); ?>" rel="stylesheet">	
		<?php else: ?>
		<link href="<?php echo e(asset('abserve/css/'.Session::get('themes').'.css')); ?>" rel="stylesheet">	
		<?php endif; ?>
		<link href="<?php echo e(asset('abserve/themes/abserve/css/abserve_admin.css')); ?>" rel="stylesheet">

		<script type="text/javascript" src="<?php echo e(asset('abserve/js/plugins/jquery.min.js')); ?>"></script>
		<script type="text/javascript" src="<?php echo e(asset('abserve/js/plugins/jquery.cookie.js')); ?>"></script>			
		<script type="text/javascript" src="<?php echo e(asset('abserve/js/plugins/jquery-ui.min.js')); ?>"></script>				
		<script type="text/javascript" src="<?php echo e(asset('abserve/js/plugins/iCheck/icheck.min.js')); ?>"></script>
		<script type="text/javascript" src="<?php echo e(asset('abserve/js/plugins/select2/select2.min.js')); ?>"></script>
		<script type="text/javascript" src="<?php echo e(asset('abserve/js/plugins/fancybox/jquery.fancybox.js')); ?>"></script>
		<script type="text/javascript" src="<?php echo e(asset('abserve/js/plugins/prettify.js')); ?>"></script>
		<script type="text/javascript" src="<?php echo e(asset('abserve/js/plugins/parsley.js')); ?>"></script>
		<script type="text/javascript" src="<?php echo e(asset('abserve/js/plugins/datepicker/js/bootstrap-datetimepicker.min.js')); ?>"></script>
		<script type="text/javascript" src="<?php echo e(asset('abserve/js/plugins/switch.min.js')); ?>"></script>
		<script type="text/javascript" src="<?php echo e(asset('abserve/js/plugins/bootstrap.datetimepicker/js/bootstrap-datetimepicker.min.js')); ?>"></script>
		<script type="text/javascript" src="<?php echo e(asset('abserve/js/plugins/bootstrap/js/bootstrap.js')); ?>"></script>
		<script type="text/javascript" src="<?php echo e(asset('abserve/js/plugins/jasny-bootstrap/js/jasny-bootstrap.min.js')); ?>"></script>
		<script type="text/javascript" src="<?php echo e(asset('abserve/js/abserve.js')); ?>"></script>
		<script type="text/javascript" src="<?php echo e(asset('abserve/js/plugins/jquery.form.js')); ?>"></script>
		<script type="text/javascript" src="<?php echo e(asset('abserve/js/plugins/jquery.jCombo.min.js')); ?>"></script>
		<script type="text/javascript" src="<?php echo e(asset('abserve/js/plugins/toastr/toastr.js')); ?>"></script>
		<script type="text/javascript" src="<?php echo e(asset('abserve/js/plugins/bootstrap.summernote/summernote.min.js')); ?>"></script>
		<script type="text/javascript" src="<?php echo e(asset('abserve/js/simpleclone.js')); ?>"></script>
		<script type="text/javascript" src="<?php echo e(asset('abserve/js/plugins/markitup/jquery.markitup.js')); ?>"></script>	
		<script type="text/javascript" src="<?php echo e(asset('abserve/js/plugins/markitup/sets/default/set.js')); ?>"></script>	
		
		<!--[if lt IE 9]>
			<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
			<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
		<![endif]-->		


	
  	</head>
  	<body class="abserve-init" >
	<div id="wrapper">
		<?php echo $__env->make('layouts/headmenu', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
		<?php echo $__env->make('layouts/sidemenu', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
		<div class="gray-bg " id="page-wrapper">
			

			<?php echo $__env->yieldContent('content'); ?>		
		</div>

		<div class="footer fixed">
		    <div class="pull-right">
		       
		    </div>
		    <div>
		        <strong>Copyright</strong> &copy; 2014-<?php echo e(date('Y')); ?> . <?php echo e(CNF_COMNAME); ?> 
		        <ul class="abserve_social">
		        	<li><a href="mailto:support@abservetech.com"><i class="fa fa-edit"></i></a></li>
		        	<li><a href="skype: abservetech"><i class="fa fa-skype"></i></a></li>
		        	<li><a href="http://www.abservetech.com/contact-us/"><i class="fa fa-envelope"></i></a></li>
		        	<li><a href="https://www.facebook.com/abservetech/"><i class="fa fa-facebook"></i></a></li>
		        	<li><a href="https://twitter.com/abservetech/"><i class="fa fa-twitter"></i></a></li>
		        	<li><a href="http://google.com/+AbservetechIT/"><i class="fa fa-google-plus"></i></a></li>
		        </ul> 
		    </div>
		</div>		

	</div>

<div class="modal fade" id="abserve-modal" tabindex="-1" role="dialog">
<div class="modal-dialog">
  <div class="modal-content">
	<div class="modal-header bg-default">
		
		<button type="button " class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
		<h4 class="modal-title">Modal title</h4>
	</div>
	<div class="modal-body" id="abserve-modal-content">

	</div>

  </div>
</div>
</div>

<div class="theme-config">
    <div class="theme-config-box">
        <div class="spin-icon">
            <i class="fa fa-cogs fa-spin"></i>
        </div>
        <div class="skin-setttings">
            <div class="title">Select Color Schema</div>
            <div class="setings-item">
                    <ul>
	                    <li><a href="<?php echo e(url('home/skin/abserve')); ?>"> Default Skin  <span class="pull-right default-skin"> </span></a></li> 
	                    <li><a href="<?php echo e(url('home/skin/abserve-dark-blue')); ?>"> Dark Blue Skin <span class="pull-right dark-blue-skin"> </span> </a></li> 
	                    <li><a href="<?php echo e(url('home/skin/abserve-light-blue')); ?>"> Light Blue Skin <span class="pull-right light-blue-skin"> </span> </a></li> 
	                   
                    </ul>

                
            </div>
            
        </div>
    </div>
</div>
		<script language="javascript">
		jQuery(document).ready(function($)	{
		   $('.markItUp').markItUp(mySettings );
		});
		</script>

<?php echo e(Sitehelpers::showNotification()); ?> 
<script type="text/javascript">
jQuery(document).ready(function ($) {

    $('#sidemenu').abserveMenu();
	$('.spin-icon').click(function () {
        $(".theme-config-box").toggleClass("show");
    });

	var currentSegment = "<?php echo e(Request::segment(1)); ?>";
	
	if (currentSegment !== 'archiveattendance' && currentSegment !== 'archivematerialreturns' && currentSegment !== 'archivematerialoutwards' && currentSegment !== 'archive_product_report' && currentSegment !== 'archive_return_report') { 
	    $('li[data-segment="archiveattendance"]').hide();

	} else { 
	    $('li[data-segment!="archiveattendance"][data-segment!="archivematerialoutwards"][data-segment!="archivematerialreturns"][data-segment!="profile-segment"]').hide();
	    $('li[data-url="Archive Product Report"],[data-url="Archive Retrun Report"]').show();
	}

	/*setInterval(function(){ 
		var noteurl = $('.notif-value').attr('code'); 
		$.get( noteurl +'/notification/load',function(data){
			$('.notif-alert').html(data.total);
			var html = '';
			$.each( data.note, function( key, val ) {
				html += '<li><a href="'+val.url+'"> <div> <i class="'+val.icon+' fa-fw"></i> '+ val.title+'  <span class="pull-right text-muted small">'+val.date+'</span></div></li>';
				html += '<li class="divider"></li>';			 
			});
			html += '<li><div class="text-center link-block"><a href="'+noteurl+'/notification"><strong>View All Notification</strong> <i class="fa fa-angle-right"></i></a></div></li>';
			$('.notif-value').html(html);
		});
	}, 60000);*/
		
});	
	
	
</script>
</body> 
</html>