226 lines
6.2 KiB
HTML
226 lines
6.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<!-- Mirrored from aceofspades.one/archivo.php by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 11 Nov 2024 18:05:10 GMT -->
|
|
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=UTF-8" /><!-- /Added by HTTrack -->
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Dreadful Archive</title>
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
|
|
<style>
|
|
/* General Styles */
|
|
body {
|
|
background-color: #000;
|
|
color: #fff;
|
|
font-family: 'Roboto', sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1000px;
|
|
width: 90%;
|
|
margin: 20px auto;
|
|
padding: 20px;
|
|
background-color: #222;
|
|
border-radius: 10px;
|
|
box-shadow: 0 0 20px rgba(204, 0, 0, 0.5);
|
|
}
|
|
|
|
/* Header Styles */
|
|
h1 {
|
|
color: #c00;
|
|
text-align: center;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
margin-bottom: 20px;
|
|
position: relative;
|
|
cursor: pointer;
|
|
}
|
|
|
|
h1 span {
|
|
display: inline-block;
|
|
}
|
|
|
|
/* Neon red outline with black text on hover */
|
|
h1:hover {
|
|
text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000, 0 0 30px #ff0000, 0 0 40px #ff0000, 0 0 50px #ff0000, 0 0 60px #ff0000, 0 0 70px #ff0000;
|
|
color: #000;
|
|
}
|
|
|
|
.folder-icon {
|
|
color: #c00;
|
|
font-size: 24px;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
/* Content Styles */
|
|
.archive-content {
|
|
border: 4px solid #c00;
|
|
padding: 20px;
|
|
border-radius: 10px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
/* Logged-in user Styles */
|
|
.logged-in-user {
|
|
color: #fff;
|
|
text-align: center;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
/* Form Styles */
|
|
form {
|
|
margin-top: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
label {
|
|
color: #c00;
|
|
font-weight: bold;
|
|
}
|
|
|
|
input[type="checkbox"] {
|
|
margin-right: 10px;
|
|
}
|
|
|
|
input[type="submit"] {
|
|
background-color: #c00;
|
|
color: #fff;
|
|
border: none;
|
|
padding: 10px 20px;
|
|
border-radius: 5px;
|
|
font-size: 16px;
|
|
cursor: pointer;
|
|
transition: background-color 0.3s ease;
|
|
}
|
|
|
|
input[type="submit"]:hover {
|
|
background-color: #900;
|
|
}
|
|
|
|
/* File Display Styles */
|
|
.archive-item {
|
|
margin-bottom: 40px;
|
|
background-color: #333;
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.archive-item h2 {
|
|
font-size: 24px;
|
|
padding: 20px;
|
|
margin: 0;
|
|
background-color: #222;
|
|
color: #c00;
|
|
}
|
|
|
|
.archive-item img {
|
|
max-width: 100%;
|
|
display: block;
|
|
}
|
|
|
|
.download-button {
|
|
background-color: #c00;
|
|
color: #fff;
|
|
text-decoration: none;
|
|
padding: 10px 20px;
|
|
border-radius: 5px;
|
|
transition: background-color 0.3s ease;
|
|
display: inline-block;
|
|
margin: 20px;
|
|
font-weight: bold;
|
|
border: 2px solid #ff0000;
|
|
box-shadow: 0 0 10px #ff0000;
|
|
}
|
|
|
|
.download-button:hover {
|
|
background-color: #900;
|
|
box-shadow: 0 0 20px #ff0000;
|
|
}
|
|
|
|
/* No Files Found Styles */
|
|
.no-files {
|
|
color: #fff;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Hover Effect on Download Button */
|
|
.download-button:hover {
|
|
background-color: #900;
|
|
}
|
|
|
|
/* Live Preview Styles */
|
|
#live-preview {
|
|
display: none;
|
|
margin-top: 20px;
|
|
border: 4px solid #c00;
|
|
padding: 10px;
|
|
border-radius: 10px;
|
|
box-shadow: 0 0 10px rgba(204, 0, 0, 0.5);
|
|
}
|
|
|
|
#live-preview img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<div class="container">
|
|
<h1>
|
|
<i class="fas fa-folder folder-icon"></i>
|
|
<span>Dreadful Archive</span>
|
|
<i class="fas fa-folder folder-icon"></i>
|
|
</h1>
|
|
<div class="logged-in-user">
|
|
</div>
|
|
<form method="POST" id="fileForm">
|
|
<label for="display_image">Display Image:</label>
|
|
<input type="checkbox" id="display_image" name="display_image">
|
|
</form>
|
|
|
|
<!-- Live Preview Section -->
|
|
<div id="live-preview">
|
|
<h2>Live Preview</h2>
|
|
<img id="preview-image" src="#" alt="Preview Image">
|
|
</div>
|
|
|
|
<div class="archive-content">
|
|
<div class="archive-item"><h2>James Robert O'pry</h2><p><a href='uploads/james.html' class='download-button' download>Download</a></p></div> </div>
|
|
</div>
|
|
|
|
<script>
|
|
// JavaScript for live preview
|
|
document.getElementById('display_image').addEventListener('change', function () {
|
|
const preview = document.getElementById('live-preview');
|
|
const previewImage = document.getElementById('preview-image');
|
|
const files = [".","..","james.html"];
|
|
const uploadDir = 'uploads/index.html';
|
|
|
|
if (this.checked) {
|
|
for (let i = 0; i < files.length; i++) {
|
|
let file = files[i];
|
|
let fileExt = file.split('.').pop().toLowerCase();
|
|
|
|
if (fileExt === 'jpg' || fileExt === 'jpeg' || fileExt === 'png' || fileExt === 'gif') {
|
|
previewImage.src = uploadDir + file;
|
|
preview.style.display = 'block';
|
|
break;
|
|
}
|
|
}
|
|
} else {
|
|
preview.style.display = 'none';
|
|
}
|
|
});
|
|
</script>
|
|
|
|
</body>
|
|
|
|
<!-- Mirrored from aceofspades.one/archivo.php by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 11 Nov 2024 18:05:11 GMT -->
|
|
</html>
|