aboutsummaryrefslogtreecommitdiff
path: root/public/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'public/index.php')
-rw-r--r--public/index.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/public/index.php b/public/index.php
index 0fd0ff2..fecf624 100644
--- a/public/index.php
+++ b/public/index.php
@@ -20,6 +20,16 @@ function promobuff2str($price_buff, $count_buff) {
<body>
<?php include 'navbar.php' ?>
<div class="main limwidth">
+ <?php do {
+ if (($user_privileges & PRIVILEGE_ADMIN) == 0) break;
+ echo <<<"EOF"
+ <div class="center">
+ <form action="/admin-promo.php" method="get" class="d-ib">
+ <input type="submit" value="Aanbiedingen beheren" class="button filled">
+ </form>
+ </div>
+ EOF;
+ } while (false); ?>
<div class="s1">
<h1>hier zijn de aanbiedingen</h1>
<ul>