پرش به محتوا

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

از دانشنامه کتاب مقدس
صفحه‌ای تازه حاوی «<!-- پس‌زمینه بنفش-آبی --> <div style="position:fixed; top:0; left:0; width:100%; height:100%; background:linear-gradient(135deg, #6a11cb 0%, #2575fc 100%); z-index:-1;"></div> <div style="max-width:1000px; margin:0 auto; font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; padding:30px 20px;"> <!-- هدر با لوگو --> <div style="background:rgba(255,255,255,0.9); padding:30px; border-radius:12px; tex...» ایجاد کرد
 
بدون خلاصۀ ویرایش
 
(۱۱۵ نسخهٔ میانیِ ایجادشده توسط همین کاربر نشان داده نشد)
خط ۱: خط ۱:
<!-- پس‌زمینه بنفش-آبی -->
<html lang="fa" dir="rtl">
<div style="position:fixed; top:0; left:0; width:100%; height:100%; background:linear-gradient(135deg, #6a11cb 0%, #2575fc 100%); z-index:-1;"></div>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <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">
   
    <!-- داده‌های ساختاریافته 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>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
       
        body {
            font-family: Tahoma, Arial, sans-serif;
            background-color: #f6f6f6;
            color: #333;
            line-height: 1.6;
            padding: 0;
            margin: 0;
        }
       
        .container {
            max-width: 100%;
            margin: 0;
            background: white;
            padding: 0;
        }
       
        .header {
            background: linear-gradient(135deg, #3e6f73, #4a7c59);
            color: white;
            padding: 20px 15px;
            margin-bottom: 15px;
            text-align: center;
        }
       
        h1 {
            margin: 0;
            font-size: 22px;
            font-weight: 700;
        }
       
        .description {
            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;
            line-height: 1.8;
        }
       
        .content-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 15px;
            margin-top: 15px;
        }
       
        .content-item {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 6px;
            border-left: 4px solid #3e6f73;
        }
       
        .content-item h3 {
            color: #3e6f73;
            margin-bottom: 8px;
            font-size: 15px;
        }
       
        .content-item p {
            font-size: 13px;
            color: #666;
            margin: 0;
        }
       
        .filter-section {
            margin: 0 15px 15px;
            background: #f8f9fa;
            padding: 15px;
            border: 1px solid #dee2e6;
        }
       
        .filter-row {
            display: flex;
            gap: 10px;
            margin-bottom: 0;
        }
       
        .form-group {
            flex: 1;
        }
       
        label {
            display: block;
            margin-bottom: 6px;
            font-weight: 600;
            color: #495057;
            font-size: 13px;
        }
       
        select {
            width: 100%;
            padding: 10px 12px;
            border: 1px solid #ced4da;
            border-radius: 6px;
            font-size: 13px;
            background: white;
            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 {
            margin: 0 15px;
            border: 1px solid #dee2e6;
            border-radius: 0;
            overflow: hidden;
            background: white;
            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 {
            width: 100%;
            height: calc(100% - 50px);
            position: relative;
        }
       
        .clean-frame {
            width: 100%;
            height: 100%;
            border: none;
            background: white;
        }
       
        .iframe-placeholder {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
            color: #6c757d;
            font-size: 14px;
            text-align: center;
            padding: 20px;
            background: white;
        }
       
        .action-buttons {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 15px;
            background-color: #f8f9fa;
            border-top: 1px solid #dee2e6;
            gap: 8px;
        }
       
        .wiki-link, .site-link, .view-link {
            background: #3e6f73;
            color: white;
            text-decoration: none;
            font-weight: 600;
            padding: 10px 15px;
            border-radius: 4px;
            border: none;
            cursor: pointer;
            font-size: 13px;
            text-align: center;
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            transition: all 0.3s ease;
        }
       
        .site-link {
            background: #6c757d;
        }
       
        .view-link {
            background: #4a7c59;
        }
       
        .wiki-link:hover, .site-link:hover, .view-link:hover {
            opacity: 0.9;
            transform: translateY(-1px);
        }
       
        .loading-bar {
            height: 2px;
            background: linear-gradient(90deg, #8fb996, #3e6f73);
            width: 0%;
            transition: width 0.4s ease;
            position: absolute;
            top: 0;
            right: 0;
        }
       
        .breadcrumb {
            background: #f8f9fa;
            padding: 10px 15px;
            margin-bottom: 15px;
            border-bottom: 1px solid #dee2e6;
            font-size: 13px;
        }
       
        .breadcrumb a {
            color: #3e6f73;
            text-decoration: none;
        }
       
        .breadcrumb a:hover {
            text-decoration: underline;
        }
       
        @media (max-width: 768px) {
            .filter-row {
                flex-direction: column;
            }
           
            .content-frame {
                height: calc(100vh - 280px);
                min-height: 350px;
            }
           
            .action-buttons {
                flex-direction: column;
            }
           
            .wiki-link, .site-link, .view-link {
                width: 100%;
            }
           
            .content-header {
                flex-direction: column;
                gap: 8px;
                align-items: flex-start;
            }
           
            .content-controls {
                width: 100%;
                justify-content: space-between;
            }
           
            .header {
                padding: 15px 10px;
            }
           
            h1 {
                font-size: 20px;
            }
           
            .description {
                font-size: 12px;
            }
           
            .content-list {
                grid-template-columns: 1fr;
            }
        }
    </style>
</head>
<body>
    <!-- Breadcrumb Navigation -->
    <nav class="breadcrumb" aria-label="breadcrumb">
        <a href="https://www.pediabible.com">خانه</a> /
        <span>کتابخانه</span>
    </nav>


<div style="max-width:1000px; margin:0 auto; font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; padding:30px 20px;">
    <div class="container">
        <header class="header">
            <h1>کتابخانه پدیا بایبل</h1>
            <p class="description">مطالعه آنلاین کتاب‌ها و مقالات مذهبی شامل کتاب‌های مقدس و مقالات تخصصی</p>
        </header>


  <!-- هدر با لوگو -->
        <!-- محتوای سئو -->
  <div style="background:rgba(255,255,255,0.9); padding:30px; border-radius:12px; text-align:center; margin-bottom:30px; box-shadow:0 8px 25px rgba(0,0,0,0.15);">
        <section class="seo-content">
    <div style="width:120px; height:120px; background:linear-gradient(135deg, #6a11cb 0%, #2575fc 100%); border-radius:50%; margin:0 auto 20px; display:flex; align-items:center; justify-content:center; font-size:50px; color:white; border:4px solid white;">✝️</div>
            <h2>کتابخانه جامع منابع مذهبی</h2>
    <h1 style="margin:0; font-size:32px; color:#333; font-weight:600;">شبکه امید مسیحی</h1>
            <p>کتابخانه پدیا بایبل مرجع کامل و تخصصی برای مطالعه آنلاین کتاب‌های مقدس و مقالات مذهبی است. در این کتابخانه می‌توانید به منابع معتبر و جامعی از متون دینی دسترسی داشته باشید.</p>
    <p style="margin:10px 0 0 0; font-size:18px; color:#555;">رسانه‌ای برای نشر پیام انجیل</p>
           
  </div>
            <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>
        </section>


  <!-- بخش اطلاعات تماس -->
        <section class="filter-section" aria-label="فیلترهای جستجو">
  <div style="display:grid; grid-template-columns:repeat(auto-fit, minmax(300px, 1fr)); gap:25px; margin-bottom:30px;">
            <div class="filter-row">
    <!-- کارت اطلاعات -->
                <div class="form-group">
    <div style="background:rgba(255,255,255,0.85); padding:25px; border-radius:10px; box-shadow:0 5px 15px rgba(0,0,0,0.1); backdrop-filter:blur(5px);">
                    <label for="categorySelect"><i class="fas fa-folder"></i> دسته‌بندی:</label>
      <h2 style="color:#6a11cb; margin-top:0; font-size:22px; border-bottom:2px solid #f0f0f0; padding-bottom:10px;">اطلاعات تماس</h2>
                    <select id="categorySelect">
      <div style="margin-top:15px;">
                        <option value="">لطفاً دسته‌بندی انتخاب کنید</option>
        <div style="display:flex; align-items:center; margin-bottom:12px;">
                        <option value="کتاب">کتاب</option>
          <div style="width:40px; height:40px; background:#6a11cb; border-radius:50%; display:flex; align-items:center; justify-content:center; margin-left:10px; color:white;">📧</div>
                        <option value="مقاله">مقاله</option>
          <div>
                    </select>
            <div style="font-size:14px; color:#777;">ایمیل</div>
                </div>
            <div style="font-size:16px; font-weight:500;">info@christianhope.tv</div>
               
          </div>
                <div class="form-group">
         </div>
                    <label for="contentSelect"><i class="fas fa-book-open"></i> انتخاب محتوا:</label>
                    <select id="contentSelect" disabled>
                        <option value="">ابتدا دسته‌بندی را انتخاب کنید</option>
                    </select>
                </div>
            </div>
         </section>
          
          
         <div style="display:flex; align-items:center; margin-bottom:12px;">
         <section class="content-frame" aria-label="محتوای مطالعه">
          <div style="width:40px; height:40px; background:#2575fc; border-radius:50%; display:flex; align-items:center; justify-content:center; margin-left:10px; color:white;">🌐</div>
            <div class="content-header">
          <div>
                <div class="content-title" id="contentTitle">هیچ محتوایی انتخاب نشده است</div>
             <div style="font-size:14px; color:#777;">وبسایت</div>
                <div class="content-controls">
             <div style="font-size:16px; font-weight:500;">www.christianhope.tv</div>
                    <button class="control-btn" id="zoomOut"><i class="fas fa-search-minus"></i> کوچک‌نمایی</button>
          </div>
                    <button class="control-btn" id="zoomIn"><i class="fas fa-search-plus"></i> بزرگ‌نمایی</button>
        </div>
                    <button class="control-btn" id="directView"><i class="fas fa-external-link-alt"></i> مشاهده مستقیم</button>
       
                </div>
        <div style="display:flex; align-items:center;">
            </div>
          <div style="width:40px; height:40px; background:#6a11cb; border-radius:50%; display:flex; align-items:center; justify-content:center; margin-left:10px; color:white;">📱</div>
             <div class="loading-bar" id="loadingBar"></div>
          <div>
             <div class="iframe-container">
            <div style="font-size:14px; color:#777;">شبکه‌های اجتماعی</div>
                <div class="iframe-placeholder" id="iframePlaceholder">
            <div style="font-size:16px; font-weight:500;">@ChristianHopeTV</div>
                    <div>
          </div>
                        <i class="fas fa-book-open" style="font-size: 2rem; color: #6c757d; margin-bottom: 10px;"></i>
        </div>
                        <p>لطفاً یک کتاب یا مقاله از لیست انتخاب کنید</p>
      </div>
                    </div>
                </div>
                <iframe id="contentFrame" class="clean-frame" src="about:blank" style="display: none;" title="محتوای مطالعه"></iframe>
            </div>
            <div class="action-buttons">
                <a id="siteLink" href="#" class="site-link" target="_blank" rel="noopener noreferrer" style="display: none;">
                    <i class="fas fa-home"></i>
                    مشاهده صفحه در سایت اصلی
                </a>
                <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>
            </div>
        </section>
     </div>
     </div>
   
    <!-- کارت معرفی -->
    <div style="background:rgba(255,255,255,0.85); padding:25px; border-radius:10px; box-shadow:0 5px 15px rgba(0,0,0,0.1); backdrop-filter:blur(5px);">
      <h2 style="color:#2575fc; margin-top:0; font-size:22px; border-bottom:2px solid #f0f0f0; padding-bottom:10px;">معرفی شبکه</h2>
      <p style="line-height:1.8; color:#444; text-align:justify;">
        شبکه امید مسیحی با بیش از 15 سال سابقه، یکی از پیشروترین رسانه‌های مسیحی در منطقه است. ما با تولید برنامه‌های متنوع از جمله موعظه، آموزش‌های کتاب مقدس، برنامه‌های کودک و نوجوان، و گزارش‌های ویژه، در خدمت جامعه مسیحیان هستیم. مأموریت ما نشر پیام محبت و رستگاری مسیح به همه مردم است.
      </p>
    </div>
  </div>


  <!-- بخش برنامه‌ها -->
    <script>
  <div style="background:rgba(255,255,255,0.85); padding:30px; border-radius:10px; margin-bottom:30px; box-shadow:0 5px 15px rgba(0,0,0,0.1); backdrop-filter:blur(5px);">
        // داده‌های ساده
    <h2 style="color:#6a11cb; margin-top:0; font-size:24px; text-align:center; margin-bottom:25px;">برنامه‌های ما</h2>
        const booksData = {
   
            'کتاب': [
    <div style="display:grid; grid-template-columns:repeat(auto-fit, minmax(250px, 1fr)); gap:20px;">
                { value: 'عیسی', text: 'عیسی' },
      <!-- برنامه 1 -->
                { value: 'انجیل_متی', text: 'انجیل متی' },
      <div style="background:white; padding:20px; border-radius:8px; box-shadow:0 3px 10px rgba(0,0,0,0.05); border-top:4px solid #6a11cb;">
                { value: 'مزامیر', text: 'مزامیر' },
         <h3 style="color:#6a11cb; margin:0 0 10px 0; font-size:18px;">موعظه هفتگی</h3>
                { value: 'پیدایش', text: 'پیدایش' }
        <p style="color:#666; margin:0; font-size:14px; line-height:1.6;">موعظه‌های کشیشان برجسته هر هفته</p>
            ],
        <div style="margin-top:15px; color:#2575fc; font-size:13px;">شنبه‌ها ساعت 20:00</div>
            'مقاله': [
      </div>
                { value: 'مسیح', text: 'مسیح' },
     
                { value: 'تثلیث', text: 'تثلیث' },
      <!-- برنامه 2 -->
                { value: 'نجات', text: 'نجات' },
      <div style="background:white; padding:20px; border-radius:8px; box-shadow:0 3px 10px rgba(0,0,0,0.05); border-top:4px solid #2575fc;">
                { value: 'روح_القدس', text: 'روح القدس' }
        <h3 style="color:#2575fc; margin:0 0 10px 0; font-size:18px;">مطالعه کتاب مقدس</h3>
            ]
        <p style="color:#666; margin:0; font-size:14px; line-height:1.6;">آموزش عمیق کتاب مقدس آیه به آیه</p>
        };
        <div style="margin-top:15px; color:#6a11cb; font-size:13px;">یکشنبه‌ها ساعت 18:00</div>
 
      </div>
        // عناصر
     
        const categorySelect = document.getElementById('categorySelect');
      <!-- برنامه 3 -->
        const contentSelect = document.getElementById('contentSelect');
      <div style="background:white; padding:20px; border-radius:8px; box-shadow:0 3px 10px rgba(0,0,0,0.05); border-top:4px solid #6a11cb;">
        const contentFrame = document.getElementById('contentFrame');
         <h3 style="color:#6a11cb; margin:0 0 10px 0; font-size:18px;">موسیقی پرستشی</h3>
        const iframePlaceholder = document.getElementById('iframePlaceholder');
         <p style="color:#666; margin:0; font-size:14px; line-height:1.6;">سرودهای زیبای پرستشی و نیایشی</p>
        const wikiLink = document.getElementById('wikiLink');
        <div style="margin-top:15px; color:#2575fc; font-size:13px;">پنجشنبه‌ها ساعت 21:00</div>
        const siteLink = document.getElementById('siteLink');
      </div>
        const viewLink = document.getElementById('viewLink');
     </div>
        const contentTitle = document.getElementById('contentTitle');
  </div>
        const zoomIn = document.getElementById('zoomIn');
        const zoomOut = document.getElementById('zoomOut');
        const directView = document.getElementById('directView');
        const loadingBar = document.getElementById('loadingBar');
 
        let currentZoom = 100;
        let currentContent = '';
 
        // وقتی دسته‌بندی تغییر کرد
        categorySelect.addEventListener('change', function() {
            const selectedCategory = this.value;
           
            if (!selectedCategory) {
                contentSelect.disabled = true;
                contentSelect.innerHTML = '<option value="">ابتدا دسته‌بندی را انتخاب کنید</option>';
                resetContent();
                return;
            }
           
            // پر کردن لیست محتواها
            contentSelect.disabled = false;
            contentSelect.innerHTML = '<option value="">لطفاً محتوا انتخاب کنید</option>';
           
            booksData[selectedCategory].forEach(item => {
                const option = document.createElement('option');
                option.value = item.value;
                option.textContent = item.text;
                contentSelect.appendChild(option);
            });
           
            resetContent();
        });
 
        // وقتی محتوا تغییر کرد
        contentSelect.addEventListener('change', function() {
            const selectedValue = this.value;
            const selectedText = this.options[this.selectedIndex].text;
           
            if (!selectedValue) {
                resetContent();
                return;
            }
           
            currentContent = selectedValue;
            showContent(selectedValue, selectedText);
        });
 
        // نمایش محتوا
         function showContent(bookValue, bookText) {
            const contentUrl = `https://www.pediabible.com/index.php/${bookValue}?action=render`;
            const wikiUrl = `https://www.pediabible.com/index.php/${bookValue}`;
            const siteUrl = `https://www.pediabible.com/index.php/${bookValue}`;
           
            contentTitle.textContent = bookText;
           
            // نمایش loading
            contentFrame.style.display = 'none';
            iframePlaceholder.style.display = 'flex';
            iframePlaceholder.innerHTML = `
                <div>
                    <i class="fas fa-spinner fa-spin" style="font-size: 1.5rem; color: #3e6f73; margin-bottom: 10px;"></i>
                    <p>در حال بارگذاری "${bookText}"...</p>
                </div>
            `;
           
            // نوار پیشرفت
            let progress = 0;
            const progressInterval = setInterval(() => {
                progress += Math.random() * 15;
                if (progress > 90) progress = 90;
                loadingBar.style.width = `${progress}%`;
            }, 200);
           
            // بارگذاری محتوا
            contentFrame.src = contentUrl;
           
            contentFrame.onload = function() {
                clearInterval(progressInterval);
                loadingBar.style.width = '100%';
                setTimeout(() => {
                    loadingBar.style.width = '0%';
                }, 500);
               
                contentFrame.style.display = 'block';
                iframePlaceholder.style.display = 'none';
                applyZoom();
            };
           
            contentFrame.onerror = function() {
                clearInterval(progressInterval);
                loadingBar.style.width = '0%';
                iframePlaceholder.style.display = 'flex';
                iframePlaceholder.innerHTML = `
                    <div>
                        <i class="fas fa-exclamation-triangle" style="font-size: 1.5rem; color: #dc3545; margin-bottom: 10px;"></i>
                        <p>خطا در بارگذاری "${bookText}". لطفاً دوباره تلاش کنید.</p>
                    </div>
                `;
                contentFrame.style.display = 'none';
            };
           
            // به‌روزرسانی لینک‌ها
            wikiLink.href = wikiUrl;
            wikiLink.style.display = 'flex';
           
            siteLink.href = siteUrl;
            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() {
            currentContent = '';
            contentTitle.textContent = 'هیچ محتوایی انتخاب نشده است';
            contentFrame.style.display = 'none';
            iframePlaceholder.style.display = 'flex';
            iframePlaceholder.innerHTML = `
                <div>
                    <i class="fas fa-book-open" style="font-size: 1.5rem; color: #6c757d; margin-bottom: 10px;"></i>
                    <p>لطفاً یک کتاب یا مقاله از لیست انتخاب کنید</p>
                </div>
            `;
            wikiLink.style.display = 'none';
            siteLink.style.display = 'none';
            viewLink.style.display = 'none';
            contentFrame.src = 'about:blank';
            loadingBar.style.width = '0%';
        }
     </script>
</body>
</html>

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

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

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

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

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

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

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

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

مقالات تخصصی

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

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

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

منابع معتبر

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

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

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