diff --git a/login.php b/login.php index f433b90..bf9fe69 100644 --- a/login.php +++ b/login.php @@ -7,6 +7,10 @@ if (isLoggedIn()) { $error = ''; +// Fetch charity settings +$stmt = db()->query("SELECT * FROM charity_settings WHERE id = 1"); +$charity = $stmt->fetch(); + if ($_SERVER['REQUEST_METHOD'] === 'POST') { $username = trim($_POST['username'] ?? ''); $password = $_POST['password'] ?? ''; @@ -33,10 +37,13 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
بريد الجمعية الخيرية
+ +نظام المراسلات