Adding all Admin stuff
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
require_once("/var/www/furatalog/data/script/furatalog.sessions.php");
|
||||
$fs = new furatalogSessions();
|
||||
|
||||
if (!$fs->issetSessionData("login") && ($fs->getSessionData("login") != "true-as-hell")) {
|
||||
header("Location: login.php");
|
||||
die();
|
||||
}
|
||||
?>
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Admin Panel - Furatalog.xyz</title>
|
||||
<link rel="stylesheet" href="/data/style/style.css">
|
||||
<link rel="stylesheet" href="/data/style/colors.css">
|
||||
<style>
|
||||
html, body {
|
||||
margin: 0;
|
||||
height: 100%;
|
||||
padding: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="sidebar">
|
||||
<a href="logout.php">Logout</a>
|
||||
<a class="active" href="/admin/">Dashboard</a>
|
||||
<a href="/admin/insert.php">Insert Data (Gumroad)</a>
|
||||
<a href="/admin/insert-species.php">Insert Species</a>
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="adminpanel">
|
||||
<h2>Admin Panel</h2>
|
||||
<p>Welcome to the admin panel.</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user