پرش به محتوا

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

از دانشنامه کتاب مقدس
بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
 
(۶ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد)
خط ۱: خط ۱:
<!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>
         * {
         * {
خط ۱۸: خط ۱۳۶:
             color: #333;
             color: #333;
             line-height: 1.6;
             line-height: 1.6;
             padding: 10px;
             padding: 0;
            margin: 0;
         }
         }
          
          
         .container {
         .container {
             max-width: 100%;
             max-width: 100%;
             margin: 0 auto;
             margin: 0;
             background: white;
             background: white;
             padding: 15px;
             padding: 0;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
         }
         }
          
          
         .header {
         .header {
             background-color: #3e6f73;
             background: linear-gradient(135deg, #3e6f73, #4a7c59);
             color: white;
             color: white;
             padding: 15px;
             padding: 20px 15px;
            border-radius: 8px;
             margin-bottom: 15px;
             margin-bottom: 15px;
             text-align: center;
             text-align: center;
خط ۴۱: خط ۱۵۷:
         h1 {
         h1 {
             margin: 0;
             margin: 0;
             font-size: 24px;
             font-size: 22px;
            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;
            justify-content: space-between;
             background: #f8f9fa;
             background: #f8f9fa;
             padding: 10px 15px;
             padding: 15px;
             border-radius: 6px;
             border-radius: 6px;
             margin-bottom: 15px;
             border-left: 4px solid #3e6f73;
            border: 1px solid #dee2e6;
            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: #3e6f73;
             color: #666;
            margin: 0;
         }
         }
          
          
         .filter-section {
         .filter-section {
             margin-bottom: 15px;
             margin: 0 15px 15px;
             background: #f8f9fa;
             background: #f8f9fa;
             padding: 15px;
             padding: 15px;
            border-radius: 8px;
             border: 1px solid #dee2e6;
             border: 1px solid #dee2e6;
         }
         }
خط ۸۳: خط ۲۲۵:
             display: flex;
             display: flex;
             gap: 10px;
             gap: 10px;
             margin-bottom: 10px;
             margin-bottom: 0;
         }
         }
          
          
خط ۹۲: خط ۲۳۴:
         label {
         label {
             display: block;
             display: block;
             margin-bottom: 5px;
             margin-bottom: 6px;
             font-weight: bold;
             font-weight: 600;
             color: #495057;
             color: #495057;
             font-size: 14px;
             font-size: 13px;
         }
         }
          
          
         select {
         select {
             width: 100%;
             width: 100%;
             padding: 8px;
             padding: 10px 12px;
             border: 1px solid #ced4da;
             border: 1px solid #ced4da;
             border-radius: 4px;
             border-radius: 6px;
             font-size: 14px;
             font-size: 13px;
             background: white;
             background: white;
             cursor: pointer;
             cursor: pointer;
            transition: all 0.3s ease;
            border: 1px solid #e9ecef;
        }
       
        select:focus {
            outline: none;
            border-color: #3e6f73;
            box-shadow: 0 0 0 2px rgba(62, 111, 115, 0.1);
        }
       
        select:disabled {
            background-color: #f8f9fa;
            color: #6c757d;
            cursor: not-allowed;
            border-color: #dee2e6;
         }
         }
          
          
         .content-frame {
         .content-frame {
             margin-top: 15px;
             margin: 0 15px;
             border: 1px solid #dee2e6;
             border: 1px solid #dee2e6;
             border-radius: 8px;
             border-radius: 0;
             overflow: hidden;
             overflow: hidden;
             background: white;
             background: white;
             height: 500px;
             height: calc(100vh - 250px);
            min-height: 400px;
        }
       
        .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;
            border: 1px solid #dee2e6;
            border-radius: 4px;
            padding: 6px 12px;
            cursor: pointer;
            font-size: 12px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 4px;
            font-weight: 600;
            color: #495057;
        }
       
        .control-btn:hover {
            background: #3e6f73;
            color: white;
            border-color: #3e6f73;
         }
         }
          
          
         .iframe-container {
         .iframe-container {
             width: 100%;
             width: 100%;
             height: 100%;
             height: calc(100% - 50px);
            position: relative;
         }
         }
          
          
خط ۱۳۵: خط ۳۳۵:
             height: 100%;
             height: 100%;
             color: #6c757d;
             color: #6c757d;
             font-size: 16px;
             font-size: 14px;
             text-align: center;
             text-align: center;
             padding: 15px;
             padding: 20px;
             background: white;
             background: white;
         }
         }
