Update index.html
Browse files- index.html +153 -49
index.html
CHANGED
|
@@ -5,121 +5,206 @@
|
|
| 5 |
<title>معهد مدينة العلوم العصرية</title>
|
| 6 |
<meta name="viewport" content="width=device-width, initial-scale=1">
|
| 7 |
<!-- خط عربي جذاب -->
|
| 8 |
-
<link href="https://fonts.googleapis.com/css?family=Cairo&display=swap" rel="stylesheet">
|
| 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;
|
| 18 |
-
background: linear-gradient(135deg, #
|
| 19 |
-
color: #
|
| 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.
|
| 27 |
padding: 40px 20px;
|
| 28 |
-
margin-bottom:
|
| 29 |
-
box-shadow: 0 4px
|
| 30 |
animation: fadeInDown 1s ease-in-out;
|
|
|
|
| 31 |
}
|
|
|
|
| 32 |
header img {
|
| 33 |
-
max-width:
|
| 34 |
-
margin-bottom:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
}
|
|
|
|
| 36 |
header h1 {
|
| 37 |
-
margin: 0;
|
| 38 |
font-size: 2.8rem;
|
| 39 |
font-weight: bold;
|
| 40 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
}
|
|
|
|
| 42 |
.container {
|
| 43 |
-
max-width:
|
| 44 |
margin: auto;
|
| 45 |
padding: 20px;
|
| 46 |
animation: fadeIn 1.5s ease-in-out;
|
| 47 |
}
|
|
|
|
| 48 |
.description {
|
| 49 |
-
margin-bottom:
|
| 50 |
-
font-size: 1.
|
| 51 |
font-weight: 500;
|
| 52 |
-
padding:
|
| 53 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
}
|
|
|
|
| 55 |
.link-button {
|
| 56 |
display: block;
|
| 57 |
-
margin:
|
| 58 |
-
padding:
|
| 59 |
-
width:
|
| 60 |
-
max-width:
|
| 61 |
-
font-size: 1.
|
| 62 |
font-weight: bold;
|
| 63 |
-
color: #
|
| 64 |
-
background
|
| 65 |
border: none;
|
| 66 |
border-radius: 50px;
|
| 67 |
cursor: pointer;
|
| 68 |
transition: all 0.3s ease;
|
| 69 |
text-decoration: none;
|
|
|
|
| 70 |
}
|
|
|
|
| 71 |
.link-button:hover {
|
| 72 |
-
background
|
| 73 |
-
transform: translateY(-
|
| 74 |
-
box-shadow: 0
|
| 75 |
}
|
|
|
|
| 76 |
.info-section {
|
| 77 |
-
margin:
|
| 78 |
-
padding:
|
| 79 |
max-width: 800px;
|
| 80 |
-
background: rgba(255,255,255,0.
|
| 81 |
-
border-radius:
|
| 82 |
-
box-shadow: 0
|
| 83 |
animation: fadeInUp 1.2s ease-in-out;
|
|
|
|
| 84 |
}
|
|
|
|
| 85 |
.info-section p {
|
| 86 |
-
margin:
|
| 87 |
-
font-size: 1.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 88 |
}
|
|
|
|
| 89 |
footer {
|
| 90 |
-
margin-top:
|
| 91 |
-
padding:
|
| 92 |
-
font-size:
|
| 93 |
-
background: rgba(
|
| 94 |
animation: fadeIn 1.5s ease-in-out;
|
|
|
|
|
|
|
| 95 |
}
|
|
|
|
| 96 |
footer a {
|
| 97 |
-
color: #
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 98 |
text-decoration: underline;
|
| 99 |
}
|
|
|
|
| 100 |
@keyframes fadeInDown {
|
| 101 |
-
from { opacity: 0; transform: translateY(-
|
| 102 |
to { opacity: 1; transform: translateY(0); }
|
| 103 |
}
|
|
|
|
| 104 |
@keyframes fadeInUp {
|
| 105 |
-
from { opacity: 0; transform: translateY(
|
| 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>
|
| 120 |
<header>
|
| 121 |
-
|
| 122 |
-
<img src="logo.png" alt="شعار المعهد">
|
| 123 |
<h1>معهد مدينة العلوم العصرية</h1>
|
| 124 |
</header>
|
| 125 |
|
|
@@ -143,8 +228,9 @@
|
|
| 143 |
|
| 144 |
<!-- قسم المعلومات الإضافية -->
|
| 145 |
<div class="info-section">
|
| 146 |
-
<p
|
| 147 |
-
<p
|
|
|
|
| 148 |
</div>
|
| 149 |
</div>
|
| 150 |
|
|
@@ -160,26 +246,44 @@
|
|
| 160 |
firstYear: "https://quintadb.com/apps/cgvmoeW55dI43dTNDJW7WH/portals/coWOO0W7vdPykeWQboW71s/widget",
|
| 161 |
secondYear: "#" // الرابط غير متوفر حالياً
|
| 162 |
};
|
| 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];
|
| 174 |
if(url !== "#") {
|
| 175 |
window.location.href = url;
|
| 176 |
} else {
|
| 177 |
-
alert("الرابط غير متوفر
|
| 178 |
}
|
| 179 |
} else {
|
| 180 |
-
alert("كلمة مرور غير صحيحة!");
|
| 181 |
}
|
| 182 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 183 |
</script>
|
| 184 |
</body>
|
| 185 |
-
</html>
|
|
|
|
| 5 |
<title>معهد مدينة العلوم العصرية</title>
|
| 6 |
<meta name="viewport" content="width=device-width, initial-scale=1">
|
| 7 |
<!-- خط عربي جذاب -->
|
| 8 |
+
<link href="https://fonts.googleapis.com/css?family=Cairo:400,600,700&display=swap" rel="stylesheet">
|
| 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 |
+
margin: 0;
|
| 15 |
+
padding: 0;
|
| 16 |
}
|
| 17 |
+
|
| 18 |
body {
|
|
|
|
| 19 |
font-family: 'Cairo', sans-serif;
|
| 20 |
+
background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
|
| 21 |
+
color: #334155;
|
| 22 |
direction: rtl;
|
| 23 |
text-align: center;
|
| 24 |
overflow-x: hidden;
|
| 25 |
line-height: 1.6;
|
| 26 |
}
|
| 27 |
+
|
| 28 |
header {
|
| 29 |
+
background: rgba(255,255,255,0.85);
|
| 30 |
padding: 40px 20px;
|
| 31 |
+
margin-bottom: 40px;
|
| 32 |
+
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
|
| 33 |
animation: fadeInDown 1s ease-in-out;
|
| 34 |
+
border-bottom: 5px solid #3b82f6;
|
| 35 |
}
|
| 36 |
+
|
| 37 |
header img {
|
| 38 |
+
max-width: 150px;
|
| 39 |
+
margin-bottom: 15px;
|
| 40 |
+
border-radius: 10px;
|
| 41 |
+
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
|
| 42 |
+
transition: transform 0.3s ease;
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
header img:hover {
|
| 46 |
+
transform: scale(1.05);
|
| 47 |
}
|
| 48 |
+
|
| 49 |
header h1 {
|
| 50 |
+
margin: 10px 0;
|
| 51 |
font-size: 2.8rem;
|
| 52 |
font-weight: bold;
|
| 53 |
+
background: linear-gradient(45deg, #3b82f6, #2563eb);
|
| 54 |
+
-webkit-background-clip: text;
|
| 55 |
+
background-clip: text;
|
| 56 |
+
color: transparent;
|
| 57 |
+
text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
|
| 58 |
}
|
| 59 |
+
|
| 60 |
.container {
|
| 61 |
+
max-width: 900px;
|
| 62 |
margin: auto;
|
| 63 |
padding: 20px;
|
| 64 |
animation: fadeIn 1.5s ease-in-out;
|
| 65 |
}
|
| 66 |
+
|
| 67 |
.description {
|
| 68 |
+
margin-bottom: 40px;
|
| 69 |
+
font-size: 1.5rem;
|
| 70 |
font-weight: 500;
|
| 71 |
+
padding: 15px;
|
| 72 |
+
color: #334155;
|
| 73 |
+
border-bottom: 3px solid rgba(59, 130, 246, 0.3);
|
| 74 |
+
border-radius: 5px;
|
| 75 |
+
background-color: rgba(255, 255, 255, 0.7);
|
| 76 |
+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
|
| 77 |
}
|
| 78 |
+
|
| 79 |
.link-button {
|
| 80 |
display: block;
|
| 81 |
+
margin: 30px auto;
|
| 82 |
+
padding: 18px 25px;
|
| 83 |
+
width: 85%;
|
| 84 |
+
max-width: 380px;
|
| 85 |
+
font-size: 1.3rem;
|
| 86 |
font-weight: bold;
|
| 87 |
+
color: #fff;
|
| 88 |
+
background: linear-gradient(45deg, #3b82f6, #2563eb);
|
| 89 |
border: none;
|
| 90 |
border-radius: 50px;
|
| 91 |
cursor: pointer;
|
| 92 |
transition: all 0.3s ease;
|
| 93 |
text-decoration: none;
|
| 94 |
+
box-shadow: 0 4px 10px rgba(59, 130, 246, 0.4);
|
| 95 |
}
|
| 96 |
+
|
| 97 |
.link-button:hover {
|
| 98 |
+
background: linear-gradient(45deg, #2563eb, #1d4ed8);
|
| 99 |
+
transform: translateY(-5px);
|
| 100 |
+
box-shadow: 0 8px 15px rgba(59, 130, 246, 0.5);
|
| 101 |
}
|
| 102 |
+
|
| 103 |
.info-section {
|
| 104 |
+
margin: 50px auto;
|
| 105 |
+
padding: 25px;
|
| 106 |
max-width: 800px;
|
| 107 |
+
background: linear-gradient(45deg, rgba(255, 255, 255, 0.9), rgba(240, 249, 255, 0.9));
|
| 108 |
+
border-radius: 15px;
|
| 109 |
+
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
|
| 110 |
animation: fadeInUp 1.2s ease-in-out;
|
| 111 |
+
border-right: 5px solid #3b82f6;
|
| 112 |
}
|
| 113 |
+
|
| 114 |
.info-section p {
|
| 115 |
+
margin: 15px 0;
|
| 116 |
+
font-size: 1.3rem;
|
| 117 |
+
color: #1e3a8a;
|
| 118 |
+
}
|
| 119 |
+
|
| 120 |
+
.highlight {
|
| 121 |
+
display: inline-block;
|
| 122 |
+
background: rgba(59, 130, 246, 0.15);
|
| 123 |
+
padding: 3px 8px;
|
| 124 |
+
border-radius: 5px;
|
| 125 |
+
font-weight: 600;
|
| 126 |
}
|
| 127 |
+
|
| 128 |
footer {
|
| 129 |
+
margin-top: 60px;
|
| 130 |
+
padding: 30px;
|
| 131 |
+
font-size: 1rem;
|
| 132 |
+
background: rgba(59, 130, 246, 0.1);
|
| 133 |
animation: fadeIn 1.5s ease-in-out;
|
| 134 |
+
color: #1e3a8a;
|
| 135 |
+
border-top: 1px solid rgba(59, 130, 246, 0.3);
|
| 136 |
}
|
| 137 |
+
|
| 138 |
footer a {
|
| 139 |
+
color: #2563eb;
|
| 140 |
+
text-decoration: none;
|
| 141 |
+
font-weight: 600;
|
| 142 |
+
transition: all 0.3s ease;
|
| 143 |
+
}
|
| 144 |
+
|
| 145 |
+
footer a:hover {
|
| 146 |
+
color: #1d4ed8;
|
| 147 |
text-decoration: underline;
|
| 148 |
}
|
| 149 |
+
|
| 150 |
@keyframes fadeInDown {
|
| 151 |
+
from { opacity: 0; transform: translateY(-30px); }
|
| 152 |
to { opacity: 1; transform: translateY(0); }
|
| 153 |
}
|
| 154 |
+
|
| 155 |
@keyframes fadeInUp {
|
| 156 |
+
from { opacity: 0; transform: translateY(30px); }
|
| 157 |
to { opacity: 1; transform: translateY(0); }
|
| 158 |
}
|
| 159 |
+
|
| 160 |
@keyframes fadeIn {
|
| 161 |
from { opacity: 0; }
|
| 162 |
to { opacity: 1; }
|
| 163 |
}
|
| 164 |
+
|
| 165 |
/* تفاعل حركة عند المرور بالماوس على الأقسام */
|
| 166 |
.info-section:hover {
|
| 167 |
transform: scale(1.02);
|
| 168 |
transition: transform 0.3s ease;
|
| 169 |
+
box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
|
| 170 |
+
}
|
| 171 |
+
|
| 172 |
+
/* ايقونات تحسين المظهر */
|
| 173 |
+
.icon {
|
| 174 |
+
font-size: 1.8rem;
|
| 175 |
+
margin-left: 5px;
|
| 176 |
+
color: #3b82f6;
|
| 177 |
+
}
|
| 178 |
+
|
| 179 |
+
/* تأثيرات الزر عند الضغط */
|
| 180 |
+
.link-button:active {
|
| 181 |
+
transform: scale(0.98);
|
| 182 |
+
}
|
| 183 |
+
|
| 184 |
+
/* تحسينات للهواتف المحمولة */
|
| 185 |
+
@media (max-width: 768px) {
|
| 186 |
+
header h1 {
|
| 187 |
+
font-size: 2.2rem;
|
| 188 |
+
}
|
| 189 |
+
|
| 190 |
+
.description {
|
| 191 |
+
font-size: 1.2rem;
|
| 192 |
+
}
|
| 193 |
+
|
| 194 |
+
.link-button {
|
| 195 |
+
width: 92%;
|
| 196 |
+
font-size: 1.1rem;
|
| 197 |
+
}
|
| 198 |
+
|
| 199 |
+
.info-section p {
|
| 200 |
+
font-size: 1.1rem;
|
| 201 |
+
}
|
| 202 |
}
|
| 203 |
</style>
|
| 204 |
</head>
|
| 205 |
<body>
|
| 206 |
<header>
|
| 207 |
+
<img src="https://ufastpro.com/wp-content/uploads/2025/04/476234917_1002033431973236_2935522081755714863_n.jpg" alt="شعار المعهد">
|
|
|
|
| 208 |
<h1>معهد مدينة العلوم العصرية</h1>
|
| 209 |
</header>
|
| 210 |
|
|
|
|
| 228 |
|
| 229 |
<!-- قسم المعلومات الإضافية -->
|
| 230 |
<div class="info-section">
|
| 231 |
+
<p><span class="icon">✅</span> <span class="highlight">ترخيص وزارة التربية والتعليم ووزارة الاتصالات</span></p>
|
| 232 |
+
<p><span class="icon">✅</span> <span class="highlight">المعهد يؤجل التجنيد</span></p>
|
| 233 |
+
<p><span class="icon">✅</span> <span class="highlight">خدمات تعليمية متميزة ومناهج متطورة</span></p>
|
| 234 |
</div>
|
| 235 |
</div>
|
| 236 |
|
|
|
|
| 246 |
firstYear: "https://quintadb.com/apps/cgvmoeW55dI43dTNDJW7WH/portals/coWOO0W7vdPykeWQboW71s/widget",
|
| 247 |
secondYear: "#" // الرابط غير متوفر حالياً
|
| 248 |
};
|
| 249 |
+
|
| 250 |
// تشفير كلمة المرور باستخدام SHA256
|
| 251 |
// كلمة المرور الأصلية: "112233445566"
|
| 252 |
const hashedPassword = "ab9e7e43b882fa3d5b9b1e8d652fca38d1b90a3dc90a28bbdcf742728a5a1a7f";
|
| 253 |
+
|
| 254 |
function validateAndRedirect(system) {
|
| 255 |
const userPass = prompt("أدخل كلمة المرور للدخول:");
|
| 256 |
if (userPass === null) return; // إذا تم إلغاء الإدخال
|
| 257 |
+
|
| 258 |
const userHash = CryptoJS.SHA256(userPass).toString();
|
| 259 |
+
|
| 260 |
if (userHash === hashedPassword) {
|
| 261 |
const url = links[system];
|
| 262 |
if(url !== "#") {
|
| 263 |
window.location.href = url;
|
| 264 |
} else {
|
| 265 |
+
alert("الرابط غير متوفر حالياً، سيتم إضافته قريباً.");
|
| 266 |
}
|
| 267 |
} else {
|
| 268 |
+
alert("كلمة مرور غير صحيحة! الرجاء المحاولة مرة أخرى.");
|
| 269 |
}
|
| 270 |
}
|
| 271 |
+
|
| 272 |
+
// إضافة تأثير ظهور تدريجي للعناصر عند التمرير
|
| 273 |
+
window.addEventListener('DOMContentLoaded', () => {
|
| 274 |
+
const observer = new IntersectionObserver((entries) => {
|
| 275 |
+
entries.forEach(entry => {
|
| 276 |
+
if (entry.isIntersecting) {
|
| 277 |
+
entry.target.style.opacity = 1;
|
| 278 |
+
entry.target.style.transform = 'translateY(0)';
|
| 279 |
+
}
|
| 280 |
+
});
|
| 281 |
+
});
|
| 282 |
+
|
| 283 |
+
document.querySelectorAll('.link-button, .info-section').forEach(el => {
|
| 284 |
+
observer.observe(el);
|
| 285 |
+
});
|
| 286 |
+
});
|
| 287 |
</script>
|
| 288 |
</body>
|
| 289 |
+
</html>
|