پرش به محتوا

تست: تفاوت میان نسخه‌ها

از دانشنامه کتاب مقدس
بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
 
(۸ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد)
خط ۱: خط ۱:
<!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="کتاب مقدس, انجیل, عیسی مسیح, مقالات مذهبی, کتابخانه آنلاین, مزامیر, پیدایش, تثلیث, روح القدس, نجات, پدیا بایبل">
    <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": "Book",
                    "position": 2,
                    "name": "انجیل متی",
                    "url": "https://www.pediabible.com/index.php/انجیل_متی",
                    "description": "انجیل متی - اولین انجیل از انجیل‌های چهارگانه"
                },
                {
                    "@type": "Book",
                    "position": 3,
                    "name": "مزامیر",
                    "url": "https://www.pediabible.com/index.php/مزامیر",
                    "description": "مزامیر - کتاب نیایش و مناجات"
                },
                {
                    "@type": "Book",
                    "position": 4,
                    "name": "پیدایش",
                    "url": "https://www.pediabible.com/index.php/پیدایش",
                    "description": "پیدایش - اولین کتاب تورات"
                },
                {
                    "@type": "Article",
                    "position": 5,
                    "name": "مسیح",
                    "url": "https://www.pediabible.com/index.php/مسیح",
                    "description": "مقالات تخصصی درباره مسیحشناسی"
                },
                {
                    "@type": "Article",
                    "position": 6,
                    "name": "تثلیث",
                    "url": "https://www.pediabible.com/index.php/تثلیث",
                    "description": "مطالعات تخصصی درباره مفهوم تثلیث"
                },
                {
                    "@type": "Article",
                    "position": 7,
                    "name": "نجات",
                    "url": "https://www.pediabible.com/index.php/نجات",
                    "description": "مقالات درباره نجات و رستگاری"
                },
                {
                    "@type": "Article",
                    "position": 8,
                    "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>
         * {
         * {
خط ۱۱: خط ۱۲۹:
             padding: 0;
             padding: 0;
             box-sizing: border-box;
             box-sizing: border-box;
        }
       
        :root {
            --primary-color: #2c5530;
            --secondary-color: #4a7c59;
            --accent-color: #8fb996;
            --light-color: #f8f9fa;
            --dark-color: #343a40;
            --text-color: #333;
            --border-color: #dee2e6;
            --shadow: 0 4px 12px rgba(0,0,0,0.1);
            --transition: all 0.3s ease;
         }
         }
          
          
         body {
         body {
             font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
             font-family: Tahoma, Arial, sans-serif;
             background: #f0f2f5;
             background-color: #f6f6f6;
             color: var(--text-color);
             color: #333;
             line-height: 1.6;
             line-height: 1.6;
             padding: 10px;
             padding: 0;
             min-height: 100vh;
             margin: 0;
         }
         }
          
          
         .container {
         .container {
             max-width: 1200px;
             max-width: 100%;
             margin: 0 auto;
             margin: 0;
             background: white;
             background: white;
             padding: 15px;
             padding: 0;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
         }
         }
          
          
         .header {
         .header {
             background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
             background: linear-gradient(135deg, #3e6f73, #4a7c59);
             color: white;
             color: white;
             padding: 20px;
             padding: 20px 15px;
            border-radius: 8px;
             margin-bottom: 15px;
             margin-bottom: 20px;
             text-align: center;
             text-align: center;
         }
         }
خط ۵۴: خط ۱۵۷:
         h1 {
         h1 {
             margin: 0;
             margin: 0;
             font-size: 24px;
             font-size: 22px;
             font-weight: 700;
             font-weight: 700;
         }
         }
خط ۶۰: خط ۱۶۳:
         .description {
         .description {
             color: rgba(255,255,255,0.9);
             color: rgba(255,255,255,0.9);
            font-size: 13px;
            margin-top: 8px;
            line-height: 1.5;
        }
       
        .seo-content {
            background: #fff;
            padding: 20px 15px;
            margin: 0 15px 15px;
            border-radius: 8px;
            border: 1px solid #e9ecef;
        }
       
        .seo-content h2 {
            color: #3e6f73;
            margin-bottom: 15px;
            font-size: 18px;
        }
       
        .seo-content p {
            margin-bottom: 15px;
            text-align: justify;
             font-size: 14px;
             font-size: 14px;
             margin-top: 8px;
            line-height: 1.8;
        }
       
        .content-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 15px;
             margin-top: 15px;
         }
         }
          
          
         .stats-bar {
         .content-item {
            display: flex;
             background: #f8f9fa;
            justify-content: space-between;
             padding: 15px;
             background: var(--light-color);
             padding: 10px 15px;
             border-radius: 6px;
             border-radius: 6px;
             margin-bottom: 15px;
             border-left: 4px solid #3e6f73;
            border: 1px solid var(--border-color);
            font-size: 13px;
         }
         }
          
          
         .stat-item {
         .content-item h3 {
             display: flex;
             color: #3e6f73;
             align-items: center;
             margin-bottom: 8px;
             gap: 6px;
             font-size: 15px;
         }
         }
          
          
         .stat-value {
         .content-item p {
             font-weight: bold;
             font-size: 13px;
             color: var(--primary-color);
             color: #666;
            margin: 0;
         }
         }
          
          
        /* استایل جدید برای فیلترهای آبشاری */
         .filter-section {
         .filter-section {
             margin-bottom: 20px;
             margin: 0 15px 15px;
             background: var(--light-color);
             background: #f8f9fa;
             padding: 15px;
             padding: 15px;
            border-radius: 8px;
             border: 1px solid #dee2e6;
             border: 1px solid var(--border-color);
         }
         }
          
          
         .filter-grid {
         .filter-row {
             display: grid;
             display: flex;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
             gap: 10px;
             gap: 15px;
             margin-bottom: 0;
             margin-bottom: 15px;
         }
         }
          
          
         .form-group {
         .form-group {
            display: flex;
             flex: 1;
             flex-direction: column;
         }
         }
          
          
خط ۱۱۱: خط ۲۳۶:
             margin-bottom: 6px;
             margin-bottom: 6px;
             font-weight: 600;
             font-weight: 600;
             color: var(--dark-color);
             color: #495057;
             font-size: 14px;
             font-size: 13px;
         }
         }
          
          
