From 6308665d214a555401727569088623daea2697fe Mon Sep 17 00:00:00 2001 From: Devdatt Bhatt Date: Thu, 21 May 2026 05:42:13 +0000 Subject: [PATCH] update app.php --- encoder/app.php | 74 ++++++++++++++++++++++++------------------------- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/encoder/app.php b/encoder/app.php index 16ab5b8..71423c7 100644 --- a/encoder/app.php +++ b/encoder/app.php @@ -48,7 +48,7 @@ if (isset($_POST['submit'])) { continue; } - // 2. Determine target dimensions + $target_width = ($input_name === 'app_logo') ? 128 : 256; $target_height = ($input_name === 'app_logo') ? 128 : 256; @@ -64,7 +64,7 @@ if (isset($_POST['submit'])) { // 5. Preserve transparency for PNG imagealphablending($dst_img, false); - imagesavealpha($png_alpha = $dst_img, true); + imagesavealpha($dst_img, true); $transparent = imagecolorallocatealpha($dst_img, 255, 255, 255, 127); imagefill($dst_img, 0, 0, $transparent); @@ -103,6 +103,8 @@ if (isset($_POST['submit'])) { $text_fields = [ 'channel_name', 'office_address', + 'office_address_1', + 'office_address_2', 'contact_details', 'enforcement_officer', 'eo_contact_details', @@ -169,7 +171,7 @@ include 'header.php';
-

Company Information Entry

+

Company Information Entry

@@ -178,7 +180,7 @@ include 'header.php'; -
+

General Details

@@ -190,8 +192,14 @@ include 'header.php';
-
-
+
+ + +
+
+ + +
@@ -200,33 +208,27 @@ include 'header.php';
-
-
- -
-
- - -
-
- - -
-
- -
-
- - -
-
- - +
+ + +
+
+ + +
+
+ + +
+
+ + +
-
+

Content Details

-
-