<?php
$path=asset('adminkit').'/';
$version_ = '?v='. $version;
?>
<!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, shrink-to-fit=no">
	<meta name="description" content="นครพนม oneplan">
	<meta name="author" content="จังหวัดนครพนม">
	<meta name="keywords" content="จังหวัดนครพนม,ONE PLAN">

	<link rel="preconnect" href="https://fonts.gstatic.com">
	<link rel="shortcut icon" href="img/icons/icon-48x48.png" />

	<link rel="canonical" href="#" />

	<title><?php echo e(config('app.name')); ?></title>
	<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
 
	<link href="<?php echo e($path); ?>css/app.css<?php echo e($version_); ?>" rel="stylesheet">
	    <script defer src="<?php echo e(asset('assets/plugins/fontawesome/js/all.min.js')); ?>"></script>

	        <link rel="shortcut icon" href="<?php echo e(asset('assets/images/app-logo.png')); ?>" />
<link href="https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=K2D:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&family=Pridi:wght@200;400;500;600&family=Sarabun:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap" rel="stylesheet">
    <link href="<?php echo e(asset('/')); ?>/dpicker/datepicker.css" rel="stylesheet" media="screen">
    <link href="<?php echo e(asset('/')); ?>/dpicker/prettify.css" rel="stylesheet">
	<style>

    body{ font-family: "Sarabun" , sans-serif;;}
    h1,h2,h3,h4,h5,h6{font-family: "K2D";    }

.text-right{ text-align:right}
.text-muted{ text-align:center; margin-bottom:0 !important}
 table thead td,table thead th {  font-weight:bold !important; text-align: center;}
.text-white{ color: white !important }
 /* custom toolstrip */
.success-tooltip {
  --bs-tooltip-bg: green;
  --bs-tooltip-color: white;
}
.danger-tooltip {
  --bs-tooltip-bg: red;
  --bs-tooltip-color: white;
}
.warning-tooltip {
  --bs-tooltip-bg: orange;
  --bs-tooltip-color: white;
}
.primary-tooltip {
  --bs-tooltip-bg: blue;
  --bs-tooltip-color: white;
}
 
 /* custom toolstrip */ 
 .dropdown-item{ margin: 2px;}