خط ۱۱۸: خط ۲۴۳:
             width: 100%;
             width: 100%;
             padding: 10px 12px;
             padding: 10px 12px;
             border: 1px solid var(--border-color);
             border: 1px solid #ced4da;
             border-radius: 6px;
             border-radius: 6px;
             font-size: 14px;
             font-size: 13px;
             background: white;
             background: white;
            transition: var(--transition);
             cursor: pointer;
             cursor: pointer;
             text-align: right;
             transition: all 0.3s ease;
            border: 1px solid #e9ecef;
         }
         }
          
          
         select:focus {
         select:focus {
             outline: none;
             outline: none;
             border-color: var(--accent-color);
             border-color: #3e6f73;
            box-shadow: 0 0 0 2px rgba(62, 111, 115, 0.1);
         }
         }
          
          
خط ۱۳۶: خط ۲۶۲:
             color: #6c757d;
             color: #6c757d;
             cursor: not-allowed;
             cursor: not-allowed;
            border-color: #dee2e6;
         }
         }
          
          
         .content-section {
         .content-frame {
             margin-top: 15px;
             margin: 0 15px;
             border: 1px solid var(--border-color);
             border: 1px solid #dee2e6;
             border-radius: 8px;
             border-radius: 0;
             overflow: hidden;
             overflow: hidden;
             background: white;
             background: white;
             height: 500px;
             height: calc(100vh - 250px);
            display: flex;
             min-height: 400px;
             flex-direction: column;
         }
         }
          
          
         .content-header {
         .content-header {
             padding: 12px 15px;
             padding: 12px 15px;
             background: var(--light-color);
             background: #f8f9fa;
             border-bottom: 1px solid var(--border-color);
             border-bottom: 1px solid #dee2e6;
             display: flex;
             display: flex;
             justify-content: space-between;
             justify-content: space-between;
خط ۱۶۰: خط ۲۸۶:
         .content-title {
         .content-title {
             font-weight: 600;
             font-weight: 600;
             color: var(--primary-color);
             color: #3e6f73;
             font-size: 16px;
             font-size: 14px;
         }
         }
          
          
خط ۱۷۱: خط ۲۹۷:
         .control-btn {
         .control-btn {
             background: white;
             background: white;
             border: 1px solid var(--border-color);
             border: 1px solid #dee2e6;
             border-radius: 4px;
             border-radius: 4px;
             padding: 5px 10px;
             padding: 6px 12px;
             cursor: pointer;
             cursor: pointer;
             font-size: 12px;
             font-size: 12px;
             transition: var(--transition);
             transition: all 0.3s ease;
             display: flex;
             display: flex;
             align-items: center;
             align-items: center;
             gap: 4px;
             gap: 4px;
            font-weight: 600;
            color: #495057;
         }
         }
          
          
         .control-btn:hover {
         .control-btn:hover {
             background: var(--light-color);
             background: #3e6f73;
            color: white;
            border-color: #3e6f73;
         }
         }
          
          
         .iframe-container {
         .iframe-container {
             width: 100%;
             width: 100%;
             flex: 1;
             height: calc(100% - 50px);
             position: relative;
             position: relative;
         }
         }
خط ۲۰۵: خط ۳۳۵:
             height: 100%;
             height: 100%;
             color: #6c757d;
             color: #6c757d;
             font-size: 15px;
             font-size: 14px;
             text-align: center;
             text-align: center;
             padding: 15px;
             padding: 20px;
             background: white;
             background: white;
            flex-direction: column;
         }
         }
          
          
خط ۲۱۷: خط ۳۴۶:
             align-items: center;
             align-items: center;
             padding: 12px 15px;
             padding: 12px 15px;
             background-color: var(--light-color);
             background-color: #f8f9fa;
             border-top: 1px solid var(--border-color);
             border-top: 1px solid #dee2e6;
             gap: 10px;
             gap: 8px;
         }
         }
          
          
         .wiki-link, .site-link, .view-link {
         .wiki-link, .site-link, .view-link {
             background: var(--primary-color);
             background: #3e6f73;
             color: white;
             color: white;
             text-decoration: none;
             text-decoration: none;
             font-weight: 600;
             font-weight: 600;
             padding: 8px 15px;
             padding: 10px 15px;
             border-radius: 6px;
             border-radius: 4px;
             border: none;
             border: none;
             cursor: pointer;
             cursor: pointer;
             font-size: 13px;
             font-size: 13px;
             text-align: center;
             text-align: center;
             transition: var(--transition);
             flex: 1;
             display: flex;
             display: flex;
             align-items: center;
             align-items: center;
             justify-content: center;
             justify-content: center;
             gap: 6px;
             gap: 6px;
            transition: all 0.3s ease;
         }
         }
          
          
