diff --git a/admin_company_profile.php b/admin_company_profile.php index 95efdff..c83cc2f 100644 --- a/admin_company_profile.php +++ b/admin_company_profile.php @@ -21,6 +21,10 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { 'company_phone' => $companyPhone, 'company_address' => $companyAddress, 'platform_charge_percentage' => $platformCharge, + 'terms_en' => trim($_POST['terms_en'] ?? ''), + 'terms_ar' => trim($_POST['terms_ar'] ?? ''), + 'privacy_en' => trim($_POST['privacy_en'] ?? ''), + 'privacy_ar' => trim($_POST['privacy_ar'] ?? ''), ]; // Handle file uploads @@ -78,6 +82,10 @@ $currentAddress = $settings['company_address'] ?? ''; $currentPlatformCharge = $settings['platform_charge_percentage'] ?? '0'; $currentLogo = $settings['logo_path'] ?? ''; $currentFavicon = $settings['favicon_path'] ?? ''; +$currentTermsEn = $settings['terms_en'] ?? ''; +$currentTermsAr = $settings['terms_ar'] ?? ''; +$currentPrivacyEn = $settings['privacy_en'] ?? ''; +$currentPrivacyAr = $settings['privacy_ar'] ?? ''; render_header('Company Profile', 'admin'); ?> @@ -89,7 +97,7 @@ render_header('Company Profile', 'admin');
Update your app name, logo, favicon, contact details, and platform charge.
+Update your app name, logo, favicon, contact details, platform charge, and legal policies.
No custom sections added yet.
+ += e($sec['subtitle']) ?>
+ + ++ = $lang === 'ar' ? 'لم يتم تقديم سياسة الخصوصية بعد.' : 'Privacy policy has not been provided yet.' ?> +
+ ++ = $lang === 'ar' ? 'لم يتم تقديم شروط الخدمة بعد.' : 'Terms of service have not been provided yet.' ?> +
+ +