aboutsummaryrefslogtreecommitdiff
path: root/public/cart.php
diff options
context:
space:
mode:
Diffstat (limited to 'public/cart.php')
-rw-r--r--public/cart.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/public/cart.php b/public/cart.php
index f3b9b5e..60f4c63 100644
--- a/public/cart.php
+++ b/public/cart.php
@@ -53,6 +53,16 @@ EOF;
<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-order.php" method="get" class="d-ib">
+ <input type="submit" value="Bestellingen beheren" class="button filled">
+ </form>
+ </div>
+ EOF;
+ } while (false); ?>
<h2>dingen in de mand van <?php echo $username ?></h2>
<?php do {
global $username;