خط ۱۴۵: خط ۳۴۵:
             justify-content: space-between;
             justify-content: space-between;
             align-items: center;
             align-items: center;
             padding: 12px;
             padding: 12px 15px;
             background-color: #f8f9fa;
             background-color: #f8f9fa;
             border-top: 1px solid #dee2e6;
             border-top: 1px solid #dee2e6;
             gap: 10px;
             gap: 8px;
         }
         }
          
          
         .wiki-link, .site-link {
         .wiki-link, .site-link, .view-link {
             background-color: #3e6f73;
             background: #3e6f73;
             color: white;
             color: white;
             text-decoration: none;
             text-decoration: none;
             font-weight: bold;
             font-weight: 600;
             padding: 8px 16px;
             padding: 10px 15px;
             border-radius: 4px;
             border-radius: 4px;
             border: none;
             border: none;
             cursor: pointer;
             cursor: pointer;
             font-size: 14px;
             font-size: 13px;
             text-align: center;
             text-align: center;
             flex: 1;
             flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            transition: all 0.3s ease;
         }
         }
          
          
         .site-link {
         .site-link {
             background-color: #6c757d;
             background: #6c757d;
         }
         }
          
          
         .site-link:hover {
         .view-link {
             background-color: #5a6268;
             background: #4a7c59;
         }
         }
          
          
         .wiki-link:hover {
         .wiki-link:hover, .site-link:hover, .view-link:hover {
            background-color: #2d5257;
             opacity: 0.9;
        }
             transform: translateY(-1px);
 
        /* استایل بخش تاریخچه */
        .recent-section {
             margin-top: 20px;
            background: #f8f9fa;
             padding: 15px;
            border-radius: 8px;
            border: 1px solid #dee2e6;
         }
         }
          
          
         .section-title {
         .loading-bar {
             font-size: 16px;
             height: 2px;
             font-weight: 600;
             background: linear-gradient(90deg, #8fb996, #3e6f73);
             color: #3e6f73;
             width: 0%;
             margin-bottom: 12px;
             transition: width 0.4s ease;
             display: flex;
             position: absolute;
             align-items: center;
             top: 0;
             gap: 8px;
             right: 0;
         }
         }
          
          
         .recent-items {
         .breadcrumb {
             display: flex;
             background: #f8f9fa;
             gap: 10px;
             padding: 10px 15px;
             overflow-x: auto;
             margin-bottom: 15px;
            padding: 5px;
             border-bottom: 1px solid #dee2e6;
        }
       
        .recent-item {
            background: white;
             border-radius: 6px;
            padding: 12px;
            min-width: 150px;
            border: 1px solid #dee2e6;
            cursor: pointer;
            transition: all 0.3s ease;
            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: #343a40;
         }
         }
          
          
         .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%;
         }
         }
          
          
خط ۲۴۵: خط ۴۱۶:
              
              
             .content-frame {
             .content-frame {
                 height: 400px;
                 height: calc(100vh - 280px);
                min-height: 350px;
             }
             }
              
              
