<?php
include_once 'data/rutinasHOL.php';
include_once './autoloader.php';
$logo = getenv('HOL_LOGO');
$logowhite = getenv('HOL_LOGO_WHITE');
$sombra = getenv('HOL_LOGO_SOMBRA');
if($_GET && $_GET['br']){
  header('Location: ../showqr.php?br='.$_GET['br']);  
  exit;
}else{
  header('Location: ../system.php?'.bin2hex(openssl_random_pseudo_bytes(32)));
  exit;
}

$bucket_cds = getenv('AWS_S3_BUCKET_PUBLIC_CDS');
$s3 = Registry::get(S3Service::class);

?>
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>HOL 5.0</title>
    <link href="<?php echo $s3->linkCdn($bucket_cds, 'css/bootstrap2.min.css'); ?>" rel="stylesheet" type="text/css">
    <link href="<?php echo $s3->linkCdn($bucket_cds, 'css/hol.css'); ?>" rel="stylesheet" type="text/css">

    <!--[if lt IE 7] <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="es"> <![endif]-->
    <!--[if IE 7] <html class="no-js lt-ie9 lt-ie8" lang="es"> <![endif]-->
    <!--[if IE 8] <html class="no-js lt-ie9" lang="es"> <![endif]-->
    <!--[if gt IE 8] <html class="no-js"  lang="es"> <![endif]-->
    <link href="<?php echo $s3->linkCdn($bucket_cds, 'imagenes/logo/iconohol.png'); ?>" rel="icon" type="image/png"/>
    <meta name="google" content="notranslate">
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="title" content="Venta y Alquiler de Inmuebles | Red de Agentes Inmobiliarios HOUSEonline | houseonline.pe"/>
    <meta name="description" content="El sitio web para comprar o alquilar inmuebles en el Perú, Sistema Inmobiliario HOUSEonline"/>
    <meta name="keywords" content="Casas, Departamentos, Oficinas, Terrenos, Penthouse, Lofts, Casas de playa, Locales Comerciales"/>
    <meta name="author" content="houseonline.pe"/>
    <meta name="viewport" content="width=device-width"/>
    <meta name="language" content="es"/>
    <meta name="robots" content="index,follow"/>
    <meta name="geo.region" content="PE-LIM"/>
    <meta name="geo.placename" content="Cercado de Lima"/>
    <meta name="geo.position" content="-12.9478;-77.0622"/>
    <meta name="ICBM" content="-12.0478, -77.0622"/>
    <meta property="og:title" content="Venta y Alquiler de Inmuebles | Red de Agentes Inmobiliarios HOUSEonline | houseonline.pe"/>
    <meta property="og:description" content="El sitio web para comprar o alquilar inmuebles en el Perú, Sistema Inmobiliario HOUSEonline"/>
    <meta property="og:image" content="images/houseonline.jpg"/>
    <meta name="DC.Title" content="Venta y Alquiler de Inmuebles | Red de Agentes Inmobiliarios HOUSEonline | houseonline.pe"/>
    <meta name="DC.Creator" content="Oscar Arana Fernandez Davila"/>
    <meta name="DC.Description" content="El sitio web para comprar o alquilar inmuebles en el Perú, Sistema Inmobiliario HOUSEonline"/>
    <meta name="DC.Publisher" content="houseline.pe"/>
    <meta name="DC.Contributor" content="hol.pe"/>
    <meta name="DC.Language" content="es"/>
    <meta name="referrer" content="no-referrer-when-downgrade">  
</head>
<body>
    <nav class="navbar navbar-expand-lg navbar-dark bg-dark" >
      <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarTogglerDemo02" aria-controls="navbarTogglerDemo02" aria-expanded="false" aria-label="Toggle navigation">
        <span class="navbar-toggler-icon"></span>
      </button>
      <div class="collapse navbar-collapse row" id="navbarTogglerDemo02">
        <div class="col-md-5">
          <ul class="navbar-nav m-auto" style="font-size: 18px !important">
            <li class="nav-item">
              <a class="nav-link" href="agentes.php">Buscar un Agente</a>
            </li>
          </ul>
        </div>
        <div class="col-md-2">
          <a class="navbar-brand" href="#" style="color:#FFF;font-size: 24px"><b>House</b>online</a>        
        </div>
        <div class="col-md-5">
          <ul class="navbar-nav m-auto float-right" style="font-size: 18px !important">
            </li>
            <li class="nav-item">
              <a class="nav-link" href="sistema.php" id="ancho">Sistema HOL</a>
            </li>
          </ul>
        </div>
      </div>
    </nav>   
    <div class="container-fluid px-0 banner-p">
        <img src="imagenes/web/fondolimaA.jpg" width="100%">
        <div class="container contenedor-formulario">
          <form class="form font-weight-light" id="formulario-busqueda">
            <h1 class="mt-2 text-center text-white">Descubre   el inmueble de tus sueños</h1>
            <h3 class="mt-2 text-center text-white">Nosotros te ayudaremos a encontrarlo</h3>
            <div class="container w-75 rounded">
            <input type="text" class="text-dark my-md-4 p-3 p-md-4 border-0 rounded" style="width: 100%" placeholder="Ingresa una calle, urbanización, distrito o departamento">
            </div>
          </form>
        </div>
    </div>
    <!--<div class="caja-btnacceso" onclick="window.open('modulos/hol.php','_self');"><b>Entrar</b></div>-->
</body>
<script type="text/javascript" src="<?php echo $s3->linkCdn($bucket_cds, 'js/jquery.min.js'); ?>"></script>
<script type="text/javascript" src="<?php echo $s3->linkCdn($bucket_cds, 'js/bootstrap.min.js'); ?>"></script>
<script type="text/javascript" src="<?php echo $s3->linkCdn($bucket_cds, 'js/popper.min.js'); ?>"></script>
<script type="text/javascript" src="<?php echo $s3->linkCdn($bucket_cds, 'js/index.js?'.rand()); ?>"></script>
</html>

