new pisilinux web sites

This commit is contained in:
Erkan IŞIK
2026-07-01 16:44:17 +03:00
commit b58488b586
21740 changed files with 2066209 additions and 0 deletions
@@ -0,0 +1,39 @@
/*!
* Tabler v1.0.0-beta16 (https://tabler.io)
* @version 1.0.0-beta16
* @link https://tabler.io
* Copyright 2018-2022 The Tabler Authors
* Copyright 2018-2022 codecalm.net Paweł Kuna
* Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
*/
(function (factory) {
typeof define === 'function' && define.amd ? define(factory) :
factory();
})((function () { 'use strict';
alert('params')
$('.theme2').click(function(){
//var params = $(this).attr('data-theme');
})
var themeStorageKey = 'tablerTheme';
var defaultTheme = 'light';
var selectedTheme;
/*
var params = new Proxy(new URLSearchParams(window.location.search), {
get: function get(searchParams, prop) {
return searchParams.get(prop);
}
});
*/
if (!!params) {
localStorage.setItem(themeStorageKey, params.theme);
selectedTheme = params.theme;
} else {
var storedTheme = localStorage.getItem(themeStorageKey);
selectedTheme = storedTheme ? storedTheme : defaultTheme;
}
document.body.classList.remove('theme-dark', 'theme-light');
document.body.classList.add("theme-".concat(selectedTheme));
}));
@@ -0,0 +1,9 @@
/*!
* Tabler v1.0.0-beta16 (https://tabler.io)
* @version 1.0.0-beta16
* @link https://tabler.io
* Copyright 2018-2022 The Tabler Authors
* Copyright 2018-2022 codecalm.net Paweł Kuna
* Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
*/
!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";var e,t="tablerTheme",n=new Proxy(new URLSearchParams(window.location.search),{get:function(e,t){return e.get(t)}});if(n.theme)localStorage.setItem(t,n.theme),e=n.theme;else{var o=localStorage.getItem(t);e=o||"light"}document.body.classList.remove("theme-dark","theme-light"),document.body.classList.add("theme-".concat(e))}));
@@ -0,0 +1,129 @@
/*!
* Tabler v1.0.0-beta16 (https://tabler.io)
* @version 1.0.0-beta16
* @link https://tabler.io
* Copyright 2018-2022 The Tabler Authors
* Copyright 2018-2022 codecalm.net Paweł Kuna
* Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
*/
(function (factory) {
typeof define === 'function' && define.amd ? define(factory) :
factory();
})((function () { 'use strict';
function _slicedToArray(arr, i) {
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
}
function _arrayWithHoles(arr) {
if (Array.isArray(arr)) return arr;
}
function _iterableToArrayLimit(arr, i) {
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
if (_i == null) return;
var _arr = [];
var _n = true;
var _d = false;
var _s, _e;
try {
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
_arr.push(_s.value);
if (i && _arr.length === i) break;
}
} catch (err) {
_d = true;
_e = err;
} finally {
try {
if (!_n && _i["return"] != null) _i["return"]();
} finally {
if (_d) throw _e;
}
}
return _arr;
}
function _unsupportedIterableToArray(o, minLen) {
if (!o) return;
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
var n = Object.prototype.toString.call(o).slice(8, -1);
if (n === "Object" && o.constructor) n = o.constructor.name;
if (n === "Map" || n === "Set") return Array.from(o);
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
}
function _arrayLikeToArray(arr, len) {
if (len == null || len > arr.length) len = arr.length;
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
return arr2;
}
function _nonIterableRest() {
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
var items = {
'menu-position': {
localStorage: 'tablerMenuPosition',
default: 'top'
},
'menu-behavior': {
localStorage: 'tablerMenuBehavior',
default: 'sticky'
},
'container-layout': {
localStorage: 'tablerContainerLayout',
default: 'boxed'
}
};
var config = {};
for (var _i = 0, _Object$entries = Object.entries(items); _i < _Object$entries.length; _i++) {
var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),
key = _Object$entries$_i[0],
params = _Object$entries$_i[1];
var lsParams = localStorage.getItem(params.localStorage);
config[key] = lsParams ? lsParams : params.default;
}
var parseUrl = function parseUrl() {
var search = window.location.search.substring(1);
var params = search.split('&');
for (var i = 0; i < params.length; i++) {
var arr = params[i].split('=');
var _key = arr[0];
var value = arr[1];
if (!!items[_key]) {
localStorage.setItem(items[_key].localStorage, value);
config[_key] = value;
}
}
};
var toggleFormControls = function toggleFormControls(form) {
for (var _i2 = 0, _Object$entries2 = Object.entries(items); _i2 < _Object$entries2.length; _i2++) {
var _Object$entries2$_i = _slicedToArray(_Object$entries2[_i2], 2),
_key2 = _Object$entries2$_i[0];
_Object$entries2$_i[1];
var elem = form.querySelector("[name=\"settings-".concat(_key2, "\"][value=\"").concat(config[_key2], "\"]"));
if (elem) {
elem.checked = true;
}
}
};
var submitForm = function submitForm(form) {
for (var _i3 = 0, _Object$entries3 = Object.entries(items); _i3 < _Object$entries3.length; _i3++) {
var _Object$entries3$_i = _slicedToArray(_Object$entries3[_i3], 2),
_key3 = _Object$entries3$_i[0],
_params2 = _Object$entries3$_i[1];
var value = form.querySelector("[name=\"settings-".concat(_key3, "\"]:checked")).value;
localStorage.setItem(_params2.localStorage, value);
config[_key3] = value;
}
window.dispatchEvent(new Event('resize'));
new bootstrap.Offcanvas(form).hide();
};
parseUrl();
var form = document.querySelector('#offcanvasSettings');
if (form) {
form.addEventListener('submit', function (e) {
e.preventDefault();
submitForm(form);
});
toggleFormControls(form);
}
}));
@@ -0,0 +1,9 @@
/*!
* Tabler v1.0.0-beta16 (https://tabler.io)
* @version 1.0.0-beta16
* @link https://tabler.io
* Copyright 2018-2022 The Tabler Authors
* Copyright 2018-2022 codecalm.net Paweł Kuna
* Licensed under MIT (https://github.com/tabler/tabler/blob/master/LICENSE)
*/
!function(t){"function"==typeof define&&define.amd?define(t):t()}((function(){"use strict";function t(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==r)return;var n,o,a=[],l=!0,i=!1;try{for(r=r.call(t);!(l=(n=r.next()).done)&&(a.push(n.value),!e||a.length!==e);l=!0);}catch(t){i=!0,o=t}finally{try{l||null==r.return||r.return()}finally{if(i)throw o}}return a}(t,r)||function(t,r){if(!t)return;if("string"==typeof t)return e(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return e(t,r)}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}for(var r={"menu-position":{localStorage:"tablerMenuPosition",default:"top"},"menu-behavior":{localStorage:"tablerMenuBehavior",default:"sticky"},"container-layout":{localStorage:"tablerContainerLayout",default:"boxed"}},n={},o=0,a=Object.entries(r);o<a.length;o++){var l=t(a[o],2),i=l[0],c=l[1],u=localStorage.getItem(c.localStorage);n[i]=u||c.default}!function(){for(var t=window.location.search.substring(1).split("&"),e=0;e<t.length;e++){var o=t[e].split("="),a=o[0],l=o[1];r[a]&&(localStorage.setItem(r[a].localStorage,l),n[a]=l)}}();var f=document.querySelector("#offcanvasSettings");f&&(f.addEventListener("submit",(function(e){e.preventDefault(),function(e){for(var o=0,a=Object.entries(r);o<a.length;o++){var l=t(a[o],2),i=l[0],c=l[1],u=e.querySelector('[name="settings-'.concat(i,'"]:checked')).value;localStorage.setItem(c.localStorage,u),n[i]=u}window.dispatchEvent(new Event("resize")),new bootstrap.Offcanvas(e).hide()}(f)})),function(e){for(var o=0,a=Object.entries(r);o<a.length;o++){var l=t(a[o],2),i=l[0];l[1];var c=e.querySelector('[name="settings-'.concat(i,'"][value="').concat(n[i],'"]'));c&&(c.checked=!0)}}(f))}));
File diff suppressed because one or more lines are too long
@@ -0,0 +1,237 @@
(function (factory) {
typeof define === 'function' && define.amd ? define(factory) :
factory();
})((function () { 'use strict';
var themeStorageKey = 'tablerTheme';
var defaultTheme = 'light';
var selectedTheme;
$(".thm").click(function(){
var params = $(this).attr('data-theme');
if (localStorage.getItem(themeStorageKey)) {
localStorage.setItem(themeStorageKey, params);
selectedTheme = params;
} else {
var storedTheme = localStorage.getItem(themeStorageKey);
selectedTheme = storedTheme ? storedTheme : defaultTheme;
}
document.body.classList.remove('theme-dark', 'theme-light');
document.body.classList.add("theme-".concat(selectedTheme));
});
// $('#example1').DataTable();
//$('#datatable').DataTable();
//$('#activemembers').DataTable();
//$('#wiki_list').DataTable({"language": {"url": "https://cdn.datatables.net/plug-ins/1.10.19/i18n/Turkish.json"}});
//$('.username').select2();
$('.ayarSec').click(function(){
var id = $(this).attr("data-id")
var title = $(this).attr("data-title")
var value = $(this).attr("data-value")
$(".modal-body #title").val( title );
$(".modal-body #value").val( value );
$(".modal-body #id").val( id );
});
$('.logoValue').click(function(){
var value = $(this).attr("data-value");
$.post('selectLogo', {value:value}, function(rest){
location.reload();
// alert(rest)
});
});
$('body').on('click', '#selectAll', function () {
if ($(this).hasClass('allChecked')) {
$('input[type="checkbox"]', '#example').prop('checked', false);
} else {
$('input[type="checkbox"]', '#example').prop('checked', true);
}
$(this).toggleClass('allChecked');
})
$('.link').click(function(){
var name = $(this).attr("data-link");
$("#title").val(name);
});
$('.status').click(function(){
var stat = $(this).data("status");
var id = $(this).data("id");
$.post('ajax/duyuruStatusChange', {id:id, status:status}, function(response){
location.reload();
});
})
$('.sliderStat').click(function(){
var id = $(this).attr("data-id");
var status = $(this).attr("data-status");
$.post('slayt/sliderStatusChange', {id:id, status:status}, function(response){
location.reload();
});
})//sliderStat end
$(".activetionSend").click(function(){
var param = $(this).data("id");
$.post('/panel/user/activemailSendAjax',{par:param},function(data, status, xhr){
Swal.fire({
title: data,
showConfirmButton: false,
icon: 'success',
});
});
});//activetionSend
$(".sendform").click(function(){
$.ajax({
type: 'post',
url: 'ajax/emailSend',
data: $('#cevap1').serialize(),
success:function(cvp){
$.confirm({
title: 'Pisilinux Eposta!',
content: cvp,
theme: 'dark',
buttons: {
Mesajlar: function(){
$(location).attr('href', '/panel/iletisim');
},
Anasayfa: function(){
$(location).attr('href', '/panel');
}
}
});
}
});
});
$(".delete_member").click(function(){
var param = $(this).data("id");
Swal.fire({
title: 'Üyeyi Silmek İstediğinizden Eminmisiniz?',
text: "Bu işlemi geri alamazsınız",
icon: 'error',
showCancelButton: true,
confirmButtonColor: '#3085d6',
cancelButtonColor: '#d33',
confirmButtonText: 'EVET ÜYEYİ SİL',
cancelButtonText: 'Silme'
}).then((result) => {
if (result.isConfirmed) {
$.post('user/deleteMemberAjax',{par:param},function(response){
Swal.fire({
title: response,
timer: 1500,
timerProgressBar: true,
showConfirmButton: false,
icon: 'success',
willClose: () => {
location.reload();
}
});
});
}
})
});
$(".disable_member").click(function(){
var param = $(this).data("id");
$.post('user/disableMemberAjax',{par:param},function(response){
Swal.fire({
title: response,
timer: 2000,
timerProgressBar: true,
showConfirmButton: false,
icon: 'success',
willClose: () => {
location.reload();
}
});
});
});
var sayac1 = Number($("#sayac").val())-1;
if(sayac1){
var sayac=sayac1+1;
}else{
var sayac=1;
}
$('.add').click(function() {
sayac++;
var form = "<div class='control-group'><label class='control-label'>LINK"+sayac+" :</label><div class='controls pals' >";
var form1 = "<select name='downlink["+sayac+"][]' class='span2 count' id='count'><option >Selected Countries</option></select>";
var form2 = "<input type='text' name='downlink["+sayac+"][]' class='span8' required placeholder='link'><input type='hidden' name='downlink["+sayac+"][]' value='0'><input type='hidden' name='downlink["+sayac+"][]' value='1'></div></div></div>";
$.getJSON('/countries.json', null, function(data) {
$.each(data, function(idx, obj) {
$(".count").append('<option value="'+obj.id+'">'+obj.name+'</option>' );
});
});
$(".download").append(form + form1+ form2);
});
$('.downlinkstatus').click(function(){
var id = $(this).attr("data-id");
var status = $(this).attr("data-status");
$.post('/panel/download/downlinkdStatusChange', {id:id, status:status}, function(response){
//alert(response);
location.reload();
});
})
$('.downlinkDelete').click(function(){
var id = $(this).attr("data-id");
$.post('/panel/download/downlinkDelete', {id:id}, function(response){
location.reload();
})
})
$('.downloadStatusChange').click(function(){
var id = $(this).attr("data-id");
var status = $(this).attr("data-status");
$.post('/panel/download/downloadStatusChange', {id:id, status:status}, function(response){
location.reload();
})
})
CKEDITOR.replace('adminEditor', {
customConfig: 'admin_config.js',
height: 1000,
filebrowserBrowseUrl : '/filemanager/dialog.php?type=2&editor=ckeditor&fldr=',
filebrowserUploadUrl : '/filemanager/dialog.php?type=2&editor=ckeditor&fldr=',
filebrowserImageBrowseUrl : '/filemanager/dialog.php?type=1&editor=ckeditor&fldr='
});
}));
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long