-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfooter.php
45 lines (36 loc) · 1.7 KB
/
footer.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js" integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.min.js" integrity="sha384-cVKIPhGWiC2Al4u+LWgxfKTRIcfu0JTxR+EQDz/bgldoEyl4H0zUF0QKbrJ0EcQF" crossorigin="anonymous"></script>
<script src="js/app.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11.11.0/dist/sweetalert2.all.min.js"></script>
<script>
function DataSendLoad(){
Swal.fire({
title: 'Yükleniyor...',
text: "lütfen bekleyin",
allowOutsideClick: false,
showCancelButton: false, // Cancel butonunu gizler
showConfirmButton: false, // Onay butonunu gizler
willOpen: () => {
Swal.showLoading();
}
});
}
function DilDegistir(lang){
$.ajax({
url: 'ajax/settings.php', // AJAX isteğinin gideceği adres
type: "POST",
data: {"changelang": "true", "lang": lang},
success: function (response){
var data = JSON.parse(response);
if(data.status == "success"){
window.location.reload();
}else{
Swal.fire(data.title, data.text, data.status);
}
}
});
}
</script>
</body>
</html>