پرش به محتوا

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

از دانشنامه کتاب مقدس
بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
خط ۱: خط ۱:
<!DOCTYPE html>
<html lang="fa" dir="rtl">
<html lang="fa" dir="rtl">
<head>
<head>
     <meta charset="UTF-8">
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <title>کتابخانه انتشارات دانشنامه کتاب مقدس - مطالعه آنلاین کتاب‌ها و مقالات مسیحی | دانشنامه کتاب مقدس</title>
     <title>کتابخانه انتشارات دانشنامه کتاب مقدس</title>
    <meta name="description" content="مطالعه آنلاین کتاب‌های مقدس شامل عیسی، انجیل متی، مزامیر، پیدایش و مقالات تخصصی درباره مسیح، تثلیث، نجات و روح القدس در کتابخانه پدیا بایبل">
    <meta name="keywords" content="کتاب مقدس, انجیل, عیسی مسیح, مقالات مسیحی, کتابخانه آنلاین مسیحی, انتشارات دانشنامه کتاب مقدس, نجات, تثلیث, روح القدس, الاهیات مسیحی, pediabible, دانشنامه مسیحی">
    <meta name="author" content="کتابخانه دانشنامه کتاب مقدس">
    <meta name="robots" content="index, follow">
    <link rel="canonical" href="https://www.pediabible.com/library" />
   
    <!-- Open Graph Meta Tags -->
    <meta property="og:title" content="کتابخانه دانشنامه کتاب مقدس - مطالعه آنلاین کتاب‌ها و مقالات مسیحی">
    <meta property="og:description" content="مطالعه آنلاین کتاب‌ها و مقالات مسیحی و مقالات الاهیاتی تخصصی مسیحی">
    <meta property="og:type" content="website">
    <meta property="og:url" content="https://www.pediabible.com/library">
    <meta property="og:image" content="https://www.pediabible.com/images/logo.png">
    <meta property="og:locale" content="fa_IR">
   
    <!-- Twitter Card Meta Tags -->
    <meta name="twitter:card" content="summary_large_image">
    <meta name="twitter:title" content="کتابخانه دانشنامه کتاب مقدس - مطالعه آنلاین کتاب‌ها و مقالات مسیحی">
    <meta name="twitter:description" content="مطالعه آنلاین کتاب‌ها و مقالات تخصصی مسیحی">
   
     <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
     <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
   
     <style>
     <style>
         * {
         * {
خط ۳۷: خط ۱۸:
             color: #333;
             color: #333;
             line-height: 1.6;
             line-height: 1.6;
            padding: 0;
            margin: 0;
         }
         }
          
          
خط ۲۹۲: خط ۲۷۱:
             top: 0;
             top: 0;
             right: 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;
         }
         }
          
          
خط ۴۱۶: خط ۳۷۸:
         .notification.error {
         .notification.error {
             background: #dc3545;
             background: #dc3545;
        }
       
        .custom-content-section {
            background: #e9f7ef;
            padding: 15px;
            margin: 0 15px 15px;
            border: 1px solid #c8e6d1;
            border-radius: 8px;
        }
       
        .custom-content-section h3 {
            color: #2d6a4f;
            margin-bottom: 10px;
            font-size: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
        }
       
        .custom-input-group {
            display: flex;
            gap: 10px;
        }
       
        .custom-input-group input {
            flex: 1;
        }
       
        .custom-input-group select {
            width: 150px;
         }
         }
          
          
خط ۴۶۵: خط ۴۵۷:
             .admin-controls {
             .admin-controls {
                 flex-direction: column;
                 flex-direction: column;
            }
           
            .custom-input-group {
                flex-direction: column;
            }
           
            .custom-input-group select {
                width: 100%;
             }
             }
         }
         }
خط ۵۰۷: خط ۵۰۷:
                 <button class="admin-btn secondary" id="logoutBtn">
                 <button class="admin-btn secondary" id="logoutBtn">
                     <i class="fas fa-sign-out-alt"></i> خروج از حساب
                     <i class="fas fa-sign-out-alt"></i> خروج از حساب
                </button>
            </div>
        </section>
        <!-- بخش محتوای سفارشی (فقط برای مدیران) -->
        <section class="custom-content-section" id="customContentSection" style="display: none;">
            <h3><i class="fas fa-edit"></i> افزودن محتوای سفارشی</h3>
            <div class="custom-input-group">
                <input type="text" id="customTitle" placeholder="عنوان محتوا (مثال: ۱۰ معنای یهوه)">
                <select id="customCategory">
                    <option value="کتاب">کتاب</option>
                    <option value="مقاله">مقاله</option>
                </select>
                <button class="admin-btn" id="addCustomContent">
                    <i class="fas fa-plus"></i> افزودن
                 </button>
                 </button>
             </div>
             </div>