خط ۲۴۵: خط ۳۷۵:
          
          
         .view-link {
         .view-link {
             background: var(--secondary-color);
             background: #4a7c59;
         }
         }
          
          
         .site-link:hover, .wiki-link:hover, .view-link:hover {
         .wiki-link:hover, .site-link:hover, .view-link:hover {
             opacity: 0.9;
             opacity: 0.9;
             transform: translateY(-1px);
             transform: translateY(-1px);
         }
         }
          
          
         .recent-section {
         .loading-bar {
             margin-top: 20px;
             height: 2px;
             background: var(--light-color);
             background: linear-gradient(90deg, #8fb996, #3e6f73);
             padding: 15px;
             width: 0%;
             border-radius: 8px;
             transition: width 0.4s ease;
             border: 1px solid var(--border-color);
            position: absolute;
            top: 0;
             right: 0;
         }
         }
          
          
         .section-title {
         .breadcrumb {
             font-size: 16px;
             background: #f8f9fa;
             font-weight: 600;
             padding: 10px 15px;
            color: var(--primary-color);
             margin-bottom: 15px;
             margin-bottom: 12px;
             border-bottom: 1px solid #dee2e6;
            display: flex;
            align-items: center;
            gap: 8px;
        }
       
        .recent-items {
            display: flex;
            gap: 10px;
            overflow-x: auto;
            padding: 5px;
        }
       
        .recent-item {
            background: white;
             border-radius: 6px;
            padding: 12px;
            min-width: 150px;
            border: 1px solid var(--border-color);
            cursor: pointer;
            transition: var(--transition);
            text-align: center;
        }
       
        .recent-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
       
        .recent-title {
            font-weight: 600;
             font-size: 13px;
             font-size: 13px;
            color: var(--dark-color);
         }
         }
          
          
         .recent-category {
         .breadcrumb a {
            font-size: 11px;
             color: #3e6f73;
             color: #6c757d;
             text-decoration: none;
             margin-top: 4px;
         }
         }
          
          
         .empty-recent {
         .breadcrumb a:hover {
             text-align: center;
             text-decoration: underline;
            color: #6c757d;
            padding: 15px;
            font-style: italic;
            width: 100%;
        }
       
        .loading-bar {
            height: 3px;
            background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
            width: 0%;
            transition: width 0.4s ease;
            position: absolute;
            top: 0;
            right: 0;
         }
         }
          
          
         @media (max-width: 768px) {
         @media (max-width: 768px) {
            body {
             .filter-row {
                padding: 5px;
                 flex-direction: column;
            }
           
             .container {
                 padding: 10px;
             }
             }
              
              
             .filter-grid {
             .content-frame {
                 grid-template-columns: 1fr;
                 height: calc(100vh - 280px);
            }
                min-height: 350px;
           
            .content-section {
                height: 400px;
             }
             }
              
              
خط ۳۴۷: خط ۴۲۶:
             .wiki-link, .site-link, .view-link {
             .wiki-link, .site-link, .view-link {
                 width: 100%;
                 width: 100%;
            }
           
            .stats-bar {
                flex-direction: column;
                gap: 8px;
             }
             }
              
              
خط ۳۶۵: خط ۴۳۹:
             }
             }
              
              
             .recent-items {
             .header {
                 flex-direction: column;
                padding: 15px 10px;
            }
           
            h1 {
                font-size: 20px;
            }
           
            .description {
                 font-size: 12px;
             }
             }
              
              
             .recent-item {
             .content-list {
                 min-width: auto;
                 grid-template-columns: 1fr;
             }
             }
         }
         }
خط ۳۷۶: خط ۴۵۸:
</head>
</head>
<body>
<body>
    <!-- Breadcrumb Navigation -->
    <nav class="breadcrumb" aria-label="breadcrumb">
        <a href="https://www.pediabible.com">خانه</a> /
        <span>کتابخانه</span>
    </nav>
     <div class="container">
     <div class="container">
         <div class="header">
         <header class="header">
             <h1>کتابخانه پدیا بایبل</h1>
             <h1>کتابخانه پدیا بایبل</h1>
             <div class="description">
             <p class="description">مطالعه آنلاین کتاب‌ها و مقالات مذهبی شامل کتاب‌های مقدس و مقالات تخصصی</p>
                در این بخش می‌توانید کتاب‌ها و مقالات مختلف را مطالعه کنید.
        </header>
                 برای شروع، دسته‌بندی و سپس مورد مورد نظر خود را انتخاب نمایید.
 
        <!-- محتوای سئو -->
        <section class="seo-content">
            <h2>کتابخانه جامع منابع مذهبی</h2>
            <p>کتابخانه پدیا بایبل مرجع کامل و تخصصی برای مطالعه آنلاین کتاب‌های مقدس و مقالات مذهبی است. در این کتابخانه می‌توانید به منابع معتبر و جامعی از متون دینی دسترسی داشته باشید.</p>
           
            <div class="content-list">
                <div class="content-item">
                    <h3>کتاب‌های مقدس</h3>
                    <p>مطالعه کتاب‌های مقدس از جمله عیسی، انجیل متی، مزامیر، پیدایش و دیگر متون مذهبی با ترجمه‌های معتبر</p>
                </div>
                <div class="content-item">
                    <h3>مقالات تخصصی</h3>
                    <p>مقالات متعدد درباره موضوعات مذهبی مانند مسیح، تثلیث، نجات، روح القدس و دیگر مفاهیم دینی</p>
                </div>
                <div class="content-item">
                    <h3>مطالعه آنلاین</h3>
                    <p>امکان مطالعه تمامی منابع به صورت آنلاین با قابلیت‌های پیشرفته مانند بزرگ‌نمایی و مشاهده مستقیم</p>
                </div>
                 <div class="content-item">
                    <h3>منابع معتبر</h3>
                    <p>دسترسی به منابع معتبر و مورد تأیید مراجع دینی برای مطالعه و تحقیق</p>
                </div>
             </div>
             </div>
         </div>
         </section>
       
 
         <div class="stats-bar">
         <section class="filter-section" aria-label="فیلترهای جستجو">
            <div class="stat-item">
             <div class="filter-row">
                <i class="fas fa-book"></i>
                <span>تعداد کتاب‌ها: <span class="stat-value" id="booksCount">4</span></span>
            </div>
            <div class="stat-item">
                <i class="fas fa-file-alt"></i>
                <span>تعداد مقالات: <span class="stat-value" id="articlesCount">4</span></span>
            </div>
            <div class="stat-item">
                <i class="fas fa-history"></i>
                <span>مطالب مطالعه شده: <span class="stat-value" id="readCount">0</span></span>
            </div>
        </div>
       
        <!-- فیلترهای آبشاری جدید -->
        <div class="filter-section">
             <div class="filter-grid">
                 <div class="form-group">
                 <div class="form-group">
                     <label for="categorySelect"><i class="fas fa-folder"></i> دسته‌بندی:</label>
                     <label for="categorySelect"><i class="fas fa-folder"></i> دسته‌بندی:</label>
