<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 in the form below and press the <strong>Send Email</strong> button to have a password reset link sent to your email account on file.');
            ?>

            <form action="pwreset.php" method="post" id="clientLogin">
                <div style="width:50%;display:inline-block">
                    <?php csrf_token(); ?>
                    <input type="hidden" name="do" value="sendmail"/>
                    <br>
                    <div class="col_full">
                        <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>

                    <div class="col_full nobottommargin">
                        <input class="button button-3d button-green nomargin" type="submit" value="<?php echo __('Send Email'); ?>">
                    </div>

                </div>
            </form>

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