selam arkadaşlar elimde bir kayıtol.php dosyası var altdaki forumlar filan çalısıyor lakin kayıt olduktan sonra yöblendirmesi gereken üye onay sayfasına yonlendirmiyorum kayıt oluyor ama onay sayfasına geçmiyor kod blogunu aşağıya eklicem bir yardımcı olurmusunuz
Kod:
<?php if(!empty($_SESSION["login"])){go(URL."admin");die();}?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1.0, shrink-to-fit=no">
<link href="<?php echo URL?>assets/images/favicon.png" rel="icon" />
<title>Kayıt Ol - <?php echo $ayar[$lehce."site_title"];?></title>
<meta name="description" content="<?php echo $ayar[$lehce."site_desc"];?>" />
<base href="<?php echo URL; ?>">
<meta property="og:title" content="Kayıt Ol - <?php echo $ayar[$lehce."site_title"];?>">
<meta property="og:description" content="<?php echo $ayar[$lehce."site_desc"];?>">
<meta property="og:locale" content="tr_TR">
<meta property="og:type" content="website">
<meta name="robots" content="index follow">
<meta name="googlebot" content="index follow">
<meta name="theme-color" content="#08C" />
<!-- Bootstrap CSS -->
<!-- Bootstrap CSS -->
<link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Poppins:100,200,300,400,500,600,700,800,900' type='text/css'>
<!-- Stylesheet
========================= -->
<link rel="stylesheet" type="text/css" href="<?php echo URL?>assets/vendor/bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="<?php echo URL?>assets/vendor/font-awesome/css/all.min.css" />
<link rel="stylesheet" type="text/css" href="<?php echo URL?>assets/css/stylesheet.css" />
<link type="text/css" rel="stylesheet" href="<?=URL?>assets/sweet/sweetalert.css">
<?php require_once(TEMA_INC.'inc/ust.php');?>
<?php //require_once(TEMA_INC.'inc/head.php');?>
<div id="main-wrapper" class="oxyy-login-register">
<div class="container-fluid px-0">
<div class="row no-gutters min-vh-100">
<!-- Welcome Text
========================= -->
<!-- Welcome Text End -->
<!-- Login Form
========================= -->
<div class="col-md-12 d-flex align-items-center ">
<div class="container my-auto" style=" margin-top: 5rem!important; margin-bottom: 5rem!important;">
<div class="row">
<div class="col-11 col-lg-9 col-xl-8 mx-auto">
<h3 class="font-weight-600 mb-4">Hemen Kayıt Ol </h3>
<form role="form" class="form-horizontal" id="forms" method="POST" action="<?php echo URL ;?>ajax.php?d=kayitol" enctype="multipart/form-data">
<div class="form-group">
<label style="display: none;" for="emailAddress">Adınız ve Soyadınız</label>
<input type="text" class="form-control" id="emailAddress" name="adsoyad" required placeholder="Adınız ve Soyadınız">
<input type="hidden" name="uye_rutbe" value="1">
</div>
<div class="form-group">
<label style="display: none;" for="emailAddress">Mail Adresiniz</label>
<input type="email" class="form-control" id="emailAddress"name="mail" required placeholder="Mail Adresinizi Girin">
</div>
<div class="form-group">
<label style="display: none;" for="emailAddress">Telefon Numaranız</label>
<input type="text" class="form-control" id="emailAddress" name="telefon" required placeholder="Telefon Numaranız Girin">
</div>
<div class="form-group">
<label style="display: none;" for="loginPassword">Şifreniz</label>
<input type="password" class="form-control" id="loginPassword" name="sifre" required placeholder="Şifrenizi Girin">
</div>
<div class="form-group">
<label style="display: none;" for="loginPassword">Şifreniz Tekrar Girin</label>
<input type="password" class="form-control" id="loginPassword" name="sifret" required placeholder="Şifrenizi Tekrar">
</div><!--
<div class="form-group">
<label style="display: none;" for="loginPassword">Adresiniz</label>
<textarea class="form-control" placeholder="Adresiniz"></textarea> </div> -->
<div class="row">
<!--
<div class="col-sm text-right"><a class="btn-link" href="#">Şifremi Unuttum ?</a></div> -->
</div>
<button class="btn btn-warning btn-block my-4 default-btn-one" type="submit">Kayıt Ol</button>
</form>
<p class="text-center text-muted mb-0">Mevcut Hesabınız varmı ? Hemen <a class="btn-link " href="<?php echo URL?>giris">Giriş Yap</a></p>
</div>
</div>
</div>
</div>
<!-- Login Form End -->
</div>
</div>
</div>
<!-- Script -->
<script src="<?php echo URL?>assets/vendor/jquery/jquery.min.js"></script>
<script src="<?php echo URL?>assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- Style Switcher -->
<script src="<?php echo URL?>assets/js/switcher.min.js"></script>
<script src="<?php echo URL?>assets/js/theme.js"></script>
<script type="text/javascript" src="<?=URL?>assets/sweet/sweetalert.min.js"></script>
<script type="text/javascript" src="<?=URL?>assets/sweet/ajaxFormData.js"></script>
<script>
$(document).ready(function(event) {
$('#forms').ajaxForm({
success: function(data) {
if(data=="bos-deger"){
sweetAlert("Hata","Boş Değer Bırakmamalısınız","warning");
return false;
}else if(data=="basarili"){
sweetAlert({
title : "Başarılı",
text : "Kaydınız başarıyla yapıldı. Kaydınızı onaylamak için telefonunuza veya Mail ile gelen doğrulama kodunuzu bir sonraki adımda giriniz.",
type : "success"
},
function(){
window.location.href="<?=URL?>uyeonay";
});
return false;
}else if(data=="degisiklik-yok"){
sweetAlert("Uyarı","Değişiklik Yaptınız mı ?","warning");
return false;
}else if(data=="kayitli"){
sweetAlert("Uyarı","Mail Adresiniz veya Telefon Numaranız daha önce sisteme kayıtlı şifrenizimi unuttunuz ?","warning");
return false;
}else if(data=="sifre-uyusmuyor"){
sweetAlert("Uyarı","Şifreleriniz birbiriyle uyuşmuyor ","warning");
return false;
}else{
sweetAlert(data,"Kaydınız oluştururken bir hata oluştu lütfen tekrar deneyin !","error");
return false;
}
}
});
});
</script>
<?php require_once(TEMA_INC.'inc/footer.php');?>





