<!DOCTYPE html>
<html class="bg-black">
    <head>
        <meta charset="UTF-8">
        <title><?= ($app['title']) ?> - <?= ($ERROR['code']) ?> <?= ($ERROR['status']) ?></title>
        <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
        <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
        <link href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
        <!-- Theme style -->
        <link href="<?= ($BASE) ?>/assets/css/AdminLTE.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="bg-black">

        <div class="form-box" style="width: 90%;white-space: nowrap;">
            <div class="header <?= (isset($settings['admin']['color']) && $settings['admin']['color'] ? ' bg-'.$settings['admin']['color'] : '') ?>"><?= ($ERROR['code']) ?> <?= ($ERROR['status']) ?></div>
            <div class="body bg-gray">
                <?php if ($DEBUG): ?>
                    
                    <h4 style="overflow-x:auto;overflow-y:hidden;"><?= ($ERROR['text']) ?></h4>
                    <div style="text-align:left;overflow-x:auto;overflow-y:hidden;"><br>
                        <?= (View::instance()->raw(nl2br($ERROR['trace'])))."
" ?>
                    </div>
                    
                    <?php else: ?>
                    <h4>Contate o administrador</h4>
                    
                <?php endif; ?>
                
            </div>

            <div class="margin text-center">
                <span>Copyright SoftSAT 2016</span>
                <!--<span>Sign in using social networks</span>
                <br/>
                <button class="btn bg-light-blue btn-circle"><i class="fa fa-facebook"></i></button>
                <button class="btn bg-aqua btn-circle"><i class="fa fa-twitter"></i></button>
                <button class="btn bg-red btn-circle"><i class="fa fa-google-plus"></i></button>-->
            </div>
        </div>

        <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
        <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js" type="text/javascript"></script>

    </body>
</html>