<?php
//https://memoriadcqa.solerpalau.mx/
$actual_link = "https://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
if(str_contains($actual_link, "/memoriadc/")){
    header("Location: https://memoriadc.solerpalau.mx/");
    exit;
}
$developing = file_exists("developing.php");
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Memorias de cálculo</title>
    <link rel="icon" href="https://statics.solerpalau.com/skin/frontend/solerpalau/default/favicon.ico"
        type="image/x-icon" />
    <link rel="shortcut icon" href="https://statics.solerpalau.com/skin/frontend/solerpalau/default/favicon.ico"
        type="image/x-icon" />
    <style>
        *{
            padding:0;
            margin:0;
        }
        iframe{
            overflow: hidden;
            width: 100%;
            border:none;
            display:block;
        }
        #main{
            height: calc(100vh - 36px);
        }
    </style>
</head>
<body>
    <?php if($developing){ ?>
        <iframe src="developing.php" frameBorder="0" height="36" ></iframe>
    <?php } else { ?>
    <iframe id="main" src="memorias_calculo/index.html" frameBorder="0"></iframe>
    <?php } ?>
</body>
</html>