CHANGE_logo_fix_final_4 - VADIVEL J 2025-09-20

This commit is contained in:
vadivelJ96 2025-09-20 12:47:27 +05:30
parent 78397a1d6d
commit 9e0261317e
2 changed files with 27 additions and 15 deletions

View File

@ -62,7 +62,8 @@ class sendMailNotification
$header_of_mail = view('notification_mail_header', $params);
$footer_of_mail = view('notification_mail_footer', $params);
$mail_content = $header_of_mail .
$mail_content = preg_replace('/<p[^>]*>(&nbsp;|\s)*<\/p>/i', '', $mail_content);
$mail_content = $header_of_mail .
'<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0"
style="max-width:600px;">
@ -110,7 +111,8 @@ class sendMailNotification
$header_of_mail = view('notification_mail_header', $params);
$footer_of_mail = view('notification_mail_footer', $params);
$mail_content = $header_of_mail .
$mail_content = preg_replace('/<p[^>]*>(&nbsp;|\s)*<\/p>/i', '', $mail_content);
$mail_content = $header_of_mail .
'<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0"
style="max-width:600px;">
@ -176,7 +178,8 @@ class sendMailNotification
$header_of_mail = view('notification_mail_header', $params);
$footer_of_mail = view('notification_mail_footer', $params);
$mail_content = $header_of_mail .
$mail_content = preg_replace('/<p[^>]*>(&nbsp;|\s)*<\/p>/i', '', $mail_content);
$mail_content = $header_of_mail .
'<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0"
style="max-width:600px;">
@ -590,7 +593,8 @@ class sendMailNotification
$header_of_mail = view('notification_mail_header', $params);
$footer_of_mail = view('notification_mail_footer', $params);
$mail_content = $header_of_mail .
$mail_content = preg_replace('/<p[^>]*>(&nbsp;|\s)*<\/p>/i', '', $mail_content);
$mail_content = $header_of_mail .
'<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0"
style="max-width:600px;">
@ -906,7 +910,8 @@ class sendMailNotification
$header_of_mail = view('notification_mail_header', $params);
$footer_of_mail = view('notification_mail_footer', $params);
$mail_content = $header_of_mail .
$mail_content = preg_replace('/<p[^>]*>(&nbsp;|\s)*<\/p>/i', '', $mail_content);
$mail_content = $header_of_mail .
'<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0"
style="max-width:600px;">
@ -1221,7 +1226,8 @@ class sendMailNotification
// foreach ($mail_array as $key => $value) {
// $header_of_mail = view('notification_mail_header', $params);
// $footer_of_mail = view('notification_mail_footer', $params);
// $mail_content = $header_of_mail .
// $mail_content = preg_replace('/<p[^>]*>(&nbsp;|\s)*<\/p>/i', '', $mail_content);
// $mail_content = $header_of_mail .
// '<div align="center">
// <table width="100%" border="0" cellspacing="0" cellpadding="0"
// style="max-width:600px;">
@ -1248,7 +1254,7 @@ class sendMailNotification
{
$wholeData =[];
if ($action == 'member_welcome_mail') {
if ($action == 'member_welcome_mail'){
$clientModel = new ClientModel();
@ -1296,7 +1302,8 @@ class sendMailNotification
$header_of_mail = view('notification_mail_header', $params);
$footer_of_mail = view('notification_mail_footer', $params);
$mail_content = $header_of_mail .
$mail_content = preg_replace('/<p[^>]*>(&nbsp;|\s)*<\/p>/i', '', $mail_content);
$mail_content = $header_of_mail .
'<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0"
style="max-width:600px;">
@ -1343,7 +1350,8 @@ class sendMailNotification
if (isset($mail) && !empty($mail)) {
$header_of_mail = view('notification_mail_header', $params);
$footer_of_mail = view('notification_mail_footer', $params);
$mail_content = $header_of_mail .
$mail_content = preg_replace('/<p[^>]*>(&nbsp;|\s)*<\/p>/i', '', $mail_content);
$mail_content = $header_of_mail .
'<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0"
style="max-width:600px;">
@ -1411,7 +1419,8 @@ class sendMailNotification
$header_of_mail = view('notification_mail_header', $params);
$footer_of_mail = view('notification_mail_footer', $params);
$mail_content = $header_of_mail .
$mail_content = preg_replace('/<p[^>]*>(&nbsp;|\s)*<\/p>/i', '', $mail_content);
$mail_content = $header_of_mail .
'<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0"
style="max-width:600px;">
@ -1578,7 +1587,8 @@ class sendMailNotification
$header_of_mail = view('notification_mail_header', $params);
$footer_of_mail = view('notification_mail_footer', $params);
$mail_content = $header_of_mail .
$mail_content = preg_replace('/<p[^>]*>(&nbsp;|\s)*<\/p>/i', '', $mail_content);
$mail_content = $header_of_mail .
'<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0"
style="max-width:600px;">
@ -1742,7 +1752,8 @@ class sendMailNotification
$header_of_mail = view('notification_mail_header', $params);
$footer_of_mail = view('notification_mail_footer', $params);
$mail_content = $header_of_mail .
$mail_content = preg_replace('/<p[^>]*>(&nbsp;|\s)*<\/p>/i', '', $mail_content);
$mail_content = $header_of_mail .
'<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0"
style="max-width:600px;">
@ -1907,7 +1918,8 @@ class sendMailNotification
$header_of_mail = view('notification_mail_header', $params);
$footer_of_mail = view('notification_mail_footer', $params);
$mail_content = $header_of_mail .
$mail_content = preg_replace('/<p[^>]*>(&nbsp;|\s)*<\/p>/i', '', $mail_content);
$mail_content = $header_of_mail .
'<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0"
style="max-width:600px;">

View File

@ -10,11 +10,11 @@
<body>
<div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="max-width:500px; background:#ffffff; border-bottom:1px solid #00999E;">
<tr style="height:80px; background-color: #ffffff;">
<tr style="height:90px; background-color: #ffffff;">
<td align="left" valign="middle" style="padding:20px;" width="50%">
<img src="<?= base_url('/public/uploads/logo/'.$client_data['client_logo']); ?>"
alt="Client Logo"
style="max-height:60px; max-width: 160px;">
style="max-height:80px; max-width: 160px;">
</td>
<td align="right" valign="middle" style="padding:20px;" width="50%">
<img src="<?= base_url('/public/assets/images/Nhance-Logo-Final.png'); ?>"