<?php

include('views/_header_m.tpl.php');

if (isset($_GET['reg_ok'])) {
	$msg = 'Registration Successful';
}


?>

<style type="text/css">
	html {
		background:#000 url('/static/images/lbstartup.jpg') no-repeat center center !important;
		background-size: 500px !important;
		background-color: #232323 !important;
		overflow:hidden !important;
		height:100%;
	}
	body { background:#000; height:100vh; overflow:hidden; }
	
	input[type="text"], input[type="password"] {
        border:1px solid rgba(255,255,255,.3) !important;
    }
</style>

<img src="<?php if (!empty($website_options['mobile_background'])) : ?>/<?= $website_options['mobile_background'] ?><?php else : ?>/static/images/mobbg.jpg<?php endif; ?>" style="position:absolute; background:cover; object-fit:cover; top:0;
left:0; bottom:0; right:0; min-height:100%; height:100vh; width: auto; min-width:100%; padding-top:0px !important; padding-bottom:0px !important; margin-bottom:0px !important; z-index:-999;" alt="BG" />

 <div class="home-feature-category" style="background:none; border:none;">
        <div class="container_12 clearfix">
		<div class="titletext" style="line-height:50px; text-align:center; padding-top:15%;">
		<?php if (!empty($website_options['mobile_logo'])) : ?>
			<a href="/"><img src="/<?= $website_options['mobile_logo'] ?>"
			style="width: auto; max-width: 170px; height: 50px; margin-top:-10px;" alt="" /></a> Choose User Slug
        <?php endif; ?>
		</div>

		<?php
		if (isset($msg)) {
			echo "<br /><b>$msg</b><br /><br />";
		}
		?>
		
		<br />

		<?php 
		if (isset($notifSent)) {
			echo "Password reset link has been sent to your email.";
		} elseif (isset($codeCorrect)) {
			?>
			
			<form method="post" style="color:#fff; text-align:center; max-width:350px; margin:0 auto;">
				<input type="hidden" name="code" value="<?php echo $code ?>" />
				Please enter your new password: <input type="password" name="password" />
				<br /><br />
				<input type="submit" />
			</form>
			
			<?php 
		} else {
		?>
		<form method="post" style="color:#fff; text-align:center; max-width:350px; margin:0 auto;">
			<div style="line-height:22px; font-size:14px;">
				Enter your User Slug:<br /><br />
			</div>
			<input type="text" name="email" placeholder="Email" 
			style="width:75%; font-family: 'Open Sans',sans-serif; font-weight:400; " />			
			<br /><br />
			<input type="submit" value="Reset Password" class="btn-o" 
			style="width:80%; font-family: 'Open Sans',sans-serif; font-weight:400; 
			padding-left:10px; padding-right:10px; background:none" />
		</form>
		<?php 
		}
		?>
		</div>
			<br /><br />
			<a href="/" style='color:#fff; font-size:17px;'>&laquo; Back to Home</a>
			<br /><br />		
	</div>
</div>

<?php

include('views/_footer_m.tpl.php');

?>