Advertisement
Guest User

Untitled

a guest
Sep 26th, 2017
411
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.63 KB | None | 0 0
  1. <?php
  2. $to = "timothyjturner@gmail.com"; // this is your Email address
  3. $from = "email@franklincountyloss.org"; // this is the sender's Email address
  4. $first_name = $_POST['First_Name'];
  5. $last_name = $_POST['Last_Name'];
  6. $subject = "Deceased Information Form submission";
  7. $message = $first_name . " " . $last_name;
  8.  
  9. $headers = "From:" . $from;
  10. $return = wp_mail($to,$subject,$message,$headers);
  11. if($return == TRUE){echo "Mail Sent. Thank you";}
  12. echo $return;
  13.  
  14. ?>
  15.  
  16. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  17. <html xmlns="http://www.w3.org/1999/xhtml">
  18. <head>
  19. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  20. <title>Deceased Information Form</title>
  21. <style type="text/css">
  22. #form1 fieldset {
  23. font-family: Lucida Sans Unicode, Lucida Grande, sans-serif;
  24. }
  25. .a {
  26. font-family: Lucida Sans Unicode, Lucida Grande, sans-serif;
  27. }
  28. #form2 p {
  29. font-family: Lucida Sans Unicode, Lucida Grande, sans-serif;
  30. }
  31. #form1 {
  32. color: #0E7D40;
  33. }
  34. body {
  35. background-color: #F4DEC0;
  36. }
  37. .a {
  38. color: #0E7D40;
  39. }
  40. .a strong em {
  41. color: #000;
  42. }
  43. .b {
  44. color: #FFF;
  45. }
  46.  
  47. input[type=submit] {
  48. background:url("http://franklincountyloss.org/site/wp-content/themes/3clicks-child-theme/images/ButtonUP.jpg");
  49. border:0;
  50. display:block;
  51. height: 50px;
  52. width: 180px;
  53. }
  54.  
  55. input[type=submit]:hover {
  56. background:url("http://franklincountyloss.org/site/wp-content/themes/3clicks-child-theme/images/ButtonDWN.jpg");
  57. border:0;
  58. display:block;
  59. height: 50px;
  60. width: 180px;
  61. }
  62. </style>
  63.  
  64. </head>
  65.  
  66. <body>
  67. <form method="post" action="" id="form1" enctype="text/plain">
  68. <fieldset>
  69. <table width="398" border="0" align="center" cellpadding="5">
  70. <tr bgcolor="#B1586C">
  71. <td width="384" scope="col"><div align="left">
  72. <h3>
  73. <legend class="a"><strong><em>Deceased Information</em></strong></legend>
  74. </h3>
  75. </div>
  76. <p align="left" class="b">First Name
  77. <input name="First_Name" type="text" id="First Name" size="50" />
  78. </p>
  79. <p align="left" class="b"> Middle Initial
  80. <input name="Middle Initial" type="text" id="Middle Initial" size="5" />
  81. </p>
  82. <p align="left" class="b"> Last Name
  83. <input name="Last_Name" type="text" id="Last Name" size="50" />
  84. </p>
  85. <p align="left" class="b">
  86. <label for="Address">Address</label>
  87. <input name="Address" type="text" id="Address" size="50" />
  88. </p>
  89. <p align="left" class="b"> Apartment Number
  90. <input name="Apartment Number" type="text" id="Apartment Number" size="15" />
  91. </p>
  92. <p align="left" class="b"> City
  93. <input name="City" type="text" id="City" size="50" />
  94. </p>
  95. <p align="left" class="b">State
  96. <input name="State" type="text" id="State" size="5" />
  97. Zip
  98. <input name="Zip" type="text" id="Zip" size="15" />
  99. </p>
  100. <p align="left" class="b">
  101. <label for="Date of Death">Date of Death</label>
  102. <input type="text" name="Date of Death" id="Date of Death" />
  103. </p>
  104. <p align="left" class="b">
  105. <label for="Date of Birth">Date of Birth</label>
  106. <input type="text" name="Date of Birth" id="Date of Birth" />
  107. </p>
  108. <p align="left" class="b">
  109. <label for="Gender">Gender</label>
  110. <select name="Gender" id="Gender">
  111. <option value="Male">Male</option>
  112. <option value="Female">Female</option>
  113. <option value="Unknown">Unknown</option>
  114. </select>
  115. </p>
  116. <p align="left" class="b">
  117. <label for="Method">Method</label>
  118. <input name="Method" type="text" id="Method" size="50" />
  119. </p>
  120. <p align="left" class="b">
  121. <label for="Marital Status">Marital Status</label>
  122. <select name="Marital Status" id="Marital Status">
  123. <option value="Married">Married</option>
  124. <option value="Divorced">Divorced</option>
  125. <option value="Single">Single</option>
  126. <option value="Widow/Widower">Widow/Widower</option>
  127. </select>
  128. </p>
  129. <p align="left" class="b">
  130. <label for="Misc. Notes">Misc. Notes</label>
  131. </p>
  132. <p align="left">
  133. <textarea name="Misc. Notes" id="Misc. Notes" cols="50" rows="10"></textarea>
  134. </p></td>
  135. </tr>
  136. <tr bgcolor="#0E7D40">
  137. <td><div align="left">
  138. <h3>
  139. <legend class="a"><strong><em>NOK/Survivor Information</em></strong></legend>
  140. </h3>
  141. </div>
  142. <p>
  143. <label for="NOK First Name" class="b">First Name</label>
  144. <input name="NOK First Name" type="text" id="NOK First Name" size="50" />
  145. </p>
  146. <p class="b"> Middle Initial
  147. <input name="NOK Middle Initial" type="text" id="NOK Middle Initial" size="5" />
  148. </p>
  149. <p class="b"> Last Name
  150. <input name="NOK Last Name" type="text" id="NOK Last Name" size="50" />
  151. </p>
  152. <p class="b"> Address
  153. <input name="NOK Address" type="text" id="NOK Address" size="50" />
  154. </p>
  155. <p class="b"> Apartment Number
  156. <input name="NOK Apartment Number" type="text" id="NOK Apartment Number" size="15" />
  157. </p>
  158. <p class="b">
  159. <label for="NOK City">City</label>
  160. <input name="NOK City" type="text" id="NOK City" size="50" />
  161. </p>
  162. <p class="b"> State
  163. <input name="NOK State" type="text" id="NOK State" size="5" />
  164. Zip
  165. <input name="NOK Zip" type="text" id="NOK Zip" size="15" />
  166. </p>
  167. <p class="b">
  168. <label for="NOK Phone">Phone #</label>
  169. <input name="NOK Phone" type="text" id="NOK Phone" size="25" />
  170. </p>
  171. <p class="b">Alternate Phone #
  172. <input name="NOK Alternate Phone" type="text" id="NOK Alternate Phone" size="25" />
  173. </p>
  174. <p class="b">Relationship to Deceased
  175. <input name="NOK Relationship" type="text" id="NOK Relationship" size="50" />
  176. </p></td>
  177. </tr>
  178. <tr>
  179. <td><h3 align="left" class="a">
  180. <legend class="a"><strong><em>Other Helpful Information for<br />
  181. LOSS to Support Survivors</em></strong> </legend>
  182. </h3>
  183. <p>
  184. <label for="More Information">Additional Information<br />
  185. </label>
  186. <textarea name="More Information" id="More Information" cols="50" rows="25"></textarea>
  187. </p></td>
  188. </tr>
  189. </table>
  190. <div align="center"><input type="Submit" name="submit" value=""></input></div>
  191. <input type="hidden" name="submitted" id="submitted" value="true" />
  192. </form>
  193. <p>&nbsp;</p>
  194. </fieldset>
  195. </body>
  196. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement