پرش به محتوا

کتابخانه دانشنامه کتاب مقدس: تفاوت میان نسخه‌ها

از دانشنامه کتاب مقدس
بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
 
(۲۶ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد)
خط ۱: خط ۱:
<!DOCTYPE html>
<html lang="fa" dir="rtl">
<html lang="fa" dir="rtl">
<head>
<head>
     <meta charset="UTF-8">
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <title>کتابخانه دانشنامه تخصصی</title>
     <title>کتابخانه انتشارات دانشنامه کتاب مقدس - مطالعه آنلاین کتاب‌ها و مقالات مسیحی | دانشنامه کتاب مقدس</title>
    <meta name="description" content="مطالعه آنلاین کتاب‌های مقدس شامل عیسی، انجیل متی، مزامیر، پیدایش و مقالات تخصصی درباره مسیح، تثلیث، نجات و روح القدس در کتابخانه دانشنامه کتاب مقدس">
    <meta name="keywords" content="کتاب مقدس, انجیل, عیسی مسیح, مقالات مسیحی, کتابخانه آنلاین مسیحی, انتشارات دانشنامه کتاب مقدس, نجات, تثلیث, روح القدس, الاهیات مسیحی, pediabible, دانشنامه مسیحی">
    <meta name="author" content="کتابخانه دانشنامه کتاب مقدس">
    <meta name="robots" content="index, follow">
    <link rel="canonical" href="https://www.pediabible.com/library" />
   
    <!-- Open Graph Meta Tags -->
    <meta property="og:title" content="کتابخانه دانشنامه کتاب مقدس - مطالعه آنلاین کتاب‌ها و مقالات مسیحی">
    <meta property="og:description" content="مطالعه آنلاین کتاب‌ها و مقالات مسیحی و مقالات الاهیاتی تخصصی مسیحی">
    <meta property="og:type" content="website">
    <meta property="og:url" content="https://www.pediabible.com/library">
    <meta property="og:image" content="https://www.pediabible.com/images/logo.png">
    <meta property="og:locale" content="fa_IR">
   
    <!-- Twitter Card Meta Tags -->
    <meta name="twitter:card" content="summary_large_image">
    <meta name="twitter:title" content="کتابخانه دانشنامه کتاب مقدس - مطالعه آنلاین کتاب‌ها و مقالات مسیحی">
    <meta name="twitter:description" content="مطالعه آنلاین کتاب‌ها و مقالات تخصصی مسیحی">
   
     <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
     <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
   
    <!-- داده‌های ساختاریافته Schema.org -->
    <script type="application/ld+json">
    {
        "@context": "https://schema.org",
        "@type": "CollectionPage",
        "name": "کتابخانه دانشنامه کتاب مقدس",
        "description": "مطالعه آنلاین کتاب‌ها و مقالات الاهیاتی مسیحی",
        "url": "https://www.pediabible.com/library",
        "publisher": {
            "@type": "Organization",
            "name": "دانشنامه کتاب مقدس",
            "url": "https://www.pediabible.com",
            "logo": {
                "@type": "ImageObject",
                "url": "https://www.pediabible.com/images/logo.png"
            }
        },
        "mainEntity": {
            "@type": "ItemList",
            "numberOfItems": 8,
            "itemListElement": [
                {
                    "@type": "Book",
                    "position": 1,
                    "name": "آغاز مسیحیت در ایران",
                    "url": "https://www.pediabible.com/index.php/عیسی",
                    "description": "مطالعه کتاب آغاز مسیحیت در ایران - چگونه مسیحیت در ایران گسترش یافت"
                },
             
                {
                    "@type": "Article",
                    "position": 01,
                    "name": "مقاله ۸ تفاوت کلیدی بین کاتولیک‌ها و پروتستان‌ها نویسنده",
                    "url": "https://www.pediabible.com/index.php/مقاله_۸_تفاوت_کلیدی_بین_کاتولیک%E2%80%8Cها_و_پروتستان%E2%80%8Cها_نویسنده",
                    "description": "مقالات تخصصی الاهیاتی درباره تفاوت کلیدی بین کاتولیک‌ها و پروتستان‌ها"
                },
                {
                    "@type": "Article",
                    "position": 02,
                    "name": "مقاله برادران، ما تحلیل‌گران سیاسی نیستیم",
                    "url": "https://www.pediabible.com/index.php/مقاله_برادران،_ما_تحلیل%E2%80%8Cگران_سیاسی_نیستیم",
                    "description": "مطالعات تخصصی شبانی و کشیشی"
                },
                {
                    "@type": "Article",
                    "position": 03,
                    "name": "مقاله گناه آدمی را نادان می‌کند",
                    "url": "https://www.pediabible.com/index.php/مقاله_گناه_آدمی_را_نادان_می%E2%80%8Cکند",
                    "description": "مقالات درباره نجات و رستگاری"
                },
                {
                    "@type": "Article",
                    "position": 04,
                    "name": "مقاله ۴ دلیل که چرا کتاب مقدس از تراجنسیتی بودن حمایت نمی‌کند",
                    "url": "https://www.pediabible.com/index.php/مقاله_۴_دلیل_که_چرا_کتاب_مقدس_از_تراجنسیتی_بودن_حمایت_نمی%E2%80%8Cکند",
                    "description": "مطالعات تخصصی چرا کتاب مقدس از تراجنسیتی بودن حمایت نمی‌کند"
                },
                {
                    "@type": "Article",
                    "position": 05,
                    "name": "۱۰ معنای یهوه",
                    "url": "https://www.pediabible.com/index.php/۱۰_معنای_یهوه",
                    "description": "مقالات درباره خداشناسی _ یهوه"
                },
                {
                    "@type": "Article",
                    "position": 06,
                    "name": "تدریس، آموزش و مطالعه",
                    "url": "https://www.pediabible.com/index.php/تدریس،_آموزش_و_مطالعه",
                    "description": "مطالعات تخصصی شبانی و کشیشی"
                },
                {
                    "@type": "Article",
                    "position": 05,
                    "name": "خدمت به خدا یعنی چه",
                    "url": "https://www.pediabible.com/index.php/خدمت_به_خدا_یعنی_چه",
                    "description": "مقالات درباره خداشناسی _ یهوه"
                },
                {
                    "@type": "Article",
                    "position": 06,
                    "name": "تدریس، آموزش و مطالعه",
                    "url": "https://www.pediabible.com/index.php/تدریس،_آموزش_و_مطالعه",
                    "description": "مطالعات تخصصی شبانی و کشیشی"
                }            ]
        },
        "breadcrumb": {
            "@type": "BreadcrumbList",
            "itemListElement": [
                {
                    "@type": "ListItem",
                    "position": 1,
                    "name": "خانه",
                    "item": "https://www.pediabible.com"
                },
                {
                    "@type": "ListItem",
                    "position": 2,
                    "name": "کتابخانه",
                    "item": "https://www.pediabible.com/library"
                }
            ]
        }
    }
    </script>
   
     <style>
     <style>
        :root {
            --primary-color: #2c3e50;
            --secondary-color: #8B4513;
            --accent-color: #A52A2A;
            --light-color: #f8f5f2;
            --dark-color: #3E2723;
            --border-color: #D2B48C;
            --gold-color: #D4AF37;
            --font-family: 'Times New Roman', serif;
        }
       
         * {
         * {
             margin: 0;
             margin: 0;
خط ۲۵: خط ۱۳۹:
          
          
         body {
         body {
             font-family: var(--font-family);
             font-family: Tahoma, Arial, sans-serif;
             background: linear-gradient(135deg, #f5f1eb 0%, #e8dfd1 100%);
             background-color: #f6f6f6;
             color: var(--dark-color);
             color: #333;
             line-height: 1.6;
             line-height: 1.6;
             min-height: 100vh;
             padding: 0;
            margin: 0;
         }
         }
          
          
         .container {
         .container {
             max-width: 1200px;
             max-width: 100%;
             margin: 0 auto;
             margin: 0;
             padding: 5px 15px;
            background: white;
             padding: 0;
         }
         }
          
          
        /* هدر زیبا */
         .header {
         .app-header {
            background: linear-gradient(135deg, #3e6f73, #4a7c59);
            color: white;
            padding: 20px 15px;
            margin-bottom: 15px;
             text-align: center;
             text-align: center;
            margin-bottom: 30px;
            padding: 30px;
            background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            color: white;
            position: relative;
            overflow: hidden;
         }
         }
          
          
         .app-header::before {
         h1 {
             content: '';
             margin: 0;
            position: absolute;
             font-size: 22px;
            top: 0;
             font-weight: 700;
             left: 0;
             right: 0;
            bottom: 0;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.1"><path fill="%23FFFFFF" d="M20,20 L80,20 L80,80 L20,80 Z" stroke="%23FFFFFF" stroke-width="2"/></svg>');
         }
         }
          
          
         .breadcrumb {
         .description {
             display: flex;
             color: rgba(255,255,255,0.9);
             justify-content: center;
             font-size: 13px;
            align-items: center;
             margin-top: 8px;
            gap: 10px;
             line-height: 1.5;
             margin-bottom: 20px;
             font-size: 1.1rem;
            color: rgba(255,255,255,0.8);
         }
         }
          
          
         .breadcrumb-home {
         .seo-content {
             color: var(--gold-color);
             background: #fff;
             text-decoration: none;
             padding: 20px 15px;
             transition: all 0.3s;
             margin: 0 15px 15px;
             font-weight: 500;
             border-radius: 8px;
            border: 1px solid #e9ecef;
         }
         }
          
          
         .breadcrumb-home:hover {
         .seo-content h2 {
             color: white;
             color: #3e6f73;
             text-decoration: underline;
            margin-bottom: 15px;
             font-size: 18px;
         }
         }
          
          
         .app-header h1 {
         .seo-content p {
             margin-bottom: 15px;
             margin-bottom: 15px;
             font-size: 2.5rem;
            text-align: justify;
             font-weight: 700;
             font-size: 14px;
             text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
            line-height: 1.8;
        }
       
        .content-list {
             display: grid;
             grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 15px;
            margin-top: 15px;
        }
       
        .content-item {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 6px;
            border-left: 4px solid #3e6f73;
         }
         }
          
          
         .description {
         .content-item h3 {
             font-size: 1.3rem;
             color: #3e6f73;
             opacity: 0.9;
             margin-bottom: 8px;
             max-width: 600px;
             font-size: 15px;
            margin: 0 auto;
         }
         }
          
          
        /* سیستم انتخاب */
         .content-item p {
         .selector-container {
             font-size: 13px;
             display: grid;
             color: #666;
            grid-template-columns: 1fr 1fr;
             margin: 0;
             gap: 15px;
             margin-bottom: 20px;
            background: white;
            padding: 20px;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            border: 1px solid var(--border-color);
            direction: rtl;
            text-align: right;
         }
         }
          
          
         .selector-box {
         .filter-section {
             background: white;
             margin: 0 15px 15px;
             border-radius: 8px;
             background: #f8f9fa;
             padding: 15px;
             padding: 15px;
             border: 1px solid var(--border-color);
             border: 1px solid #dee2e6;
        }
       
        .filter-row {
            display: flex;
            gap: 10px;
            margin-bottom: 0;
        }
       
        .form-group {
            flex: 1;
         }
         }
          
          
         .selector-title {
         label {
             font-size: 1.1rem;
             display: block;
             margin-bottom: 10px;
             margin-bottom: 6px;
             color: var(--primary-color);
             font-weight: 600;
             border-bottom: 1px solid var(--border-color);
             color: #495057;
            padding-bottom: 8px;
             font-size: 13px;
             text-align: center;
         }
         }
          
          
         select {
         select {
             width: 100%;
             width: 100%;
             padding: 12px 15px;
             padding: 10px 12px;
             border: 1px solid var(--border-color);
             border: 1px solid #ced4da;
             border-radius: 6px;
             border-radius: 6px;
            background-color: white;
             font-size: 13px;
             font-size: 1rem;
             background: white;
             color: var(--dark-color);
             cursor: pointer;
             cursor: pointer;
             transition: all 0.3s;
             transition: all 0.3s ease;
             font-family: var(--font-family);
             border: 1px solid #e9ecef;
            text-align: right;
            direction: rtl;
         }
         }
          
          
         select:focus {
         select:focus {
             outline: none;
             outline: none;
             border-color: var(--accent-color);
             border-color: #3e6f73;
             box-shadow: 0 0 0 2px rgba(165, 42, 42, 0.2);
             box-shadow: 0 0 0 2px rgba(62, 111, 115, 0.1);
         }
         }
          
          
         .bible-content {
        select:disabled {
            background-color: #f8f9fa;
            color: #6c757d;
            cursor: not-allowed;
            border-color: #dee2e6;
        }
       
        .content-frame {
    margin: 0 15px;
    border: 1px solid #dee2e6;
    border-radius: 0;
    overflow: hidden;
    background: white;
    height: calc(100vh - 100px); /* دو برابر حالت قبلی */
    min-height: 600px;          /* حداقل ارتفاع ثابت */
}
 
       
        .content-header {
            padding: 12px 15px;
            background: #f8f9fa;
            border-bottom: 1px solid #dee2e6;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
       
         .content-title {
            font-weight: 600;
            color: #3e6f73;
            font-size: 14px;
        }
       
        .content-controls {
            display: flex;
            gap: 8px;
        }
       
        .control-btn {
             background: white;
             background: white;
             border-radius: 12px;
            border: 1px solid #dee2e6;
             box-shadow: 0 4px 12px rgba(0,0,0,0.1);
             border-radius: 4px;
             padding: 30px;
            padding: 6px 12px;
             min-height: 500px;
             cursor: pointer;
             border: 1px solid var(--border-color);
            font-size: 12px;
             margin-bottom: 20px;
            transition: all 0.3s ease;
             direction: rtl;
             display: flex;
             text-align: right;
             align-items: center;
             gap: 4px;
            font-weight: 600;
            color: #495057;
        }
       
        .control-btn:hover {
             background: #3e6f73;
             color: white;
             border-color: #3e6f73;
         }
         }
          
          
         .chapter-title {
         .iframe-container {
             text-align: center;
             width: 100%;
            margin-bottom: 25px;
             height: calc(100% - 50px);
             color: var(--primary-color);
             position: relative;
             font-size: 1.6rem;
            padding-bottom: 12px;
            border-bottom: 2px solid var(--border-color);
         }
         }
          
          
         .content-display {
         .clean-frame {
             width: 100%;
             width: 100%;
             height: 650px;
             height: 100%;
             border: 1px solid var(--border-color);
             border: none;
             border-radius: 8px;
            background: white;
        }
       
        .iframe-placeholder {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
            color: #6c757d;
             font-size: 14px;
            text-align: center;
            padding: 20px;
             background: white;
             background: white;
         }
         }
          
          
         .navigation {
         .action-buttons {
             display: flex;
             display: flex;
             justify-content: space-between;
             justify-content: space-between;
             align-items: center;
             align-items: center;
             margin-top: 25px;
             padding: 12px 15px;
             flex-wrap: wrap;
             background-color: #f8f9fa;
             gap: 10px;
             border-top: 1px solid #dee2e6;
             direction: rtl;
             gap: 8px;
         }
         }
          
          
         .nav-btn {
         .wiki-link, .site-link, .view-link {
            padding: 12px 20px;
             background: #3e6f73;
             background-color: var(--secondary-color);
             color: white;
             color: white;
            text-decoration: none;
            font-weight: 600;
            padding: 10px 15px;
            border-radius: 4px;
             border: none;
             border: none;
            border-radius: 6px;
             cursor: pointer;
             cursor: pointer;
             transition: all 0.3s;
             font-size: 13px;
             font-size: 1rem;
             text-align: center;
            flex: 1;
             display: flex;
             display: flex;
             align-items: center;
             align-items: center;
             gap: 8px;
             justify-content: center;
             font-family: var(--font-family);
             gap: 6px;
             box-shadow: 0 2px 4px rgba(0,0,0,0.2);
             transition: all 0.3s ease;
         }
         }
          
          
         .nav-btn:hover {
         .site-link {
             background-color: var(--accent-color);
             background: #6c757d;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
         }
         }
          
          
         .nav-btn:disabled {
         .view-link {
             background-color: #b0a090;
             background: #4a7c59;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
         }
         }
 
       
         .wiki-link {
         .wiki-link:hover, .site-link:hover, .view-link:hover {
            display: inline-flex;
             opacity: 0.9;
            align-items: center;
             transform: translateY(-1px);
            justify-content: center;
             gap: 8px;
            padding: 12px 20px;
            background-color: #87CEEB;
            color: #404040;
            text-decoration: none;
            border-radius: 6px;
            transition: all 0.3s;
            font-size: 1rem;
             font-family: var(--font-family);
            box-shadow: 0 2px 4px rgba(0,0,0,0.2);
         }
         }
 
       
         .wiki-link:hover {
         .loading-bar {
             background-color: #6CB4EE;
             height: 2px;
             transform: translateY(-2px);
             background: linear-gradient(90deg, #8fb996, #3e6f73);
             box-shadow: 0 4px 8px rgba(0,0,0,0.2);
             width: 0%;
            transition: width 0.4s ease;
            position: absolute;
            top: 0;
            right: 0;
         }
         }
 
       
         .instructions {
         .breadcrumb {
             text-align: center;
             background: #f8f9fa;
            color: #7f8c8d;
             padding: 10px 15px;
             padding: 40px 20px;
            border: 2px dashed var(--border-color);
            border-radius: 8px;
            margin-top: 20px;
            font-size: 1.1rem;
            background-color: var(--light-color);
        }
 
        .placeholder {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100%;
            color: #7f8c8d;
            text-align: center;
        }
 
        .placeholder i {
            font-size: 3rem;
             margin-bottom: 15px;
             margin-bottom: 15px;
             color: var(--border-color);
             border-bottom: 1px solid #dee2e6;
            font-size: 13px;
         }
         }
 
       
         .loading {
         .breadcrumb a {
             text-align: center;
             color: #3e6f73;
             padding: 20px;
             text-decoration: none;
            color: var(--accent-color);
         }
         }
 
       
         .loading i {
         .breadcrumb a:hover {
             font-size: 2rem;
             text-decoration: underline;
            margin-bottom: 10px;
         }
         }
 
          
         /* استایل برای راست‌چین کامل */
        option {
            direction: rtl;
            text-align: right;
        }
 
        /* ریسپانسیو */
         @media (max-width: 768px) {
         @media (max-width: 768px) {
             .selector-container {
             .filter-row {
                 grid-template-columns: 1fr;
                 flex-direction: column;
                 gap: 10px;
            }
                 padding: 15px;
           
            .content-frame {
                height: calc(100vh - 280px);
                 min-height: 350px;
            }
           
            .action-buttons {
                 flex-direction: column;
             }
             }
              
              
             .content-display {
             .wiki-link, .site-link, .view-link {
                 height: 500px;
                 width: 100%;
             }
             }
              
              
             .navigation {
             .content-header {
                 flex-direction: column;
                 flex-direction: column;
                gap: 8px;
                align-items: flex-start;
             }
             }
              
              
             .nav-btn, .wiki-link {
             .content-controls {
                 width: 100%;
                 width: 100%;
                 justify-content: center;
                 justify-content: space-between;
            }
           
            .header {
                padding: 15px 10px;
            }
           
            h1 {
                font-size: 20px;
            }
           
            .description {
                font-size: 12px;
            }
           
            .content-list {
                grid-template-columns: 1fr;
             }
             }
         }
         }
خط ۳۰۷: خط ۴۶۶:
</head>
</head>
<body>
<body>
    <!-- Breadcrumb Navigation -->
     <div class="container">
     <div class="container">
         <!-- هدر زیبا -->
        <header class="header">
         <div class="app-header">
            <h1>کتابخانه دانشنامه کتاب مقدس</h1>
             <nav class="breadcrumb">
            <p class="description">مطالعه آنلاین کتاب‌ها و مقالات مسیحی دارای اجازه پخش در دانشنامه کتاب مقدس </p>
                <a href="https://www.pediabible.com" class="breadcrumb-home">خانه</a>
        </header>
                 <span class="breadcrumb-separator">/</span>
 
                <span class="breadcrumb-current">کتابخانه دانشنامه</span>
         <!-- محتوای سئو -->
            </nav>
         <section class="seo-content">
            <h1>کتابخانه دانشنامه تخصصی</h1>
             <h2>کتابخانه جامع منابع مسیحی</h2>
            <p class="description">دسترسی به مجموعه کامل کتاب‌ها، مقالات و ترجمه‌های تخصصی</p>
            <p>کتابخانهٔ دانشنامهٔ کتاب مقدس مرجع کامل و تخصصی برای مطالعهٔ آنلاین کتاب‌ها و مقالات مسیحی است، همهٔ مطالب با کسب اجازه از ناشران یا نویسندگان منتشر شده‌اند و حقوق آن‌ها برای انتشارات دانشنامهٔ کتاب مقدس محفوظ است. در صورت نبود حق کپی‌رایت، انتشار با رعایت اصول امانت و احترام به منبع انجام گرفته است.</p>
        </div>
           
       
            <div class="content-list">
         <!-- محتوای اصلی که باید توسط JavaScript پر شود -->
                 <div class="content-item">
         <div id="content-wrapper">
                    <h3>کتاب‌ها </h3>
             <div class="selector-container">
                    <p>انتشار همهٔ کتاب‌ها در دانشنامه با اجازهٔ رسمی نویسندگان یا ناشران انجام شده است، و برای برخی آثار، مجوز چاپ مجدد نیز دریافت گردیده است. تمامی حقوق برای انتشارات دانشنامهٔ کتاب مقدس محفوظ است.
                 <div class="selector-box">
نویسندگان و ناشران مسیحی می‌توانند برای همکاری و انتشار آثار خود با ما در ارتباط باشند.</p>
                     <h3 class="selector-title">دسته‌بندی</h3>
                </div>
                     <select id="category-select">
                <div class="content-item">
                         <option value="">انتخاب دسته‌بندی</option>
                    <h3>مقالات </h3>
                         <option value="books">کتاب‌های دانشنامه</option>
                    <p>مقالات دانشنامه با اجازهٔ نویسندگان یا بر اساس منابع عمومی و بدون حق کپی‌رایت منتشر می‌شوند. در همهٔ موارد، اصول امانت‌داری و احترام به منبع اصلی رعایت شده است.
                         <option value="translations">مقاله‌های ترجمه شده</option>
پژوهشگران و نویسندگان مسیحی می‌توانند برای انتشار مقالات خود با ما همکاری کنند</p>
                        <option value="articles">مقاله‌های دانشنامه</option>
               
                </div>
            </div>
         </section>
 
         <section class="filter-section" aria-label="فیلترهای جستجو">
             <div class="filter-row">
                 <div class="form-group">
                     <label for="categorySelect"><i class="fas fa-folder"></i> دسته‌بندی:</label>
                     <select id="categorySelect">
                         <option value="">لطفاً دسته‌بندی انتخاب کنید</option>
                         <option value="کتاب">کتاب</option>
                         <option value="مقاله">مقاله</option>
                     </select>
                     </select>
                 </div>
                 </div>
                  
                  
                 <div class="selector-box">
                 <div class="form-group">
                     <h3 class="selector-title">صفحه</h3>
                     <label for="contentSelect"><i class="fas fa-book-open"></i> انتخاب محتوا:</label>
                     <select id="page-select" disabled>
                     <select id="contentSelect" disabled>
                         <option value="">انتخاب صفحه</option>
                         <option value="">ابتدا دسته‌بندی را انتخاب کنید</option>
                     </select>
                     </select>
                 </div>
                 </div>
             </div>
             </div>
           
        </section>
             <div class="bible-content">
       
                 <h2 class="chapter-title" id="chapter-title">لطفاً دسته‌بندی و صفحه مورد نظر را انتخاب کنید</h2>
        <section class="content-frame" aria-label="محتوای مطالعه">
                  
             <div class="content-header">
                 <div id="verses-container">
                 <div class="content-title" id="contentTitle">هیچ محتوایی انتخاب نشده است</div>
                    <div class="instructions">
                 <div class="content-controls">
                        <div class="placeholder">
                    <button class="control-btn" id="zoomOut"><i class="fas fa-search-minus"></i> کوچک‌نمایی</button>
                            <i class="fas fa-book-open"></i>
                    <button class="control-btn" id="zoomIn"><i class="fas fa-search-plus"></i> بزرگ‌نمایی</button>
                            <p>برای مطالعه محتوا، لطفاً ابتدا دسته‌بندی و سپس صفحه مورد نظر خود را انتخاب کنید.</p>
                    <button class="control-btn" id="directView"><i class="fas fa-external-link-alt"></i> مشاهده مستقیم</button>
                        </div>
                 </div>
            </div>
            <div class="loading-bar" id="loadingBar"></div>
            <div class="iframe-container">
                <div class="iframe-placeholder" id="iframePlaceholder">
                    <div>
                        <i class="fas fa-book-open" style="font-size: 2rem; color: #6c757d; margin-bottom: 10px;"></i>
                        <p>لطفاً یک کتاب یا مقاله از لیست انتخاب کنید</p>
                     </div>
                     </div>
                 </div>
                 </div>
                  
                 <iframe id="contentFrame" class="clean-frame" src="about:blank" style="display: none;" title="محتوای مطالعه"></iframe>
                <div class="navigation">
            </div>
                    <button class="nav-btn" id="prev-page" disabled>
            <div class="action-buttons">
                        <i class="fas fa-arrow-right"></i>
                <a id="siteLink" href="#" class="site-link" target="_blank" rel="noopener noreferrer" style="display: none;">
                        صفحه قبلی
                    <i class="fas fa-home"></i>
                    </button>
                    مشاهده صفحه در سایت اصلی
                   
                </a>
                    <a href="#" class="wiki-link" id="wiki-page-link" target="_blank" style="display: none;">
                <a id="wikiLink" href="#" class="wiki-link" target="_blank" rel="noopener noreferrer" style="display: none;">
                        <i class="fas fa-external-link-alt"></i>
                    <i class="fab fa-wikipedia-w"></i>
                        صفحه کامل
                    مشاهده صفحه کامل در ویکی
                    </a>
                </a>
                   
                <a id="viewLink" href="#" class="view-link" target="_blank" rel="noopener noreferrer" style="display: none;">
                    <button class="nav-btn" id="next-page" disabled>
                    <i class="fas fa-eye"></i>
                        صفحه بعدی
                     مشاهده صفحه
                        <i class="fas fa-arrow-left"></i>
                 </a>
                     </button>
                 </div>
             </div>
             </div>
         </div>
         </section>
     </div>
     </div>


     <script>
     <script>
         // رده‌های اصلی از مدیاویکی
         // داده‌های ساده
         const categories = [
         const booksData = {
            {
    'کتاب': [
                id: "books",
        { value: 'کتاب آغاز مسیحیت در ایران', text: 'آغاز مسیحیت در ایران' },
                name: "کتاب‌های دانشنامه",
        { value: 'انجیل_متی', text: 'انجیل متی' },
                category: "رده:کتاب_دانشنامه"
        { value: 'مزامیر', text: 'مزامیر' },
            },
        { value: 'پیدایش', text: 'پیدایش' }
            {
    ],
                id: "translations",  
    'مقاله': [
                name: "مقاله‌های ترجمه شده",
        { value: 'مقاله_۸_تفاوت_کلیدی_بین_کاتولیک‌ها_و_پروتستان‌ها_نویسنده', text: '۸ تفاوت کلیدی بین کاتولیک‌ها و پروتستان‌ها' },
                category: "رده:ترجمه_دانشنامه"
        { value: 'مقاله_برادران،_ما_تحلیل%E2%80%8Cگران_سیاسی_نیستیم', text: 'برادران، ما تحلیل‌گران سیاسی نیستیم' },
            },
        { value: 'مقاله_گناه_آدمی_را_نادان_می‌کند', text: 'گناه آدمی را نادان می‌کند' },
            {
        { value: 'مقاله_۴_دلیل_که_چرا_کتاب_مقدس_از_تراجنسیتی_بودن_حمایت_نمی%E2%80%8Cکند', text: '۴ دلیل که چرا کتاب مقدس از تراجنسیتی بودن حمایت نمی‌کند' },
                id: "articles",
        { value: '۱۰_معنای_یهوه', text: '۱۰ معنای یهوه' },
                name: "مقاله‌های دانشنامه",  
        { value: 'تدریس،_آموزش_و_مطالعه', text: 'تدریس، آموزش و مطالعه' },
                category: "رده:مقاله_دانشنامه"
        { value: 'خدمت_به_خدا_یعنی_چه', text: 'خدمت به خدا یعنی چه' }
            }
    ]
        ];
};


         // تابع اصلی بارگذاری برنامه
         // عناصر
         function loadApplication() {
         const categorySelect = document.getElementById('categorySelect');
            initializeEncyclopediaApp();
        const contentSelect = document.getElementById('contentSelect');
         }
        const contentFrame = document.getElementById('contentFrame');
        const iframePlaceholder = document.getElementById('iframePlaceholder');
        const wikiLink = document.getElementById('wikiLink');
        const siteLink = document.getElementById('siteLink');
        const viewLink = document.getElementById('viewLink');
         const contentTitle = document.getElementById('contentTitle');
        const zoomIn = document.getElementById('zoomIn');
        const zoomOut = document.getElementById('zoomOut');
        const directView = document.getElementById('directView');
        const loadingBar = document.getElementById('loadingBar');


         // 🔧 برنامه اصلی کتابخانه دانشنامه
         let currentZoom = 100;
        function initializeEncyclopediaApp() {
        let currentContent = '';
            // عناصر DOM
            const categorySelect = document.getElementById('category-select');
            const pageSelect = document.getElementById('page-select');
            const chapterTitle = document.getElementById('chapter-title');
            const versesContainer = document.getElementById('verses-container');
            const prevPageBtn = document.getElementById('prev-page');
            const nextPageBtn = document.getElementById('next-page');
            const wikiPageLink = document.getElementById('wiki-page-link');


            // متغیرهای وضعیت فعلی
        // وقتی دسته‌بندی تغییر کرد
            let currentCategory = '';
        categorySelect.addEventListener('change', function() {
            let currentPages = [];
            const selectedCategory = this.value;
            let currentPageIndex = 0;
           
 
            if (!selectedCategory) {
            // رویداد تغییر دسته‌بندی
                contentSelect.disabled = true;
            categorySelect.addEventListener('change', function() {
                contentSelect.innerHTML = '<option value="">ابتدا دسته‌بندی را انتخاب کنید</option>';
                currentCategory = this.value;
                resetContent();
               
                return;
                if (currentCategory) {
            }
                    // نمایش loading
           
                    pageSelect.innerHTML = '<option value="">در حال بارگذاری...</option>';
            // پر کردن لیست محتواها
                    pageSelect.disabled = true;
            contentSelect.disabled = false;
                   
            contentSelect.innerHTML = '<option value="">لطفاً محتوا انتخاب کنید</option>';
                    // دریافت صفحات از رده انتخاب شده
           
                    const category = categories.find(cat => cat.id === currentCategory);
            booksData[selectedCategory].forEach(item => {
                    loadPagesFromCategory(category.category);
                const option = document.createElement('option');
                   
                 option.value = item.value;
                    resetContent();
                option.textContent = item.text;
                } else {
                contentSelect.appendChild(option);
                    pageSelect.disabled = true;
                    pageSelect.innerHTML = '<option value="">انتخاب صفحه</option>';
                    resetContent();
                 }
             });
             });
           
            resetContent();
        });


            // تابع برای دریافت صفحات از رده مدیاویکی
        // وقتی محتوا تغییر کرد
            async function loadPagesFromCategory(categoryName) {
        contentSelect.addEventListener('change', function() {
                try {
            const selectedValue = this.value;
                    // نمایش loading
            const selectedText = this.options[this.selectedIndex].text;
                    pageSelect.innerHTML = '<option value="">در حال بارگذاری صفحات...</option>';
           
                   
            if (!selectedValue) {
                    // استفاده از API مدیاویکی برای دریافت صفحات رده
                resetContent();
                    const apiUrl = `https://www.pediabible.com/api.php?action=query&list=categorymembers&cmtitle=${encodeURIComponent(categoryName)}&cmlimit=500&format=json&origin=*`;
                 return;
                   
                    const response = await fetch(apiUrl);
                    const data = await response.json();
                   
                    if (data.query && data.query.categorymembers) {
                        currentPages = data.query.categorymembers
                            .filter(member => member.ns === 0) // فقط صفحات اصلی (نه زیرصفحه‌ها)
                            .map(member => ({
                                title: member.title,
                                displayName: member.title.replace(/_/g, ' '),
                                pageId: member.pageid
                            }));
                       
                        // پر کردن dropdown صفحات
                        pageSelect.disabled = false;
                        pageSelect.innerHTML = '<option value="">انتخاب صفحه</option>';
                       
                        currentPages.forEach((page, index) => {
                            const option = document.createElement('option');
                            option.value = index;
                            option.textContent = page.displayName;
                            pageSelect.appendChild(option);
                        });
                       
                        console.log(`✅ ${currentPages.length} صفحه از رده ${categoryName} بارگذاری شد`);
                    } else {
                        throw new Error('داده‌ای دریافت نشد');
                    }
                 } catch (error) {
                    console.error('خطا در بارگذاری صفحات:', error);
                    pageSelect.innerHTML = '<option value="">خطا در بارگذاری</option>';
                    pageSelect.disabled = true;
                   
                    // نمایش پیام خطا
                    versesContainer.innerHTML = `
                        <div class="loading">
                            <i class="fas fa-exclamation-triangle"></i>
                            <p>خطا در بارگذاری صفحات. لطفاً دوباره تلاش کنید.</p>
                        </div>
                    `;
                }
             }
             }
           
            currentContent = selectedValue;
            showContent(selectedValue, selectedText);
        });


             // رویداد تغییر صفحه
        // نمایش محتوا
             pageSelect.addEventListener('change', function() {
        function showContent(bookValue, bookText) {
                 currentPageIndex = parseInt(this.value);
            const contentUrl = `https://www.pediabible.com/index.php/${bookValue}?action=render`;
             const wikiUrl = `https://www.pediabible.com/index.php/${bookValue}`;
             const siteUrl = `https://www.pediabible.com/index.php/${bookValue}`;
           
            contentTitle.textContent = bookText;
           
            // نمایش loading
            contentFrame.style.display = 'none';
            iframePlaceholder.style.display = 'flex';
            iframePlaceholder.innerHTML = `
                <div>
                    <i class="fas fa-spinner fa-spin" style="font-size: 1.5rem; color: #3e6f73; margin-bottom: 10px;"></i>
                    <p>در حال بارگذاری "${bookText}"...</p>
                </div>
            `;
           
            // نوار پیشرفت
            let progress = 0;
            const progressInterval = setInterval(() => {
                progress += Math.random() * 15;
                if (progress > 90) progress = 90;
                loadingBar.style.width = `${progress}%`;
            }, 200);
           
            // بارگذاری محتوا
            contentFrame.src = contentUrl;
           
            contentFrame.onload = function() {
                 clearInterval(progressInterval);
                loadingBar.style.width = '100%';
                setTimeout(() => {
                    loadingBar.style.width = '0%';
                }, 500);
                  
                  
                 if (!isNaN(currentPageIndex)) {
                 contentFrame.style.display = 'block';
                    displayPageContent();
                iframePlaceholder.style.display = 'none';
                 } else {
                 applyZoom();
                    resetContent();
             };
                }
              
             });
             contentFrame.onerror = function() {
 
                 clearInterval(progressInterval);
             // نمایش محتوای صفحه - فقط محتوای خالص بدون قالب سایت
                 loadingBar.style.width = '0%';
             function displayPageContent() {
                 iframePlaceholder.style.display = 'flex';
                 const page = currentPages[currentPageIndex];
                 iframePlaceholder.innerHTML = `
                const category = categories.find(cat => cat.id === currentCategory);
                     <div>
                  
                         <i class="fas fa-exclamation-triangle" style="font-size: 1.5rem; color: #dc3545; margin-bottom: 10px;"></i>
                chapterTitle.textContent = `${category.name} - ${page.displayName}`;
                         <p>خطا در بارگذاری "${bookText}". لطفاً دوباره تلاش کنید.</p>
                  
                // استفاده از action=render برای نمایش فقط محتوای اصلی بدون قالب سایت
                const contentUrl = `https://www.pediabible.com/index.php?title=${encodeURIComponent(page.title)}&action=render`;
                  
                versesContainer.innerHTML = `
                     <div class="loading">
                         <i class="fas fa-spinner fa-spin"></i>
                         <p>در حال بارگذاری صفحه...</p>
                     </div>
                     </div>
                 `;
                 `;
                  
                 contentFrame.style.display = 'none';
                // ایجاد iframe بعد از تأخیر کوتاه برای نمایش loading
            };
                setTimeout(() => {
           
                    versesContainer.innerHTML = `
            // به‌روزرسانی لینک‌ها
                        <iframe
            wikiLink.href = wikiUrl;
                            id="content-iframe"
            wikiLink.style.display = 'flex';
                            src="${contentUrl}"
           
                            class="content-display"
            siteLink.href = siteUrl;
                            frameborder="0"
            siteLink.style.display = 'flex';
                            loading="lazy"
           
                            sandbox="allow-scripts allow-same-origin allow-popups"
            viewLink.href = contentUrl;
                            allowfullscreen>
             viewLink.style.display = 'flex';
                        </iframe>
        }
                    `;
                }, 300);
               
                // لینک صفحه کامل برای باز کردن در تب جدید
                wikiPageLink.href = `https://www.pediabible.com/index.php?title=${encodeURIComponent(page.title)}`;
                wikiPageLink.style.display = 'flex';
                updateNavigationButtons();
             }


             function updateNavigationButtons() {
        // مشاهده مستقیم
                 prevPageBtn.disabled = currentPageIndex <= 0;
        directView.addEventListener('click', function() {
                 nextPageBtn.disabled = currentPageIndex >= currentPages.length - 1;
             if (currentContent) {
                 const directUrl = `https://www.pediabible.com/index.php/${currentContent}`;
                 window.open(directUrl, '_blank', 'noopener,noreferrer');
             }
             }
        });


            prevPageBtn.addEventListener('click', function() {
        // کنترل بزرگ‌نمایی
                if (currentPageIndex > 0) {
        function applyZoom() {
                    currentPageIndex--;
            contentFrame.style.zoom = `${currentZoom}%`;
                    pageSelect.value = currentPageIndex;
        }
                    displayPageContent();
                }
            });


            nextPageBtn.addEventListener('click', function() {
        zoomIn.addEventListener('click', function() {
                if (currentPageIndex < currentPages.length - 1) {
            if (currentZoom < 150) {
                    currentPageIndex++;
                currentZoom += 10;
                    pageSelect.value = currentPageIndex;
                applyZoom();
                    displayPageContent();
            }
                }
        });
            });


            function resetContent() {
        zoomOut.addEventListener('click', function() {
                chapterTitle.textContent = 'لطفاً دسته‌بندی و صفحه مورد نظر را انتخاب کنید';
            if (currentZoom > 50) {
                 versesContainer.innerHTML = `
                 currentZoom -= 10;
                    <div class="instructions">
                 applyZoom();
                        <div class="placeholder">
                            <i class="fas fa-book-open"></i>
                            <p>برای مطالعه محتوا، لطفاً ابتدا دسته‌بندی و سپس صفحه مورد نظر خود را انتخاب کنید.</p>
                        </div>
                    </div>
                `;
                prevPageBtn.disabled = true;
                 nextPageBtn.disabled = true;
                wikiPageLink.style.display = 'none';
             }
             }
        });


             console.log('✅ برنامه کتابخانه دانشنامه بارگذاری شد');
        function resetContent() {
        }
             currentContent = '';
 
            contentTitle.textContent = 'هیچ محتوایی انتخاب نشده است';
        // شروع برنامه - روش سازگار با مدیاویکی
             contentFrame.style.display = 'none';
        if (typeof mw !== 'undefined' && mw.loader) {
             iframePlaceholder.style.display = 'flex';
             // استفاده از mw.loader اگر در مدیاویکی هستیم
            iframePlaceholder.innerHTML = `
             mw.loader.using('mediawiki.api').then(function() {
                 <div>
                 loadApplication();
                    <i class="fas fa-book-open" style="font-size: 1.5rem; color: #6c757d; margin-bottom: 10px;"></i>
            });
                    <p>لطفاً یک کتاب یا مقاله از لیست انتخاب کنید</p>
        } else {
                </div>
             // استفاده از DOMContentLoaded برای محیط عادی
             `;
             document.addEventListener('DOMContentLoaded', function() {
             wikiLink.style.display = 'none';
                console.log('🚀 شروع بارگذاری کتابخانه دانشنامه...');
            siteLink.style.display = 'none';
                loadApplication();
            viewLink.style.display = 'none';
             });
            contentFrame.src = 'about:blank';
             loadingBar.style.width = '0%';
         }
         }
     </script>
     </script>
</body>
</body>
</html>
</html>

نسخهٔ کنونی تا ‏۱۳ اکتبر ۲۰۲۵، ساعت ۲۲:۳۳

کتابخانه انتشارات دانشنامه کتاب مقدس - مطالعه آنلاین کتاب‌ها و مقالات مسیحی | دانشنامه کتاب مقدس

کتابخانه دانشنامه کتاب مقدس

مطالعه آنلاین کتاب‌ها و مقالات مسیحی دارای اجازه پخش در دانشنامه کتاب مقدس

کتابخانه جامع منابع مسیحی

کتابخانهٔ دانشنامهٔ کتاب مقدس مرجع کامل و تخصصی برای مطالعهٔ آنلاین کتاب‌ها و مقالات مسیحی است، همهٔ مطالب با کسب اجازه از ناشران یا نویسندگان منتشر شده‌اند و حقوق آن‌ها برای انتشارات دانشنامهٔ کتاب مقدس محفوظ است. در صورت نبود حق کپی‌رایت، انتشار با رعایت اصول امانت و احترام به منبع انجام گرفته است.

کتاب‌ها

انتشار همهٔ کتاب‌ها در دانشنامه با اجازهٔ رسمی نویسندگان یا ناشران انجام شده است، و برای برخی آثار، مجوز چاپ مجدد نیز دریافت گردیده است. تمامی حقوق برای انتشارات دانشنامهٔ کتاب مقدس محفوظ است. نویسندگان و ناشران مسیحی می‌توانند برای همکاری و انتشار آثار خود با ما در ارتباط باشند.

مقالات

مقالات دانشنامه با اجازهٔ نویسندگان یا بر اساس منابع عمومی و بدون حق کپی‌رایت منتشر می‌شوند. در همهٔ موارد، اصول امانت‌داری و احترام به منبع اصلی رعایت شده است. پژوهشگران و نویسندگان مسیحی می‌توانند برای انتشار مقالات خود با ما همکاری کنند

هیچ محتوایی انتخاب نشده است

لطفاً یک کتاب یا مقاله از لیست انتخاب کنید