<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title><?php echo e(get_company_name()); ?></title>
    <link rel="icon" type="image/png" sizes="16x16" href="<?php echo e(asset('assets/img/favicon.png')); ?>">
    <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
    <!-- Bootstrap 3.3.2 -->
    <link href="<?php echo e(asset('assets/css/bootstrap.min.css')); ?>" rel="stylesheet" type="text/css" />
    <!-- Font Awesome Icons -->
    <link href="<?php echo e(asset('assets/css/font-awesome.min.css')); ?>" rel="stylesheet" type="text/css" />
    <!-- Theme style -->
    <link href="<?php echo e(asset('assets/css/theme.min.css')); ?>" rel="stylesheet" type="text/css" />
    <!-- AdminLTE Skins. Choose a skin from the css/skins-->
    <link href="<?php echo e(asset('assets/css/theme-skin.min.css')); ?>" rel="stylesheet" type="text/css" />
    <link href="<?php echo e(asset('assets/css/pace.css')); ?>" rel="stylesheet" type="text/css" />
    <link href="<?php echo e(asset('assets/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css')); ?>" rel="stylesheet" type="text/css" />
    <link href="<?php echo e(asset('assets/css/bootstrap-datetimepicker.min.css')); ?>" rel="stylesheet" type="text/css" />
    <link href="<?php echo e(asset('assets/plugins/chosen/chosen.css')); ?>" rel="stylesheet" type="text/css" />
    <link href="<?php echo e(asset('assets/plugins/animsition/css/animsition.min.css')); ?>" rel="stylesheet" type="text/css">
    <link href="<?php echo e(asset('assets/plugins/toastr/toastr.min.css')); ?>" rel="stylesheet" type="text/css">
    <link href="<?php echo e(asset('assets/css/style.css')); ?>" rel="stylesheet" type="text/css" />

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[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.3.0/respond.min.js"></script>
    <![endif]-->
</head>
<body class="skin-blue">
<div class="wrapper animsition">

<header class="main-header">
<!-- Logo -->
    <a href="<?php echo e(url('/')); ?>" class="logo"><img src="<?php echo e(asset('assets/img/logo.png')); ?>" alt="logo"/></a>
<!-- Header Navbar: style can be found in header.less -->
<nav class="navbar navbar-fixed-top navbar-default" role="navigation">
    <!-- Sidebar toggle button-->
    <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
        <span class="sr-only">Toggle navigation</span>
    </a>
<!-- Navbar Right Menu -->
<div class="navbar-custom-menu">
<ul class="nav navbar-nav">

    <li class="dropdown">
        <a href="#" class="dropdown-toggle" data-toggle="dropdown"><img src="<?php echo e(asset('assets/img/flags/'.Config::get('languages')[App::getLocale()]['image'])); ?>" class="language-img"><?php echo e(Config::get('languages')[App::getLocale()]['native']); ?> <b class="caret"></b></a>
        <ul class="dropdown-menu">
            <?php foreach(Config::get('languages') as $localeCode => $properties): ?>
            <?php if($localeCode != App::getLocale()): ?>
            <li>
                <a rel="alternate" href="<?php echo e(url('lang', $localeCode)); ?>">
                    <img src="<?php echo e(asset('assets/img/flags/'.$properties['image'])); ?>" class="language-img"><?php echo e($properties['native']); ?>

                </a>
            </li>
            <?php endif; ?>
            <?php endforeach; ?>
        </ul>
    </li>

<!-- User Account: style can be found in dropdown.less -->
<li class="dropdown user user-menu">
    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
        <?php if(Auth::check()): ?>
        <img src="<?php echo e(asset( Auth::user()->photo != '' ? 'assets/img/uploads/'.Auth::user()->photo : 'assets/img/uploads/no-image.jpg')); ?>" class="user-image" alt="User Image"/>
        <span class="hidden-xs"> <?php echo e(Auth::user()->name); ?> </span>
        <?php endif; ?>
        <b class="caret"></b>
    </a>
    <ul class="dropdown-menu">
        <!-- User image -->
        <li class="user-header">
            <?php if(Auth::check()): ?>
            <img src="<?php echo e(asset( Auth::user()->photo != '' ? 'assets/img/uploads/'.Auth::user()->photo : 'assets/img/uploads/no-image.jpg')); ?>" class="img-circle" alt="User Image" />
            <p><?php echo e(Auth::user()->name); ?> </p>
            <?php endif; ?>
        </li>
        <!-- Menu Footer-->
        <li class="user-footer">
            <div class="pull-left">
                <a href="<?php echo e(url('profile')); ?>" class="btn btn-info btn-flat">Profile</a>
            </div>
            <div class="pull-right">
                <a href="<?php echo e(url('/auth/logout')); ?>" class="btn btn-danger btn-flat">Sign out</a>
            </div>
        </li>
    </ul>
</li>
    
</ul>
</div>
</nav>
</header>
<!-- Left side column. contains the logo and sidebar -->

<?php echo $__env->make('nav', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<?php echo $__env->yieldContent('content'); ?>

</div><!-- /.content-wrapper -->
    <div id="ajax-modal" class="modal fade" tabindex="-1" role="dialog" data-backdrop="static"></div>
</div><!-- ./wrapper -->

<!-- jQuery 2.1.3 -->
<script src="<?php echo e(asset('assets/js/jquery-2.1.3.min.js')); ?>"></script>
<!-- Bootstrap 3.3.2 JS -->
<script src="<?php echo e(asset('assets/js/bootstrap.min.js')); ?>" type="text/javascript"></script>
<!-- Bootstrap Dialog -->
<script src="<?php echo e(asset('assets/js/bootstrap-dialog.js')); ?>"></script>
<!-- Jquery Datatables -->
<script src="<?php echo e(asset('assets/js/jquery.dataTables.js')); ?>"></script>
<!-- Datatables -->
<script src="<?php echo e(asset('assets/js/datatables.js')); ?>"></script>
<!-- Pace.js -->
<script src="<?php echo e(asset('assets/js/pace.min.js')); ?>"></script>
<!-- summernote.js javascript -->
<script src="<?php echo e(asset('assets/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js')); ?>"></script>
<!-- datepicker.js javascript-->
<script src="<?php echo e(asset('assets/js/bootstrap-datetimepicker.min.js')); ?>"></script>
<!-- chosen.js javascript-->
<script src="<?php echo e(asset('assets/plugins/chosen/chosen.jquery.js')); ?>"></script>
<script src="<?php echo e(asset('assets/plugins/animsition/js/jquery.animsition.min.js')); ?>" type="text/javascript"></script>
<!-- validator.js javascript-->
<script src="<?php echo e(asset('assets/js/validator.min.js')); ?>"></script>
<!-- toastr.js javascript-->
<script src="<?php echo e(asset('assets/plugins/toastr/toastr.min.js')); ?>"></script>
<!-- custom.js -->
<script src="<?php echo e(asset('assets/js/app.js')); ?>"></script>
<script src="<?php echo e(asset('assets/js/custom.js')); ?>"></script>
<?php echo $__env->yieldContent('scripts'); ?>

<?php if(Session::has('flash_notification.message')): ?>

<script>
    $(document).ready(function() {
        toastr.options = {"positionClass": "toast-bottom-right"}
        toastr.<?php echo e(Session::get('flash_notification.level')); ?>

        ('<?php echo e(Session::get('flash_notification.message')); ?>', '<?php echo e(ucfirst(Session::get('flash_notification.level'))); ?>');

    });
</script>
<?php endif; ?>
</body>
</html>