Dashboard sipadu mbip
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <?php
  2. $letter = '
  3. <html>
  4. <head>
  5. <meta name="viewport" content="width=device-width">
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7. <title>Just Forms Pro - HTML Email Template</title>
  8. </head>
  9. <body bgcolor="#f6f6f6" style="width: 100% !important; height: 100%; font-family: Arial, sans-serif; font-size: 100%; line-height: 1.6; margin: 0; padding: 0;">
  10. <table style="width: 100%; padding: 20px;"><tr>
  11. <td></td>
  12. <td bgcolor="#fff" style="display: block !important; max-width: 600px !important; clear: both !important; color: #8c949e; margin: 0 auto; padding: 20px; border: 1px solid #f0f0f0;">
  13. <div style="max-width: 600px; display: block; margin: 0 auto;">
  14. <table style="width: 100%;">
  15. <tr>
  16. <td style="border-bottom-width: 1px; border-bottom-color: #f0f0f0; border-bottom-style: solid;">
  17. <h2 style="font-family: Arial, sans-serif; color: #63676d; line-height: 1.2; font-weight: 200; text-align: center; font-size: 28px; margin: 18px 0;" align="center">'.$config["your_subject"].'</h2>
  18. </td>
  19. </tr>
  20. </table>
  21. </div>
  22. <div style="max-width: 600px; display: block; margin: 0 auto;">
  23. <table style="width: 100%;">
  24. <tr>
  25. <td>';
  26. // Add fields and values
  27. foreach ($form_data as $field => $value) {
  28. if ($field === "_"){
  29. continue;
  30. }
  31. $letter .= '<p style="margin-bottom: 10px; font-weight: normal; font-size: 18px;"><span style="font-weight: bold; color: #6d7279;">'.row_name($field).': </span>'.$value.'</p>';
  32. }
  33. $letter .= '</td>
  34. </tr>
  35. </table>
  36. </div>
  37. </td>
  38. <td></td>
  39. </tr>
  40. </table>
  41. <table style="width: 100%; clear: both !important;">
  42. <tr>
  43. <td></td>
  44. <td style="display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;">
  45. <div style="max-width: 600px; display: block; margin: 0 auto;">
  46. <table style="width: 100%;">
  47. <tr>
  48. <td align="center">
  49. <p style="font-size: 12px; color: #666; margin-bottom: 10px; font-weight: normal;">Developed by: <a target="_blank" href="http://lazy-coding.com/j-forms-pro-full/" style="color: #999; font-size: 14px;">Just Forms Pro</a>
  50. </p>
  51. </td>
  52. </tr>
  53. </table>
  54. </div>
  55. </td>
  56. <td></td>
  57. </tr>
  58. </table>
  59. </body>
  60. </html>';
  61. ?>