خط ۴۰۹: خط ۵۰۳:
                         <option value="کتاب">کتاب</option>
                         <option value="کتاب">کتاب</option>
                         <option value="مقاله">مقاله</option>
                         <option value="مقاله">مقاله</option>
                    </select>
                </div>
               
                <div class="form-group">
                    <label for="typeSelect"><i class="fas fa-tags"></i> نوع محتوا:</label>
                    <select id="typeSelect" disabled>
                        <option value="">ابتدا دسته‌بندی را انتخاب کنید</option>
                     </select>
                     </select>
                 </div>
                 </div>
خط ۴۲۲: خط ۵۰۹:
                     <label for="contentSelect"><i class="fas fa-book-open"></i> انتخاب محتوا:</label>
                     <label for="contentSelect"><i class="fas fa-book-open"></i> انتخاب محتوا:</label>
                     <select id="contentSelect" disabled>
                     <select id="contentSelect" disabled>
                         <option value="">ابتدا نوع محتوا را انتخاب کنید</option>
                         <option value="">ابتدا دسته‌بندی را انتخاب کنید</option>
                     </select>
                     </select>
                 </div>
                 </div>
             </div>
             </div>
         </div>
         </section>
          
          
         <div class="content-section">
         <section class="content-frame" aria-label="محتوای مطالعه">
             <div class="content-header">
             <div class="content-header">
                 <div class="content-title" id="contentTitle">هیچ محتوایی انتخاب نشده است</div>
                 <div class="content-title" id="contentTitle">هیچ محتوایی انتخاب نشده است</div>
خط ۴۳۴: خط ۵۲۱:
                     <button class="control-btn" id="zoomOut"><i class="fas fa-search-minus"></i> کوچک‌نمایی</button>
                     <button class="control-btn" id="zoomOut"><i class="fas fa-search-minus"></i> کوچک‌نمایی</button>
                     <button class="control-btn" id="zoomIn"><i class="fas fa-search-plus"></i> بزرگ‌نمایی</button>
                     <button class="control-btn" id="zoomIn"><i class="fas fa-search-plus"></i> بزرگ‌نمایی</button>
                     <button class="control-btn" id="refreshBtn"><i class="fas fa-redo"></i> بارگذاری مجدد</button>
                     <button class="control-btn" id="directView"><i class="fas fa-external-link-alt"></i> مشاهده مستقیم</button>
                 </div>
                 </div>
             </div>
             </div>
