<?php if(Session::get('user_fake')): ?> 
    <?php if(!Auth::user()->logout): ?>
        <script>
            window.location.href="<?php echo e(route('meus.tickets')); ?>";
        </script>
    <?php endif; ?>
<?php endif; ?>
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en">
<!--<![endif]-->
    <head>        
        <title>TW Solutions</title>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta content="width=device-width, initial-scale=1" name="viewport" />
        <meta content="" name="description" />
        <meta content="" name="author" />
        <?php echo $__env->make('includes.css', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
        <?php if(getenv('APP_ENV') == 'production'): ?>
            <!-- Facebook Pixel Code -->
            <script>
            !function(f,b,e,v,n,t,s)
            {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
            n.callMethod.apply(n,arguments):n.queue.push(arguments)};
            if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
            n.queue=[];t=b.createElement(e);t.async=!0;
            t.src=v;s=b.getElementsByTagName(e)[0];
            s.parentNode.insertBefore(t,s)}(window, document,'script',
            'https://connect.facebook.net/en_US/fbevents.js');
            fbq('init', '347347085465033');
            fbq('track', 'PageView');
            </script>
            <noscript><img height="1" width="1" style="display:none"
            src="https://www.facebook.com/tr?id=347347085465033&ev=PageView&noscript=1"
            /></noscript>
            <!-- End Facebook Pixel Code -->
        <?php endif; ?>
        
    </head>
    <!-- END HEAD -->

    <body class="page-container-bg-solid page-header-top-fixed page-header-menu-fixed">

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

            <!-- BEGIN CONTAINER -->
            <div class="page-container" id="myContainer">
                <!-- BEGIN CONTENT -->
                <div class="page-content-wrapper">
                    <!-- BEGIN PAGE HEAD-->
                    <div class="page-head">
                        <div class="container-fluid">
                            <?php if(! Auth::guest()): ?>
                                <!-- BEGIN PAGE TITLE -->
                                <div class="page-title">
                                    <h1>
                                        Dashboard | Usuário
                                        <small><?php echo e(Auth::user()->name); ?></small>
                                    </h1>
                                </div>
                                <!-- END PAGE TITLE -->
                            </div>
                            <!-- END PAGE HEAD-->
                            <?php endif; ?>
                        <?php echo $__env->yieldContent('content'); ?>
                    </div>
                </div>
                <!-- END PAGE HEAD-->
            </div>
            <!-- END CONTENT -->
        </div>
        <!-- END CONTAINER -->
        
        <?php echo $__env->make('includes.footer', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>

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

    </body>
    
    <?php if(getenv('APP_ENV') == 'production'): ?>
        <!-- Global site tag (gtag.js) - Google Analytics -->
        <script async src="https://www.googletagmanager.com/gtag/js?id=UA-101630449-4"></script>
        <script>
            window.dataLayer = window.dataLayer || [];
            function gtag(){dataLayer.push(arguments);}
            gtag('js', new Date());
            gtag('config', 'UA-101630449-4');
        </script>
    <?php endif; ?>

</html>