<?php
header('Cache-Control: no-cache');
header('Pragma: no-cache');

$idioma = "es";
if (isset($_COOKIE["idioma"])) {
    $idioma = isset($_COOKIE["idioma"]) ? $_COOKIE["idioma"] : "es";
}
?>
<!DOCTYPE html>
<html translate="no" lang="es">

<head>

	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
	<meta name="description" content="">
	<meta name="author" content="">

	<title><?=SITE_NAME;?></title>

	<!-- Bootstrap core CSS -->
	<link href="<?=VENDORAGENTE;?>bootstrap/css/bootstrap.css" rel="stylesheet">

	<!-- Custom styles for this template -->
	<link href="<?=CSS;?>style.css?version=<?=rand(1, 99999999);?>" rel="stylesheet">

	<!-- Custom styles for this template -->
	<link href="<?=CSS;?>phone.css?version=<?=rand(1, 99999999);?>" rel="stylesheet">
	<link href="<?=CSS;?>flag-icon.css?version=<?=rand(1, 99999999);?>" rel="stylesheet">

	<!-- Custom styles for this template -->
	<link href="<?=VENDORAGENTE;?>fontawesome/fontawesome-free-5.5.0-web/css/all.css" rel="stylesheet">
	<link href="<?=LIB_JS;?>fonts/fonts.css" rel="stylesheet">
	<script src="<?=JS_ADMIN;?>gettext.js" type="text/javascript"></script>
	<script src="<?=JS_ADMIN;?>traduccion.js?version=<?= md5_file(RUTA_APP . "public/homeAdmin/js/traduccion.js"); ?>" type="text/javascript"></script>
	<script>
		seleccionarIdioma("<?=$idioma;?>")
	</script>
</head>

<body style="overflow-y:auto" onload="document.body.scrollTop = document.documentElement.scrollTop = 0;" onbeforeunload="salir(true);">