<?php
session_start();

    $usuario = $_SESSION['usuario'];

    $id_registro = $_SESSION['id_registro'];

        if(isset($_SESSION['ingreso']) && $_SESSION['ingreso']=='YES')
{ ?>
 
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0;url=../views/pages/index.php">
<title>SE V1.0</title>
<link rel="shortcut icon" href="../resources/img/inen.ico">
<script language="javascript">
    window.location.href = "../views/pages/index.php"
</script>
</head>
<body>

Go to <a href="../views/pages/index.php">../views/pages/index.php</a>

</body>
</html>
<?php
}
else
{
    ?>
        <!DOCTYPE html>
        <html>
            <head>
                <meta http-equiv="refresh" content="0;url=../views/index.php">
                <title>SE V1.0</title>
                <script language="javascript">
                    window.location.href = "../views/index.php"
                </script>
            </head>
            <body>
                Go to <a href="../views/index.php">../views/index.php</a>
            </body>
        </html>
    <?php
}
?>
