mirror of
https://github.com/xodivorce/xeorl.git
synced 2025-12-19 00:02:57 +05:30
v4.2.7
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
### Xeorl - The All-In-One, Fully Free to Use Advanced Link Shortener and Management Tool - Powered by [@xodivorce](https://instagram.com/xodivorce) ✨
|
||||
[](https://github.com/xeorl/xeorl-portfolio/)
|
||||
[](https://github.com/xeorl/xeorl-portfolio/)
|
||||
[](https://github.com/xeorl/xeorl-portfolio/)
|
||||
[](https://github.com/xeorl/xeorl-portfolio/)
|
||||
<br></br>
|
||||
|
||||
|
||||
BIN
htdocs/.DS_Store
vendored
BIN
htdocs/.DS_Store
vendored
Binary file not shown.
@@ -30,6 +30,7 @@ if (!isset($_SESSION['user_id'])) {
|
||||
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5747712812070455" crossorigin="anonymous"></script>
|
||||
</head>
|
||||
<body>
|
||||
<?php include "assets/_preloader.php" ?>
|
||||
<?php include "assets/_header.php"; ?>
|
||||
<main>
|
||||
<h2>Welcome, <?php echo $_SESSION['user_name']; ?>!</h2>
|
||||
|
||||
BIN
htdocs/assets/.DS_Store
vendored
BIN
htdocs/assets/.DS_Store
vendored
Binary file not shown.
@@ -10,7 +10,7 @@ if (session_status() === PHP_SESSION_NONE) {
|
||||
<div class="logo">
|
||||
<img src="assets/images/url.png" alt="Xeorl Logo" class="logo-img">
|
||||
<span>Xeorl</span>
|
||||
<span class="version-number">4.2.6</span>
|
||||
<span class="version-number">4.2.7</span>
|
||||
</div>
|
||||
|
||||
<label class="burger">
|
||||
|
||||
7
htdocs/assets/_preloader.php
Normal file
7
htdocs/assets/_preloader.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<link rel="stylesheet" href="assets/css/_preloader.css">
|
||||
<body>
|
||||
<div class="preloader">
|
||||
<div class="loader"></div>
|
||||
</div>
|
||||
</body>
|
||||
<script src="assets/js/_preloader.js"></script>
|
||||
@@ -9,7 +9,7 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
z-index: 10;
|
||||
z-index: 3;
|
||||
color: #333;
|
||||
border-top: 1px solid #ddd;
|
||||
font-size: 14px;
|
||||
|
||||
@@ -4,7 +4,7 @@ header {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
width: 97%;
|
||||
z-index: 1000;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
.header.scrolled {
|
||||
|
||||
33
htdocs/assets/css/_preloader.css
Normal file
33
htdocs/assets/css/_preloader.css
Normal file
@@ -0,0 +1,33 @@
|
||||
html, body {
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.preloader {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: #ffffff;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: 99;
|
||||
}
|
||||
|
||||
.loader {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border: 5px solid #677583;
|
||||
border-top: 5px solid #171c24;
|
||||
border-radius: 50%;
|
||||
animation: spin 2s linear infinite;
|
||||
}
|
||||
|
||||
.preloader.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
0% { transform: rotate(0deg); }
|
||||
100% { transform: rotate(360deg); }
|
||||
}
|
||||
Binary file not shown.
7
htdocs/assets/js/_preloader.js
Normal file
7
htdocs/assets/js/_preloader.js
Normal file
@@ -0,0 +1,7 @@
|
||||
window.addEventListener("load", function() {
|
||||
setTimeout(() => {
|
||||
document.querySelector(".preloader").classList.add("hidden");
|
||||
document.documentElement.style.overflow = "auto";
|
||||
document.body.style.overflow = "auto";
|
||||
}, 3500);
|
||||
});
|
||||
@@ -1,12 +1,12 @@
|
||||
let countdown = 10;
|
||||
let countdown = 13.5;
|
||||
let countdownInterval;
|
||||
const timerElement = document.getElementById("timer");
|
||||
const button = document.getElementById("getLinkBtn");
|
||||
|
||||
function updateCountdown() {
|
||||
if (countdown > 0) {
|
||||
countdown--;
|
||||
timerElement.textContent = countdown;
|
||||
countdown -= 0.5;
|
||||
timerElement.textContent = countdown.toFixed(1);
|
||||
}
|
||||
if (countdown <= 0) {
|
||||
button.disabled = false;
|
||||
@@ -23,7 +23,7 @@ function updateCountdown() {
|
||||
}
|
||||
|
||||
function startCountdown() {
|
||||
countdownInterval = setInterval(updateCountdown, 1000);
|
||||
countdownInterval = setInterval(updateCountdown, 500);
|
||||
}
|
||||
|
||||
function stopCountdown() {
|
||||
@@ -31,8 +31,8 @@ function stopCountdown() {
|
||||
}
|
||||
|
||||
function init() {
|
||||
countdown = 10;
|
||||
timerElement.textContent = countdown;
|
||||
countdown = 13.5;
|
||||
timerElement.textContent = countdown.toFixed(1);
|
||||
button.disabled = true;
|
||||
button.classList.remove("active");
|
||||
button.style.cursor = "not-allowed";
|
||||
|
||||
@@ -28,6 +28,7 @@ ini_set('display_errors', 1);
|
||||
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5747712812070455" crossorigin="anonymous"></script>
|
||||
</head>
|
||||
<body>
|
||||
<?php include "assets/_preloader.php" ?>
|
||||
<?php include "assets/_header.php"; ?>
|
||||
<main>
|
||||
<section class="shorten-section" style="user-select: none;">
|
||||
|
||||
@@ -24,6 +24,7 @@ ini_set('display_errors', 1);
|
||||
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5747712812070455" crossorigin="anonymous"></script>
|
||||
</head>
|
||||
<body>
|
||||
<?php include "assets/_preloader.php" ?>
|
||||
<div class="container" style="user-select: none;">
|
||||
<div class="left-section">
|
||||
<div class="header">
|
||||
|
||||
@@ -30,6 +30,7 @@ if (!isset($_SESSION['user_id'])) {
|
||||
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5747712812070455" crossorigin="anonymous"></script>
|
||||
</head>
|
||||
<body>
|
||||
<?php include "assets/_preloader.php" ?>
|
||||
<?php include "assets/_header.php"; ?>
|
||||
<main>
|
||||
<h2>Welcome, <?php echo htmlspecialchars($_SESSION['user_name']); ?>!</h2>
|
||||
|
||||
@@ -24,6 +24,7 @@ ini_set('display_errors', 1);
|
||||
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5747712812070455" crossorigin="anonymous"></script>
|
||||
</head>
|
||||
<body>
|
||||
<?php include "assets/_preloader.php" ?>
|
||||
<div class="container" style="user-select: none;">
|
||||
<div class="left-section">
|
||||
<div class="header">
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
<?php
|
||||
if (session_status() === PHP_SESSION_NONE) {
|
||||
session_start();
|
||||
}
|
||||
// if (session_status() === PHP_SESSION_NONE) {
|
||||
// session_start();
|
||||
// }
|
||||
|
||||
if (!isset($_SESSION['redirect_url'])) {
|
||||
http_response_code(400);
|
||||
die("Invalid request! The page you are looking for may have been deleted or removed from our server.");
|
||||
}
|
||||
// if (!isset($_SESSION['redirect_url'])) {
|
||||
// http_response_code(400);
|
||||
// die("Invalid request! The page you are looking for may have been deleted or removed from our server.");
|
||||
// }
|
||||
|
||||
$redirect_url = $_SESSION['redirect_url'];
|
||||
// $redirect_url = $_SESSION['redirect_url'];
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
@@ -31,13 +31,14 @@ $redirect_url = $_SESSION['redirect_url'];
|
||||
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5747712812070455" crossorigin="anonymous"></script>
|
||||
</head>
|
||||
<body>
|
||||
<?php include "assets/_preloader.php" ?>
|
||||
<?php include "assets/_header.php"; ?>
|
||||
<div class="max-container">
|
||||
<div class="container">
|
||||
<h2>Your link is almost ready.</h2>
|
||||
<div class="countdown-wrapper">
|
||||
<div class="countdown">
|
||||
<span id="timer">10</span><br>Seconds
|
||||
<span id="timer">13</span><br>Seconds
|
||||
</div>
|
||||
</div>
|
||||
<button id="getLinkBtn" disabled onclick="redirect()">PLEASE WAIT...</button>
|
||||
|
||||
Reference in New Issue
Block a user