stat2025 commited on
Commit
db5f51b
·
verified ·
1 Parent(s): dad49e7

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +15 -67
index.html CHANGED
@@ -1,75 +1,23 @@
1
-
2
  <!DOCTYPE html>
3
  <html lang="ar" dir="rtl">
4
  <head>
5
- <meta charset="utf-8"/>
6
- <title>اختر الصفحة</title>
7
- <style>
8
- body { font-family: Arial, sans-serif; margin: 20px; }
9
- h1 { margin-bottom: 10px; }
10
- ul { line-height: 1.9; }
11
- a { color:#0b6efd; text-decoration:none; }
12
- a:hover { text-decoration:underline; }
13
- .btn {
14
- padding: 8px 12px; background: #28a745; color: #fff; border: 0;
15
- border-radius: 6px; cursor: pointer; margin-bottom: 12px;
16
  }
17
- .mini { font-size: 12px; color:#666; margin-right:8px; }
18
- </style>
19
-
20
- <script src="https://cdn.jsdelivr.net/npm/xlsx@0.18.5/dist/xlsx.full.min.js"></script>
21
  </head>
22
  <body>
23
-
24
- <h1ختر الصفحة</h1>
25
-
26
- <button class="btn" onclick="exportAllToExcel()">تحميل قائمة الروابط (Excel)</button>
27
- <span class="mini">تصميم وإعداد نوف الناصر</span>
28
-
29
- <ul id="pages-list"></ul>
30
-
31
- <script>
32
- const FOLDER = 'Hekly';
33
- const TOTAL_PAGES = 112;
34
-
35
- function pageUrl(n) {
36
- const two = String(n).padStart(2, '0');
37
- const base = location.origin + location.pathname.replace(/[^/]*$/, '');
38
- return `${base}${FOLDER}/${two}.html`;
39
- }
40
-
41
- // إنشاء القائمة على الصفحة
42
- (function buildList() {
43
- const ul = document.getElementById('pages-list');
44
- for (let i = 1; i <= TOTAL_PAGES; i++) {
45
- const li = document.createElement('li');
46
- const a = document.createElement('a');
47
- a.href = `${FOLDER}/${String(i).padStart(2,'0')}.html`;
48
- a.target = '_blank';
49
- a.textContent = `صفحة ${i}`;
50
- li.appendChild(a);
51
- ul.appendChild(li);
52
- }
53
- })();
54
-
55
- // تصدير للإكسل بحيث يظهر الرابط نفسه
56
- function exportAllToExcel() {
57
- const rows = [];
58
- for (let i = 1; i <= TOTAL_PAGES; i++) {
59
- const link = pageUrl(i);
60
- rows.push({
61
- 'الصفحة': `صفحة ${i}`,
62
- 'الرابط': link
63
- });
64
- }
65
-
66
- const ws = XLSX.utils.json_to_sheet([]);
67
- XLSX.utils.sheet_add_json(ws, rows, { origin: "A1", skipHeader: false });
68
-
69
- const wb = XLSX.utils.book_new();
70
- XLSX.utils.book_append_sheet(wb, ws, 'links');
71
- XLSX.writeFile(wb, 'روابط_الصفحات.xlsx');
72
- }
73
- </script>
74
  </body>
75
  </html>
 
 
1
  <!DOCTYPE html>
2
  <html lang="ar" dir="rtl">
3
  <head>
4
+ <meta charset="utf-8"/>
5
+ <title>تحت المعالجة</title>
6
+ <style>
7
+ body {
8
+ font-family: Arial, sans-serif;
9
+ text-align: center;
10
+ margin-top: 100px;
11
+ background-color: #f8f9fa;
12
+ color: #333;
 
 
13
  }
14
+ h1 {
15
+ color: red;
16
+ }
17
+ </style>
18
  </head>
19
  <body>
20
+ <h1>🚧 جاري تعديل الكود 🚧</h1>
21
+ <pلصفحة تحت المعالجة حالياً، يرجى العودة لاحقاً.</p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  </body>
23
  </html>