<?php if($puser["id"]!=Null){
	header("Location: ".$site."panel/home");
	exit;
}
?>
    <main>
        <section id="login" class="forgot-password">
            <div class="container">
                <div class="login__body">
                    <div class="login__content">
                        <div class="login__top">
                            <span><i class="ri-login-box-line"></i>Şifremi Unuttum</span>
                            <h5>Hoş geldiniz.</h5>
                        </div>
                        <div class="form__body">
						<?php if(@$_GET["i"]=="err"){
							echo '<div class="alert alert-danger">Girilen mail adresine ait bir üyelik bulunamadı.</div>';
						}if(@$_GET["i"]=="bas"){
							echo '<div class="alert alert-success">Yeni şifreniz mail adresinize gönderildi.</div>';
						}
						?>
                            <form action="" method="post">
							<input type="hidden" name="islem" value="passreset">
                                <div class="row">
                                    <div class="form-group col-md-12">
                                        <label for="">E-Posta Adresiniz</label>
                                        <i class="ri-mail-line xt-left"></i>
                                        <input type="email" name="mail" required id="" class="form-control" placeholder="E Posta Adresiniz">
                                    </div>
                                    <div class="form-group col-md-12 mb-0">
                                        <button type="submit" class="btn">
                                            Şifremi Hatırlat <i class="ri-arrow-right-line"></i>
                                            </button>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                    <div class="login__bottom">
                        <p> Şifrenizi hatırlıyorsanız <a href="<?=$site;?>panel/login">Giriş Yapın</a></p>
                    </div>
                </div>
                <div class="footer">
                    <div class="footer__container">
                        <div class="footer__top">
                            <div class="item">
                                <div class="logo">
                                    <img src="<?=$site;?>upload/<?=settings("site_logo");?>" alt="">
                                </div>
                                <div class="copyright">
                                    <p>
                                       <?=settings("footer");?>
                                    </p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </main>
