prepare($query); $stmt->execute($params); $activities = $stmt->fetchAll(PDO::FETCH_ASSOC); $report_title = "تقرير الأنشطة والفعاليات"; if ($committee_id) { $stmt_c = $db->prepare("SELECT name FROM committees WHERE id = ?"); $stmt_c->execute([$committee_id]); $committee_name = $stmt_c->fetchColumn(); if ($committee_name) { $report_title .= " - لجنة " . htmlspecialchars($committee_name); } } ?>
= $report_title ?>
تاريخ التقرير: = date('Y-m-d') ?>| م | اللجنة | اسم النشاط | الوصف والتفاصيل | التاريخ | الموقع |
|---|---|---|---|---|---|
| = $index + 1 ?> | = htmlspecialchars($a['committee_name'] ?? '') ?> | = htmlspecialchars($a['title'] ?? '') ?> | = nl2br(htmlspecialchars($a['description'] ?? '')) ?: 'لا يوجد وصف' ?> | = htmlspecialchars($a['activity_date'] ?? '') ?> | = htmlspecialchars($a['location'] ?? '') ?: '-' ?> |