خط ۴۴۱: خط ۵۲۸:
                 <div class="iframe-placeholder" id="iframePlaceholder">
                 <div class="iframe-placeholder" id="iframePlaceholder">
                     <div>
                     <div>
                         <i class="fas fa-book-open" style="font-size: 2.5rem; color: #6c757d; margin-bottom: 10px;"></i>
                         <i class="fas fa-book-open" style="font-size: 2rem; color: #6c757d; margin-bottom: 10px;"></i>
                         <p>لطفاً یک کتاب یا مقاله از لیست انتخاب کنید</p>
                         <p>لطفاً یک کتاب یا مقاله از لیست انتخاب کنید</p>
                     </div>
                     </div>
                 </div>
                 </div>
                 <iframe id="contentFrame" class="clean-frame" src="about:blank" style="display: none;"></iframe>
                 <iframe id="contentFrame" class="clean-frame" src="about:blank" style="display: none;" title="محتوای مطالعه"></iframe>
             </div>
             </div>
             <div class="action-buttons">
             <div class="action-buttons">
                 <a id="siteLink" href="#" class="site-link" target="_blank" style="display: none;">
                 <a id="siteLink" href="#" class="site-link" target="_blank" rel="noopener noreferrer" style="display: none;">
                     <i class="fas fa-external-link-alt"></i>
                     <i class="fas fa-home"></i>
                     مشاهده صفحه در سایت اصلی
                     مشاهده صفحه در سایت اصلی
                 </a>
                 </a>
                 <a id="wikiLink" href="#" class="wiki-link" target="_blank" style="display: none;">
                 <a id="wikiLink" href="#" class="wiki-link" target="_blank" rel="noopener noreferrer" style="display: none;">
                     <i class="fab fa-wikipedia-w"></i>
                     <i class="fab fa-wikipedia-w"></i>
                     مشاهده صفحه کامل در ویکی
                     مشاهده صفحه کامل در ویکی
                 </a>
                 </a>
                 <a id="viewLink" href="#" class="view-link" target="_blank" style="display: none;">
                 <a id="viewLink" href="#" class="view-link" target="_blank" rel="noopener noreferrer" style="display: none;">
                     <i class="fas fa-eye"></i>
                     <i class="fas fa-eye"></i>
                     مشاهده صفحه
                     مشاهده صفحه
                 </a>
                 </a>
             </div>
             </div>
         </div>
         </section>
       
        <div class="recent-section">
            <div class="section-title">
                <i class="fas fa-history"></i>
                مطالب مطالعه شده اخیر
            </div>
            <div class="recent-items" id="recentItems">
                <div class="empty-recent">هیچ مطلبی اخیراً مطالعه نشده است</div>
            </div>
        </div>
     </div>
     </div>


     <script>
     <script>
         // داده‌های کتاب‌ها و مقالات با ساختار آبشاری
         // داده‌های ساده
         const libraryData = {
         const booksData = {
             'کتاب': {
             'کتاب': [
                 'عهد عتیق': [
                 { value: 'عیسی', text: 'عیسی' },
                    { value: 'پیدایش', text: 'پیدایش' },
                 { value: 'انجیل_متی', text: 'انجیل متی' },
                    { value: 'خروج', text: 'خروج' },
                 { value: 'مزامیر', text: 'مزامیر' },
                    { value: 'لاویان', text: 'لاویان' },
                { value: 'پیدایش', text: 'پیدایش' }
                    { value: 'اعداد', text: 'اعداد' },
            ],
                    { value: 'تثنیه', text: 'تثنیه' }
             'مقاله': [
                ],
                 { value: 'مسیح', text: 'مسیح' },
                 'عهد جدید': [
                { value: 'تثلیث', text: 'تثلیث' },
                    { value: 'متی', text: 'انجیل متی' },
                { value: 'نجات', text: 'نجات' },
                    { value: 'مرقس', text: 'انجیل مرقس' },
                 { value: 'روح_القدس', text: 'روح القدس' }
                    { value: 'لوقا', text: 'انجیل لوقا' },
            ]
                    { value: 'یوحنا', text: 'انجیل یوحنا' },
                    { value: 'اعمال', text: 'اعمال رسولان' }
                ],
                 'کتاب‌های تاریخی': [
                    { value: 'مزامیر', text: 'مزامیر' },
                    { value: 'امثال', text: 'امثال سلیمان' },
                    { value: 'جامعه', text: 'جامعه' }
                ]
            },
             'مقاله': {
                 'مسیحشناسی': [
                    { value: 'عیسی', text: 'عیسی مسیح' },
                    { value: 'مسیح', text: 'مسیح' },
                    { value: 'نجات', text: 'نجات' }
                ],
                 'الهیات': [
                    { value: 'تثلیث', text: 'تثلیث' },
                    { value: 'روح_القدس', text: 'روح القدس' },
                    { value: 'فیض', text: 'فیض الهی' }
                ],
                'کلیسا': [
                    { value: 'کلیسا', text: 'کلیسا' },
                    { value: 'شام_ربانی', text: 'شام ربانی' },
                    { value: 'تعمید', text: 'تعمید' }
                ]
            }
         };
         };


         // گرفتن عناصر DOM
         // عناصر
         const elements = {
         const categorySelect = document.getElementById('categorySelect');
            categorySelect: document.getElementById('categorySelect'),
        const contentSelect = document.getElementById('contentSelect');
            typeSelect: document.getElementById('typeSelect'),
        const contentFrame = document.getElementById('contentFrame');
            contentSelect: document.getElementById('contentSelect'),
        const iframePlaceholder = document.getElementById('iframePlaceholder');
            contentFrame: document.getElementById('contentFrame'),
        const wikiLink = document.getElementById('wikiLink');
            iframePlaceholder: document.getElementById('iframePlaceholder'),
        const siteLink = document.getElementById('siteLink');
            wikiLink: document.getElementById('wikiLink'),
        const viewLink = document.getElementById('viewLink');
            siteLink: document.getElementById('siteLink'),
        const contentTitle = document.getElementById('contentTitle');
            viewLink: document.getElementById('viewLink'),
        const zoomIn = document.getElementById('zoomIn');
            contentTitle: document.getElementById('contentTitle'),
        const zoomOut = document.getElementById('zoomOut');
            booksCount: document.getElementById('booksCount'),
        const directView = document.getElementById('directView');
            articlesCount: document.getElementById('articlesCount'),
        const loadingBar = document.getElementById('loadingBar');
            readCount: document.getElementById('readCount'),
            zoomIn: document.getElementById('zoomIn'),
            zoomOut: document.getElementById('zoomOut'),
            refreshBtn: document.getElementById('refreshBtn'),
            loadingBar: document.getElementById('loadingBar'),
            recentItems: document.getElementById('recentItems')
        };


        // متغیرهای حالت
         let currentZoom = 100;
         let currentCategory = '';
        let currentType = '';
         let currentContent = '';
         let currentContent = '';
        let currentZoom = 100;
        let readItems = JSON.parse(localStorage.getItem('readItems')) || [];
        // تابع اصلی برای مقداردهی اولیه
        function init() {
            updateStats();
            updateRecentItems();
            setupEventListeners();
        }
        // تنظیم event listenerها با الگوی آبشاری
        function setupEventListeners() {
            // رویداد تغییر دسته‌بندی
            elements.categorySelect.addEventListener('change', function() {
                currentCategory = this.value;
               
                if (currentCategory) {
                    // فعال کردن و پر کردن select نوع محتوا
                    elements.typeSelect.disabled = false;
                    elements.typeSelect.innerHTML = '<option value="">لطفاً نوع محتوا انتخاب کنید</option>';
                   
                    // پر کردن انواع محتوا بر اساس دسته‌بندی انتخاب شده
                    const types = Object.keys(libraryData[currentCategory]);
                    types.forEach(type => {
                        const option = document.createElement('option');
                        option.value = type;
                        option.textContent = type;
                        elements.typeSelect.appendChild(option);
                    });
                   
                    // غیرفعال کردن و ریست کردن select محتوا
                    elements.contentSelect.disabled = true;
                    elements.contentSelect.innerHTML = '<option value="">ابتدا نوع محتوا را انتخاب کنید</option>';
                   
                    resetContent();
                } else {
                    // اگر دسته‌بندی انتخاب نشد، همه چیز ریست شود
                    resetAll();
                }
            });
            // رویداد تغییر نوع محتوا
            elements.typeSelect.addEventListener('change', function() {
                currentType = this.value;
               
                if (currentType) {
                    // فعال کردن و پر کردن select محتوا
                    elements.contentSelect.disabled = false;
                    elements.contentSelect.innerHTML = '<option value="">لطفاً محتوا انتخاب کنید</option>';
                   
                    // پر کردن محتواها بر اساس نوع انتخاب شده
                    const contents = libraryData[currentCategory][currentType];
                    contents.forEach(content => {
                        const option = document.createElement('option');
                        option.value = content.value;
                        option.textContent = content.text;
                        elements.contentSelect.appendChild(option);
                    });
                   
                    resetContent();
                } else {
                    // اگر نوع انتخاب نشد، select محتوا غیرفعال شود
                    elements.contentSelect.disabled = true;
                    elements.contentSelect.innerHTML = '<option value="">ابتدا نوع محتوا را انتخاب کنید</option>';
                    resetContent();
                }
            });
            // رویداد تغییر محتوا
            elements.contentSelect.addEventListener('change', function() {
                currentContent = this.value;
               
                if (currentContent) {
                    showContent(currentContent, elements.contentSelect.options[elements.contentSelect.selectedIndex].text);
                } else {
                    resetContent();
                }
            });
            // رویدادهای کنترل محتوا
            elements.zoomIn.addEventListener('click', function() {
                if (currentZoom < 150) {
                    currentZoom += 10;
                    applyZoom();
                }
            });
            elements.zoomOut.addEventListener('click', function() {
                if (currentZoom > 50) {
                    currentZoom -= 10;
                    applyZoom();
                }
            });
            elements.refreshBtn.addEventListener('click', function() {
                if (currentContent) {
                    const contentText = elements.contentSelect.options[elements.contentSelect.selectedIndex].text;
                    showContent(currentContent, contentText);
                }
            });
        }


         // به روزرسانی آمار
         // وقتی دسته‌بندی تغییر کرد
         function updateStats() {
         categorySelect.addEventListener('change', function() {
             let totalBooks = 0;
             const selectedCategory = this.value;
            let totalArticles = 0;
              
              
            // شمارش کتاب‌ها
             if (!selectedCategory) {
             if (libraryData['کتاب']) {
                 contentSelect.disabled = true;
                Object.values(libraryData['کتاب']).forEach(category => {
                 contentSelect.innerHTML = '<option value="">ابتدا دسته‌بندی را انتخاب کنید</option>';
                    totalBooks += category.length;
                resetContent();
                });
            }
           
            // شمارش مقالات
            if (libraryData['مقاله']) {
                Object.values(libraryData['مقاله']).forEach(category => {
                    totalArticles += category.length;
                 });
            }
           
            elements.booksCount.textContent = totalBooks;
            elements.articlesCount.textContent = totalArticles;
            elements.readCount.textContent = readItems.length;
        }
 
        // به روزرسانی لیست مطالب مطالعه شده
        function updateRecentItems() {
            if (readItems.length === 0) {
                 elements.recentItems.innerHTML = '<div class="empty-recent">هیچ مطلبی اخیراً مطالعه نشده است</div>';
                 return;
                 return;
             }
             }
              
              
             elements.recentItems.innerHTML = '';
             // پر کردن لیست محتواها
            const recentToShow = readItems.slice(-5).reverse();
            contentSelect.disabled = false;
            contentSelect.innerHTML = '<option value="">لطفاً محتوا انتخاب کنید</option>';
              
              
             recentToShow.forEach(item => {
             booksData[selectedCategory].forEach(item => {
                 const recentItem = document.createElement('div');
                 const option = document.createElement('option');
                recentItem.className = 'recent-item';
                option.value = item.value;
                recentItem.innerHTML = `
                option.textContent = item.text;
                    <div class="recent-title">${item.text}</div>
                contentSelect.appendChild(option);
                    <div class="recent-category">${item.category} - ${item.type}</div>
                `;
               
                recentItem.addEventListener('click', function() {
                    // تنظیم مجدد فیلترها بر اساس آیتم انتخاب شده
                    elements.categorySelect.value = item.category;
                    currentCategory = item.category;
                   
                    // پر کردن انواع محتوا
                    elements.typeSelect.disabled = false;
                    elements.typeSelect.innerHTML = '<option value="">لطفاً نوع محتوا انتخاب کنید</option>';
                    const types = Object.keys(libraryData[currentCategory]);
                    types.forEach(type => {
                        const option = document.createElement('option');
                        option.value = type;
                        option.textContent = type;
                        if (type === item.type) option.selected = true;
                        elements.typeSelect.appendChild(option);
                    });
                   
                    currentType = item.type;
                   
                    // پر کردن محتواها
                    elements.contentSelect.disabled = false;
                    elements.contentSelect.innerHTML = '<option value="">لطفاً محتوا انتخاب کنید</option>';
                    const contents = libraryData[currentCategory][currentType];
                    contents.forEach(content => {
                        const option = document.createElement('option');
                        option.value = content.value;
                        option.textContent = content.text;
                        if (content.value === item.value) option.selected = true;
                        elements.contentSelect.appendChild(option);
                    });
                   
                    currentContent = item.value;
                    showContent(item.value, item.text);
                });
               
                elements.recentItems.appendChild(recentItem);
             });
             });
         }
           
            resetContent();
         });


         // نمایش محتوا
         // وقتی محتوا تغییر کرد
         function showContent(contentValue, contentText) {
         contentSelect.addEventListener('change', function() {
             if (!contentValue) {
            const selectedValue = this.value;
            const selectedText = this.options[this.selectedIndex].text;
           
             if (!selectedValue) {
                 resetContent();
                 resetContent();
                 return;
                 return;
             }
             }
              
              
             // افزودن به تاریخچه مطالعه
             currentContent = selectedValue;
             const newItem = {
             showContent(selectedValue, selectedText);
                value: contentValue,  
        });
                text: contentText,
 
                category: currentCategory,
        // نمایش محتوا
                type: currentType
        function showContent(bookValue, bookText) {
            };
             const contentUrl = `https://www.pediabible.com/index.php/${bookValue}?action=render`;
              
             const wikiUrl = `https://www.pediabible.com/index.php/${bookValue}`;
            if (!readItems.some(item =>
             const siteUrl = `https://www.pediabible.com/index.php/${bookValue}`;
                item.value === contentValue &&
                item.category === currentCategory &&
                item.type === currentType
             )) {
                readItems.push(newItem);
                localStorage.setItem('readItems', JSON.stringify(readItems));
                updateStats();
                updateRecentItems();
             }
              
              
             const contentUrl = `https://www.pediabible.com/index.php/${contentValue}?action=render`;
             contentTitle.textContent = bookText;
            const wikiUrl = `https://www.pediabible.com/index.php/${contentValue}`;
            const siteUrl = `https://www.pediabible.com/index.php/${contentValue}`;
              
              
             elements.contentTitle.textContent = `${contentText} - ${currentType}`;
             // نمایش loading
             elements.contentFrame.style.display = 'none';
             contentFrame.style.display = 'none';
             elements.iframePlaceholder.style.display = 'flex';
             iframePlaceholder.style.display = 'flex';
             elements.iframePlaceholder.innerHTML = `
             iframePlaceholder.innerHTML = `
                 <div>
                 <div>
                     <i class="fas fa-spinner fa-spin" style="font-size: 2.5rem; color: #2c5530; margin-bottom: 10px;"></i>
                     <i class="fas fa-spinner fa-spin" style="font-size: 1.5rem; color: #3e6f73; margin-bottom: 10px;"></i>
                     <p>در حال بارگذاری "${contentText}"...</p>
                     <p>در حال بارگذاری "${bookText}"...</p>
                 </div>
                 </div>
             `;
             `;
              
              
             // شبیه‌سازی نوار پیشرفت
             // نوار پیشرفت
             let progress = 0;
             let progress = 0;
             const progressInterval = setInterval(() => {
             const progressInterval = setInterval(() => {
                 progress += Math.random() * 15;
                 progress += Math.random() * 15;
                 if (progress > 90) progress = 90;
                 if (progress > 90) progress = 90;
                 elements.loadingBar.style.width = `${progress}%`;
                 loadingBar.style.width = `${progress}%`;
             }, 200);
             }, 200);
              
              
             elements.contentFrame.src = contentUrl;
             // بارگذاری محتوا
            contentFrame.src = contentUrl;
              
              
             elements.contentFrame.onload = function() {
             contentFrame.onload = function() {
                 clearInterval(progressInterval);
                 clearInterval(progressInterval);
                 elements.loadingBar.style.width = '100%';
                 loadingBar.style.width = '100%';
                 setTimeout(() => {
                 setTimeout(() => {
                     elements.loadingBar.style.width = '0%';
                     loadingBar.style.width = '0%';
                 }, 500);
                 }, 500);
                  
                  
                 elements.contentFrame.style.display = 'block';
                 contentFrame.style.display = 'block';
                 elements.iframePlaceholder.style.display = 'none';
                 iframePlaceholder.style.display = 'none';
                 applyZoom();
                 applyZoom();
             };
             };
              
              
             elements.contentFrame.onerror = function() {
             contentFrame.onerror = function() {
                 clearInterval(progressInterval);
                 clearInterval(progressInterval);
                 elements.loadingBar.style.width = '0%';
                 loadingBar.style.width = '0%';
                 elements.iframePlaceholder.style.display = 'flex';
                 iframePlaceholder.style.display = 'flex';
                 elements.iframePlaceholder.innerHTML = `
                 iframePlaceholder.innerHTML = `
                     <div>
                     <div>
                         <i class="fas fa-exclamation-triangle" style="font-size: 2.5rem; color: #dc3545; margin-bottom: 10px;"></i>
                         <i class="fas fa-exclamation-triangle" style="font-size: 1.5rem; color: #dc3545; margin-bottom: 10px;"></i>
                         <p>خطا در بارگذاری "${contentText}". لطفاً دوباره تلاش کنید.</p>
                         <p>خطا در بارگذاری "${bookText}". لطفاً دوباره تلاش کنید.</p>
                     </div>
                     </div>
                 `;
                 `;
                 elements.contentFrame.style.display = 'none';
                 contentFrame.style.display = 'none';
             };
             };
              
              
             // به‌روزرسانی لینک‌ها
             // به‌روزرسانی لینک‌ها
             elements.wikiLink.href = wikiUrl;
             wikiLink.href = wikiUrl;
             elements.wikiLink.style.display = 'flex';
             wikiLink.style.display = 'flex';
              
              
             elements.siteLink.href = siteUrl;
             siteLink.href = siteUrl;
             elements.siteLink.style.display = 'flex';
             siteLink.style.display = 'flex';
              
              
             elements.viewLink.href = contentUrl;
             viewLink.href = contentUrl;
             elements.viewLink.style.display = 'flex';
             viewLink.style.display = 'flex';
         }
         }
        // مشاهده مستقیم
        directView.addEventListener('click', function() {
            if (currentContent) {
                const directUrl = `https://www.pediabible.com/index.php/${currentContent}`;
                window.open(directUrl, '_blank', 'noopener,noreferrer');
            }
        });
        // کنترل بزرگ‌نمایی
        function applyZoom() {
            contentFrame.style.zoom = `${currentZoom}%`;
        }
        zoomIn.addEventListener('click', function() {
            if (currentZoom < 150) {
                currentZoom += 10;
                applyZoom();
            }
        });
        zoomOut.addEventListener('click', function() {
            if (currentZoom > 50) {
                currentZoom -= 10;
                applyZoom();
            }
        });


         function resetContent() {
         function resetContent() {
             elements.contentTitle.textContent = 'هیچ محتوایی انتخاب نشده است';
             currentContent = '';
             elements.contentFrame.style.display = 'none';
            contentTitle.textContent = 'هیچ محتوایی انتخاب نشده است';
             elements.iframePlaceholder.style.display = 'flex';
             contentFrame.style.display = 'none';
             elements.iframePlaceholder.innerHTML = `
             iframePlaceholder.style.display = 'flex';
             iframePlaceholder.innerHTML = `
                 <div>
                 <div>
                     <i class="fas fa-book-open" style="font-size: 2.5rem; color: #6c757d; margin-bottom: 10px;"></i>
                     <i class="fas fa-book-open" style="font-size: 1.5rem; color: #6c757d; margin-bottom: 10px;"></i>
                     <p>لطفاً یک کتاب یا مقاله از لیست انتخاب کنید</p>
                     <p>لطفاً یک کتاب یا مقاله از لیست انتخاب کنید</p>
                 </div>
                 </div>
             `;
             `;
             elements.wikiLink.style.display = 'none';
             wikiLink.style.display = 'none';
             elements.siteLink.style.display = 'none';
             siteLink.style.display = 'none';
             elements.viewLink.style.display = 'none';
             viewLink.style.display = 'none';
             elements.contentFrame.src = 'about:blank';
             contentFrame.src = 'about:blank';
            loadingBar.style.width = '0%';
         }
         }
        function resetAll() {
            elements.typeSelect.disabled = true;
            elements.typeSelect.innerHTML = '<option value="">ابتدا دسته‌بندی را انتخاب کنید</option>';
            elements.contentSelect.disabled = true;
            elements.contentSelect.innerHTML = '<option value="">ابتدا نوع محتوا را انتخاب کنید</option>';
            resetContent();
        }
        function applyZoom() {
            elements.contentFrame.style.zoom = `${currentZoom}%`;
        }
        // شروع برنامه
        init();
     </script>
     </script>
</body>
</body>
</html>
</html>

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

کتابخانه پدیا بایبل - مطالعه آنلاین کتاب‌ها و مقالات مذهبی | پدیا بایبل

کتابخانه پدیا بایبل

مطالعه آنلاین کتاب‌ها و مقالات مذهبی شامل کتاب‌های مقدس و مقالات تخصصی

کتابخانه جامع منابع مذهبی

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

کتاب‌های مقدس

مطالعه کتاب‌های مقدس از جمله عیسی، انجیل متی، مزامیر، پیدایش و دیگر متون مذهبی با ترجمه‌های معتبر

مقالات تخصصی

مقالات متعدد درباره موضوعات مذهبی مانند مسیح، تثلیث، نجات، روح القدس و دیگر مفاهیم دینی

مطالعه آنلاین

امکان مطالعه تمامی منابع به صورت آنلاین با قابلیت‌های پیشرفته مانند بزرگ‌نمایی و مشاهده مستقیم

منابع معتبر

دسترسی به منابع معتبر و مورد تأیید مراجع دینی برای مطالعه و تحقیق

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

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