خط ۵۱۷: خط ۵۳۲:
             <input type="password" id="adminPassword" placeholder="رمز عبور">
             <input type="password" id="adminPassword" placeholder="رمز عبور">
             <button class="login-btn" id="loginBtn">ورود به سیستم</button>
             <button class="login-btn" id="loginBtn">ورود به سیستم</button>
            <div style="text-align: center; margin-top: 15px; font-size: 12px; color: #6c757d;">
                برای تست: admin / admin123
            </div>
         </section>
         </section>


خط ۶۰۹: خط ۶۲۷:
         const loadingBar = document.getElementById('loadingBar');
         const loadingBar = document.getElementById('loadingBar');
         const adminPanel = document.getElementById('adminPanel');
         const adminPanel = document.getElementById('adminPanel');
        const customContentSection = document.getElementById('customContentSection');
         const loginForm = document.getElementById('loginForm');
         const loginForm = document.getElementById('loginForm');
         const adminUsername = document.getElementById('adminUsername');
         const adminUsername = document.getElementById('adminUsername');
خط ۶۱۶: خط ۶۳۵:
         const manageContentBtn = document.getElementById('manageContentBtn');
         const manageContentBtn = document.getElementById('manageContentBtn');
         const logoutBtn = document.getElementById('logoutBtn');
         const logoutBtn = document.getElementById('logoutBtn');
        const customTitle = document.getElementById('customTitle');
        const customCategory = document.getElementById('customCategory');
        const addCustomContent = document.getElementById('addCustomContent');
         const notification = document.getElementById('notification');
         const notification = document.getElementById('notification');


خط ۶۲۸: خط ۶۵۰:
                 isAdmin = true;
                 isAdmin = true;
                 adminPanel.style.display = 'block';
                 adminPanel.style.display = 'block';
                customContentSection.style.display = 'block';
                 loginForm.style.display = 'none';
                 loginForm.style.display = 'none';
                showNotification('شما به عنوان مدیر وارد شده‌اید');
             } else {
             } else {
                 isAdmin = false;
                 isAdmin = false;
                 adminPanel.style.display = 'none';
                 adminPanel.style.display = 'none';
                customContentSection.style.display = 'none';
                 loginForm.style.display = 'block';
                 loginForm.style.display = 'block';
             }
             }
خط ۶۵۶: خط ۶۸۱:
                 localStorage.setItem('adminLoggedIn', 'true');
                 localStorage.setItem('adminLoggedIn', 'true');
                 checkAdminStatus();
                 checkAdminStatus();
                showNotification('ورود موفقیت‌آمیز بود');
             } else {
             } else {
                 showNotification('نام کاربری یا رمز عبور اشتباه است', true);
                 showNotification('نام کاربری یا رمز عبور اشتباه است', true);
خط ۶۶۹: خط ۶۹۳:
         });
         });


         // افزودن محتوای جدید (فقط برای مدیران)
         // افزودن محتوای سفارشی
         addContentBtn.addEventListener('click', function() {
         addCustomContent.addEventListener('click', function() {
             if (!isAdmin) {
             if (!isAdmin) {
                 showNotification('شما دسترسی لازم برای این عمل را ندارید', true);
                 showNotification('شما دسترسی لازم برای این عمل را ندارید', true);
خط ۶۷۶: خط ۷۰۰:
             }
             }
              
              
             const title = prompt('لطفاً عنوان محتوای جدید را وارد کنید:');
             const title = customTitle.value.trim();
             if (!title) return;
             if (!title) {
           
                showNotification('لطفاً عنوان محتوا را وارد کنید', true);
            const category = prompt('لطفاً دسته‌بندی را انتخاب کنید (کتاب/مقاله):');
            if (!category || (category !== 'کتاب' && category !== 'مقاله')) {
                showNotification('دسته‌بندی معتبر نیست', true);
                 return;
                 return;
             }
             }
              
              
            const category = customCategory.value;
             const urlValue = convertToUrlFormat(title);
             const urlValue = convertToUrlFormat(title);
              
              
خط ۶۹۸: خط ۷۲۰:
              
              
             showNotification(`محتوای "${title}" با موفقیت اضافه شد`);
             showNotification(`محتوای "${title}" با موفقیت اضافه شد`);
            customTitle.value = '';
              
              
             // به‌روزرسانی لیست در صورت انتخاب دسته‌بندی مربوطه
             // به‌روزرسانی لیست در صورت انتخاب دسته‌بندی مربوطه
خط ۷۰۳: خط ۷۲۶:
                 updateContentList(category);
                 updateContentList(category);
             }
             }
        });
        // افزودن محتوای جدید (از طریق پنل مدیریت)
        addContentBtn.addEventListener('click', function() {
            if (!isAdmin) {
                showNotification('شما دسترسی لازم برای این عمل را ندارید', true);
                return;
            }
           
            // اسکرول به بخش محتوای سفارشی
            customContentSection.scrollIntoView({ behavior: 'smooth' });
            customTitle.focus();
         });
         });



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

<!DOCTYPE html> کتابخانه انتشارات دانشنامه کتاب مقدس

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

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

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

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

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

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

مقالات تخصصی

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

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

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