-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpost-admin.php
More file actions
43 lines (42 loc) · 1.27 KB
/
post-admin.php
File metadata and controls
43 lines (42 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
include("incl/multipage.php");
$title = "Admin kommandon";
include("incl/header.php");
if (!isset($_GET['admin-action'])) {
echo<<<HED
<div class="wrap-main">
<main>
<article class="all-browsers">
<header>
<h1>Admin actions</h1>
<p class="author">Updated <time datetime="2020-09-28 11:15:12">September the 28th 2020</time> by 007</p>
</header>
You can open this page only by been automatically sent from admin-page!
</article>
</main>
</div>
HED;
include("incl/byline.php");
include("incl/footer.php");
exit();
} elseif ($_GET['admin-action'] == 'init') {
$msg = 'DB has been restored!';
}
?>
<div class="wrap-main">
<main>
<article class="all-browsers">
<header>
<h1>Admin actions</h1>
<p class="author">Updated <time datetime="2020-09-28 11:15:12">September the 28th 2020</time> by 007</p>
</header>
<section class="kmom">
<h2><?= $msg ?></h2>
Click on <a href="admin.php">admin</a> to proceed with db administration.
</section>
</article>
</main>
</div>
<?php
include("incl/footer.php");
?>