} else {
            header("Location: ../../controller/login.php");
            exit;
        }
    } else {
        header("Location: ../../controller/login.php");
        exit;
    }
} else {
    header("Location: ../../controller/login.php");
    exit;
}
$usuario = $_SESSION['usuario'];
$idE = base64_decode($_GET['id']);
try {
    $cuadro = $cuadroC->seleccionar_estado1($idE);
} catch (Exception $e) {
    echo "Ha ocurrido un error";
}
if ($cuadro != null) {
    foreach ($cuadro as $key => $bl) {
        $nomEst = $bl['nomEst'];
        $idEst = $bl['idEst'];
    }
} else {
    echo "No hay datos";
}
?>
<!DOCTYPE html>
<html>
<head>