diff --git a/admin/index.php b/admin/index.php index ac1d2100..cad3daca 100644 --- a/admin/index.php +++ b/admin/index.php @@ -1,10 +1,115 @@ - +getToken()) { + header('Location: ../index.php?msg=Invalid token. Please login.'); + } else if (!$admin->is_admin) { + header('Location: ../index.php?msg=Looks like that you are not administrator :('); + } +} else { + header('Location: ../index.php?msg=Illegal access. Please login.'); +} +?> + + - Console - Blessing Skin Server 0.1 + + + Console - Blessing Skin Server + + + + + + + -

Console

+
+
+ Blessing Skin Server + +
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + query("SELECT * FROM users"); + while ($row = $result->fetch_array()) { ?> + + + + + + + + + +
#UsernamePreview TexturesChange TexturesOpreation
+ '; ?> + '; ?> + + Skin + Cape + + Password + Delete +
+
+ + + + + + + + + diff --git a/assets/css/user.style.css b/assets/css/user.style.css index d1029a78..b4528f84 100644 --- a/assets/css/user.style.css +++ b/assets/css/user.style.css @@ -2,7 +2,7 @@ * @Author: prpr * @Date: 2016-01-21 19:12:06 * @Last Modified by: prpr -* @Last Modified time: 2016-02-03 16:39:42 +* @Last Modified time: 2016-02-04 12:56:15 */ .home-menu-blur { @@ -66,7 +66,7 @@ body { .upload-container { color: #333; - margin-top: 35%; + margin-top: 30%; margin-right: 30%; border: #989898 1px solid; border-radius: 4px; diff --git a/user/index.php b/user/index.php index c6f6b7d5..36352309 100644 --- a/user/index.php +++ b/user/index.php @@ -49,15 +49,15 @@ if (isset($_SESSION['uname'])) {
@@ -85,10 +85,10 @@ if (isset($_SESSION['uname'])) {

Upload

Select a skin:

- +

Select a cape:

- +

Preview @@ -119,7 +119,9 @@ if (isset($_SESSION['uname'])) {

Select a cape:

-

+
+

Well, the skin server does support double layer skin of 1.8, but the preview does not. So just upload and you will get it display well in game.

+ Preview
diff --git a/user/profile.php b/user/profile.php index a90970dc..e24318ae 100644 --- a/user/profile.php +++ b/user/profile.php @@ -3,7 +3,7 @@ * @Author: prpr * @Date: 2016-02-03 16:12:45 * @Last Modified by: prpr - * @Last Modified time: 2016-02-03 23:15:41 + * @Last Modified time: 2016-02-04 12:51:07 */ session_start(); @@ -98,6 +98,16 @@ if (isset($_SESSION['uname'])) {
+ is_admin) { ?> +
+
+
Welcome, administrator.
+
+

Here manage your site: Console

+
+
+
+