[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: idcards.php
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Dynamic Student ID</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <link href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;700&family=Playfair+Display:wght@400;900&display=swap" rel="stylesheet"> <style> body { font-family: 'Nunito', sans-serif; text-align: center; } #widget { width: 1028px; height: 650px; background-color: #fff; margin: 20px auto; box-shadow: 0 0 10px rgba(0,0,0,0.3); } .header { background-color: #000; width: 100%; height: 25%; display: flex; align-items: center; justify-content: flex-start; padding: 0 40px; box-sizing: border-box; overflow: hidden; border-top-left-radius: 8px; border-top-right-radius: 8px; } .inner-header { display: flex; align-items: center; justify-content: flex-start; width: 100%; max-width: 100%; } .logo { width: 100px; height: 100px; flex-shrink: 0; border-radius: 4px; overflow: hidden; } .logo img { width: 100%; height: 100%; object-fit: cover; } .header-text { margin-left: 20px; text-align: left; flex: 1; overflow: hidden; } .academy { color: #fff; font-family: 'Playfair Display', serif; text-transform: uppercase; font-weight: 900; font-size: 2.2em; margin: 0; word-wrap: break-word; } .motto { color: #ccc; font-family: 'Nunito', sans-serif; font-style: italic; font-size: 15px; letter-spacing: 2px; margin-top: 5px; } .ribbon { background-color: #46723C; width: 100%; height: 4%; } .main { background-color: #fff; width: 100%; height: 67%; display: flex; } .bio-container { width: 47%; height: 75%; margin: auto 0; margin-left: 8%; margin-right: 5%; } .chip { background-color: #f8bf6c; width: 30%; height: 30%; float: left; border-radius: 20px; margin-left: 7%; margin-right: 3.5%; } .idnumber { width: 49%; height: 30%; float: left; margin-left: 3.5%; margin-right: 7%; } .number { margin: 4.5% 0; margin-bottom: 1%; font-size: 36px; font-weight: 500; } .card-title { margin: 4.5% 0; margin-top: 1%; font-size: 19px; text-transform: uppercase; font-weight: 500; } .name { width: 100%; text-align: center; font-family: 'Playfair Display', serif; text-transform: uppercase; font-weight: 700; font-size: 2.3em; margin: 3% auto; } .separator { height: 2px; width: 100%; background-color: #000; } .fields { margin-top: 5%; width: 50%; float: left; text-transform: uppercase; font-weight: 700; font-size: 18px; } .content { margin-top: 5%; width: 50%; float: left; text-align: right; text-transform: uppercase; font-weight: 500; font-size: 18px; } #image-container { width: 27%; height: 100%; float: left; margin-left: 5%; margin-right: 8%; display: flex; } #image-container img { margin: auto; max-height: 100%; } .color-picker { margin: 20px; } </style> </head> <body> <h2>🎨 Customize Your Student ID Colors</h2> <div class="color-picker"> <label>Header Color: <input type="color" id="headerColor"></label> <label>Ribbon Color: <input type="color" id="ribbonColor"></label> <label>Chip Color: <input type="color" id="chipColor"></label> <label>Text Color: <input type="color" id="textColor"></label> <button id="saveColors">💾 Save Colors</button> </div> <div id="widget"> <div class="header"> <div class="inner-header"> <div class="logo"><img src="https://images2.imgbox.com/2b/e0/yDwyTB7v_o.png"></div> <div class="header-text"> <div class="academy">Luna Academy of Defence</div> <div class="motto">non est ad luna mollis e terris via</div> </div> </div> </div> <div class="ribbon"></div> <div class="main"> <div class="bio-container"> <div class="chip"></div> <div class="idnumber"> <div class="number">20190056</div> <div class="card-title">student identity card</div> </div> <div class="name">Malia Farrington</div> <div class="separator"></div> <div class="fields"> Date of Birth<br> Nationality<br> Academic Year<br> Luna Archetype<br> Squad Specialisation<br> </div> <div class="content"> 12/25/2001<br> Britannian<br> 2019<br> Manipulator<br> Intelligence<br> </div> </div> <div id="image-container"> <img src="https://images2.imgbox.com/2b/e0/yDwyTB7v_o.png"> </div> </div> <div class="ribbon"></div> </div> <script> $(document).ready(function(){ // Load saved colors from DB $.get("load_colors.php", function(data){ let colors = JSON.parse(data); if (colors) { $(".header").css("background-color", colors.header); $(".ribbon").css("background-color", colors.ribbon); $(".chip").css("background-color", colors.chip); $("body, .academy, .motto, .name, .fields, .content, .number, .card-title").css("color", colors.text); $("#headerColor").val(colors.header); $("#ribbonColor").val(colors.ribbon); $("#chipColor").val(colors.chip); $("#textColor").val(colors.text); } }); // Live color preview $("input[type=color]").on("input", function(){ $(".header").css("background-color", $("#headerColor").val()); $(".ribbon").css("background-color", $("#ribbonColor").val()); $(".chip").css("background-color", $("#chipColor").val()); $("body, .academy, .motto, .name, .fields, .content, .number, .card-title").css("color", $("#textColor").val()); }); // Save selected colors $("#saveColors").click(function(){ let colors = { header: $("#headerColor").val(), ribbon: $("#ribbonColor").val(), chip: $("#chipColor").val(), text: $("#textColor").val() }; $.post("save_colors.php", colors, function(response){ alert(response); }); }); }); </script> </body> </html>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.81 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002