خط ۲۵۲: خط ۴۲۴:
             }
             }
              
              
             .wiki-link, .site-link {
             .wiki-link, .site-link, .view-link {
                 width: 100%;
                 width: 100%;
             }
             }
              
              
             .stats-bar {
             .content-header {
                 flex-direction: column;
                 flex-direction: column;
                 gap: 8px;
                 gap: 8px;
                align-items: flex-start;
            }
           
            .content-controls {
                width: 100%;
                justify-content: space-between;
            }
           
            .header {
                padding: 15px 10px;
            }
           
            h1 {
                font-size: 20px;
             }
             }
              
              
             .recent-items {
             .description {
                 flex-direction: column;
                 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>
       
 
         <!-- نوار آمار -->
         <section class="filter-section" aria-label="فیلترهای جستجو">
        <div class="stats-bar">
            <div class="stat-item">
                <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-row">
             <div class="filter-row">
                 <div class="form-group">
                 <div class="form-group">
                     <label for="categorySelect">دسته‌بندی:</label>
                     <label for="categorySelect"><i class="fas fa-folder"></i> دسته‌بندی:</label>
                     <select id="categorySelect">
                     <select id="categorySelect">
                         <option value="">لطفاً دسته‌بندی انتخاب کنید</option>
                         <option value="">لطفاً دسته‌بندی انتخاب کنید</option>
خط ۳۰۹: خط ۵۰۷:
                  
                  
                 <div class="form-group">
                 <div class="form-group">
                     <label for="contentSelect">انتخاب محتوا:</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>
خط ۳۱۵: خط ۵۱۳:
                 </div>
                 </div>
             </div>
             </div>
         </div>
         </section>
          
          
         <div class="content-frame">
         <section class="content-frame" aria-label="محتوای مطالعه">
            <div class="content-header">
                <div class="content-title" id="contentTitle">هیچ محتوایی انتخاب نشده است</div>
                <div class="content-controls">
                    <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="directView"><i class="fas fa-external-link-alt"></i> مشاهده مستقیم</button>
                </div>
            </div>
            <div class="loading-bar" id="loadingBar"></div>
             <div class="iframe-container">
             <div class="iframe-container">
                 <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-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>
                     مشاهده صفحه کامل در ویکی
                     مشاهده صفحه کامل در ویکی
                </a>
                <a id="viewLink" href="#" class="view-link" target="_blank" rel="noopener noreferrer" style="display: none;">
                    <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>


خط ۳۷۳: خط ۵۷۵:
         const wikiLink = document.getElementById('wikiLink');
         const wikiLink = document.getElementById('wikiLink');
         const siteLink = document.getElementById('siteLink');
         const siteLink = document.getElementById('siteLink');
         const booksCount = document.getElementById('booksCount');
         const viewLink = document.getElementById('viewLink');
         const articlesCount = document.getElementById('articlesCount');
         const contentTitle = document.getElementById('contentTitle');
         const readCount = document.getElementById('readCount');
         const zoomIn = document.getElementById('zoomIn');
         const recentItems = document.getElementById('recentItems');
         const zoomOut = document.getElementById('zoomOut');
 
         const directView = document.getElementById('directView');
         // تاریخچه مطالعات
         const loadingBar = document.getElementById('loadingBar');
         let readItems = JSON.parse(localStorage.getItem('readItems')) || [];


         // به روزرسانی آمار
         let currentZoom = 100;
        function updateStats() {
         let currentContent = '';
            booksCount.textContent = booksData['کتاب'].length;
            articlesCount.textContent = booksData['مقاله'].length;
            readCount.textContent = readItems.length;
        }
 
        // به روزرسانی تاریخچه
         function updateRecentItems() {
            if (readItems.length === 0) {
                recentItems.innerHTML = '<div class="empty-recent">هیچ مطلبی اخیراً مطالعه نشده است</div>';
                return;
            }
           
            recentItems.innerHTML = '';
            const recentToShow = readItems.slice(-5).reverse();
           
            recentToShow.forEach(item => {
                const recentItem = document.createElement('div');
                recentItem.className = 'recent-item';
                recentItem.innerHTML = `
                    <div class="recent-title">${item.text}</div>
                    <div class="recent-category">${item.category}</div>
                `;
               
                recentItem.addEventListener('click', function() {
                    categorySelect.value = item.category;
                   
                    // پر کردن لیست محتواها
                    contentSelect.disabled = false;
                    contentSelect.innerHTML = '<option value="">لطفاً محتوا انتخاب کنید</option>';
                   
                    booksData[item.category].forEach(book => {
                        const option = document.createElement('option');
                        option.value = book.value;
                        option.textContent = book.text;
                        if (book.value === item.value) option.selected = true;
                        contentSelect.appendChild(option);
                    });
                   
                    showContent(item.value, item.text);
                });
               
                recentItems.appendChild(recentItem);
            });
        }


         // وقتی دسته‌بندی تغییر کرد
         // وقتی دسته‌بندی تغییر کرد
خط ۴۶۳: خط ۶۲۰:
             }
             }
              
              
            currentContent = selectedValue;
             showContent(selectedValue, selectedText);
             showContent(selectedValue, selectedText);
         });
         });
