feat: added design for navbar and Background; edited DC-Handler; added roles for right calling; added check for highest role; added DC-Login page + Button

This commit is contained in:
Ioannis
2025-07-06 19:13:18 +02:00
commit e3080940b5
8 changed files with 352 additions and 0 deletions

13
loginform.php Normal file
View File

@@ -0,0 +1,13 @@
<?php
// Start session
session_start();
?>
<head>
<link rel="stylesheet" href="style.css">
</head>
<div id="loginform">
<a class="discord-button" href="https://discord.com/api/oauth2/authorize?client_id=1391359380879835146&redirect_uri=http%3A%2F%2Flocalhost%2Falphacar%2Fcallback.php&response_type=code&scope=identify%20guilds.members.read">
<img src="https://cdn-icons-png.flaticon.com/512/2111/2111370.png" alt="Discord Logo">
Login mit Discord
</a>
</div>