-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvis.html
More file actions
300 lines (271 loc) · 8.77 KB
/
Copy pathvis.html
File metadata and controls
300 lines (271 loc) · 8.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
<!DOCTYPE html>
<html lang="en" dir="rtl">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>التحديثات</title>
<link rel="icon" href="https://i.postimg.cc/4yF2CKwD/abn.png" type="image/icon type">
</head>
<header>
<img src="https://i.postimg.cc/gJV7wWxh/logo1.png" alt="logo" class="logo">
</header>
<body>
<header>
<h1>آخر التحديثات</h1>
</header>
<a href="#" onclick="window.history.back();" class="return-home-button">العودة</a>
<main>
<section>
<h2>ديسمبر 2025</h2>
<article>
<h3>خاصية إعادة تعيين كلمة المرور</h3>
<p>تمت إضافة خاصية إعادة تعيين كلمة المرور , في حالة نسيان الطالب لكلمة مروره يستطيع إستعادتها بسهولة
الخاصية موجودة في خانة تسجيل دخول طالب.</p>
<small>تاريخ: 21 ديسمبر 2025</small>
</article>
<article>
<h3>تحسينات الأداء</h3>
<p>تم تغيير واجهة الموقع كليا وتحسين تجربة إستخدامه.</p>
<small>تاريخ: 16 ديسمبر 2025</small>
</article>
</section>
<section>
<h2>أبريل 2025</h2>
<article>
<h3>تسهيل إنشاء حساب طالب وإزالة التعقيدات</h3>
<p>تم إلغاء طلب تحقق الحساب من قبل إدارة المدرسة وإستبدالها بطرق أخرى لجعل عملية أنشاء حساب وتسجيل دخول بسيطة على الطالب.</p>
<small>تاريخ: 2 أبريل 2025</small>
</article>
<article>
<h3>تحسينات الأداء</h3>
<p>تم تحسين أنظمة حماية الموقع للحفاظ على أمن بياناتكم.</p>
<small>تاريخ: 2 أبريل 2025</small>
</article>
</section>
<section>
<h2>نوفمبر 2024</h2>
<article>
<h3>إطلاق خيار جديد: القدرات والتحصيلي</h3>
<p> تم إضافة خيار القدرات والتحصيلي لمساعدة الطالب على التدرب وتطوير مهاراته من خلال اختبار نفسه.</p>
<small>تاريخ: 30 نوفمبر 2024</small>
</article>
<article>
<h3>تحسينات الأداء</h3>
<p> جعلنا الموقع مرن بنسبة 100%.</p>
<small>تاريخ: 20 نوفمبر 2024</small>
</article>
</section>
<section>
<h2>مايو 2023</h2>
<article>
<h3>تم إنشاء الموقع</h3>
<p>الحمدلله الذي بنعمتة تتم الصالحات تم إنشاء موقع ثانوية ابن حزم.</p>
<small>تاريخ: 14 مايو 2023يييي</small>
</article>
</main>
<footer>
<p>© <span id="year"></span> جميع الحقوق محفوظة.</p>
</footer>
</body>
<style>
.logo {
position: absolute;
top: 2%; /* موقع مرن نسبة إلى ارتفاع الشاشة */
left: 2%; /* موقع مرن نسبة إلى عرض الشاشة */
width: 7vw; /* العرض مرن ويتغير بناءً على عرض النافذة */
height: auto; /* الحفاظ على نسبة الأبعاد الأصلية */
max-width: 120px; /* تحديد الحد الأقصى للحجم */
min-width: 50px; /* تحديد الحد الأدنى للحجم */
}
body {
font-family: Arial, sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
background-color: #f9f9f9;
color: #333;
overflow-x: hidden;
}
header {
background:#14b9d0;
color: white;
text-align: center;
padding: 1rem 0;
}
main {
padding: 1rem 2rem;
}
section h2 {
color: #109eb1;
}
article {
margin-bottom: 1rem;
padding: 1rem;
background: #fff;
border: 1px solid #ddd;
border-radius: 5px;
}
footer {
text-align: center;
padding: 1rem;
background: #333;
color: white;
width: 100%;
}
.return-home-button {
background-color: #f6b100;
color: #ffffff;
padding: 10px 20px;
border-radius: 5px;
text-decoration: none;
font-weight: bold;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
position: relative;
top: -100px;
}
.return-home-button:hover {
background-color: #c48d01;
color: white;
}
</style>
<script>
document.addEventListener('keydown', function(event) {
// تعطيل F12
if (event.key === 'F12') {
event.preventDefault();
return false;
}
})
document.addEventListener('contextmenu', function(event) {
event.preventDefault();
});
console.log = function() {};
console.warn = function() {};
console.error = function() {};
console.info = function() {};
console.debug = function() {};
document.getElementById("year").textContent = new Date().getFullYear();
document.addEventListener('keydown', function(e) {
// F12
if(e.key === 'F12') e.preventDefault();
// Ctrl+Shift+I / Ctrl+Shift+J / Ctrl+Shift+C
if(e.ctrlKey && e.shiftKey && ['I','J','C'].includes(e.key)) e.preventDefault();
// Ctrl+U (عرض مصدر الصفحة)
if(e.ctrlKey && e.key === 'u') e.preventDefault();
// Ctrl+S (حفظ الصفحة)
if(e.ctrlKey && e.key === 's') e.preventDefault();
// Ctrl+Shift+S
if(e.ctrlKey && e.shiftKey && e.key === 'S') e.preventDefault();
});
// ======== منع كليك يمين ========
document.addEventListener('contextmenu', function(e) {
e.preventDefault();
});
// ======== محاولة كشف DevTools المفتوح ========
let devtools = { open: false };
const threshold = 160; // ارتفاع/عرض الافتراضي
setInterval(() => {
const widthThreshold = window.outerWidth - window.innerWidth > threshold;
const heightThreshold = window.outerHeight - window.innerHeight > threshold;
devtools.open = widthThreshold || heightThreshold;
if(devtools.open) {
alert("🚫 تم كشف أدوات المطور!");
// يمكن إعادة توجيه الصفحة أو تعطيل المحتوى
window.location.href = "about:blank";
}
}, 500);
// ======== منع استخدام console ========
(function() {
const originalConsole = console.log;
console.log = function() {
alert("🚫 لا يمكنك استخدام console!");
return originalConsole.apply(console, arguments);
}
})();
// ======== تحريك النافذة لإرباك DevTools ========
setInterval(() => {
if(devtools.open){
window.resizeTo(100,100); // يصغر النافذة لو DevTools مفتوح
}
}, 1000);
</script>
<style>
/* خلفية شفافة */
.custom-alert-overlay{
position:fixed;
top:0;left:0;
width:100%;height:100%;
background:rgba(0,0,0,.45);
display:flex;
align-items:center;
justify-content:center;
z-index:99999;
opacity:0;
pointer-events:none;
transition:.25s;
}
/* الصندوق */
.custom-alert-box{
background:#fff;
width:320px;
max-width:90%;
padding:22px;
border-radius:14px;
text-align:center;
box-shadow:0 20px 40px rgba(0,0,0,.25);
transform:translateY(30px);
transition:.25s;
font-family:Arial;
}
/* النص */
.custom-alert-text{
margin-bottom:18px;
font-size:16px;
color:#333;
line-height:1.7;
}
/* الزر */
.custom-alert-btn{
background:#005d7e;
color:#fff;
border:none;
padding:10px 22px;
border-radius:8px;
cursor:pointer;
font-size:15px;
transition:.2s;
}
.custom-alert-btn:hover{
background:#007fa8;
}
.custom-alert-overlay.show{
opacity:1;
pointer-events:auto;
}
.custom-alert-overlay.show .custom-alert-box{
transform:translateY(0);
}
</style>
<script>
(function(){
const overlay = document.createElement("div");
overlay.className="custom-alert-overlay";
overlay.innerHTML=`
<div class="custom-alert-box">
<div class="custom-alert-text" id="customAlertText"></div>
<button class="custom-alert-btn">حسناً</button>
</div>
`;
document.body.appendChild(overlay);
const text = overlay.querySelector("#customAlertText");
const btn = overlay.querySelector("button");
window.alert = function(message){
text.innerHTML = message;
overlay.classList.add("show");
};
btn.onclick = () => overlay.classList.remove("show");
})();
</script>
</body>
</html>