saifmed commited on
Commit
0036328
·
verified ·
1 Parent(s): 5b5a2b8

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +917 -19
index.html CHANGED
@@ -1,19 +1,917 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="ar" dir="rtl">
3
+
4
+ <head>
5
+ <meta charset="UTF-8">
6
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+
8
+ <title>مدرب الفهرسة MARC 21</title>
9
+
10
+ <style>
11
+ * {
12
+ box-sizing: border-box;
13
+ }
14
+
15
+ body {
16
+ margin: 0;
17
+ font-family: Arial, Tahoma, sans-serif;
18
+ background: #f4f6f9;
19
+ color: #1f2937;
20
+ }
21
+
22
+ /* Header */
23
+ header {
24
+ background: linear-gradient(135deg, #17365d, #2563eb);
25
+ color: white;
26
+ padding: 22px 35px;
27
+ display: flex;
28
+ justify-content: space-between;
29
+ align-items: center;
30
+ box-shadow: 0 3px 10px rgba(0,0,0,0.15);
31
+ }
32
+
33
+ header h1 {
34
+ margin: 0;
35
+ font-size: 25px;
36
+ }
37
+
38
+ header p {
39
+ margin: 6px 0 0;
40
+ opacity: 0.85;
41
+ }
42
+
43
+ .language-btn {
44
+ border: none;
45
+ background: white;
46
+ color: #17365d;
47
+ padding: 10px 18px;
48
+ border-radius: 8px;
49
+ cursor: pointer;
50
+ font-weight: bold;
51
+ }
52
+
53
+ /* Main */
54
+ .container {
55
+ max-width: 1400px;
56
+ margin: 30px auto;
57
+ padding: 0 20px;
58
+ }
59
+
60
+ /* Cards */
61
+ .card {
62
+ background: white;
63
+ border-radius: 14px;
64
+ padding: 25px;
65
+ margin-bottom: 25px;
66
+ box-shadow: 0 3px 12px rgba(0,0,0,0.08);
67
+ }
68
+
69
+ .card h2 {
70
+ margin-top: 0;
71
+ color: #17365d;
72
+ }
73
+
74
+ /* Book information */
75
+ .book-info {
76
+ display: grid;
77
+ grid-template-columns: repeat(2, 1fr);
78
+ gap: 15px;
79
+ }
80
+
81
+ .form-group label {
82
+ display: block;
83
+ font-weight: bold;
84
+ margin-bottom: 7px;
85
+ }
86
+
87
+ input,
88
+ select {
89
+ width: 100%;
90
+ padding: 11px;
91
+ border: 1px solid #d1d5db;
92
+ border-radius: 7px;
93
+ font-size: 15px;
94
+ }
95
+
96
+ input:focus,
97
+ select:focus {
98
+ outline: none;
99
+ border-color: #2563eb;
100
+ }
101
+
102
+ /* MARC table */
103
+ .table-wrapper {
104
+ overflow-x: auto;
105
+ }
106
+
107
+ table {
108
+ width: 100%;
109
+ border-collapse: collapse;
110
+ min-width: 900px;
111
+ }
112
+
113
+ th {
114
+ background: #17365d;
115
+ color: white;
116
+ padding: 13px;
117
+ }
118
+
119
+ td {
120
+ border: 1px solid #ddd;
121
+ padding: 8px;
122
+ text-align: center;
123
+ }
124
+
125
+ tr:nth-child(even) {
126
+ background: #f8fafc;
127
+ }
128
+
129
+ .tag {
130
+ width: 80px;
131
+ font-weight: bold;
132
+ text-align: center;
133
+ }
134
+
135
+ .indicator {
136
+ width: 80px;
137
+ text-align: center;
138
+ }
139
+
140
+ .subfield {
141
+ width: 90px;
142
+ text-align: center;
143
+ }
144
+
145
+ .value {
146
+ min-width: 350px;
147
+ }
148
+
149
+ /* Buttons */
150
+ .actions {
151
+ display: flex;
152
+ gap: 10px;
153
+ flex-wrap: wrap;
154
+ margin-top: 20px;
155
+ }
156
+
157
+ button {
158
+ border: none;
159
+ padding: 11px 18px;
160
+ border-radius: 8px;
161
+ cursor: pointer;
162
+ font-size: 14px;
163
+ font-weight: bold;
164
+ }
165
+
166
+ .btn-add {
167
+ background: #16a34a;
168
+ color: white;
169
+ }
170
+
171
+ .btn-check {
172
+ background: #2563eb;
173
+ color: white;
174
+ }
175
+
176
+ .btn-clear {
177
+ background: #dc2626;
178
+ color: white;
179
+ }
180
+
181
+ .btn-delete {
182
+ background: #ef4444;
183
+ color: white;
184
+ padding: 7px 10px;
185
+ }
186
+
187
+ .btn-copy {
188
+ background: #64748b;
189
+ color: white;
190
+ padding: 7px 10px;
191
+ }
192
+
193
+ button:hover {
194
+ opacity: 0.85;
195
+ }
196
+
197
+ /* Result */
198
+ .result {
199
+ display: none;
200
+ border-radius: 12px;
201
+ padding: 20px;
202
+ margin-top: 20px;
203
+ }
204
+
205
+ .score {
206
+ font-size: 30px;
207
+ font-weight: bold;
208
+ color: #16a34a;
209
+ }
210
+
211
+ .success {
212
+ color: #15803d;
213
+ margin: 8px 0;
214
+ }
215
+
216
+ .warning {
217
+ color: #ca8a04;
218
+ margin: 8px 0;
219
+ }
220
+
221
+ .error {
222
+ color: #dc2626;
223
+ margin: 8px 0;
224
+ }
225
+
226
+ /* Footer */
227
+ footer {
228
+ text-align: center;
229
+ padding: 25px;
230
+ color: #64748b;
231
+ }
232
+
233
+ /* Responsive */
234
+ @media (max-width: 700px) {
235
+
236
+ header {
237
+ flex-direction: column;
238
+ gap: 15px;
239
+ text-align: center;
240
+ }
241
+
242
+ .book-info {
243
+ grid-template-columns: 1fr;
244
+ }
245
+
246
+ .container {
247
+ padding: 10px;
248
+ }
249
+ }
250
+ </style>
251
+ </head>
252
+
253
+
254
+ <body>
255
+
256
+ <header>
257
+
258
+ <div>
259
+ <h1>📚 مدرّب الفهرسة MARC 21</h1>
260
+ <p>منصة تدريبية على الفهرسة الآلية وقواعد RDA</p>
261
+ </div>
262
+
263
+ <button class="language-btn" onclick="changeLanguage()">
264
+ English
265
+ </button>
266
+
267
+ </header>
268
+
269
+
270
+ <main class="container">
271
+
272
+ <!-- معلومات الكتاب -->
273
+
274
+ <section class="card">
275
+
276
+ <h2>📖 بيانات المصدر</h2>
277
+
278
+ <div class="book-info">
279
+
280
+ <div class="form-group">
281
+ <label>عنوان الكتاب</label>
282
+ <input
283
+ type="text"
284
+ id="bookTitle"
285
+ value="مبادئ علم المكتبات">
286
+ </div>
287
+
288
+ <div class="form-group">
289
+ <label>المؤلف</label>
290
+ <input
291
+ type="text"
292
+ id="author"
293
+ value="أحمد بن علي">
294
+ </div>
295
+
296
+ <div class="form-group">
297
+ <label>مكان النشر</label>
298
+ <input
299
+ type="text"
300
+ id="place"
301
+ value="مسقط">
302
+ </div>
303
+
304
+ <div class="form-group">
305
+ <label>الناشر</label>
306
+ <input
307
+ type="text"
308
+ id="publisher"
309
+ value="دار المعرفة">
310
+ </div>
311
+
312
+ <div class="form-group">
313
+ <label>سنة النشر</label>
314
+ <input
315
+ type="text"
316
+ id="year"
317
+ value="2026">
318
+ </div>
319
+
320
+ <div class="form-group">
321
+ <label>عدد الصفحات</label>
322
+ <input
323
+ type="text"
324
+ id="pages"
325
+ value="250 صفحة">
326
+ </div>
327
+
328
+ </div>
329
+
330
+ </section>
331
+
332
+
333
+ <!-- محرر MARC -->
334
+
335
+ <section class="card">
336
+
337
+ <h2>📝 محرر سجل MARC 21</h2>
338
+
339
+ <div class="table-wrapper">
340
+
341
+ <table>
342
+
343
+ <thead>
344
+
345
+ <tr>
346
+ <th>Tag</th>
347
+ <th>المؤشر 1</th>
348
+ <th>المؤشر 2</th>
349
+ <th>الحقل الفرعي</th>
350
+ <th>القيمة</th>
351
+ <th>الإجراءات</th>
352
+ </tr>
353
+
354
+ </thead>
355
+
356
+ <tbody id="marcTable">
357
+
358
+ <tr>
359
+
360
+ <td>
361
+ <input
362
+ class="tag"
363
+ value="001">
364
+ </td>
365
+
366
+ <td>
367
+ <input
368
+ class="indicator"
369
+ value="">
370
+ </td>
371
+
372
+ <td>
373
+ <input
374
+ class="indicator"
375
+ value="">
376
+ </td>
377
+
378
+ <td>
379
+ <input
380
+ class="subfield"
381
+ value="">
382
+ </td>
383
+
384
+ <td>
385
+ <input
386
+ class="value"
387
+ value="000012345">
388
+ </td>
389
+
390
+ <td>
391
+
392
+ <button
393
+ class="btn-copy"
394
+ onclick="copyRow(this)">
395
+ نسخ
396
+ </button>
397
+
398
+ <button
399
+ class="btn-delete"
400
+ onclick="deleteRow(this)">
401
+ حذف
402
+ </button>
403
+
404
+ </td>
405
+
406
+ </tr>
407
+
408
+
409
+ <tr>
410
+
411
+ <td>
412
+ <input class="tag" value="020">
413
+ </td>
414
+
415
+ <td>
416
+ <input class="indicator" value="#">
417
+ </td>
418
+
419
+ <td>
420
+ <input class="indicator" value="#">
421
+ </td>
422
+
423
+ <td>
424
+ <input class="subfield" value="$a">
425
+ </td>
426
+
427
+ <td>
428
+ <input
429
+ class="value"
430
+ value="978-99969-0-0000-0">
431
+ </td>
432
+
433
+ <td>
434
+
435
+ <button
436
+ class="btn-copy"
437
+ onclick="copyRow(this)">
438
+ نسخ
439
+ </button>
440
+
441
+ <button
442
+ class="btn-delete"
443
+ onclick="deleteRow(this)">
444
+ حذف
445
+ </button>
446
+
447
+ </td>
448
+
449
+ </tr>
450
+
451
+
452
+ <tr>
453
+
454
+ <td>
455
+ <input class="tag" value="100">
456
+ </td>
457
+
458
+ <td>
459
+ <input class="indicator" value="1">
460
+ </td>
461
+
462
+ <td>
463
+ <input class="indicator" value="#">
464
+ </td>
465
+
466
+ <td>
467
+ <input class="subfield" value="$a">
468
+ </td>
469
+
470
+ <td>
471
+ <input
472
+ class="value"
473
+ value="أحمد بن علي">
474
+ </td>
475
+
476
+ <td>
477
+
478
+ <button
479
+ class="btn-copy"
480
+ onclick="copyRow(this)">
481
+ نسخ
482
+ </button>
483
+
484
+ <button
485
+ class="btn-delete"
486
+ onclick="deleteRow(this)">
487
+ حذف
488
+ </button>
489
+
490
+ </td>
491
+
492
+ </tr>
493
+
494
+
495
+ <tr>
496
+
497
+ <td>
498
+ <input class="tag" value="245">
499
+ </td>
500
+
501
+ <td>
502
+ <input class="indicator" value="1">
503
+ </td>
504
+
505
+ <td>
506
+ <input class="indicator" value="0">
507
+ </td>
508
+
509
+ <td>
510
+ <input class="subfield" value="$a">
511
+ </td>
512
+
513
+ <td>
514
+ <input
515
+ class="value"
516
+ value="مبادئ علم المكتبات">
517
+ </td>
518
+
519
+ <td>
520
+
521
+ <button
522
+ class="btn-copy"
523
+ onclick="copyRow(this)">
524
+ نسخ
525
+ </button>
526
+
527
+ <button
528
+ class="btn-delete"
529
+ onclick="deleteRow(this)">
530
+ حذف
531
+ </button>
532
+
533
+ </td>
534
+
535
+ </tr>
536
+
537
+
538
+ <tr>
539
+
540
+ <td>
541
+ <input class="tag" value="264">
542
+ </td>
543
+
544
+ <td>
545
+ <input class="indicator" value="#">
546
+ </td>
547
+
548
+ <td>
549
+ <input class="indicator" value="1">
550
+ </td>
551
+
552
+ <td>
553
+ <input class="subfield" value="$a">
554
+ </td>
555
+
556
+ <td>
557
+ <input
558
+ class="value"
559
+ value="مسقط">
560
+ </td>
561
+
562
+ <td>
563
+
564
+ <button
565
+ class="btn-copy"
566
+ onclick="copyRow(this)">
567
+ نسخ
568
+ </button>
569
+
570
+ <button
571
+ class="btn-delete"
572
+ onclick="deleteRow(this)">
573
+ حذف
574
+ </button>
575
+
576
+ </td>
577
+
578
+ </tr>
579
+
580
+
581
+ <tr>
582
+
583
+ <td>
584
+ <input class="tag" value="300">
585
+ </td>
586
+
587
+ <td>
588
+ <input class="indicator" value="#">
589
+ </td>
590
+
591
+ <td>
592
+ <input class="indicator" value="#">
593
+ </td>
594
+
595
+ <td>
596
+ <input class="subfield" value="$a">
597
+ </td>
598
+
599
+ <td>
600
+ <input
601
+ class="value"
602
+ value="250 صفحة">
603
+ </td>
604
+
605
+ <td>
606
+
607
+ <button
608
+ class="btn-copy"
609
+ onclick="copyRow(this)">
610
+ نسخ
611
+ </button>
612
+
613
+ <button
614
+ class="btn-delete"
615
+ onclick="deleteRow(this)">
616
+ حذف
617
+ </button>
618
+
619
+ </td>
620
+
621
+ </tr>
622
+
623
+ </tbody>
624
+
625
+ </table>
626
+
627
+ </div>
628
+
629
+
630
+ <div class="actions">
631
+
632
+ <button
633
+ class="btn-add"
634
+ onclick="addField()">
635
+ ➕ إضافة حقل
636
+ </button>
637
+
638
+ <button
639
+ class="btn-check"
640
+ onclick="checkRecord()">
641
+ 🔍 التحقق من السجل
642
+ </button>
643
+
644
+ <button
645
+ class="btn-clear"
646
+ onclick="clearRecord()">
647
+ 🗑️ مسح السجل
648
+ </button>
649
+
650
+ </div>
651
+
652
+ </section>
653
+
654
+
655
+ <!-- نتيجة التصحيح -->
656
+
657
+ <section
658
+ class="card result"
659
+ id="result">
660
+
661
+ <h2>📊 نتيجة التدريب</h2>
662
+
663
+ <div class="score">
664
+ 87 / 100
665
+ </div>
666
+
667
+ <p class="success">
668
+ ✅ الحقل 245 موجود.
669
+ </p>
670
+
671
+ <p class="success">
672
+ ✅ الحقل 100 موجود.
673
+ </p>
674
+
675
+ <p class="success">
676
+ ✅ الحقل 300 موجود.
677
+ </p>
678
+
679
+ <p class="warning">
680
+ ⚠️ راجع مؤشرات الحقل 245.
681
+ </p>
682
+
683
+ <p class="warning">
684
+ ⚠️ راجع بيان المسؤولية وفق قواعد RDA.
685
+ </p>
686
+
687
+ </section>
688
+
689
+ </main>
690
+
691
+
692
+ <footer>
693
+
694
+ MARC 21 Trainer © 2026
695
+ <br>
696
+ منصة تدريبية تعليمية
697
+
698
+ </footer>
699
+
700
+
701
+ <script>
702
+
703
+ /* =========================
704
+ إضافة حقل جديد
705
+ ========================= */
706
+
707
+ function addField() {
708
+
709
+ const table = document.getElementById("marcTable");
710
+
711
+ const row = document.createElement("tr");
712
+
713
+ row.innerHTML = `
714
+
715
+ <td>
716
+ <input
717
+ class="tag"
718
+ placeholder="Tag">
719
+ </td>
720
+
721
+ <td>
722
+ <input
723
+ class="indicator"
724
+ placeholder="#">
725
+ </td>
726
+
727
+ <td>
728
+ <input
729
+ class="indicator"
730
+ placeholder="#">
731
+ </td>
732
+
733
+ <td>
734
+ <input
735
+ class="subfield"
736
+ placeholder="$a">
737
+ </td>
738
+
739
+ <td>
740
+ <input
741
+ class="value"
742
+ placeholder="القيمة">
743
+ </td>
744
+
745
+ <td>
746
+
747
+ <button
748
+ class="btn-copy"
749
+ onclick="copyRow(this)">
750
+ نسخ
751
+ </button>
752
+
753
+ <button
754
+ class="btn-delete"
755
+ onclick="deleteRow(this)">
756
+ حذف
757
+ </button>
758
+
759
+ </td>
760
+
761
+ `;
762
+
763
+ table.appendChild(row);
764
+ }
765
+
766
+
767
+ /* =========================
768
+ حذف الحقل
769
+ ========================= */
770
+
771
+ function deleteRow(button) {
772
+
773
+ const row = button.closest("tr");
774
+
775
+ row.remove();
776
+ }
777
+
778
+
779
+ /* =========================
780
+ نسخ الحقل
781
+ ========================= */
782
+
783
+ function copyRow(button) {
784
+
785
+ const row = button.closest("tr");
786
+
787
+ const clone = row.cloneNode(true);
788
+
789
+ document
790
+ .getElementById("marcTable")
791
+ .appendChild(clone);
792
+ }
793
+
794
+
795
+ /* =========================
796
+ مسح السجل
797
+ ========================= */
798
+
799
+ function clearRecord() {
800
+
801
+ if (
802
+ confirm("هل تريد بالفعل مسح سجل MARC بالكامل؟")
803
+ ) {
804
+
805
+ document
806
+ .getElementById("marcTable")
807
+ .innerHTML = "";
808
+
809
+ }
810
+ }
811
+
812
+
813
+ /* =========================
814
+ التحقق من السجل
815
+ ========================= */
816
+
817
+ function checkRecord() {
818
+
819
+ const rows =
820
+ document.querySelectorAll(
821
+ "#marcTable tr"
822
+ );
823
+
824
+ let has245 = false;
825
+ let has100 = false;
826
+ let has300 = false;
827
+
828
+ rows.forEach(row => {
829
+
830
+ const tag =
831
+ row.querySelector(".tag").value.trim();
832
+
833
+ if (tag === "245") {
834
+ has245 = true;
835
+ }
836
+
837
+ if (tag === "100") {
838
+ has100 = true;
839
+ }
840
+
841
+ if (tag === "300") {
842
+ has300 = true;
843
+ }
844
+
845
+ });
846
+
847
+
848
+ let score = 70;
849
+
850
+ if (has245) score += 10;
851
+ if (has100) score += 10;
852
+ if (has300) score += 10;
853
+
854
+ if (score > 100) {
855
+ score = 100;
856
+ }
857
+
858
+
859
+ const result =
860
+ document.getElementById("result");
861
+
862
+ result.style.display = "block";
863
+
864
+
865
+ result.innerHTML = `
866
+
867
+ <h2>📊 نتيجة التدريب</h2>
868
+
869
+ <div class="score">
870
+ ${score} / 100
871
+ </div>
872
+
873
+ ${
874
+ has245
875
+ ? '<p class="success">✅ الحقل 245 موجود.</p>'
876
+ : '<p class="error">❌ الحقل 245 غير موجود.</p>'
877
+ }
878
+
879
+ ${
880
+ has100
881
+ ? '<p class="success">✅ الحقل 100 موجود.</p>'
882
+ : '<p class="error">❌ الحقل 100 غير موجود.</p>'
883
+ }
884
+
885
+ ${
886
+ has300
887
+ ? '<p class="success">✅ الحقل 300 موجود.</p>'
888
+ : '<p class="error">❌ الحقل 300 غير موجود.</p>'
889
+ }
890
+
891
+ <p class="warning">
892
+ 💡 هذه نسخة تدريبية أولية.
893
+ يمكن لاحقًا إضافة محرك تحقق حقيقي لقواعد MARC 21 وRDA.
894
+ </p>
895
+
896
+ `;
897
+
898
+ }
899
+
900
+
901
+ /* =========================
902
+ تبديل اللغة
903
+ ========================= */
904
+
905
+ function changeLanguage() {
906
+
907
+ alert(
908
+ "سيتم في النسخة القادمة دعم العربية والإنجليزية بشكل كامل."
909
+ );
910
+
911
+ }
912
+
913
+ </script>
914
+
915
+ </body>
916
+
917
+ </html>