From ade99491b0e91d42bd76602fdb6c9b352d8c9923 Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Mon, 16 Jul 2012 21:13:09 +0000 Subject: [PATCH] vpnmanager 1.0.0 new theme --- Site/checkadmin.php | 87 ++++++++++++++++++++------------------------- Site/checkuser.php | 82 +++++++++++++++++++----------------------- 2 files changed, 74 insertions(+), 95 deletions(-) diff --git a/Site/checkadmin.php b/Site/checkadmin.php index adecfda..ddc04e4 100755 --- a/Site/checkadmin.php +++ b/Site/checkadmin.php @@ -4,55 +4,44 @@ $urlcut = strpos($moduleurl, "&"); $moduleurl = substr($moduleurl,0,$urlcut); if (!isset ($_SESSION["user_admin"]) || $_SESSION["user_admin"] != "1") { -echo "

Not authenticated!

-
-
- You need to be Admin to view this area! -
-
- - - - - - - - - - - -
Username: -
Passwort:
- -
-
- - -
- - -
-

VPNManagement Version "; echo db_getconfval("version"); echo "

- -
- +echo " +
+
+

Not authenticated!

+
+

Admin rights required!

+
+
+
+ + + + + + + + + + + + +
Username:
Passwort:
+ +
+
+
+
+
+
+
Powered by sprinternet.at | vpnmanager version " . db_getconfval("version") . ".
+
+
    +
  • \"Bugreport\"
  • +
+
+
+
+
"; exit; } diff --git a/Site/checkuser.php b/Site/checkuser.php index 8a9c236..ad1d481 100755 --- a/Site/checkuser.php +++ b/Site/checkuser.php @@ -5,52 +5,42 @@ $moduleurl = substr($moduleurl,0,$urlcut); if (!isset ($_SESSION["user_id"])) { -echo "

Not authenticated!

-
-
- - - - - - - - - - - - -
Username:
Passwort:
- -
-
- - -
- - -
-

VPNManagement Version "; echo db_getconfval("version"); echo "

- -
- +echo " + +
+
+

Not authenticated!

+
+
+ + + + + + + + + + + + +
Username:
Passwort:
+ +
+
+
+ "; exit; }