<?php

define('PERMISSION_TYPE', NULL); // No permission required to visit this page;

require __dir__ . '/init.php';

require _SDIR . '/for-reset.php';

template::$BLANK_PAGE = TRUE;

template::get_header();

?>

	<?php bridge::open(); ?>
	
		<div class="login-form-area mg-t-30 mg-b-40 mt-5">
			<div class="card">
				<div class="card-body">

					<form id="adminpro-form" class="adminpro-form" method="post" action="reset.php">

						<div class='text-center mb-3'>
							<img src="<?php echo template::$logo; ?>" height="50">
						</div>
						
						<?php template::alert( $msg ); ?>

						<div class="row">
							<div class="col-lg-4">
								<div class="login-input-head">
									<p><b>Email</b></p>
								</div>
							</div>
							<div class="col-lg-8">
								<div class="login-input-area mb-2">
									<input type="email" name="email" class="form-control"/>
								</div>
								<div class="login-button-pro">
									<button type="submit" class="btn btn-primary">Reset</button>
								</div>
							</div>
						</div>
						
					</form>
					
					<hr>
					
					<div class='text-right'>
						<a href='<?php echo help::url( PANEL_DIR ); ?>'>
							<i class='fas fa-angle-double-left'></i> Back to login
						</a>
					</div>
					
				</div>
			</div>
		</div>
	
	<?php bridge::close(); ?>

<?php template::get_footer(); ?>