header("Strict-Transport-Security: max-age=31536000; preload"); header("Referrer-Policy: same-origin"); header("Feature-Policy: fullscreen 'self'; sync-xhr 'self'"); header("X-Content-Type-Options: nosniff"); header("X-Xss-Protection: 1; mode=block"); header("Content-Security-Policy: default-src 'self' 'unsafe-inline' www.google-analytics.com maps.google.com www.google.com www.googletagmanager.com ajax.googleapis.com; script-src 'self' 'unsafe-inline' 'unsafe-eval' www.google-analytics.com www.googletagmanager.com ajax.google.com www.google.com ajax.googleapis.com; frame-ancestors 'self' www.google.com/maps/; img-src 'self' data"); header("Expect-CT: max-age=86400, enforce"); header("Permissions-Policy: fullscreen=(self),sync-xhr=(self),geolocation=(),camera=(),microphone=()"); include_once('includes/config_inc.php'); function cabecera($menu_seleccionado, $css = '', $metas = '', $extra = array() ) { $submenu_seleccionado = 0; if ( strpos($menu_seleccionado, ',') !== false ) { list($menu_seleccionado, $submenu_seleccionado) = explode(',', $menu_seleccionado); } $menu1 = ( $menu_seleccionado == 1 ) ? ' active current' : ''; $menu2 = ( $menu_seleccionado == 2 ) ? ' active current' : ''; $menu3 = ( $menu_seleccionado == 3 ) ? ' active current' : ''; $menu4 = ( $menu_seleccionado == 4 ) ? ' active current' : ''; $menu5 = ( $menu_seleccionado == 5 ) ? ' active current' : ''; $menu6 = ( $menu_seleccionado == 6 ) ? ' active current' : ''; $menu7 = ( $menu_seleccionado == 7 ) ? ' active current' : ''; $submenu1 = ( $submenu_seleccionado == 1 ) ? ' active current' : ''; $submenu2 = ( $submenu_seleccionado == 1 ) ? ' active current' : ''; $barra_aleatoria = str_pad(rand(1,8), 2, '0', STR_PAD_LEFT); $pintar_caja = ( $menu_seleccionado != 1 ) ? 'id="content"' : ''; header('Content-Type: text/html; charset=UTF-8'); ini_set('default_charset','UTF-8'); ?>
if ( is_array($metas) ) { foreach ($metas as $meta) { echo "\t" . $meta . "\n"; } } else if ( $metas != '' ) { echo "\t" . $meta . "\n"; } ?>