<span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span>
                Forgot your password
            </h2>
            <p class="p_instructions">
                If you forgot your password for your account, enter your email and click the 'Reset Password' button. You will then
                receive an email to change your password.
            </p>
        </div>
        <!-- instructions end -->

        <!-- forgot password start -->
        <form method="post" action="../scripts/password.php">
            <div class="col-xs-4 form-group-lg">
                <label class="text-danger">&nbsp
                    <?php 
echo SessionOperator::getInputErrors("email");
?>
                </label>
                <input type="text" name="email" class="form-control" id="email" maxlength="45" placeholder="Enter your email here"
                    <?php 
echo 'value = "' . SessionOperator::getFormInput("email") . '"';
?>
 >
            </div>
            <div class="col-xs-8">
                <label>&nbsp</label><br>
                <button type="submit" name="resetPassword" id="resetPassword" class="btn btn-success btn-lg">Reset Password</button>
            </div>
        </form>
        <!-- forgot password end -->
Example #2
0
                        <label class="text-danger">&nbsp
                            <?php 
echo SessionOperator::getInputErrors("password1");
?>
                        </label>
                        <input type="password" name="password1" class="form-control" id="password1" maxlength="23" placeholder="Create a password"
                            <?php 
echo 'value = "' . SessionOperator::getFormInput('password1') . '"';
?>
 >
                    </div>

                    <div class="form-group-lg col-xs-6">
                        <label class="text-danger">&nbsp
                            <?php 
echo SessionOperator::getInputErrors("password2");
?>
                        </label>
                        <input type="password" name="password2" class="form-control" id="password2" maxlength="23" placeholder="Repeat password"
                            <?php 
echo 'value = "' . SessionOperator::getFormInput('password2') . '"';
?>
 >
                    </div>
                </div>
                <!-- account details end -->
            </div><hr>

            <div class="col-xs-12">
                <p class="pull-right">
                    By clicking this 'Sign up for AuctionHouse' button, you agree to our <a href="">terms of service</a> and <a href="">privacy policy</a>
    ?>
"> <?php 
    echo $refer[1];
    ?>
</a>
                </div>
            <?php 
}
?>
        </div>
        <!-- back end -->


        <!-- display item related input errors (if available) start -->
        <?php 
if (($error = SessionOperator::getInputErrors("bidPrice")) != null) {
    ?>
            <div class="alert alert-danger fade in">
                <a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a>
                <strong>Input error!</strong> <?php 
    echo $error;
    ?>
            </div>
        <?php 
}
?>
        <!-- display item related input errors (if available) end -->


        <!-- live auction start -->
        <div class="row">
echo SessionOperator::getInputErrors("city");
?>
                    </label>
                    <div class="form-group">
                        <label class="col-xs-2 control-label">City</label>
                        <div class="col-xs-10">
                            <input type="text" class="form-control" name="city" maxlength="45"
                                   value= "<?php 
echo htmlspecialchars(SessionOperator::getUser()->getCity());
?>
" >
                        </div>
                    </div>
                    <label class="col-xs-offset-2 text-danger">&nbsp
                        <?php 
echo SessionOperator::getInputErrors("country");
?>
                    </label>
                    <div class="form-group">
                        <label class="col-xs-2 control-label">Country</label>
                        <div class="col-xs-10">
                            <select name="country" class="selectpicker form-control" data-dropup-auto="false">
                                <option default>Country</option>
                                <?php 
$country = SessionOperator::getUser()->getCountry();
$countries = QueryOperator::getCountriesList();
print_r($countries);
foreach ($countries as $value) {
    $selected = "";
    if ($value == $country) {
        $selected = "selected";