<?php
include_once(INCLUDE_DIR.'staff/login.header.php');
defined('OSTSCPINC') or die('Invalid path');
$info = ($_POST && $errors)?Format::htmlchars($_POST):array();
?>

<div id="brickwall"></div>
<div id="loginBox">
    <div id="blur">
        <div id="background"></div>
    </div>
    <h1 id="logo"><a href="index.php">
        <span class="valign-helper"></span>
        <img src="logo.php?login" alt="ACCESSYSTEM® | <?php echo __('Agent Password Reset');?>" />
    </a></h1>
    <h3><?php echo __('A confirmation email has been sent'); ?></h3>
    <h3 style="color:black;"><em><?php echo __(
    'A password reset email was sent to the email on file for your account.  Follow the link in the email to reset your password.'
    ); ?>
    </em></h3>

    <form action="index.php" method="get">
        <input class="submit" type="submit" name="submit" value="Login"/>
    </form>
</div>

<div id="poweredBy"><?php echo __('Supported by'); ?>
    <a href="https://www.accessystem.com" target="_blank"><img src="<?php echo ROOT_PATH ?>assets/default/images/accessystem-logo-long-white-og.png" class="osticket-logo" alt="ACCESSYSTEM® - IT Solution & Services Inc | Logo" title="ACCESSYSTEM® - IT Solution & Services Inc | Logo" style="height: 0.8em; width: auto; opacity: 0.8;">® - IT Solution & Services Inc.</a>
</div>

    <script>
    document.addEventListener('DOMContentLoaded', function() {
        if (undefined === window.getComputedStyle(document.documentElement).backgroundBlendMode) {
            document.getElementById('loginBox').style.backgroundColor = 'white';
        }
    });
    </script>
</body>
</html>
