<?php $this->layout=false; ?>
<!DOCTYPE html>
<html lang="pt-br">
  <head>
    <meta charset="iso-8859-1">
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="Pragma" content="no-cache" />
    <meta http-equiv="Expires" content="-1" />
    <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
    <link rel="icon" href="favicon.ico" type="image/x-icon">

    <title>CRM Delvale <?php echo VERSAO ?> - Erro <?php echo $code; ?></title>

    <link href="<?php echo FaHtml::getCssUrl('login/bootstrap/css/bootstrap.min.css', false, true); ?>" rel="stylesheet" type="text/css" />
    <link href="<?php echo FaHtml::getCssUrl('login/font-awesome/css/font-awesome.min.css', false, true); ?>" rel="stylesheet" type="text/css" />
    <link href="<?php echo FaHtml::getCssUrl('login/AdminLTE.min.css', false, true); ?>" rel="stylesheet" type="text/css" />
    <link href="<?php echo FaHtml::getCssUrl('login/skin-blue.min.css', false, true); ?>" rel="stylesheet" type="text/css" />
    <link href="<?php echo FaHtml::getCssUrl('login/custom.css', false, true); ?>" rel="stylesheet" type="text/css" />
    <script src="<?php echo FaHtml::getJsUrl('jquery-2.2.3.min.js', false, true); ?>" type="text/javascript"></script>
    <style type="text/css">
       #obfuscate {
            background: rgba(204, 204, 204, 0.84);
       }
       .login-box {
          width: 50%;
       }
       .login-box .login-box-body div {
       		min-height: 250px;
       }
       legend {
       	text-align: center;
       }
       .login-box .login-box-body div p b {
        font-size: 90%;
        color: #c7254e;
       }
       .login-box .login-box-body pre {
        max-height: 150px;
        overflow-x: hidden;
       }
       .absolute {
        position: absolute;
        right: 15px;
       }
   </style>
    <!-- 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/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>
  <body class="hold-transition skin-windel login-page" id="background-<?php echo rand(1, 7); ?>">
    <div id="body-background"></div>
    <div id="obfuscate"></div>
    <div class="login-box">
      <legend class="login-logo">Oops! Usuário bloqueado</legend>
        <div class="login-box-body">
            <fieldset id="step-1">
            <div>
      			<p class="absolute"><a href="<?php echo Yii::app()->user->logout(); ?>">Sair do sistema</a></p>
            <p><b>O seu usuário estará bloqueado até <?php echo substr($bloqueio->FUQ_DATAFIM, 0, -3); ?></b></p>
            <p>Motivo: <?php echo nl2br($bloqueio->FUQ_MENSAGEM); ?></p>
            </div>
            </fieldset>
        </div>
        <input type='hidden' name="base_url" value="<?php echo Yii::app()->getBaseUrl(true); ?>" />
        </div>
    </div>
    <div class="text-center nav navbar-fixed-bottom"><span>CRM versăo <?php echo VERSAO; ?></span><span>Windel Sistemas &bull; Todos os direitos reservados</span></div>
  </body>
</html>
