Merge branch 'master' of bitbucket.org:venbainformationtechnology/pocketbase
This commit is contained in:
commit
00350eb53d
2
.env
2
.env
@ -1,3 +1,3 @@
|
||||
APP_SIGNATURE = super-secret-key
|
||||
APP_SIGNATURE = fcsc.gov.ae.X7pL9qZm2A
|
||||
|
||||
BASE_URL = https://pb.venbait.in
|
||||
190
main.go
190
main.go
@ -675,7 +675,7 @@ func main() {
|
||||
<table role="presentation" width="600px" cellspacing="0" cellpadding="0" border="0" style="background-color: #ffffff; border: 2px solid #d1ad5c; padding: 20px;">
|
||||
<tr>
|
||||
<td align="center" style="font-size: 18px; font-weight: bold;">
|
||||
<span style=" font-size:16px; border-bottom:1px solid #d1ad5c">
|
||||
<span style=" font-size:16px; border-bottom:1px solid #d1ad5c;padding-bottom: 10px;">
|
||||
إعادة تعيين كلمة المرور - تطبيق إحصاءات الإمارات العربية المتحدة<br>
|
||||
</span><br><span style="font-size: 18px;">Reset your FCSC password</span>
|
||||
<br><br><br>
|
||||
@ -709,13 +709,16 @@ func main() {
|
||||
<img src="https://imageats.s3.ap-south-1.amazonaws.com/signature.png" alt="We The UAE 2031" width="100%%">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding-top: 20px; font-size: 12px; color: #777; border-top: 1px solid #ccc;">
|
||||
<strong>تنويه:</strong> المعلومات الواردة في هذه الرسالة الإلكترونية والمرفقات الخاصة بها سرية وقد تكون محمية بموجب القانون. إذا لم تكن الشخص المعني باستلام هذه الرسالة، فيرجى إخطار المرسل وحذف هذه الرسالة فوراً.
|
||||
<br><br>
|
||||
<strong>Disclaimer:</strong> The information contained and transmitted within this email message is PRIVILEGED AND/OR CONFIDENTIAL. If you are not the intended recipient, please notify the sender and delete this email immediately.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding-top: 20px; font-size: 9px; color: #777; border-top: 1px solid #ccc;direction: rtl; text-align: right;">
|
||||
<strong>تنبيه:</strong><br>هذه الرسالة الإلكترونية و أيٌ من مرفقاتها قد تحتوي على معلومات سرية وهامة موجهه للشخص/الأشخاص المعنيين وعليه يرجى من المتلقي في حال تلقي الرسالة الإلكترونية عن طريق<br> الخطأ ولم يكن المعني بها، إخطار المرسل وحذفها من بريده الإلكتروني و كذلك إتلاف أي نسخ مطبوعة عنها حيث أنه يحظر عليه قراءة ونسخ ونشر أو توزيع أو استخدام هذه الرسالة<br> إلكترونية و أيٌ من مرفقاتها بأي شكل من الأشكال
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding-top: 20px; font-size: 9px; color: #777;text-align: left; direction: ltr;">
|
||||
<strong>Disclaimer:</strong> <br>The information contained in and transmitted with this e-mail message is PRIVILEGED AND/OR CONFIDENTIAL.If you are not the intended recipient, or have received the message by error, please notify the sender via E-Mail or over the telephone and delete this e-mail. You are not authorized to read, copy, disseminate, distribute or use this E-Mail or any of its attachments in any way.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
@ -1850,7 +1853,7 @@ func main() {
|
||||
<table role="presentation" width="600px" cellspacing="0" cellpadding="0" border="0" style="background-color: #ffffff; border: 2px solid #d1ad5c; padding: 20px;">
|
||||
<tr>
|
||||
<td align="center" style="font-size: 18px; font-weight: bold;">
|
||||
<span style=" font-size:16px; border-bottom:1px solid #d1ad5c">
|
||||
<span style=" font-size:16px; border-bottom:1px solid #d1ad5c;padding-bottom: 10px;">
|
||||
تطبيق إحصاءات الإمارات العربية المتحدة - يرجى التحقق من عنوان بريدك الإلكتروني <br>
|
||||
</span><br><span style="font-size: 18px;">Please Verify Your Email Address – UAE Stats App</span>
|
||||
<br><br><br>
|
||||
@ -1885,13 +1888,16 @@ func main() {
|
||||
<img src="https://imageats.s3.ap-south-1.amazonaws.com/signature.png" alt="We The UAE 2031" width="100%%">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding-top: 20px; font-size: 12px; color: #777; border-top: 1px solid #ccc;">
|
||||
<strong>تنويه:</strong> المعلومات الواردة في هذه الرسالة الإلكترونية والمرفقات الخاصة بها سرية وقد تكون محمية بموجب القانون. إذا لم تكن الشخص المعني باستلام هذه الرسالة، فيرجى إخطار المرسل وحذف هذه الرسالة فوراً.
|
||||
<br><br>
|
||||
<strong>Disclaimer:</strong> The information contained and transmitted within this email message is PRIVILEGED AND/OR CONFIDENTIAL. If you are not the intended recipient, please notify the sender and delete this email immediately.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding-top: 20px; font-size: 9px; color: #777; border-top: 1px solid #ccc;direction: rtl; text-align: right;">
|
||||
<strong>تنبيه:</strong><br>هذه الرسالة الإلكترونية و أيٌ من مرفقاتها قد تحتوي على معلومات سرية وهامة موجهه للشخص/الأشخاص المعنيين وعليه يرجى من المتلقي في حال تلقي الرسالة الإلكترونية عن طريق<br> الخطأ ولم يكن المعني بها، إخطار المرسل وحذفها من بريده الإلكتروني و كذلك إتلاف أي نسخ مطبوعة عنها حيث أنه يحظر عليه قراءة ونسخ ونشر أو توزيع أو استخدام هذه الرسالة<br> إلكترونية و أيٌ من مرفقاتها بأي شكل من الأشكال
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding-top: 20px; font-size: 9px; color: #777;text-align: left; direction: ltr;">
|
||||
<strong>Disclaimer:</strong> <br>The information contained in and transmitted with this e-mail message is PRIVILEGED AND/OR CONFIDENTIAL.If you are not the intended recipient, or have received the message by error, please notify the sender via E-Mail or over the telephone and delete this e-mail. You are not authorized to read, copy, disseminate, distribute or use this E-Mail or any of its attachments in any way.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
@ -2291,7 +2297,7 @@ func main() {
|
||||
<table role="presentation" width="600px" cellspacing="0" cellpadding="0" border="0" style="background-color: #ffffff; border: 2px solid #d1ad5c; padding: 20px;">
|
||||
<tr>
|
||||
<td align="center" style="font-size: 18px; font-weight: bold;">
|
||||
<span style=" font-size:16px; border-bottom:1px solid #d1ad5c">
|
||||
<span style=" font-size:16px; border-bottom:1px solid #d1ad5c;padding-bottom: 10px;">
|
||||
ملاحظات حول التطبيق الهاتفي للإحصاءات الإماراتي UAE <br>
|
||||
</span><br><span style="font-size: 18px;">UAE Stats Mobile Application Feedback</span>
|
||||
<br><br><br>
|
||||
@ -2353,13 +2359,16 @@ func main() {
|
||||
<img src="https://imageats.s3.ap-south-1.amazonaws.com/signature.png" alt="We The UAE 2031" width="100%%">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding-top: 20px; font-size: 12px; color: #777; border-top: 1px solid #ccc;">
|
||||
<strong>تنويه:</strong> المعلومات الواردة في هذه الرسالة الإلكترونية والمرفقات الخاصة بها سرية وقد تكون محمية بموجب القانون. إذا لم تكن الشخص المعني باستلام هذه الرسالة، فيرجى إخطار المرسل وحذف هذه الرسالة فوراً.
|
||||
<br><br>
|
||||
<strong>Disclaimer:</strong> The information contained and transmitted within this email message is PRIVILEGED AND/OR CONFIDENTIAL. If you are not the intended recipient, please notify the sender and delete this email immediately.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding-top: 20px; font-size: 9px; color: #777; border-top: 1px solid #ccc;direction: rtl; text-align: right;">
|
||||
<strong>تنبيه:</strong><br>هذه الرسالة الإلكترونية و أيٌ من مرفقاتها قد تحتوي على معلومات سرية وهامة موجهه للشخص/الأشخاص المعنيين وعليه يرجى من المتلقي في حال تلقي الرسالة الإلكترونية عن طريق<br> الخطأ ولم يكن المعني بها، إخطار المرسل وحذفها من بريده الإلكتروني و كذلك إتلاف أي نسخ مطبوعة عنها حيث أنه يحظر عليه قراءة ونسخ ونشر أو توزيع أو استخدام هذه الرسالة<br> إلكترونية و أيٌ من مرفقاتها بأي شكل من الأشكال
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding-top: 20px; font-size: 9px; color: #777;text-align: left; direction: ltr;">
|
||||
<strong>Disclaimer:</strong> <br>The information contained in and transmitted with this e-mail message is PRIVILEGED AND/OR CONFIDENTIAL.If you are not the intended recipient, or have received the message by error, please notify the sender via E-Mail or over the telephone and delete this e-mail. You are not authorized to read, copy, disseminate, distribute or use this E-Mail or any of its attachments in any way.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
@ -2645,7 +2654,9 @@ func verifyEmailHandler(c echo.Context) error {
|
||||
|
||||
func sendAdminEmail(app *pocketbase.PocketBase, userID, username, userEmail string) error {
|
||||
|
||||
adminName := "Admin"
|
||||
adminNameEn := "Admin"
|
||||
adminNameAr := "المدير"
|
||||
baseUrl1 := "https://pb.venbait.in"
|
||||
subject := "New User Registration Pending Review"
|
||||
|
||||
// Fetch the email configuration from PocketBase
|
||||
@ -2658,7 +2669,7 @@ func sendAdminEmail(app *pocketbase.PocketBase, userID, username, userEmail stri
|
||||
|
||||
// Construct email body
|
||||
body := fmt.Sprintf(`
|
||||
<!DOCTYPE html>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
@ -2672,7 +2683,7 @@ func sendAdminEmail(app *pocketbase.PocketBase, userID, username, userEmail stri
|
||||
<table role="presentation" width="600px" cellspacing="0" cellpadding="0" border="0" style="background-color: #ffffff; border: 2px solid #d1ad5c; padding: 20px;">
|
||||
<tr>
|
||||
<td align="center" style="font-size: 18px; font-weight: bold;">
|
||||
<span style=" font-size:16px; border-bottom:1px solid #d1ad5c">
|
||||
<span style=" font-size:16px; border-bottom:1px solid #d1ad5c;padding-bottom: 10px;">
|
||||
تسجيل مستخدم جديد - تطبيق إحصاءات الإمارات العربية المتحدة - قيد المراجعة<br>
|
||||
</span>
|
||||
<br><span style="font-size: 18px;">New User Registration - UAE Stats App - Pending Review</span>
|
||||
@ -2683,33 +2694,36 @@ func sendAdminEmail(app *pocketbase.PocketBase, userID, username, userEmail stri
|
||||
<td style="padding-top: 20px; font-size: 12px; padding-bottom:30px">
|
||||
<table role="presentation" width="100%%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr>
|
||||
<td align="left" style="width: 56%%; vertical-align: top;">
|
||||
<td align="left" style="width:50%%; vertical-align: top;">
|
||||
<strong>Dear <span style="color: #d1ad5c;">%s</span>,</strong><br><br>
|
||||
A new user has registered on UAE Stats Mobile app and is awaiting your review.
|
||||
A new user has registered on UAE Stats <br> Mobile app and is awaiting your review.
|
||||
<br><br>
|
||||
<strong>Details:</strong><br>
|
||||
<strong>Details</strong><br>
|
||||
Name: %s<br>
|
||||
Email: <a href="mailto:%s" style="color: #d1ad5c; text-decoration: none;">%s</a>
|
||||
<br><br>
|
||||
Please review the registration and take appropriate action.
|
||||
Please review the registration and take <br> appropriate action
|
||||
<br><br>
|
||||
<div style="text-align: left; direction: ltr;">
|
||||
<a href="%s/api/custom/approve?userId=%s" style="display: inline-block;background-color: green; color: white; padding: 5px 10px; border: none; cursor: pointer; border-radius:4px; font-size: 10px;">Approve ✅</a>
|
||||
<a href="%s/api/custom/reject?userId=%s" style="display: inline-block;background-color: red; color: white; padding: 5px 10px; border: none; cursor: pointer; border-radius:4px; font-size: 10px;">Reject ❌</a>
|
||||
<a href="%s/api/custom/approve?userId=%s" style="display: inline-block;background-color: #11AF22; color: white; padding: 5px 15px; border: none; cursor: pointer; border-radius:2px; font-size: 12px;text-decoration: none;font-weight: 500;gap:6px;margin-right: 10%%;">Approve <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADUAAAA0CAYAAAAqunDVAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAANeSURBVHgBzVqBkdsgEDxnUoBKoIO4g6gEd2ClA6eC/1Rgd2B3kHwFfCrwpwLSgd3BPoz4eYwPBDJC2hnGP89xd8uBdDpY0QQAsNY/rW7fdDN/N077wH/b3nT7Z35Xq9UbLQmaSKvbXrcLxkPpdrSTMjsZifKQunVUExOS8aF0Ezm+rSgT2oDZF0+67SJiV+r3ygt97pur3jNXR4egfo+Zpfad+j3YRHQe9PifVBpmxuzMhSDRR7AZqX+j2++SURsyuEb4ISBRcHPbyTtFiD1uSyvZRgy0NBFs1BVj10zuhsbCRojDASOXWab9xtriiOVHzC4Dbsk9U2UYmwFiIkdJEwj9M82EADGVvGLQZweLIeT4xRHbpwwUzMADLQTg91g7NEiNDnEFgN8aMjagy56FGYD+cZ/mp+44e4JHWihwn3tKToh7JwlaKAL+tr7Q0RP4QwsHE62DL6A8gfGpyHgnt+hfqsaXbYK8v7cubuc62FkJuM8xB31A/yS8yXq+OP2tJ/+XKsJG5eT9+zo0zn6j3dQ2XFLCk3+lSggQMvhFaXgJKZaIPUUmAsKfNV2Gjo070O1QntLJKzolCFk9IkTKx6RpUSlCVleTRIomRElCjs5ypJD/XtmWJmT1sqT8L9yk5Yf7vbil+oSCy095hkSiQu5zf0uVCFndN4mD2+Fn50kpEvhPlRtiUxKy+m9Spa9Onzl5cB/jIkGfeaOf7OT4nygnZ9JOzNAfZiyVAf/60Q7svFmUlIFIxCaLkGNbusrdjruEFpnvqkRiHRUGvH0d7cSIVGmAWEeFwdhTvoBfpclaghFDkxCytqRn5+gLtIwzo3JAS0zZ6Hc0AcCX8tacoCwRrRrAffnhHBJMLz3NCHifG4NLnImWwvKLmWpoEBet4Xp1JYCv84uUgVy9+olmhvGB8Sutzo/wUc5sxAKEjI/pWwPhQ7fqxAKE8g7dHGWh49E96h2PHgM+jK+jIJz6KMxzkG3Q0aNA/MrBEQUPEhC/TTPuADtiTCB+OcRc7BhVf0e/zGJkgNKXQzzjB8RxsQR31lET5cbTYSZoY2Ukhm+fTX/FAcNRKwWJ2mka+ofIGeUhMXfOiX6JnfBY9MwSPDxKJvtqXArwed1UUH/lVNBtIefqtI/rpq+lrpu+AyzvxEOZ8lIDAAAAAElFTkSuQmCC" alt="approve" style="margin-bottom: -2px;width:14px;height:14px;margin-left:6px;"></a>
|
||||
<a href="%s/api/custom/reject?userId=%s" style="display: inline-block;background-color: #C1102E; color: white; padding: 5px 15px; border: none; cursor: pointer; border-radius:2px; font-size: 12px;text-decoration: none;font-weight: 500;gap:6px">Reject <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADUAAAA0CAYAAAAqunDVAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAANfSURBVHgBzVqLkdsgEF2nApegDuIOohLcgVWCU8FdB1YHcgdJKiAd+FIB6cDu4B0M3JwOLV8hyW9mx56BZXmwwAp2RwsAwEH9tEq+K9H/9yP5wH8rb0r+6d/dbvdGzwRFpFVyUXJHOaSSwQ7K5mQE6kMo6WhNLEjGhVTS5PRtR5lQBvS6eFFyDlR7kFkrf+hz3TzUmnmM2mjIrDHtaj/IrMF9oM1e6f+k2tAjZkfOBwEzg/vC9o9KftWctZjBA/ybgEDFxW0H7xogNt+WauQUMNDSQrCzLhm7enCPVAo7Qxx6FLpZpv29tcURy58x6wacy73SytA2PcSanEb2nql/pY3gISaTPQYmOngaQqN+ccQuKYoNo9jTkwD8GmtjSrJ4ilcA+KUhQgpd9ihsAJjtPq2fquDmVBzoSYFp7Cm4StyZ1CQaOMFssVL/p0yU6Hv627qVBqfCb0oEpj6eTAzTiOWeoSsc3T7WseRQBPwhHSUGPgSTlAhM19Z9XHjwFqY1zm0wQWLwx5QdJQJmJ/wyoOPCs9NwsuuVEKtBaNSW8JFyD7QzFSCFWE1Ctr0vE0I+tphxNoWIoTIha+/oIyUdI7M+xALEqhKythofKRezw6JEYh3NBMxmESdFlRAh1lEljBv9RssDhWUVLE8Pzxrud0Ic2SEVY8frftIx1tAMJBKqQgxO4DAucKPz4tuaAKEOBZFHgr3WR+rqGCk9fE8+QqM6VYkhcPi6YZIoaPwUI7QEMQTCpElAi4zNAgWRQi1i8AW0XCEyQiXw12ldgh5HLOd7ytWXbgU3qE12QWZAugzdcMfCusLRHdwKLTNqSTGg7Zi05DrKRIk++Ku8A1dRoHC21gam1w83X8X0q6cNAedzw6ILKQinssTzX2bKmBI3W/H76pUA/p6/SVHk7qtfaGPoPjD9Srvnh/8pZzNiHkK6j+lLA/5Ht9WJeQjlPbqNGvM9j16w3vPo4OlD+T0K/DGaxDYP2RodzQXCKQcDKuY3IJxNU/aAHTDWIJwcohM7ij4uYdwsRAaonRziGO8Rxt0SPNuO6lneO23oATraOgLx7LPlUxwQn7VaEFg7TIPZRG6oD4GtY04YF7ti3uxpF+znkslOjUsBPtNNGzIpp42VDzxGotPmdLrp31rppu9GQmzJlBeaLQAAAABJRU5ErkJggg==" alt="approve" style="margin-bottom: -2px;width:14px;height:14px;margin-left:6px;"></a>
|
||||
</div>
|
||||
</td>
|
||||
<td align="right" style="width: 44%%; vertical-align: top; direction: rtl; text-align: right;">
|
||||
<td align="right" style="width: 50%%; vertical-align: top; direction: rtl; text-align: right;">
|
||||
<strong>عزيزي <span style="color: #d1ad5c;">%s</span>،</strong><br><br>
|
||||
تم تسجيل مستخدم جديد في تطبيق إحصاءات الإمارات وهو في انتظار مراجعتك.<br><br>
|
||||
|
||||
<strong>التفاصيل:</strong><br>
|
||||
تم تسجيل مستخدم جديد في تطبيق إحصاءات الإمارات <br>
|
||||
للهواتف المحمولة، وهو بانتظار مراجعتك.
|
||||
<br><br>
|
||||
<strong>التفاصيل</strong><br>
|
||||
الاسم: %s<br>
|
||||
البريد الإلكتروني: <a href="mailto:%s" style="color: #d1ad5c; text-decoration: none;">%s</a><br><br>
|
||||
|
||||
يرجى مراجعة التسجيل واتخاذ الإجراء المناسب.<br><br>
|
||||
البريد الإلكتروني: <a href="mailto:%s" style="color: #d1ad5c; text-decoration: none;">%s</a>
|
||||
<br><br>
|
||||
يرجى مراجعة التسجيل واتخاذ الإجراء المناسب <br>
|
||||
الموافقة أو الرفض.
|
||||
<br><br>
|
||||
<div style="text-align: right; direction: rtl;">
|
||||
<a href="%s/api/custom/approve?userId=%s" style="display: inline-block; background-color: green; color: white; padding: 5px 10px; border: none;cursor: pointer; border-radius: 4px; font-size: 10px; text-decoration: none;">Approve ✅</a>
|
||||
<a href="%s/api/custom/reject?userId=%s" style="display: inline-block; background-color: red; color: white; padding: 5px 10px; border: none;cursor: pointer; border-radius: 4px; font-size: 10px; text-decoration: none; margin-left: 8px;">Reject ❌</a>
|
||||
<a href="%s/api/custom/approve?userId=%s" style="display: inline-block;background-color: #11AF22; color: white; padding: 5px 15px; border: none; cursor: pointer; border-radius:2px; font-size: 12px;text-decoration: none;font-weight: 500;gap:6px;margin-left: 10%%;">يعتمد <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADUAAAA0CAYAAAAqunDVAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAANeSURBVHgBzVqBkdsgEDxnUoBKoIO4g6gEd2ClA6eC/1Rgd2B3kHwFfCrwpwLSgd3BPoz4eYwPBDJC2hnGP89xd8uBdDpY0QQAsNY/rW7fdDN/N077wH/b3nT7Z35Xq9UbLQmaSKvbXrcLxkPpdrSTMjsZifKQunVUExOS8aF0Ezm+rSgT2oDZF0+67SJiV+r3ygt97pur3jNXR4egfo+Zpfad+j3YRHQe9PifVBpmxuzMhSDRR7AZqX+j2++SURsyuEb4ISBRcHPbyTtFiD1uSyvZRgy0NBFs1BVj10zuhsbCRojDASOXWab9xtriiOVHzC4Dbsk9U2UYmwFiIkdJEwj9M82EADGVvGLQZweLIeT4xRHbpwwUzMADLQTg91g7NEiNDnEFgN8aMjagy56FGYD+cZ/mp+44e4JHWihwn3tKToh7JwlaKAL+tr7Q0RP4QwsHE62DL6A8gfGpyHgnt+hfqsaXbYK8v7cubuc62FkJuM8xB31A/yS8yXq+OP2tJ/+XKsJG5eT9+zo0zn6j3dQ2XFLCk3+lSggQMvhFaXgJKZaIPUUmAsKfNV2Gjo070O1QntLJKzolCFk9IkTKx6RpUSlCVleTRIomRElCjs5ypJD/XtmWJmT1sqT8L9yk5Yf7vbil+oSCy095hkSiQu5zf0uVCFndN4mD2+Fn50kpEvhPlRtiUxKy+m9Spa9Onzl5cB/jIkGfeaOf7OT4nygnZ9JOzNAfZiyVAf/60Q7svFmUlIFIxCaLkGNbusrdjruEFpnvqkRiHRUGvH0d7cSIVGmAWEeFwdhTvoBfpclaghFDkxCytqRn5+gLtIwzo3JAS0zZ6Hc0AcCX8tacoCwRrRrAffnhHBJMLz3NCHifG4NLnImWwvKLmWpoEBet4Xp1JYCv84uUgVy9+olmhvGB8Sutzo/wUc5sxAKEjI/pWwPhQ7fqxAKE8g7dHGWh49E96h2PHgM+jK+jIJz6KMxzkG3Q0aNA/MrBEQUPEhC/TTPuADtiTCB+OcRc7BhVf0e/zGJkgNKXQzzjB8RxsQR31lET5cbTYSZoY2Ukhm+fTX/FAcNRKwWJ2mka+ofIGeUhMXfOiX6JnfBY9MwSPDxKJvtqXArwed1UUH/lVNBtIefqtI/rpq+lrpu+AyzvxEOZ8lIDAAAAAElFTkSuQmCC" alt="approve" style="margin-bottom: -2px;width:14px;height:14px;margin-left:6px;"></a>
|
||||
<a href="%s/api/custom/reject?userId=%s" style="display: inline-block;background-color: #C1102E; color: white; padding: 5px 15px; border: none; cursor: pointer; border-radius:2px; font-size: 12px;text-decoration: none;font-weight: 500;gap:6px">يرفض <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADUAAAA0CAYAAAAqunDVAAAACXBIWXMAACxLAAAsSwGlPZapAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAANfSURBVHgBzVqLkdsgEF2nApegDuIOohLcgVWCU8FdB1YHcgdJKiAd+FIB6cDu4B0M3JwOLV8hyW9mx56BZXmwwAp2RwsAwEH9tEq+K9H/9yP5wH8rb0r+6d/dbvdGzwRFpFVyUXJHOaSSwQ7K5mQE6kMo6WhNLEjGhVTS5PRtR5lQBvS6eFFyDlR7kFkrf+hz3TzUmnmM2mjIrDHtaj/IrMF9oM1e6f+k2tAjZkfOBwEzg/vC9o9KftWctZjBA/ybgEDFxW0H7xogNt+WauQUMNDSQrCzLhm7enCPVAo7Qxx6FLpZpv29tcURy58x6wacy73SytA2PcSanEb2nql/pY3gISaTPQYmOngaQqN+ccQuKYoNo9jTkwD8GmtjSrJ4ilcA+KUhQgpd9ihsAJjtPq2fquDmVBzoSYFp7Cm4StyZ1CQaOMFssVL/p0yU6Hv627qVBqfCb0oEpj6eTAzTiOWeoSsc3T7WseRQBPwhHSUGPgSTlAhM19Z9XHjwFqY1zm0wQWLwx5QdJQJmJ/wyoOPCs9NwsuuVEKtBaNSW8JFyD7QzFSCFWE1Ctr0vE0I+tphxNoWIoTIha+/oIyUdI7M+xALEqhKythofKRezw6JEYh3NBMxmESdFlRAh1lEljBv9RssDhWUVLE8Pzxrud0Ic2SEVY8frftIx1tAMJBKqQgxO4DAucKPz4tuaAKEOBZFHgr3WR+rqGCk9fE8+QqM6VYkhcPi6YZIoaPwUI7QEMQTCpElAi4zNAgWRQi1i8AW0XCEyQiXw12ldgh5HLOd7ytWXbgU3qE12QWZAugzdcMfCusLRHdwKLTNqSTGg7Zi05DrKRIk++Ku8A1dRoHC21gam1w83X8X0q6cNAedzw6ILKQinssTzX2bKmBI3W/H76pUA/p6/SVHk7qtfaGPoPjD9Srvnh/8pZzNiHkK6j+lLA/5Ht9WJeQjlPbqNGvM9j16w3vPo4OlD+T0K/DGaxDYP2RodzQXCKQcDKuY3IJxNU/aAHTDWIJwcohM7ij4uYdwsRAaonRziGO8Rxt0SPNuO6lneO23oATraOgLx7LPlUxwQn7VaEFg7TIPZRG6oD4GtY04YF7ti3uxpF+znkslOjUsBPtNNGzIpp42VDzxGotPmdLrp31rppu9GQmzJlBeaLQAAAABJRU5ErkJggg==" alt="approve" style="margin-bottom: -2px;width:14px;height:14px;margin-left:6px;"></a>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@ -2717,15 +2731,18 @@ func sendAdminEmail(app *pocketbase.PocketBase, userID, username, userEmail stri
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" padding-top: 20px;">
|
||||
<td align="center" >
|
||||
<img src="https://imageats.s3.ap-south-1.amazonaws.com/signature.png" alt="We The UAE 2031" width="100%%">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding-top: 20px; font-size: 12px; color: #777; border-top: 1px solid #ccc;">
|
||||
<strong>تنويه:</strong> المعلومات الواردة في هذه الرسالة الإلكترونية والمرفقات الخاصة بها سرية وقد تكون محمية بموجب القانون. إذا لم تكن الشخص المعني باستلام هذه الرسالة، فيرجى إخطار المرسل وحذف هذه الرسالة فوراً.
|
||||
<br><br>
|
||||
<strong>Disclaimer:</strong> The information contained and transmitted within this email message is PRIVILEGED AND/OR CONFIDENTIAL. If you are not the intended recipient, please notify the sender and delete this email immediately.
|
||||
<tr>
|
||||
<td style="padding-top: 20px; font-size: 9px; color: #777; border-top: 1px solid #ccc;direction: rtl; text-align: right;">
|
||||
<strong>تنبيه:</strong><br>هذه الرسالة الإلكترونية و أيٌ من مرفقاتها قد تحتوي على معلومات سرية وهامة موجهه للشخص/الأشخاص المعنيين وعليه يرجى من المتلقي في حال تلقي الرسالة الإلكترونية عن طريق<br> الخطأ ولم يكن المعني بها، إخطار المرسل وحذفها من بريده الإلكتروني و كذلك إتلاف أي نسخ مطبوعة عنها حيث أنه يحظر عليه قراءة ونسخ ونشر أو توزيع أو استخدام هذه الرسالة<br> إلكترونية و أيٌ من مرفقاتها بأي شكل من الأشكال
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding-top: 20px; font-size: 9px; color: #777;text-align: left; direction: ltr;">
|
||||
<strong>Disclaimer:</strong> <br>The information contained in and transmitted with this e-mail message is PRIVILEGED AND/OR CONFIDENTIAL.If you are not the intended recipient, or have received the message by error, please notify the sender via E-Mail or over the telephone and delete this e-mail. You are not authorized to read, copy, disseminate, distribute or use this E-Mail or any of its attachments in any way.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -2735,8 +2752,8 @@ func sendAdminEmail(app *pocketbase.PocketBase, userID, username, userEmail stri
|
||||
</body>
|
||||
</html>
|
||||
`,
|
||||
adminName, username, userEmail, userEmail, baseUrl, userID, baseUrl, userID,
|
||||
adminName, username, userEmail, userEmail, baseUrl, userID, baseUrl, userID)
|
||||
adminNameEn, username, userEmail, userEmail, baseUrl1, userID, baseUrl1, userID,
|
||||
adminNameAr, username, userEmail, userEmail, baseUrl1, userID, baseUrl1, userID)
|
||||
|
||||
// Send email
|
||||
message := &mailer.Message{
|
||||
@ -2745,7 +2762,7 @@ func sendAdminEmail(app *pocketbase.PocketBase, userID, username, userEmail stri
|
||||
Address: app.Settings().Meta.SenderAddress,
|
||||
},
|
||||
To: []mail.Address{
|
||||
{Name: adminName, Address: adminEmail},
|
||||
{Name: adminNameEn, Address: adminEmail},
|
||||
},
|
||||
Subject: subject,
|
||||
HTML: body,
|
||||
@ -2803,7 +2820,7 @@ func sendStatusChangeEmail(app *pocketbase.PocketBase, record *models.Record, ne
|
||||
|
||||
<tr>
|
||||
<td align="center" style="font-size: 18px; font-weight: bold;">
|
||||
<span style=" font-size:18px; border-bottom:1px solid #d1ad5c">
|
||||
<span style=" font-size:18px; border-bottom:1px solid #d1ad5c;padding-bottom: 10px;">
|
||||
تمت الموافقة على التسجيل - إحصاءات الإمارات العربية المتحدة<br>
|
||||
</span><br><span style="font-size: 18px;">Registration Approved – UAE Statistics App</span>
|
||||
<br><br><br>
|
||||
@ -2811,40 +2828,44 @@ func sendStatusChangeEmail(app *pocketbase.PocketBase, record *models.Record, ne
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding-top: 20px; font-size: 12px;">
|
||||
<table role="presentation" width="100%%" cellspacing="0" cellpadding="0" border="0">
|
||||
<table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr>
|
||||
<td align="left" style="width: 56%%; vertical-align: top;">
|
||||
<td align="left" style="width: 50%%; vertical-align: top;">
|
||||
<strong>Dear <span style="color: #d1ad5c;">%s</span>,</strong><br><br>
|
||||
We are pleased to inform you that your registration with UAE Stats app has been approved. You can now log in using the credentials that you had created.
|
||||
We are pleased to inform you that your <br>registration with UAE Stats app has been <br>approved. You can now log in using the <br>credentials that you had created.
|
||||
<br><br>
|
||||
Please access your account using the following link: <a href="https://www.fcsc.com/login" style="color: #d1ad5c; text-decoration: none;">Login</a>.
|
||||
Please access your account using the <br>following link: <a href="https://fcscapp.onelink.me/login" style="color: #d1ad5c; text-decoration: none;">Login</a>.
|
||||
<br><br>
|
||||
If you have any questions or believe this decision was made in error, please feel free to contact us for further clarification.
|
||||
If you have any questions or believe this <br>decision was made in error, please feel free <br>to contact us for further clarification.
|
||||
</td>
|
||||
<td align="right" style="width: 42%%; vertical-align: top; direction: rtl; padding-bottom:30px">
|
||||
<td align="right" style="width: 50%%; vertical-align: top; direction: rtl; padding-bottom:30px">
|
||||
<strong>عزيزي <span style="color: #d1ad5c;">%s</span>،</strong><br><br>
|
||||
يسرنا إبلاغك بأنه تمت الموافقة على تسجيلك في تطبيق إحصاءات الإمارات. يمكنك الآن تسجيل الدخول باستخدام بيانات الاعتماد التي أنشأتها.
|
||||
يسرنا إبلاغك بأنه قد تمت الموافقة على تسجيلك<br> في تطبيق إحصاءات الإمارات. يمكنك الآن تسجيل <br>الدخول باستخدام بيانات الاعتماد التي أنشأتها.
|
||||
<br><br>
|
||||
يرجى الوصول إلى حسابك عبر الرابط التالي <a href="https://www.fcsc.com/login" style="color: #d1ad5c; text-decoration: none;">تسجيل الدخول</a>.
|
||||
<br>
|
||||
يرجى الوصول إلى حسابك عبر الرابط التالي <br><a href="https://fcscapp.onelink.me/login" style="color: #d1ad5c; text-decoration: none;">تسجيل الدخول</a>.
|
||||
<br><br>
|
||||
إذا كانت لديك أي استفسارات أو كنت تعتقد أن هذا القرار خاطئ، فلا تتردد في التواصل معنا لمزيد من التوضيح.
|
||||
إذا كانت لديك أي استفسارات أو كنت تعتقد أن هذا<br> القرار خاطئ، فلا تتردد في التواصل معنا لمزيد<br> من التوضيح.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" padding-top: 20px;">
|
||||
<td align="center">
|
||||
<img src="https://imageats.s3.ap-south-1.amazonaws.com/signature.png" alt="We The UAE 2031" width="100%%">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding-top: 20px; font-size: 12px; color: #777; border-top: 1px solid #ccc;">
|
||||
<strong>تنويه:</strong> المعلومات الواردة في هذه الرسالة الإلكترونية والمرفقات الخاصة بها سرية وقد تكون محمية بموجب القانون. إذا لم تكن الشخص المعني باستلام هذه الرسالة، فيرجى إخطار المرسل وحذف هذه الرسالة فوراً.
|
||||
<br><br>
|
||||
<strong>Disclaimer:</strong> The information contained and transmitted within this email message is PRIVILEGED AND/OR CONFIDENTIAL. If you are not the intended recipient, please notify the sender and delete this email immediately.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding-top: 20px; font-size: 9px; color: #777; border-top: 1px solid #ccc;direction: rtl; text-align: right;">
|
||||
<strong>تنبيه:</strong><br>هذه الرسالة الإلكترونية و أيٌ من مرفقاتها قد تحتوي على معلومات سرية وهامة موجهه للشخص/الأشخاص المعنيين وعليه يرجى من المتلقي في حال تلقي الرسالة الإلكترونية عن طريق<br> الخطأ ولم يكن المعني بها، إخطار المرسل وحذفها من بريده الإلكتروني و كذلك إتلاف أي نسخ مطبوعة عنها حيث أنه يحظر عليه قراءة ونسخ ونشر أو توزيع أو استخدام هذه الرسالة<br> إلكترونية و أيٌ من مرفقاتها بأي شكل من الأشكال
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding-top: 20px; font-size: 9px; color: #777;text-align: left; direction: ltr;">
|
||||
<strong>Disclaimer:</strong> <br>The information contained in and transmitted with this e-mail message is PRIVILEGED AND/OR CONFIDENTIAL.If you are not the intended recipient, or have received the message by error, please notify the sender via E-Mail or over the telephone and delete this e-mail. You are not authorized to read, copy, disseminate, distribute or use this E-Mail or any of its attachments in any way.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
@ -2869,7 +2890,7 @@ func sendStatusChangeEmail(app *pocketbase.PocketBase, record *models.Record, ne
|
||||
<table role="presentation" width="600px" cellspacing="0" cellpadding="0" border="0" style="background-color: #ffffff; border: 2px solid #d1ad5c; padding: 20px;">
|
||||
<tr>
|
||||
<td align="center" style="font-size: 18px; font-weight: bold;">
|
||||
<span style=" font-size:16px; border-bottom:1px solid #d1ad5c">
|
||||
<span style=" font-size:16px; border-bottom:1px solid #d1ad5c;padding-bottom: 10px;">
|
||||
تحديث التسجيل – تطبيق إحصاءات الإمارات العربية المتحدة<br>
|
||||
</span><br><span style="font-size: 18px;">Registration Update – UAE Stats App</span>
|
||||
<br><br><br>
|
||||
@ -2879,19 +2900,19 @@ func sendStatusChangeEmail(app *pocketbase.PocketBase, record *models.Record, ne
|
||||
<td style="padding-top: 20px; padding-bottom:30px; font-size: 12px;">
|
||||
<table role="presentation" width="100%%" cellspacing="0" cellpadding="0" border="0">
|
||||
<tr>
|
||||
<td align="left" style="width: 56%%; vertical-align: top;">
|
||||
<td align="left" style="width: 50%%; vertical-align: top;">
|
||||
<strong>Dear <span style="color: #d1ad5c;">%s</span>,</strong><br><br>
|
||||
Thank you for registering with UAE Stats Mobile App. After careful review, we regret to inform you that your registration has not been approved at this time.
|
||||
Thank you for registering with UAE Stats <br>Mobile App. After careful review, we regret <br>to inform you that your registration has not <br>been approved at this time.
|
||||
<br><br>
|
||||
If you have any questions or believe this decision was made in error, please feel free to <a href="https://fcsc.gov.ae/en-us/Pages/e-Participation/Contact-Us.aspx" style="color: #d1ad5c; text-decoration: none; font-weight: bold;">contact us</a> for further clarification.
|
||||
If you have any questions or believe this <br>decision was made in error, please feel free <br>to <a href="https://fcsc.gov.ae/en-us/Pages/e-Participation/Contact-Us.aspx" style="color: #d1ad5c; text-decoration: none; font-weight: bold;">contact us</a> for further clarification.
|
||||
<br><br>
|
||||
We appreciate your understanding and thank you for your interest.
|
||||
We appreciate your understanding and thank <br>you for your interest.
|
||||
</td>
|
||||
<td align="right" style="width: 42%%; vertical-align: top; direction: rtl;">
|
||||
<td align="right" style="width: 50%%; vertical-align: top; direction: rtl;">
|
||||
<strong>عزيزي <span style="color: #d1ad5c;">%s</span>،</strong><br><br>
|
||||
نشكرك على تسجيلك في تطبيق إحصاءات الإمارات. بعد مراجعة دقيقة، نأسف لإبلاغك بأن تسجيلك لم يتم الموافقة عليه في هذا الوقت.
|
||||
نشكرك على تسجيلك في تطبيق إحصاءات<br> الإمارات للهواتف المحمولة. بعد مراجعة دقيقة،<br> يؤسفنا إبلاغك بأنه لم تتم الموافقة على تسجيلك<br> حتى الآن.
|
||||
<br><br>
|
||||
إذا كان لديك أي أسئلة أو كنت تعتقد أن هذا القرار خاطئ، فلا تتردد في <a href="https://fcsc.gov.ae/ar-ae/Pages/e-Participation/Contact-Us.aspx" style="color: #d1ad5c; text-decoration: none; font-weight: bold;">التواصل معنا</a> لمزيد من التوضيح.
|
||||
إذا كانت لديك أي أسئلة أو كنت تعتقد أن هذا القرار<br> خاطئ، فلا تتردد في التواصل معنا لمزيد من<br> التوضيح.
|
||||
<br><br>
|
||||
نقدّر تفهمك ونشكرك على اهتمامك.
|
||||
</td>
|
||||
@ -2905,12 +2926,15 @@ func sendStatusChangeEmail(app *pocketbase.PocketBase, record *models.Record, ne
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding-top: 20px; font-size: 12px; color: #777; border-top: 1px solid #ccc;">
|
||||
<strong>تنويه:</strong> المعلومات الواردة في هذه الرسالة الإلكترونية والمرفقات الخاصة بها سرية وقد تكون محمية بموجب القانون. إذا لم تكن الشخص المعني باستلام هذه الرسالة، فيرجى إخطار المرسل وحذف هذه الرسالة فوراً.
|
||||
<br><br>
|
||||
<strong>Disclaimer:</strong> The information contained and transmitted within this email message is PRIVILEGED AND/OR CONFIDENTIAL. If you are not the intended recipient, please notify the sender and delete this email immediately.
|
||||
</td>
|
||||
</tr>
|
||||
<td style="padding-top: 20px; font-size: 9px; color: #777; border-top: 1px solid #ccc;direction: rtl; text-align: right;">
|
||||
<strong>تنبيه:</strong><br>هذه الرسالة الإلكترونية و أيٌ من مرفقاتها قد تحتوي على معلومات سرية وهامة موجهه للشخص/الأشخاص المعنيين وعليه يرجى من المتلقي في حال تلقي الرسالة الإلكترونية عن طريق<br> الخطأ ولم يكن المعني بها، إخطار المرسل وحذفها من بريده الإلكتروني و كذلك إتلاف أي نسخ مطبوعة عنها حيث أنه يحظر عليه قراءة ونسخ ونشر أو توزيع أو استخدام هذه الرسالة<br> إلكترونية و أيٌ من مرفقاتها بأي شكل من الأشكال
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding-top: 20px; font-size: 9px; color: #777;text-align: left; direction: ltr;">
|
||||
<strong>Disclaimer:</strong> <br>The information contained in and transmitted with this e-mail message is PRIVILEGED AND/OR CONFIDENTIAL.If you are not the intended recipient, or have received the message by error, please notify the sender via E-Mail or over the telephone and delete this e-mail. You are not authorized to read, copy, disseminate, distribute or use this E-Mail or any of its attachments in any way.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user