new pisilinux web sites
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
@if($control == '1')
|
||||
<div class="container">
|
||||
<div align="center" style="margin-bottom: 20px;">
|
||||
<img src="/upload/finish.png" alt="">
|
||||
<p>{{lang('member','activationSucessMessage')}} </p>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@@ -0,0 +1,13 @@
|
||||
<?php import::view(THEMA_NAME.'assets/header'); ?>
|
||||
<div class="container">
|
||||
<div align="center" style="margin-bottom: 20px;">
|
||||
|
||||
<img src="<?php echo URL::base(); ?>upload/finish.png" alt="">
|
||||
|
||||
<p>Aktivizasyon işleminiz başarılı olmuştur. <br>Pisillinux sitesine üye olduğunuz için teşekkür ederiz </p>
|
||||
<a class="btn btn-primary" href="<?php echo URL::base(); ?> ">Anasayfaya git</a>
|
||||
<a class="btn btn-primary" href="<?php echo URL::base(); ?>member">Üye girişi.</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php import::view(THEMA_NAME.'assets/footer'); ?>
|
||||
@@ -0,0 +1,33 @@
|
||||
<div class="container mb-5">
|
||||
<form class="card" action="" method="post">
|
||||
<div class="card-body p-6">
|
||||
|
||||
<div class="card-title" style="text-align: center;">PİSİ GNU/Linux <br> {{lang('user','Member_login')}}</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<label class="form-label"> {{lang('user','mailadress')}}</label>
|
||||
<input type="email" class="form-control" aria-describedby="emailHelp" name="email" required placeholder="Kayıt olurken kullandığınız e-posta adresinizi girin">
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label class="form-label">
|
||||
{{lang('user','password')}}
|
||||
<a href="/member/password_forgot" class="float-right small">{{lang('user','forgot_password')}}</a>
|
||||
</label>
|
||||
<input type="password" name="pass" class="form-control" required placeholder="Şifrenizi girin">
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<label class="custom-control custom-checkbox">
|
||||
<input type="checkbox" class="custom-control-input" name="remember" value="1">
|
||||
<span class="custom-control-label">{{lang('user','remember_me')}}</span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-footer">
|
||||
<input type="hidden" name="currentDate" value="{{date('Y-m-d')}}" >
|
||||
<button type="submit" class="btn btn-primary btn-block">{{lang('user','login')}}</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<div class="text-center text-muted">
|
||||
{{lang('user','No_Account_Yet')}} <a href="/member/register">{{lang('user','register')}}</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,102 @@
|
||||
<div class="container main pt-5 pb-2">
|
||||
<div class="card" >
|
||||
<div class="card-header bg-primary text-white text-center py-2">
|
||||
<h4 class="card-title">{{lang('user','Member_login')}}</h4>
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
<form action="" method="post">
|
||||
<div class="mb-4">
|
||||
<label for="email" class="form-label fw-bold text-muted">{{lang('user','mailadress')}}</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text bg-light border-end-0">
|
||||
<i class="fas fa-envelope text-muted"></i>
|
||||
</span>
|
||||
<input type="email" class="form-control border-start-0 ps-2" id="email" name="email"
|
||||
placeholder="ornek@email.com" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mb-4">
|
||||
<div class="d-flex justify-content-between align-items-center mb-2">
|
||||
<label for="password" class="form-label fw-bold text-muted">{{lang('user','password')}}</label>
|
||||
<a href="/member/password_forgot" class="text-decoration-none small text-primary">
|
||||
{{lang('user','forgot_password')}}
|
||||
</a>
|
||||
</div>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text bg-light border-end-0">
|
||||
<i class="fas fa-lock text-muted"></i>
|
||||
</span>
|
||||
<input type="password" class="form-control border-start-0 ps-2" id="password"
|
||||
name="pass" placeholder="••••••••" required>
|
||||
<button class="btn btn-outline-secondary border-start-0" type="button" id="togglePassword">
|
||||
<i class="far fa-eye"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mb-4 form-check">
|
||||
<input type="checkbox" class="form-check-input" id="remember" name="remember" value="1">
|
||||
<label class="form-check-label text-muted" for="remember">
|
||||
{{lang('user','remember_me')}}
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<input type="hidden" name="currentDate" value="{{date('Y-m-d')}}">
|
||||
<button type="submit" class="btn btn-primary w-100 py-2 fw-bold">
|
||||
{{lang('user','login')}} <i class="fas fa-arrow-right ms-2"></i>
|
||||
</button>
|
||||
</form>
|
||||
|
||||
<div class="text-center mt-4 text-muted">
|
||||
<p class="mb-0">{{lang('user','No_Account_Yet')}}
|
||||
<a href="/member/register" class="text-primary fw-bold text-decoration-none">
|
||||
{{lang('user','register')}}
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
// Şifre gösterme/gizleme işlevi
|
||||
document.getElementById('togglePassword').addEventListener('click', function(e) {
|
||||
const password = document.getElementById('password');
|
||||
const icon = this.querySelector('i');
|
||||
const type = password.getAttribute('type') === 'password' ? 'text' : 'password';
|
||||
password.setAttribute('type', type);
|
||||
icon.classList.toggle('fa-eye');
|
||||
icon.classList.toggle('fa-eye-slash');
|
||||
});
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
.card-header {
|
||||
background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
|
||||
padding: 2rem 1.5rem;
|
||||
}
|
||||
.form-control:focus {
|
||||
box-shadow: none;
|
||||
border-color: #4361ee;
|
||||
}
|
||||
.btn-primary {
|
||||
background: linear-gradient(135deg, #4361ee 0%, #3a0ca3 100%);
|
||||
border: none;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
.btn-primary:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
|
||||
}
|
||||
.input-group-text {
|
||||
background-color: #f8f9fa;
|
||||
border-right: none;
|
||||
}
|
||||
.form-control {
|
||||
border-left: none;
|
||||
padding: 0.75rem;
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,24 @@
|
||||
|
||||
<div class="page">
|
||||
<div class="page-single">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col mx-auto">
|
||||
<form class="card" action="" method="post">
|
||||
<div class="card-body p-12">
|
||||
<div class="card-title">PİSİLİNUX YENİ ŞİFRE </div>
|
||||
<br>
|
||||
<div class="form-group">
|
||||
<label class="form-label">* {[ echo translate('emailadress') ]}</label>
|
||||
<input type="email" class="form-control" name="email" required >
|
||||
</div>
|
||||
<div class="form-footer">
|
||||
<button type="submit" class="btn btn-primary btn-block">ŞİFREMİ SIFIRLA</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,64 @@
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col mx-auto">
|
||||
<form class="card needs-validation" id="registerForm">
|
||||
|
||||
<div class="card-body p-12">
|
||||
<div class="card-title">PİSİLİNUX {{lang('user','new_member_registration')}}</div>
|
||||
<br>
|
||||
<h6 class="card-subtitle mb-2 text-muted">{{lang('user','note')}} <br>
|
||||
|
||||
<span style="color:#FF0000;font-weight: bolder;">{{lang('user','note1')}}</span> </h6>
|
||||
<div class="row">
|
||||
<div class="form-group col-sm-6">
|
||||
<label class="form-label">* {{lang('user','namesurname')}}</label>
|
||||
<input type="text" class="form-control username text-uppercase" name="username" id="username" value="" required >
|
||||
</div>
|
||||
|
||||
<div class="form-group col-sm-6">
|
||||
<label class="form-label">* {{lang('user','surname')}}</label>
|
||||
<input type="text" class="form-control surname text-uppercase" name="surname" id="surname" value="" >
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="form-label">* {{lang('user','mailadress')}}</label>
|
||||
<input type="email" class="form-control email" name="email" id="email" value="" required >
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="form-label">* {{lang('user','password')}}</label>
|
||||
<input type="password" class="form-control" name="password" id="password" value="" required >
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="form-label">* {{lang('user','passwordrepeat')}}</label>
|
||||
<input type="password" class="form-control" name="password2" id="password2" value="" required >
|
||||
<div class="alert" id="divCheckPasswordMatch">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="form-label">{{lang('user','traning')}}</label>
|
||||
<input type="text" class="form-control" name="egitim">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="form-label">{{lang('user','job')}}</label>
|
||||
<input type="text" class="form-control" name="meslek">
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="form-label">{{lang('user','skills')}}</label>
|
||||
<input type="text" class="form-control" name="beceri">
|
||||
</div>
|
||||
|
||||
<div class="form-footer">
|
||||
<button type="button" id="registerSubmit" class="btn btn-primary btn-block">{{lang('user','send')}}</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -0,0 +1,168 @@
|
||||
<div class="container pt-3 main">
|
||||
<div class="row justify-content-center">
|
||||
|
||||
<h4 class="card-title border-bottom mb-3">{{lang('user','new_member_registration')}}</h4>
|
||||
|
||||
<div class="alert alert-warning small mb-4">
|
||||
<i class="fas fa-info-circle me-2"></i>
|
||||
{{lang('user','note')}}
|
||||
<div class="fw-bold mt-1">{{lang('user','note1')}}</div>
|
||||
</div>
|
||||
|
||||
<form id="registerForm" method="post" class="needs-validation" novalidate>
|
||||
<!-- Ad Soyad -->
|
||||
<div class="mb-3">
|
||||
<label for="username" class="form-label small text-muted mb-1">
|
||||
{{lang('user','namesurname')}} <span class="text-danger">*</span>
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text bg-light">
|
||||
<i class="fas fa-user text-muted"></i>
|
||||
</span>
|
||||
<input type="text" class="form-control" id="username" name="username" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="surname" class="form-label small text-muted mb-1">
|
||||
{{lang('user','surname')}} <span class="text-danger">*</span>
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text bg-light">
|
||||
<i class="fas fa-user-tag text-muted"></i>
|
||||
</span>
|
||||
<input type="text" class="form-control" id="surname" name="surname" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- E-posta -->
|
||||
<div class="mb-3">
|
||||
<label for="email" class="form-label small text-muted mb-1">
|
||||
{{lang('user','mailadress')}} <span class="text-danger">*</span>
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text bg-light">
|
||||
<i class="fas fa-envelope text-muted"></i>
|
||||
</span>
|
||||
<input type="email" class="form-control" id="email" name="email" required>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Şifreler -->
|
||||
<div class="mb-3">
|
||||
<label for="password" class="form-label small text-muted mb-1">
|
||||
{{lang('user','password')}} <span class="text-danger">*</span>
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text bg-light">
|
||||
<i class="fas fa-lock text-muted"></i>
|
||||
</span>
|
||||
<input type="password" class="form-control" id="password" name="password" required>
|
||||
<button class="btn btn-outline-secondary" type="button" id="togglePassword">
|
||||
<i class="far fa-eye"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mb-4">
|
||||
<label for="password2" class="form-label small text-muted mb-1">
|
||||
{{lang('user','passwordrepeat')}} <span class="text-danger">*</span>
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text bg-light">
|
||||
<i class="fas fa-lock text-muted"></i>
|
||||
</span>
|
||||
<input type="password" class="form-control" id="password2" name="password2" required>
|
||||
</div>
|
||||
<div id="passwordMatch" class="form-text small"></div>
|
||||
</div>
|
||||
|
||||
<!-- Ek Bilgiler -->
|
||||
<div class="mb-3">
|
||||
<label for="egitim" class="form-label small text-muted mb-1">
|
||||
{{lang('user','traning')}}
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text bg-light">
|
||||
<i class="fas fa-graduation-cap text-muted"></i>
|
||||
</span>
|
||||
<input type="text" class="form-control" id="egitim" name="egitim">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mb-3">
|
||||
<label for="meslek" class="form-label small text-muted mb-1">
|
||||
{{lang('user','job')}}
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text bg-light">
|
||||
<i class="fas fa-briefcase text-muted"></i>
|
||||
</span>
|
||||
<input type="text" class="form-control" id="meslek" name="meslek">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mb-4">
|
||||
<label for="beceri" class="form-label small text-muted mb-1">
|
||||
{{lang('user','skills')}}
|
||||
</label>
|
||||
<div class="input-group">
|
||||
<span class="input-group-text bg-light">
|
||||
<i class="fas fa-tools text-muted"></i>
|
||||
</span>
|
||||
<input type="text" class="form-control" id="beceri" name="beceri">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Kayıt Butonu -->
|
||||
<div class="d-grid gap-2">
|
||||
<button type="submit" id="registerSubmit" class="btn btn-primary">
|
||||
<i class="fas fa-user-plus me-2"></i>{{lang('user','send')}}
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
// Şifre göster/gizle işlevi
|
||||
document.getElementById('togglePassword').addEventListener('click', function(e) {
|
||||
const password = document.getElementById('password');
|
||||
const icon = this.querySelector('i');
|
||||
const type = password.getAttribute('type') === 'password' ? 'text' : 'password';
|
||||
password.setAttribute('type', type);
|
||||
icon.classList.toggle('fa-eye');
|
||||
icon.classList.toggle('fa-eye-slash');
|
||||
});
|
||||
|
||||
// Şifre eşleşme kontrolü
|
||||
const password = document.getElementById('password');
|
||||
const confirmPassword = document.getElementById('password2');
|
||||
const passwordMatch = document.getElementById('passwordMatch');
|
||||
|
||||
function validatePassword() {
|
||||
if (!password.value) return;
|
||||
|
||||
if (password.value !== confirmPassword.value) {
|
||||
passwordMatch.textContent = 'Şifreler eşleşmiyor!';
|
||||
passwordMatch.style.color = '#dc3545';
|
||||
return false;
|
||||
} else {
|
||||
passwordMatch.textContent = 'Şifreler eşleşiyor';
|
||||
passwordMatch.style.color = '#198754';
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
password.onchange = validatePassword;
|
||||
confirmPassword.onkeyup = validatePassword;
|
||||
|
||||
// Form gönderim kontrolü
|
||||
document.getElementById('registerForm').addEventListener('submit', function(e) {
|
||||
if (!validatePassword()) {
|
||||
e.preventDefault();
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
});
|
||||
</script>
|
||||
@@ -0,0 +1,34 @@
|
||||
<div class="page">
|
||||
<div class="page-single">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col mx-auto">
|
||||
<form class="card" action="" method="post" id="sifrekontrol" autocomplete="off">
|
||||
<div class="card-body p-12">
|
||||
<div class="card-title">PİSİLİNUX YENİ ŞİFRE </div>
|
||||
<br>
|
||||
<div class="uyari"></div>
|
||||
<div class="form-group">
|
||||
<label class="form-label">* ŞİFRENİZ</label>
|
||||
<input type="password" class="form-control" name="password" required >
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="form-label">* ŞİFRENİZİ TEKRAR YAZIN</label>
|
||||
<input type="password" class="form-control" name="password2" required >
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-footer">
|
||||
<input type="hidden" name="id" value="{[ echo $id; ]}">
|
||||
<input type="hidden" name="act" value="{[ echo $act; ]}">
|
||||
<button type="submit" class="btn btn-primary btn-block">ŞİFREMİ DEĞİŞTİR</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user