Exemplo n.º 1
0
		<div id="logo">
			<a href="<?php 
echo BASE_URL;
?>
login">
				<img src="<?php 
echo BASE_URL;
?>
assets/img/logos/logo-login.png" alt="Logo"/>
			</a>
		</div>

		<div id="login">
			<?php 
if (isUrlOriginal() || isUpdatePasswordBtnPressed()) {
    ?>
			<form
				action="<?php 
    echo BASE_URL;
    ?>
login/set/<?php 
    echo $_GET['id'];
    ?>
/<?php 
    echo $_GET['gen_string'];
    ?>
"
				class="form-horizontal" method="post">
				<?php 
    if (empty($errors) === true && isVerified()) {
Exemplo n.º 2
0
    } else {
        if (empty($errors) === false) {
            ?>
					<div class="alert alert-danger">
						<a class="close" data-dismiss="alert" href="#" aria-hidden="true">×</a>
						<strong>Oh snap!</strong><?php 
            echo '<p>' . implode('</p><p>', $errors) . '</p>';
            ?>
						<hr/>
						We recommend to try to re-send a new link for reset password if errors persists.
					</div>

					<hr>
				<?php 
        } else {
            if (isUrlOriginal()) {
                ?>
					<div class="form-group">
						<label class="col-md-4">New Password</label>

						<div class="col-md-7">
							<input type="password" name="new-password-1" class="form-control">
						</div>
						<!-- /.col -->
					</div>
					<!-- /.form-group -->
					<div class="form-group">
						<label class="col-md-4">New Password Confirm</label>

						<div class="col-md-7">
							<input type="password" name="new-password-2" class="form-control">