prepare("SELECT m.*, u.username as created_by_name FROM meetings m LEFT JOIN users u ON m.created_by = u.id WHERE m.id = ?"); $stmt->execute([$id]); $meeting = $stmt->fetch(PDO::FETCH_ASSOC); if (!$meeting) { die("الاجتماع غير موجود"); } } catch (PDOException $e) { die("خطأ في قاعدة البيانات"); } $settings = get_settings(); // Fix: Use site_logo directly as it contains the full path, or fall back correctly $logo_path = $settings['site_logo'] ?? ''; // Validation and fallback logic if (empty($logo_path) || !file_exists($logo_path)) { // If it's just a filename without path, try adding the path if (!empty($logo_path) && file_exists('uploads/charity/' . $logo_path)) { $logo_path = 'uploads/charity/' . $logo_path; } else { // Try to find any logo in the directory if the specific one is missing $possible_logos = glob('uploads/charity/*logo*.*'); if (!empty($possible_logos)) { $logo_path = $possible_logos[0]; } else { $logo_path = ''; } } } if ($logo_path) { $logo_html = 'Logo'; } else { $logo_html = ''; } ?> محضر اجتماع - <?= htmlspecialchars($meeting['title']) ?>

محضر اجتماع رسمي
عنوان الاجتماع:
المنظم:
التاريخ:
الوقت: -
المكان:
جدول الأعمال
الحضور
الغياب / الاعتذار
تفاصيل الاجتماع / المحضر
ملاحظات إضافية
توقيع مقرر الاجتماع
اعتماد المدير / الرئيس
تم استخراج هذا المستند إلكترونياً من النظام بتاريخ