add server software

This commit is contained in:
2026-03-13 19:27:01 +01:00
parent 763bf41da5
commit 9bc1c18731
12 changed files with 3809 additions and 1 deletions

1
front/authorized_keys Normal file
View File

@@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFR8w8TgFa9ZJ9NOflyGyHdlid7SiyXL5ga33aQzxKL8 Generated By Termius

3
front/panel/.htaccess Normal file
View File

@@ -0,0 +1,3 @@
RewriteEngine On
RewriteRule ^server/([a-zA-Z0-9_-]+)$ server.php?server=$1 [L]

File diff suppressed because it is too large Load Diff

15
front/panel/server.php Normal file
View File

@@ -0,0 +1,15 @@
<?php
require "../main.php";
$mcServ = new mcServ();
if(!$mcServ->checkLogin()) {
header("Location: /login.php");
exit;
}
$path = $_GET["server"];
if ($path == "create") {
die(file_get_contents("src/server/create.html"));
}
?>

View File

@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<h1>Hello World!</h1>
</body>
</html>