Файловый менеджер - Редактировать - /www/wwwroot/gamenworld.store/themes/wallpaper/js/web.js
�азад
$(function () { $('.rili_box').click(function () { $('.Dialog').addClass('on') }) $('.Dialog .chahao').click(function () { $('.Dialog').removeClass('on') }) var timerId = null; timerId = setInterval(function () { initPic(); }, 1000); imagesLoaded('#connter_out img').on('done', function () { clearInterval(timerId); console.log('所有图片已加载完成,定时器已停止'); }); function initPic() { var width = 175; var options = { itemWidth: width, // Optional min width of a grid item autoResize: true, // This will auto-update the layout when the browser window is resized. container: $('#main'), // Optional, used for some extra CSS styling offset: 0, // Optional, the distance between grid items outerOffset: 0, // Optional the distance from grid to parent flexibleWidth: '100%' // Optional, the maximum width of a grid item }; console.log( 1212321 ); // Get a reference to your grid items. var handler1 = $('#connter_out li'); // Call the layout function. handler1.wookmark(options); } // initPic(); const hostname = window.location.hostname; const lForm = document.getElementById("login-form"); if (lForm !== null) { lForm.addEventListener("submit", (e) => { e.preventDefault(); const username = lForm.querySelector("input[name='usernameEmail']").value; const password = lForm.querySelector("input[name='password']").value; const button = lForm.querySelector("button[type='submit']"); const xhr = new XMLHttpRequest(); button.setAttribute("disabled", "true"); xhr.open("POST", `https://${hostname}/xhr/login.php`); xhr.onreadystatechange = () => { if (xhr.readyState === XMLHttpRequest.DONE) { if (xhr.status === 200) { if (xhr.responseText.includes("successfully") == true) { Toastify({ text: xhr.responseText, className: "info", duration: 3000, style: { background: "#96c93d", }, }).showToast(); setTimeout(() => { window.location.href = "./admin/"; button.removeAttribute("disabled"); }, 1500); } else { Toastify({ text: xhr.responseText, className: "info", duration: 3000, style: { background: "red", }, }).showToast(); button.removeAttribute("disabled"); } } } }; const form = new FormData(); form.append("usernameEmail", username); form.append("password", password); xhr.send(form); }); } });
| ver. 1.4 |
Github
|
.
| PHP 8.0.26 | Генераци� �траницы: 0 |
proxy
|
phpinfo
|
�а�тройка