<?php include 'includes/header.php';?>

<?php 

if($_SESSION['mailonay']==1){
  echo "<script>
  const Toast = Swal.mixin({
      toast: true,
      position: 'top-end',
      showConfirmButton: false,
      timer: 6000,
      timerProgressBar: true,
      didOpen: (toast) => {
        toast.addEventListener('mouseenter', Swal.stopTimer)
        toast.addEventListener('mouseleave', Swal.resumeTimer)
    }
    })

    Toast.fire({
        icon: 'success',
        title: 'Bilgileriniz iletilmiştir mail hesabınızı kontrol ediniz.'
        })
        </script>";
    }

    unset($_SESSION['mailonay']);

    ?>
    <title><?php echo $dil['080'];?></title>
    <meta name="description" content="şifre hatırlatıcı">
    <meta name="keywords" content="şifre hatırlatıcı,">
    <meta name="author" content="ParsTech">
    <body class="mobile_panel black_theme">
        <!-- Sepet_Urunler_Wrapper -->
        <div class="cart_product_wrapper">
            <div class="container">
                <form action="sifreunut.php" method="post">
                    <div class="cart_product_list flex justify-start items-start text-center flex-col pt-8">
                          <a class="back-link" href="javascript:history.back(-1)"><i class="zmdi zmdi-arrow-left"></i><?php echo $dil['107'];?></a> <br>
                        <div class="product_detail_title "><?php echo $dil['081'];?></div>
                        <div class="form-group flex flex-col justify-start w-full mb-4">
                            <label class="text-left mb-1 font-semibold standart_label" for="adisoyadi"><?php echo $dil['031'];?> *</label>
                            <input type="text" name="mail" placeholder="<?php echo $dil['031'];?>" id="adisoyadi" value="" class="form_input required w-full text-sm py-2  pl-2 rounded-lg" required="">
                        </div> 
                        <button type="submit" class=" btn btn-lg btn-default default-shadow btn-block">

                            <div class="spinner-border" style="    width: 1rem;
                            height: 1rem;display: none" id="yukleniyor" role="status">
                            <span class="sr-only"><?php echo $dil['033'];?>...</span>
                        </div>
                        <?php echo $dil['028'];?> <span class="ml-2 icon arrow_right"></span></button>
                        <label class="text-center standart_label  mb-1 font-normal w-100 mt-4 mb-4" ><?php echo $dil['082'];?> <?=$ayar['phone'];?> <?php echo $dil['083'];?></label>


                    </div>
                </form>

            </div>
        </div>
        <?php include 'includes/modal.php';?>
        <?php include 'includes/footer.php';?>