File size: 25,422 Bytes
5c4710a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
<!DOCTYPE html>
<html lang="ar" dir="rtl">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>نظام المحاسبة المتكامل</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;900&display=swap');
        
        body {
            font-family: 'Tajawal', sans-serif;
            background-color: #f5f7fa;
        }
        
        .sidebar {
            transition: all 0.3s ease;
        }
        
        .sidebar-collapsed {
            width: 80px;
        }
        
        .sidebar-collapsed .nav-text {
            display: none;
        }
        
        .content {
            transition: margin-right 0.3s ease;
        }
        
        .rtl {
            direction: rtl;
        }
        
        .ltr {
            direction: ltr;
        }
        
        .language-switcher {
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .language-switcher:hover {
            transform: scale(1.1);
        }
        
        .dashboard-card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .dashboard-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }
        
        .invoice-table tr:nth-child(even) {
            background-color: #f8fafc;
        }
        
        .invoice-table tr:hover {
            background-color: #f1f5f9;
        }
    </style>
</head>
<body class="rtl bg-gray-50">
    <!-- شريط التنقل العلوي -->
    <nav class="bg-white shadow-sm fixed top-0 right-0 left-0 z-10">
        <div class="px-4 py-3 flex justify-between items-center">
            <div class="flex items-center">
                <button id="sidebarToggle" class="text-gray-600 focus:outline-none">
                    <i class="fas fa-bars text-xl"></i>
                </button>
                <a href="#" class="text-xl font-bold text-blue-600 mr-4">المحاسبة المتكاملة</a>
            </div>
            
            <div class="flex items-center space-x-4 space-x-reverse">
                <div class="relative">
                    <button id="notificationsBtn" class="text-gray-600 focus:outline-none relative">
                        <i class="fas fa-bell text-xl"></i>
                        <span class="absolute top-0 right-0 h-2 w-2 rounded-full bg-red-500"></span>
                    </button>
                    <div id="notificationsDropdown" class="hidden absolute right-0 mt-2 w-64 bg-white rounded-md shadow-lg z-20">
                        <div class="p-4 border-b">
                            <h3 class="font-bold">الإشعارات</h3>
                        </div>
                        <div class="max-h-60 overflow-y-auto">
                            <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">فاتورة جديدة من عميل</a>
                            <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">دفعة مستحقة اليوم</a>
                            <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">تحديث النظام متاح</a>
                        </div>
                    </div>
                </div>
                
                <div class="relative">
                    <button id="userMenuBtn" class="flex items-center text-gray-600 focus:outline-none">
                        <img src="https://ui-avatars.com/api/?name=محاسب&background=4f46e5&color=fff" alt="User" class="h-8 w-8 rounded-full">
                        <span class="mr-2">محاسب</span>
                        <i class="fas fa-chevron-down text-xs"></i>
                    </button>
                    <div id="userMenuDropdown" class="hidden absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg z-20">
                        <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100"><i class="fas fa-user mr-2"></i>الملف الشخصي</a>
                        <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100"><i class="fas fa-cog mr-2"></i>الإعدادات</a>
                        <div class="border-t"></div>
                        <a href="#" class="block px-4 py-2 text-sm text-red-600 hover:bg-gray-100"><i class="fas fa-sign-out-alt mr-2"></i>تسجيل الخروج</a>
                    </div>
                </div>
                
                <div class="language-switcher">
                    <button id="languageBtn" class="text-gray-600 focus:outline-none">
                        <i class="fas fa-globe text-xl"></i>
                    </button>
                </div>
            </div>
        </div>
    </nav>

    <!-- الشريط الجانبي -->
    <div id="sidebar" class="sidebar fixed top-0 right-0 h-full w-64 bg-blue-800 text-white pt-16 z-10">
        <div class="overflow-y-auto h-full pb-16">
            <ul class="mt-6">
                <li class="px-4 py-3 hover:bg-blue-700">
                    <a href="#" class="flex items-center">
                        <i class="fas fa-tachometer-alt text-lg w-6 text-center"></i>
                        <span class="nav-text mr-3">لوحة التحكم</span>
                    </a>
                </li>
                
                <li class="px-4 py-3 hover:bg-blue-700">
                    <a href="#" class="flex items-center">
                        <i class="fas fa-users text-lg w-6 text-center"></i>
                        <span class="nav-text mr-3">العملاء</span>
                    </a>
                </li>
                
                <li class="px-4 py-3 hover:bg-blue-700">
                    <a href="#" class="flex items-center">
                        <i class="fas fa-truck text-lg w-6 text-center"></i>
                        <span class="nav-text mr-3">الموردين</span>
                    </a>
                </li>
                
                <li class="px-4 py-3 hover:bg-blue-700">
                    <a href="#" class="flex items-center">
                        <i class="fas fa-file-invoice-dollar text-lg w-6 text-center"></i>
                        <span class="nav-text mr-3">فواتير البيع</span>
                    </a>
                </li>
                
                <li class="px-4 py-3 hover:bg-blue-700">
                    <a href="#" class="flex items-center">
                        <i class="fas fa-shopping-cart text-lg w-6 text-center"></i>
                        <span class="nav-text mr-3">فواتير الشراء</span>
                    </a>
                </li>
                
                <li class="px-4 py-3 hover:bg-blue-700">
                    <a href="#" class="flex items-center">
                        <i class="fas fa-exchange-alt text-lg w-6 text-center"></i>
                        <span class="nav-text mr-3">المدفوعات</span>
                    </a>
                </li>
                
                <li class="px-4 py-3 hover:bg-blue-700">
                    <a href="#" class="flex items-center">
                        <i class="fas fa-book text-lg w-6 text-center"></i>
                        <span class="nav-text mr-3">دفتر اليومية</span>
                    </a>
                </li>
                
                <li class="px-4 py-3 hover:bg-blue-700">
                    <a href="#" class="flex items-center">
                        <i class="fas fa-chart-line text-lg w-6 text-center"></i>
                        <span class="nav-text mr-3">التقارير</span>
                    </a>
                </li>
                
                <li class="px-4 py-3 hover:bg-blue-700">
                    <a href="#" class="flex items-center">
                        <i class="fas fa-cog text-lg w-6 text-center"></i>
                        <span class="nav-text mr-3">الإعدادات</span>
                    </a>
                </li>
            </ul>
        </div>
    </div>

    <!-- المحتوى الرئيسي -->
    <div id="content" class="content pt-16 pr-64 transition-all duration-300">
        <div class="p-6">
            <!-- عناوين الصفحة -->
            <div class="flex justify-between items-center mb-6">
                <h1 class="text-2xl font-bold text-gray-800">لوحة التحكم</h1>
                <div class="flex space-x-2 space-x-reverse">
                    <button class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md flex items-center">
                        <i class="fas fa-plus ml-2"></i>
                        <span>فاتورة جديدة</span>
                    </button>
                    <button class="bg-white border border-gray-300 hover:bg-gray-50 text-gray-700 px-4 py-2 rounded-md flex items-center">
                        <i class="fas fa-filter ml-2"></i>
                        <span>تصفية</span>
                    </button>
                </div>
            </div>
            
            <!-- بطاقات الإحصائيات -->
            <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6">
                <div class="dashboard-card bg-white rounded-lg shadow p-6">
                    <div class="flex justify-between items-start">
                        <div>
                            <p class="text-gray-500 text-sm">إجمالي المبيعات</p>
                            <h3 class="text-2xl font-bold mt-2">25,430 <span class="text-sm">ر.س</span></h3>
                            <p class="text-green-500 text-sm mt-1"><i class="fas fa-arrow-up mr-1"></i> 12% عن الشهر الماضي</p>
                        </div>
                        <div class="bg-blue-100 p-3 rounded-full text-blue-600">
                            <i class="fas fa-shopping-bag text-xl"></i>
                        </div>
                    </div>
                </div>
                
                <div class="dashboard-card bg-white rounded-lg shadow p-6">
                    <div class="flex justify-between items-start">
                        <div>
                            <p class="text-gray-500 text-sm">إجمالي المشتريات</p>
                            <h3 class="text-2xl font-bold mt-2">18,750 <span class="text-sm">ر.س</span></h3>
                            <p class="text-red-500 text-sm mt-1"><i class="fas fa-arrow-down mr-1"></i> 5% عن الشهر الماضي</p>
                        </div>
                        <div class="bg-purple-100 p-3 rounded-full text-purple-600">
                            <i class="fas fa-cart-arrow-down text-xl"></i>
                        </div>
                    </div>
                </div>
                
                <div class="dashboard-card bg-white rounded-lg shadow p-6">
                    <div class="flex justify-between items-start">
                        <div>
                            <p class="text-gray-500 text-sm">العملاء</p>
                            <h3 class="text-2xl font-bold mt-2">142</h3>
                            <p class="text-green-500 text-sm mt-1"><i class="fas fa-arrow-up mr-1"></i> 8 عملاء جدد</p>
                        </div>
                        <div class="bg-green-100 p-3 rounded-full text-green-600">
                            <i class="fas fa-users text-xl"></i>
                        </div>
                    </div>
                </div>
                
                <div class="dashboard-card bg-white rounded-lg shadow p-6">
                    <div class="flex justify-between items-start">
                        <div>
                            <p class="text-gray-500 text-sm">المدفوعات المستحقة</p>
                            <h3 class="text-2xl font-bold mt-2">7,320 <span class="text-sm">ر.س</span></h3>
                            <p class="text-yellow-500 text-sm mt-1"><i class="fas fa-exclamation-circle mr-1"></i> 5 فواتير</p>
                        </div>
                        <div class="bg-yellow-100 p-3 rounded-full text-yellow-600">
                            <i class="fas fa-hand-holding-usd text-xl"></i>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- الرسوم البيانية والجداول -->
            <div class="grid grid-cols-1 lg:grid-cols-3 gap-6 mb-6">
                <div class="lg:col-span-2 bg-white rounded-lg shadow p-6">
                    <div class="flex justify-between items-center mb-4">
                        <h2 class="text-lg font-semibold">إحصائيات المبيعات</h2>
                        <select class="bg-gray-100 border border-gray-300 text-gray-700 py-1 px-3 rounded-md focus:outline-none">
                            <option>هذا الشهر</option>
                            <option>الشهر الماضي</option>
                            <option>هذا العام</option>
                        </select>
                    </div>
                    <div class="h-64 bg-gray-50 rounded-md flex items-center justify-center">
                        <p class="text-gray-500">رسم بياني للمبيعات سيظهر هنا</p>
                    </div>
                </div>
                
                <div class="bg-white rounded-lg shadow p-6">
                    <h2 class="text-lg font-semibold mb-4">أحدث الفواتير</h2>
                    <div class="overflow-x-auto">
                        <table class="min-w-full invoice-table">
                            <thead>
                                <tr class="bg-gray-100 text-gray-600 text-sm">
                                    <th class="py-2 px-3 text-right">رقم الفاتورة</th>
                                    <th class="py-2 px-3 text-right">التاريخ</th>
                                    <th class="py-2 px-3 text-right">المبلغ</th>
                                    <th class="py-2 px-3 text-right">الحالة</th>
                                </tr>
                            </thead>
                            <tbody class="text-sm">
                                <tr>
                                    <td class="py-3 px-3">INV-2023-001</td>
                                    <td class="py-3 px-3">15/06/2023</td>
                                    <td class="py-3 px-3">2,450 ر.س</td>
                                    <td class="py-3 px-3"><span class="bg-green-100 text-green-800 py-1 px-2 rounded-full text-xs">مدفوعة</span></td>
                                </tr>
                                <tr>
                                    <td class="py-3 px-3">INV-2023-002</td>
                                    <td class="py-3 px-3">14/06/2023</td>
                                    <td class="py-3 px-3">1,890 ر.س</td>
                                    <td class="py-3 px-3"><span class="bg-yellow-100 text-yellow-800 py-1 px-2 rounded-full text-xs">جزئي</span></td>
                                </tr>
                                <tr>
                                    <td class="py-3 px-3">INV-2023-003</td>
                                    <td class="py-3 px-3">12/06/2023</td>
                                    <td class="py-3 px-3">3,200 ر.س</td>
                                    <td class="py-3 px-3"><span class="bg-red-100 text-red-800 py-1 px-2 rounded-full text-xs">غير مدفوعة</span></td>
                                </tr>
                                <tr>
                                    <td class="py-3 px-3">INV-2023-004</td>
                                    <td class="py-3 px-3">10/06/2023</td>
                                    <td class="py-3 px-3">1,750 ر.س</td>
                                    <td class="py-3 px-3"><span class="bg-green-100 text-green-800 py-1 px-2 rounded-full text-xs">مدفوعة</span></td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="mt-4 text-center">
                        <a href="#" class="text-blue-600 hover:text-blue-800 text-sm">عرض الكل <i class="fas fa-arrow-left mr-1"></i></a>
                    </div>
                </div>
            </div>
            
            <!-- قسم العملاء والموردين -->
            <div class="grid grid-cols-1 md:grid-cols-2 gap-6">
                <div class="bg-white rounded-lg shadow p-6">
                    <div class="flex justify-between items-center mb-4">
                        <h2 class="text-lg font-semibold">أحدث العملاء</h2>
                        <a href="#" class="text-blue-600 hover:text-blue-800 text-sm">إضافة عميل <i class="fas fa-plus mr-1"></i></a>
                    </div>
                    <div class="space-y-4">
                        <div class="flex items-center">
                            <img src="https://ui-avatars.com/api/?name=أحمد+محمد&background=4f46e5&color=fff" alt="Client" class="h-10 w-10 rounded-full">
                            <div class="mr-3">
                                <h4 class="font-medium">أحمد محمد</h4>
                                <p class="text-gray-500 text-sm">ahmed@example.com</p>
                            </div>
                            <div class="mr-auto">
                                <span class="text-sm">1,200 ر.س</span>
                            </div>
                        </div>
                        <div class="flex items-center">
                            <img src="https://ui-avatars.com/api/?name=سارة+علي&background=4f46e5&color=fff" alt="Client" class="h-10 w-10 rounded-full">
                            <div class="mr-3">
                                <h4 class="font-medium">سارة علي</h4>
                                <p class="text-gray-500 text-sm">sara@example.com</p>
                            </div>
                            <div class="mr-auto">
                                <span class="text-sm">850 ر.س</span>
                            </div>
                        </div>
                        <div class="flex items-center">
                            <img src="https://ui-avatars.com/api/?name=خالد+حسن&background=4f46e5&color=fff" alt="Client" class="h-10 w-10 rounded-full">
                            <div class="mr-3">
                                <h4 class="font-medium">خالد حسن</h4>
                                <p class="text-gray-500 text-sm">khaled@example.com</p>
                            </div>
                            <div class="mr-auto">
                                <span class="text-sm">2,300 ر.س</span>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="bg-white rounded-lg shadow p-6">
                    <div class="flex justify-between items-center mb-4">
                        <h2 class="text-lg font-semibold">أحدث الموردين</h2>
                        <a href="#" class="text-blue-600 hover:text-blue-800 text-sm">إضافة مورد <i class="fas fa-plus mr-1"></i></a>
                    </div>
                    <div class="space-y-4">
                        <div class="flex items-center">
                            <img src="https://ui-avatars.com/api/?name=شركة+التموين&background=8b5cf6&color=fff" alt="Supplier" class="h-10 w-10 rounded-full">
                            <div class="mr-3">
                                <h4 class="font-medium">شركة التموين</h4>
                                <p class="text-gray-500 text-sm">info@tamween.com</p>
                            </div>
                            <div class="mr-auto">
                                <span class="text-sm">3,500 ر.س</span>
                            </div>
                        </div>
                        <div class="flex items-center">
                            <img src="https://ui-avatars.com/api/?name=مكتبة+المعرفة&background=8b5cf6&color=fff" alt="Supplier" class="h-10 w-10 rounded-full">
                            <div class="mr-3">
                                <h4 class="font-medium">مكتبة المعرفة</h4>
                                <p class="text-gray-500 text-sm">contact@maarifa.com</p>
                            </div>
                            <div class="mr-auto">
                                <span class="text-sm">1,800 ر.س</span>
                            </div>
                        </div>
                        <div class="flex items-center">
                            <img src="https://ui-avatars.com/api/?name=شركة+الأجهزة&background=8b5cf6&color=fff" alt="Supplier" class="h-10 w-10 rounded-full">
                            <div class="mr-3">
                                <h4 class="font-medium">شركة الأجهزة</h4>
                                <p class="text-gray-500 text-sm">sales@alajhiza.com</p>
                            </div>
                            <div class="mr-auto">
                                <span class="text-sm">4,200 ر.س</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script>
        // تبديل الشريط الجانبي
        const sidebarToggle = document.getElementById('sidebarToggle');
        const sidebar = document.getElementById('sidebar');
        const content = document.getElementById('content');
        
        sidebarToggle.addEventListener('click', () => {
            sidebar.classList.toggle('sidebar-collapsed');
            content.classList.toggle('pr-64');
            content.classList.toggle('pr-20');
        });
        
        // القوائم المنسدلة
        const notificationsBtn = document.getElementById('notificationsBtn');
        const notificationsDropdown = document.getElementById('notificationsDropdown');
        
        notificationsBtn.addEventListener('click', () => {
            notificationsDropdown.classList.toggle('hidden');
            userMenuDropdown.classList.add('hidden');
        });
        
        const userMenuBtn = document.getElementById('userMenuBtn');
        const userMenuDropdown = document.getElementById('userMenuDropdown');
        
        userMenuBtn.addEventListener('click', () => {
            userMenuDropdown.classList.toggle('hidden');
            notificationsDropdown.classList.add('hidden');
        });
        
        // إغلاق القوائم المنسدلة عند النقر خارجها
        document.addEventListener('click', (e) => {
            if (!notificationsBtn.contains(e.target) && !notificationsDropdown.contains(e.target)) {
                notificationsDropdown.classList.add('hidden');
            }
            
            if (!userMenuBtn.contains(e.target) && !userMenuDropdown.contains(e.target)) {
                userMenuDropdown.classList.add('hidden');
            }
        });
        
        // تبديل اللغة
        const languageBtn = document.getElementById('languageBtn');
        const body = document.body;
        
        languageBtn.addEventListener('click', () => {
            if (body.classList.contains('rtl')) {
                body.classList.remove('rtl');
                body.classList.add('ltr');
                document.documentElement.lang = 'en';
                // هنا يمكنك تغيير النصوص إلى الإنجليزية
            } else {
                body.classList.remove('ltr');
                body.classList.add('rtl');
                document.documentElement.lang = 'ar';
                // هنا يمكنك تغيير النصوص إلى العربية
            }
        });
        
        // محاكاة تحميل البيانات
        document.addEventListener('DOMContentLoaded', () => {
            // يمكنك هنا جلب البيانات من API
            console.log('System loaded successfully');
        });
    </script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=SAME459/same" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>