<!doctype html>
<html lang="en">
  <head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
      
    <!-- Google Font -->
    <link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap" rel="stylesheet">

    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="<?php echo e(url('assets/css/bootstrap.min.css')); ?>">
      
    <!-- font awesome js -->
    <script src="<?php echo e(url('assets/js/fontawesome.js')); ?>"></script>

    <link rel="stylesheet" href="<?php echo e(url('assets/css/zebra_datepicker.min.css')); ?>" type="text/css">
	<link href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" rel="stylesheet" />
      
    <!-- Custom CSS -->
    <link rel="stylesheet" href="<?php echo e(url('assets/css/my-dashstyle.css')); ?>">

    <!--swal css -->
    
   
   <link href="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.css" rel="stylesheet" />
   <script src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.js"></script>
   <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.23/css/jquery.dataTables.css">
   <title>Diollo</title>
  </head>
  <body>
	<div class="pageloader" style="display: none;" >
	</div>
	<div class="header">
      
         <div class="logo">
            <img src="<?php echo e(url('assets/images/logo.png')); ?>">
         </div>
<?php echo $__env->make('include.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php echo $__env->yieldContent('content'); ?> 
<?php echo $__env->make('include.footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
    <script src = "https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
    
    <script src="<?php echo e(url('assets/js/bootstrap.min.js')); ?>"></script>  

     <script src="<?php echo e(url('assets/js/zebra_datepicker.min.js')); ?>"></script>
     <script src="<?php echo e(URL::to('assets/js/validation/additional-methods.js')); ?>"></script>
	 <script src="<?php echo e(URL::to('assets/js/validation/jquery.validate.min.js')); ?>"> </script>  
     <script src="<?php echo e(URL::to('assets/js/vendor.js')); ?>"></script>	

  
     <script type="text/javascript" charset="utf8" src="https://cdn.datatables.net/1.10.23/js/jquery.dataTables.js"></script>

	 
    
	<script>
	
	
	window.baseurl = 'https://www.meddbot.com/';
		$(document).ready(function() {
		var pageRefresh = 5000; //5 s
			setInterval(function() {
				refresh();
			}, pageRefresh);
		});

// Functions

function refresh() {
    $('#msgheader').load(location.href + " #msgheader");
    //$('#div2').load(location.href + " #div2");
}

        function readmessage(id,url){

            var data = {
                            _token	: $('.token_user').val(),
                            id	:id
                        }
                        $.ajax({
                            url: baseurl + 'msg_read',
                            type: "POST",
                            data: data,
                            success: function (res) {
                                window.location = baseurl+url;

                            }

                        });	

        }
	
function readmessage(id,url){
	
	var data = {
					_token	: $('.token_user').val(),
					id	:id
				}
				$.ajax({
					url: baseurl + 'msg_read',
					type: "POST",
					data: data,
					success: function (res) {
						
						window.location = baseurl+url;
						
					}
					
				});	
	
}
	
	
	
	
	
//$(".product-submit").click(function(){
//$(".pageloader").show();
//$(".pageloader").delay(5000).fadeOut("slow");
//});
</script>
<script>
    $(document).ready(function(){
  $("#demoq i").click(function(){
    $(".notification-list").fadeToggle("fast");
   
  });
});
$(document).click(function (event) {            
    $('.notification-list').hide();
}); 
</script>
    <?php echo $__env->yieldContent('scripts'); ?>

  </body>
</html><?php /**PATH /home/meddbot/public_html/resources/views/layouts/main_service.blade.php ENDPATH**/ ?>