خط ۴۶۸: خط ۶۲۶:
         // نمایش محتوا
         // نمایش محتوا
         function showContent(bookValue, bookText) {
         function showContent(bookValue, bookText) {
            const selectedCategory = categorySelect.value;
           
            // افزودن به تاریخچه
            const newItem = {
                value: bookValue,
                text: bookText,
                category: selectedCategory,
                timestamp: new Date().toISOString()
            };
           
            // جلوگیری از تکرار
            if (!readItems.some(item => item.value === bookValue && item.category === selectedCategory)) {
                readItems.push(newItem);
                localStorage.setItem('readItems', JSON.stringify(readItems));
                updateStats();
                updateRecentItems();
            }
           
             const contentUrl = `https://www.pediabible.com/index.php/${bookValue}?action=render`;
             const contentUrl = `https://www.pediabible.com/index.php/${bookValue}?action=render`;
             const wikiUrl = `https://www.pediabible.com/index.php/${bookValue}`;
             const wikiUrl = `https://www.pediabible.com/index.php/${bookValue}`;
             const siteUrl = `https://www.pediabible.com/index.php/${bookValue}`;
             const siteUrl = `https://www.pediabible.com/index.php/${bookValue}`;
           
            contentTitle.textContent = bookText;
              
              
             // نمایش loading
             // نمایش loading
خط ۴۹۵: خط ۶۳۷:
             iframePlaceholder.innerHTML = `
             iframePlaceholder.innerHTML = `
                 <div>
                 <div>
                     <i class="fas fa-spinner fa-spin" style="font-size: 2.5rem; color: #3e6f73; margin-bottom: 10px;"></i>
                     <i class="fas fa-spinner fa-spin" style="font-size: 1.5rem; color: #3e6f73; margin-bottom: 10px;"></i>
                     <p>در حال بارگذاری "${bookText}"...</p>
                     <p>در حال بارگذاری "${bookText}"...</p>
                 </div>
                 </div>
             `;
             `;
           
            // نوار پیشرفت
            let progress = 0;
            const progressInterval = setInterval(() => {
                progress += Math.random() * 15;
                if (progress > 90) progress = 90;
                loadingBar.style.width = `${progress}%`;
            }, 200);
              
              
             // بارگذاری محتوا
             // بارگذاری محتوا
خط ۵۰۴: خط ۶۵۴:
              
              
             contentFrame.onload = function() {
             contentFrame.onload = function() {
                clearInterval(progressInterval);
                loadingBar.style.width = '100%';
                setTimeout(() => {
                    loadingBar.style.width = '0%';
                }, 500);
               
                 contentFrame.style.display = 'block';
                 contentFrame.style.display = 'block';
                 iframePlaceholder.style.display = 'none';
                 iframePlaceholder.style.display = 'none';
                applyZoom();
             };
             };
              
              
             contentFrame.onerror = function() {
             contentFrame.onerror = function() {
                clearInterval(progressInterval);
                loadingBar.style.width = '0%';
                 iframePlaceholder.style.display = 'flex';
                 iframePlaceholder.style.display = 'flex';
                 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>خطا در بارگذاری "${bookText}". لطفاً دوباره تلاش کنید.</p>
                         <p>خطا در بارگذاری "${bookText}". لطفاً دوباره تلاش کنید.</p>
                     </div>
                     </div>
خط ۵۲۱: خط ۶۸۰:
             // به‌روزرسانی لینک‌ها
             // به‌روزرسانی لینک‌ها
             wikiLink.href = wikiUrl;
             wikiLink.href = wikiUrl;
             wikiLink.style.display = 'inline-block';
             wikiLink.style.display = 'flex';
              
              
             siteLink.href = siteUrl;
             siteLink.href = siteUrl;
             siteLink.style.display = 'inline-block';
             siteLink.style.display = 'flex';
           
            viewLink.href = contentUrl;
            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() {
            currentContent = '';
            contentTitle.textContent = 'هیچ محتوایی انتخاب نشده است';
             contentFrame.style.display = 'none';
             contentFrame.style.display = 'none';
             iframePlaceholder.style.display = 'flex';
             iframePlaceholder.style.display = 'flex';
             iframePlaceholder.innerHTML = `
             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>
خط ۵۳۸: خط ۷۲۹:
             wikiLink.style.display = 'none';
             wikiLink.style.display = 'none';
             siteLink.style.display = 'none';
             siteLink.style.display = 'none';
            viewLink.style.display = 'none';
             contentFrame.src = 'about:blank';
             contentFrame.src = 'about:blank';
            loadingBar.style.width = '0%';
         }
         }
        // مقداردهی اولیه
        updateStats();
        updateRecentItems();
     </script>
     </script>
</body>
</body>
</html>
</html>

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

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

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

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

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

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

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

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

مقالات تخصصی

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

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

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

منابع معتبر

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

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

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