diff --git a/nrdkwebsite/API.cs b/nrdkwebsite/Extensions/API.cs
similarity index 100%
rename from nrdkwebsite/API.cs
rename to nrdkwebsite/Extensions/API.cs
diff --git a/nrdkwebsite/DatabaseHandler.cs b/nrdkwebsite/Extensions/DatabaseHandler.cs
similarity index 100%
rename from nrdkwebsite/DatabaseHandler.cs
rename to nrdkwebsite/Extensions/DatabaseHandler.cs
diff --git a/nrdkwebsite/User.cs b/nrdkwebsite/Extensions/User.cs
similarity index 100%
rename from nrdkwebsite/User.cs
rename to nrdkwebsite/Extensions/User.cs
diff --git a/nrdkwebsite/Pages/users.cshtml b/nrdkwebsite/Pages/users.cshtml
index cfe3133..5450720 100644
--- a/nrdkwebsite/Pages/users.cshtml
+++ b/nrdkwebsite/Pages/users.cshtml
@@ -1,6 +1,6 @@
@page
@model Users
-@{ViewData["Title"] = "users";}
+@{ ViewData["Title"] = "users"; }
- Айди | Никнейм | Масть |
- Loading... | Loading... | Loading... |
+
+ Айди | Никнейм | Масть |
+
+
+ Loading... | Loading... | Loading... |
+
- @{
- if (ViewData["Admin"] == "true")
- {
-
- }
- }
+
-@{
- if (ViewData["Admin"] == "true")
- {
-
-
- }
- }
+
+
+
\ No newline at end of file
diff --git a/nrdkwebsite/Program.cs b/nrdkwebsite/Program.cs
index d73ab58..7f78757 100644
--- a/nrdkwebsite/Program.cs
+++ b/nrdkwebsite/Program.cs
@@ -30,3 +30,8 @@ app.UseAuthorization();
app.MapRazorPages();
app.Run();
+
+
+
+
+
diff --git a/nrdkwebsite/wwwroot/js/admin.js b/nrdkwebsite/wwwroot/js/admin.js
index c2e0c60..ad4fc80 100644
--- a/nrdkwebsite/wwwroot/js/admin.js
+++ b/nrdkwebsite/wwwroot/js/admin.js
@@ -1,4 +1,8 @@
function admin() {
+ let person = prompt("Введите пинкод", "1234")
+ if (md5(person) !== "3d65eea6270a01922434000ca578b198") {
+ return;
+ }
document.body.style.background = "black";
document.getElementById("admin").remove();
let adminbuttons = document.getElementsByClassName("ADMINBUT");
diff --git a/nrdkwebsite/wwwroot/js/md5.min.js b/nrdkwebsite/wwwroot/js/md5.min.js
new file mode 100644
index 0000000..f414e7c
--- /dev/null
+++ b/nrdkwebsite/wwwroot/js/md5.min.js
@@ -0,0 +1,2 @@
+!function(n){"use strict";function d(n,t){var r=(65535&n)+(65535&t);return(n>>16)+(t>>16)+(r>>16)<<16|65535&r}function f(n,t,r,e,o,u){return d((u=d(d(t,n),d(e,u)))<>>32-o,r)}function l(n,t,r,e,o,u,c){return f(t&r|~t&e,n,t,o,u,c)}function g(n,t,r,e,o,u,c){return f(t&e|r&~e,n,t,o,u,c)}function v(n,t,r,e,o,u,c){return f(t^r^e,n,t,o,u,c)}function m(n,t,r,e,o,u,c){return f(r^(t|~e),n,t,o,u,c)}function c(n,t){var r,e,o,u;n[t>>5]|=128<>>9<<4)]=t;for(var c=1732584193,f=-271733879,i=-1732584194,a=271733878,h=0;h>5]>>>e%32&255);return t}function a(n){var t=[];for(t[(n.length>>2)-1]=void 0,e=0;e>5]|=(255&n.charCodeAt(e/8))<>>4&15)+r.charAt(15&t);return e}function r(n){return unescape(encodeURIComponent(n))}function o(n){return i(c(a(n=r(n)),8*n.length))}function u(n,t){return function(n,t){var r,e=a(n),o=[],u=[];for(o[15]=u[15]=void 0,16