<!DOCTYPE html>
<!--[if lt IE 9]><script src="<?php echo asset('js/respond.min.js'); ?>"></script><![endif]-->
<!--[if IE 9]><html class="lt-ie10" lang="en" > <![endif]-->
<html class="no-js" lang="en" >

<head>
    <meta charset="utf-8">
    <!-- If you delete this meta tag World War Z will become a reality -->
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="pragma" content="no-cache">

    <meta http-equiv="cache-control" content="private, max-age=0, no-cache">
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="expires" content="0">

    <title>Prestige | <?php echo $__env->yieldContent('title'); ?></title>

    <!-- If you are using the CSS version, only link these 2 files, you may add app.css to use for your overrides if you like -->
    <link rel="stylesheet" href="<?php echo asset('/css/normalize.css'); ?>">
    <link rel="stylesheet" href="<?php echo asset('/css/foundation.css'); ?>">
    <link rel="stylesheet" href="<?php echo asset('/css/font-awesome.min.css'); ?>">
    <link rel="stylesheet" href="<?php echo asset('/css/app.css'); ?>">
    <link rel="stylesheet" href="<?php echo asset('/css/styles.css'); ?>">
    <link rel="stylesheet" href="<?php echo asset('/css/slick.css'); ?>">

    <?php echo $__env->yieldContent('styles'); ?>

    <script src="<?php echo asset('/js/vendor/modernizr.js'); ?>"></script>
    <script type="text/javascript">
    $(window).load(function() {
        $(".loader").fadeOut("slow");
    });
    </script>
    <script>
    var myVar;

    function myFunction() {
        myVar = setTimeout(showPage, 3000);
    }

    function showPage() {
      document.getElementById("loader").style.display = "none";
      document.getElementById("myDiv").style.display = "block";
    }
    </script>


</head>
<?php if(Session::has('view-search-error')): ?>
    <div data-alert class="alert-box alert">
        <?php echo Session::get('view-search-error'); ?>

        <a href="#" class="close">&times;</a>
    </div>
<?php endif; ?>

<!-- error message -->
<?php if(Session::has('view-error')): ?>
    <div data-alert class="alert-box alert">
        <?php echo Session::get('view-error'); ?>

        <a href="#" class="close">&times;</a>
    </div>
<?php endif; ?>

<!-- success message -->
<?php if(Session::has('view-success')): ?>
    <div data-alert class="alert-box">
        <?php echo Session::get('view-success'); ?>

        <a href="#" class="close">&times;</a>
    </div>
<?php endif; ?>
<body onload="myFunction()" style="margin:0;z-index: -1;">
<div id="loader"></div>
<div style="display:none;" id="myDiv" class="animate-bottom">
<!-- body content here -->

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

<script src="<?php echo asset('/js/vendor/jquery.js'); ?>"></script>

<script src="<?php echo asset('/js/foundation.min.js'); ?>"></script>
<script>
    $(document).foundation();
</script>
<script>

</script>
<script src="<?php echo asset('/js/scripts.js'); ?>" type="text/javascript"></script>
<script type="text/javascript">
    $(document).ready(function() {
            window.history.pushState(null, "", window.location.href);
            window.onpopstate = function() {
                window.history.pushState(null, "", window.location.href);
            };
        });
</script>

<?php echo $__env->yieldContent('scripts'); ?>
</div>
</body>
</html>