<section id="page-title">

    <div class="container clearfix">

        <h4 class="nobottommargin">Password Reset</h4>
        <ol class="breadcrumb">
            <li><a href="<?php echo ROOT_PATH; ?>index.php">Home &nbsp;&nbsp;</a></li>
            <li>/</li>
            <li class="active"><a href="<?php echo ROOT_PATH; ?>pwreset.php">&nbsp;&nbsp; Password Reset</a></li>
        </ol>        

    </div>

</section>

<section id="content nobottommargin">

    <div class="content-wrap">

        <div class="container clearfix">

        <?php
        if(!defined('OSTCLIENTINC')) die('Access Denied');

        $userid=Format::input($_POST['userid']);
        ?>
        <h1><?php echo __('Forgot My Password'); ?></h1>
        <p><?php echo __(
        'Enter your username or email address again in the form below and press the <strong>Login</strong> to access your account and reset your password.');
        ?>
            <form action="pwreset.php" method="post" id="clientLogin">
                <div style="width:50%;display:inline-block">
                <?php csrf_token(); ?>
                <input type="hidden" name="do" value="reset"/>
                <input type="hidden" name="token" value="<?php echo Format::htmlchars($_REQUEST['token']); ?>"/>
                <strong><?php echo Format::htmlchars($banner); ?></strong>
                <br>
                <div>
                    <label for="username"><?php echo __('Username'); ?>:</label>
                    <input class="form-control required error" id="username" type="text" name="userid" size="30" value="<?php echo $userid; ?>">
                </div>
                <p>
                    <input class="button button-3d button-green nomargin" type="submit" value="Login">
                </p>
                </div>
            </form>        
        </div>
    </div>
</section>
