diff options
author | lonkaars <loek@pipeframe.xyz> | 2023-05-21 17:23:54 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2023-05-21 17:23:54 +0200 |
commit | 05d4f801fa8a519e257993cfa5bf1d72cdb7646f (patch) | |
tree | 8414b1dd2bc891839abca26234a9c1a6f7fa4c15 /public/cart.php | |
parent | 690516d932e6894938622472222cdfcb06740a83 (diff) |
admin order editing page added
Diffstat (limited to 'public/cart.php')
-rw-r--r-- | public/cart.php | 10 |
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; |