Update index.html
Browse files- index.html +52 -12
index.html
CHANGED
@@ -9,6 +9,9 @@
|
|
9 |
<!-- مكتبة التشفير SHA256 -->
|
10 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.1.1/crypto-js.min.js"></script>
|
11 |
<style>
|
|
|
|
|
|
|
12 |
body {
|
13 |
margin: 0;
|
14 |
font-family: 'Cairo', sans-serif;
|
@@ -17,11 +20,12 @@
|
|
17 |
direction: rtl;
|
18 |
text-align: center;
|
19 |
overflow-x: hidden;
|
|
|
20 |
}
|
21 |
header {
|
22 |
-
background: rgba(255,255,255,0.
|
23 |
-
padding:
|
24 |
-
margin-bottom:
|
25 |
box-shadow: 0 4px 10px rgba(0,0,0,0.3);
|
26 |
animation: fadeInDown 1s ease-in-out;
|
27 |
}
|
@@ -31,24 +35,26 @@
|
|
31 |
}
|
32 |
header h1 {
|
33 |
margin: 0;
|
34 |
-
font-size: 2.
|
35 |
font-weight: bold;
|
36 |
text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
|
37 |
}
|
38 |
.container {
|
39 |
-
max-width:
|
40 |
margin: auto;
|
41 |
padding: 20px;
|
42 |
animation: fadeIn 1.5s ease-in-out;
|
43 |
}
|
44 |
.description {
|
45 |
-
margin-bottom:
|
46 |
-
font-size: 1.
|
47 |
font-weight: 500;
|
|
|
|
|
48 |
}
|
49 |
.link-button {
|
50 |
display: block;
|
51 |
-
margin:
|
52 |
padding: 15px 25px;
|
53 |
width: 80%;
|
54 |
max-width: 350px;
|
@@ -67,20 +73,47 @@
|
|
67 |
transform: translateY(-3px);
|
68 |
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
|
69 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
footer {
|
71 |
margin-top: 50px;
|
72 |
padding: 20px;
|
73 |
font-size: 0.9rem;
|
74 |
-
background: rgba(0,0,0,0.
|
|
|
|
|
|
|
|
|
|
|
75 |
}
|
76 |
@keyframes fadeInDown {
|
77 |
from { opacity: 0; transform: translateY(-20px); }
|
78 |
to { opacity: 1; transform: translateY(0); }
|
79 |
}
|
|
|
|
|
|
|
|
|
80 |
@keyframes fadeIn {
|
81 |
from { opacity: 0; }
|
82 |
to { opacity: 1; }
|
83 |
}
|
|
|
|
|
|
|
|
|
|
|
84 |
</style>
|
85 |
</head>
|
86 |
<body>
|
@@ -95,6 +128,7 @@
|
|
95 |
مرحباً بكم في بوابة أنظمة المعهد، حيث نرتقي بالتعليم عبر تقنيات وأنظمة متطورة.
|
96 |
</div>
|
97 |
|
|
|
98 |
<a class="link-button" href="#" onclick="validateAndRedirect('exports')">
|
99 |
سيستم الصادرات والواردات
|
100 |
</a>
|
@@ -106,10 +140,17 @@
|
|
106 |
<a class="link-button" href="#" onclick="validateAndRedirect('secondYear')">
|
107 |
سيستم طلاب سنة ثانية
|
108 |
</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
109 |
</div>
|
110 |
|
111 |
<footer>
|
112 |
-
|
|
|
113 |
</footer>
|
114 |
|
115 |
<script>
|
@@ -122,12 +163,11 @@
|
|
122 |
|
123 |
// تشفير كلمة المرور باستخدام SHA256
|
124 |
// كلمة المرور الأصلية: "112233445566"
|
125 |
-
// تم تشفيرها باستخدام CryptoJS.SHA256("112233445566").toString();
|
126 |
const hashedPassword = "ab9e7e43b882fa3d5b9b1e8d652fca38d1b90a3dc90a28bbdcf742728a5a1a7f";
|
127 |
|
128 |
function validateAndRedirect(system) {
|
129 |
const userPass = prompt("أدخل كلمة المرور للدخول:");
|
130 |
-
if (userPass === null) return; //
|
131 |
const userHash = CryptoJS.SHA256(userPass).toString();
|
132 |
if (userHash === hashedPassword) {
|
133 |
const url = links[system];
|
|
|
9 |
<!-- مكتبة التشفير SHA256 -->
|
10 |
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.1.1/crypto-js.min.js"></script>
|
11 |
<style>
|
12 |
+
* {
|
13 |
+
box-sizing: border-box;
|
14 |
+
}
|
15 |
body {
|
16 |
margin: 0;
|
17 |
font-family: 'Cairo', sans-serif;
|
|
|
20 |
direction: rtl;
|
21 |
text-align: center;
|
22 |
overflow-x: hidden;
|
23 |
+
line-height: 1.6;
|
24 |
}
|
25 |
header {
|
26 |
+
background: rgba(255,255,255,0.15);
|
27 |
+
padding: 40px 20px;
|
28 |
+
margin-bottom: 30px;
|
29 |
box-shadow: 0 4px 10px rgba(0,0,0,0.3);
|
30 |
animation: fadeInDown 1s ease-in-out;
|
31 |
}
|
|
|
35 |
}
|
36 |
header h1 {
|
37 |
margin: 0;
|
38 |
+
font-size: 2.8rem;
|
39 |
font-weight: bold;
|
40 |
text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
|
41 |
}
|
42 |
.container {
|
43 |
+
max-width: 800px;
|
44 |
margin: auto;
|
45 |
padding: 20px;
|
46 |
animation: fadeIn 1.5s ease-in-out;
|
47 |
}
|
48 |
.description {
|
49 |
+
margin-bottom: 30px;
|
50 |
+
font-size: 1.4rem;
|
51 |
font-weight: 500;
|
52 |
+
padding: 10px;
|
53 |
+
border-bottom: 2px solid rgba(255,255,255,0.3);
|
54 |
}
|
55 |
.link-button {
|
56 |
display: block;
|
57 |
+
margin: 25px auto;
|
58 |
padding: 15px 25px;
|
59 |
width: 80%;
|
60 |
max-width: 350px;
|
|
|
73 |
transform: translateY(-3px);
|
74 |
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
|
75 |
}
|
76 |
+
.info-section {
|
77 |
+
margin: 40px auto;
|
78 |
+
padding: 20px;
|
79 |
+
max-width: 800px;
|
80 |
+
background: rgba(255,255,255,0.1);
|
81 |
+
border-radius: 10px;
|
82 |
+
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
|
83 |
+
animation: fadeInUp 1.2s ease-in-out;
|
84 |
+
}
|
85 |
+
.info-section p {
|
86 |
+
margin: 10px 0;
|
87 |
+
font-size: 1.2rem;
|
88 |
+
}
|
89 |
footer {
|
90 |
margin-top: 50px;
|
91 |
padding: 20px;
|
92 |
font-size: 0.9rem;
|
93 |
+
background: rgba(0,0,0,0.15);
|
94 |
+
animation: fadeIn 1.5s ease-in-out;
|
95 |
+
}
|
96 |
+
footer a {
|
97 |
+
color: #fff;
|
98 |
+
text-decoration: underline;
|
99 |
}
|
100 |
@keyframes fadeInDown {
|
101 |
from { opacity: 0; transform: translateY(-20px); }
|
102 |
to { opacity: 1; transform: translateY(0); }
|
103 |
}
|
104 |
+
@keyframes fadeInUp {
|
105 |
+
from { opacity: 0; transform: translateY(20px); }
|
106 |
+
to { opacity: 1; transform: translateY(0); }
|
107 |
+
}
|
108 |
@keyframes fadeIn {
|
109 |
from { opacity: 0; }
|
110 |
to { opacity: 1; }
|
111 |
}
|
112 |
+
/* تفاعل حركة عند المرور بالماوس على الأقسام */
|
113 |
+
.info-section:hover {
|
114 |
+
transform: scale(1.02);
|
115 |
+
transition: transform 0.3s ease;
|
116 |
+
}
|
117 |
</style>
|
118 |
</head>
|
119 |
<body>
|
|
|
128 |
مرحباً بكم في بوابة أنظمة المعهد، حيث نرتقي بالتعليم عبر تقنيات وأنظمة متطورة.
|
129 |
</div>
|
130 |
|
131 |
+
<!-- أزرار الدخول للأنظمة -->
|
132 |
<a class="link-button" href="#" onclick="validateAndRedirect('exports')">
|
133 |
سيستم الصادرات والواردات
|
134 |
</a>
|
|
|
140 |
<a class="link-button" href="#" onclick="validateAndRedirect('secondYear')">
|
141 |
سيستم طلاب سنة ثانية
|
142 |
</a>
|
143 |
+
|
144 |
+
<!-- قسم المعلومات الإضافية -->
|
145 |
+
<div class="info-section">
|
146 |
+
<p>💥 ترخيص وزارة التربية والتعليم ووزارة الاتصالات 💥</p>
|
147 |
+
<p>💥 المعهد يؤجل التجنيد 💥</p>
|
148 |
+
</div>
|
149 |
</div>
|
150 |
|
151 |
<footer>
|
152 |
+
<p>من تصميم شركة <a href="https://ufastpro.com/" target="_blank">فاست برو للبرمجيات والذكاء الاصطناعي</a></p>
|
153 |
+
<p>© 2025 معهد مدينة العلوم العصرية. جميع الحقوق محفوظة.</p>
|
154 |
</footer>
|
155 |
|
156 |
<script>
|
|
|
163 |
|
164 |
// تشفير كلمة المرور باستخدام SHA256
|
165 |
// كلمة المرور الأصلية: "112233445566"
|
|
|
166 |
const hashedPassword = "ab9e7e43b882fa3d5b9b1e8d652fca38d1b90a3dc90a28bbdcf742728a5a1a7f";
|
167 |
|
168 |
function validateAndRedirect(system) {
|
169 |
const userPass = prompt("أدخل كلمة المرور للدخول:");
|
170 |
+
if (userPass === null) return; // إذا تم إلغاء الإدخال
|
171 |
const userHash = CryptoJS.SHA256(userPass).toString();
|
172 |
if (userHash === hashedPassword) {
|
173 |
const url = links[system];
|