.ui-menu-item{ cursor: pointer !important;}
.ui-menu-item:hover{ background:rgb(199, 200, 202); font-weight: bold;}
.ui-menu{ background: white !important; border: 1px solid gray; }
.un-link{ text-decoration: none !important ; cursor:  pointer; color: black !important; }
.un-link:hover{ color:rgb(0, 102, 255) !important;}
.bg-grey{     background: #e7e6e4 !important;
}
.table tfoot td{ font-weight: bold; background: #bcbcbc !important}
.chosen-container , .form-control , body,.btn{ 
    font-size: 1rem; }
 
.page-title .btn,.page-title .btn-group ,.float-right { float:right}
 .page-title .btn-group { margin-top: -1rem;}
.form-group{ margin-bottom: .75rem;}
	.sidebar-nav{ font-size: .85rem}
	.card-title{ font-size: 1.25rem; font-weight: bolder; margin-bottom: 1rem;}
	.uploaded-file-name{ display: none;}
	h5{ font-size:1.15rem }
	.form-group .control-label,.right{ text-align: right;}
.float-right{ float: right;}
.float-left{ float: left;}
.text-white .my-1{ color:white !important}
</style>  
	<?php echo $__env->yieldContent('style'); ?>
</head>

<body>
	<div class="wrapper">
        <!--Side bar---->
		<nav id="sidebar" class="sidebar js-sidebar">
			<div class="sidebar-content js-simplebar">
				<a class="sidebar-brand" href="<?php echo e(route('home')); ?>">
          <span class="align-middle"><?php echo e(config('app.name_th')); ?></span>
        </a>

		<?php if(auth()->user()->permission=='ADMIN'): ?>
				<?php echo $__env->make('layouts.admin-menu', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
				<?php else: ?>
<?php echo $__env->make('layouts.user-menu', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
				<?php endif; ?>

		 
			</div>
		</nav>
<!--/ Side bar---->
		<div class="main">
          
		<!----Nav bar---->
	<nav class="navbar navbar-expand navbar-light navbar-bg">
				<a class="sidebar-toggle js-sidebar-toggle">
          <i class="hamburger align-self-center"></i>
        </a>

				<div class="navbar-collapse collapse">
					<ul class="navbar-nav navbar-align">
						<?php
						/*
						<li class="nav-item dropdown">
							<a class="nav-icon dropdown-toggle" href="#" id="alertsDropdown" data-bs-toggle="dropdown">
								<div class="position-relative">
									<i class="align-middle" data-feather="bell"></i>
									<span class="indicator">4</span>
								</div>
							</a>
							<div class="dropdown-menu dropdown-menu-lg dropdown-menu-end py-0" aria-labelledby="alertsDropdown">
								<div class="dropdown-menu-header">
									4 New Notifications
								</div>
								<div class="list-group">
									<a href="#" class="list-group-item">
										<div class="row g-0 align-items-center">
											<div class="col-2">
												<i class="text-danger" data-feather="alert-circle"></i>
											</div>
											<div class="col-10">
												<div class="text-dark">Update completed</div>
												<div class="text-muted small mt-1">Restart server 12 to complete the update.</div>
												<div class="text-muted small mt-1">30m ago</div>
											</div>
										</div>
									</a>
									<a href="#" class="list-group-item">
										<div class="row g-0 align-items-center">
											<div class="col-2">
												<i class="text-warning" data-feather="bell"></i>
											</div>
											<div class="col-10">
												<div class="text-dark">Lorem ipsum</div>
												<div class="text-muted small mt-1">Aliquam ex eros, imperdiet vulputate hendrerit et.</div>
												<div class="text-muted small mt-1">2h ago</div>
											</div>
										</div>
									</a>
									<a href="#" class="list-group-item">
										<div class="row g-0 align-items-center">
											<div class="col-2">
												<i class="text-primary" data-feather="home"></i>
											</div>
											<div class="col-10">
												<div class="text-dark">Login from 192.186.1.8</div>
												<div class="text-muted small mt-1">5h ago</div>
											</div>
										</div>
									</a>
									<a href="#" class="list-group-item">
										<div class="row g-0 align-items-center">
											<div class="col-2">
												<i class="text-success" data-feather="user-plus"></i>
											</div>
											<div class="col-10">
												<div class="text-dark">New connection</div>
												<div class="text-muted small mt-1">Christina accepted your request.</div>
												<div class="text-muted small mt-1">14h ago</div>
											</div>
										</div>
									</a>
								</div>
								<div class="dropdown-menu-footer">
									<a href="#" class="text-muted">Show all notifications</a>
								</div>
							</div>
						</li>

						<li class="nav-item dropdown">
							<a class="nav-icon dropdown-toggle" href="#" id="messagesDropdown" data-bs-toggle="dropdown">
								<div class="position-relative">
									<i class="align-middle" data-feather="message-square"></i>
								</div>
							</a>
							<div class="dropdown-menu dropdown-menu-lg dropdown-menu-end py-0" aria-labelledby="messagesDropdown">
								<div class="dropdown-menu-header">
									<div class="position-relative">
										4 New Messages
									</div>
								</div>
								<div class="list-group">
									<a href="#" class="list-group-item">
										<div class="row g-0 align-items-center">
											<div class="col-2">
												<img src="img/avatars/avatar-5.jpg" class="avatar img-fluid rounded-circle" alt="Vanessa Tucker">
											</div>
											<div class="col-10 ps-2">
												<div class="text-dark">Vanessa Tucker</div>
												<div class="text-muted small mt-1">Nam pretium turpis et arcu. Duis arcu tortor.</div>
												<div class="text-muted small mt-1">15m ago</div>
											</div>
										</div>
									</a>
									<a href="#" class="list-group-item">
										<div class="row g-0 align-items-center">
											<div class="col-2">
												<img src="img/avatars/avatar-2.jpg" class="avatar img-fluid rounded-circle" alt="William Harris">
											</div>
											<div class="col-10 ps-2">
												<div class="text-dark">William Harris</div>
												<div class="text-muted small mt-1">Curabitur ligula sapien euismod vitae.</div>
												<div class="text-muted small mt-1">2h ago</div>
											</div>
										</div>
									</a>
									<a href="#" class="list-group-item">
										<div class="row g-0 align-items-center">
											<div class="col-2">
												<img src="img/avatars/avatar-4.jpg" class="avatar img-fluid rounded-circle" alt="Christina Mason">
											</div>
											<div class="col-10 ps-2">
												<div class="text-dark">Christina Mason</div>
												<div class="text-muted small mt-1">Pellentesque auctor neque nec urna.</div>
												<div class="text-muted small mt-1">4h ago</div>
											</div>
										</div>
									</a>
									<a href="#" class="list-group-item">
										<div class="row g-0 align-items-center">
											<div class="col-2">
												<img src="img/avatars/avatar-3.jpg" class="avatar img-fluid rounded-circle" alt="Sharon Lessman">
											</div>
											<div class="col-10 ps-2">
												<div class="text-dark">Sharon Lessman</div>
												<div class="text-muted small mt-1">Aenean tellus metus, bibendum sed, posuere ac, mattis non.</div>
												<div class="text-muted small mt-1">5h ago</div>
											</div>
										</div>
									</a>
								</div>
								<div class="dropdown-menu-footer">
									<a href="#" class="text-muted">Show all messages</a>
								</div>
							</div>
						</li>
*/
						?>
						<li class="nav-item dropdown">
							<a class="nav-icon dropdown-toggle d-inline-block d-sm-none" href="#" data-bs-toggle="dropdown">
                <i class="align-middle" data-feather="settings"></i>
              </a>

							<a class="nav-link dropdown-toggle d-none d-sm-inline-block" href="#" data-bs-toggle="dropdown">
                <img src="<?php echo e(asset('assets/images/app-logo.png')); ?>" class="avatar img-fluid rounded me-1" alt="Charles Hall" /> <span class="text-dark"><?php echo e(Auth::user()->name); ?></span>
              </a>
							<div class="dropdown-menu dropdown-menu-end">
								<a class="dropdown-item" href="pages-profile.html"><i class="align-middle me-1" data-feather="user"></i> Profile</a>
								<a class="dropdown-item" href="#"><i class="align-middle me-1" data-feather="pie-chart"></i> Analytics</a>
								<div class="dropdown-divider"></div>
								<a class="dropdown-item" href="<?php echo e(route('home')); ?>"><i class="align-middle me-1" data-feather="settings"></i> Settings & Privacy</a>
								<a class="dropdown-item" href="#"><i class="align-middle me-1" data-feather="help-circle"></i> Help Center</a>
								<div class="dropdown-divider"></div>
								<a class="dropdown-item" href="<?php echo e(route('logout')); ?>" onclick="event.preventDefault();
                                                      document.getElementById('logout-form').submit();">ออกจากระบบ</a>
											<form id="logout-form" action="<?php echo e(route('logout.perform')); ?>" method="POST" class="d-none">
                    <?php echo csrf_field(); ?>
                </form>		  
							</div>
						</li>
					</ul>
				</div>
			</nav>
<!----Nav bar---->
        

			<main class="content">
				<div class="container-fluid p-0">
					<div class="page-title"> 
    <?php echo $__env->yieldContent('title'); ?>
</div>
    
					
<?php echo $__env->yieldContent(  'content'); ?>
					 

				</div>
			</main>

			<footer class="footer">
				<div class="container-fluid">
					<div class="row text-muted">
						<div class="col-6 text-start">
							<p class="mb-0">
								<a class="text-muted" href="<?php echo e(url('/')); ?>" target="_blank"><strong><?php echo e(env('APP_NAME')); ?></strong></a> 						&copy;
							</p>
						</div>
						<?php
						/*
						<div class="col-6 text-end">
							<ul class="list-inline">
								<li class="list-inline-item">
									<a class="text-muted" href="https://adminkit.io/" target="_blank">Support</a>
								</li>
								<li class="list-inline-item">
									<a class="text-muted" href="https://adminkit.io/" target="_blank">Help Center</a>
								</li>
								<li class="list-inline-item">
									<a class="text-muted" href="https://adminkit.io/" target="_blank">Privacy</a>
								</li>
								<li class="list-inline-item">
									<a class="text-muted" href="https://adminkit.io/" target="_blank">Terms</a>
								</li>
							</ul>
						</div>
*/
						?>
					</div>
				</div>
			</footer>
		</div>
	</div>

	<script src="<?php echo e($path); ?>js/app.js<?php echo e($version_); ?>"></script>

 
 

</body>

<script>
var token = '<?php echo e(csrf_token()); ?>';
</script>
    <script src="<?php echo e(asset('//code.jquery.com/jquery-3.5.1.js')); ?>"></script>
<?php echo $__env->yieldContent('script'); ?>


<script src="<?php echo e(asset('/')); ?>/dpicker/prettify.js"></script>
<script src="<?php echo e(asset('/')); ?>/dpicker/bootstrap-datepicker.js?=102"></script>
<script src="<?php echo e(asset('/')); ?>/dpicker/bootstrap-datepicker-thai.js"></script>
<script src="<?php echo e(asset('/')); ?>/dpicker/bootstrap-datepicker.th.js"></script>



<script id="example_script" type="text/javascript">
function demo() {
    $('.datepicker').datepicker();
}
</script>
<script type="text/javascript">
$(function() {
    $('pre[data-source]').each(function() {
        var $this = $(this),
            $source = $($this.data('source'));
        var text = [];
        $source.each(function() {
            var $s = $(this);
            if ($s.attr('type') == 'text/javascript') {
                text.push($s.html().replace(/(\n)*/, ''));
            } else {
                text.push($s.clone().wrap('<div>').parent().html()
                    .replace(/(\"(?=[[{]))/g, '\'')
                    .replace(/\]\"/g, ']\'').replace(/\}\"/g,
                    '\'') // javascript not support lookbehind
                    .replace(/\&quot\;/g, '"'));
            }
        });

        $this.text(text.join('\n\n').replace(/\t/g, '    '));
    });

    prettyPrint();
    demo();
});
</script>
<script>
// Example starter JavaScript for disabling form submissions if there are invalid fields
(function() {
  'use strict';
  window.addEventListener('load', function() {
    // Fetch all the forms we want to apply custom Bootstrap validation styles to
    var forms = document.getElementsByClassName('needs-validation');
    // Loop over them and prevent submission
    var validation = Array.prototype.filter.call(forms, function(form) {
      form.addEventListener('submit', function(event) {
        if (form.checkValidity() === false) {
          event.preventDefault();
          event.stopPropagation();
        }
        form.classList.add('was-validated');
      }, false);
    });
  }, false);
})();
</script>
<script>

$('.btn').each(function () {
  if (!$(this).attr('data-bs-toggle')) {
    $(this).attr('data-bs-toggle', 'tooltip');
  } 
});
$('a').each(function () {
  if (!$(this).attr('data-bs-toggle')) {
    $(this).attr('data-bs-toggle', 'tooltip');
  } 
}); 
  $('label').each(function () {
  if (!$(this).attr('data-bs-toggle')) {
    $(this).attr('data-bs-toggle', 'tooltip');
  } 
});
// Enable all tooltips on the page
  document.querySelectorAll('[data-bs-toggle="tooltip"]').forEach(function (el) {
    new bootstrap.Tooltip(el);
  }); 


</script>


</html><?php /**PATH D:\xampp7.4R1\htdocs\disk8\election\source\resources\views/layouts/app.blade.php ENDPATH**/ ?>