"skús to commitnúť, počkaj toto ../ dám ešte preč aby to nevypadalo tak..."
This commit is contained in:
@@ -1,36 +1,4 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Welcome Admin</title>
|
||||
<link rel="stylesheet" href="../styles/pages/style.css">
|
||||
<link rel="stylesheet" href="../styles/global.css">
|
||||
</head>
|
||||
<nav>
|
||||
<ul>
|
||||
<li><a href=""><i class="ri-settings-4-fill"></i></a></li>
|
||||
<div class="links">
|
||||
<li><a href=""></a></li>
|
||||
<li><a href=""></a></li>
|
||||
<li><a href=""></a></li>
|
||||
</div>
|
||||
</ul>
|
||||
</nav>
|
||||
<body>
|
||||
<h2>Welcome</h2>
|
||||
<?php
|
||||
echo "Logged in as Admin: " . $user['username'];
|
||||
?>
|
||||
|
||||
<!-- Display Gravatar image -->
|
||||
<?php
|
||||
$email = $user['email'];
|
||||
$hash = md5(strtolower(trim($email)));
|
||||
$gravatarUrl = "https://www.gravatar.com/avatar/$hash?s=100";
|
||||
echo "<img src='$gravatarUrl' alt='Gravatar Profile Picture'>";
|
||||
?>
|
||||
|
||||
<a href="logout.php">Logout</a>
|
||||
</body>
|
||||
</html>
|
||||
<!--PAGENAME=You have rights-->
|
||||
<h2>Welcome</h2>
|
||||
<p>Logged in as an admin: <template name="username"></p>
|
||||
<template name="gravatar_image">
|
Reference in New Issue
Block a user