47 lines
1.3 KiB
PHP
47 lines
1.3 KiB
PHP
<?php
|
|
/*session_start();
|
|
if (!isset($_SESSION["login"]) && $_SESSION["login"] != "true-as-hell") {
|
|
header("Location: login.php");
|
|
die();
|
|
}*/
|
|
|
|
require_once("/var/www/furatalog/data/script/furatalog.sessions.php");
|
|
$fs = new furatalogSessions();
|
|
|
|
if (($fs->getSessionData("login") == null) && ($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>
|