diff --git a/pages/export.php b/pages/export.php index 744bc78..88c4665 100644 --- a/pages/export.php +++ b/pages/export.php @@ -2,47 +2,55 @@ require_once __DIR__ . '/../required.php'; redirectifnotloggedin(); -?> -
-
-
- - -
-
- -
- -
-
- -
-
-
- - -
-
-
- insert('report_access_codes', ['code' => $code, 'expires' => date("Y-m-d H:i:s", strtotime("+5 minutes"))]); +if (!account_has_permission($_SESSION['username'], "QWIKCLOCK_MANAGE")) { ?> - +
+ + +
+
+ + +
+
+ +
+ +
+
+ +
+
+
+ + +
+
+
+ insert('report_access_codes', ['code' => $code, 'expires' => date("Y-m-d H:i:s", strtotime("+5 minutes"))]); + ?> + - -
\ No newline at end of file + + + \ No newline at end of file