Guest User

Untitled

a guest
Apr 12th, 2020
222
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. /**
  4. * Template Name: Mark's Likey-Likey Test Template_v1-1
  5. * Version: 0.1
  6. * Description: It's a trap!
  7. * Author: SC
  8. * Author URI:
  9. * Group: Suter's Custom Templates
  10. * License: GPLv2
  11. * Required PDF Version: 4.0
  12. * Tags: apples,garlic,sauce,salt,steak
  13. */
  14.  
  15. /* Prevent direct access to the template (always good to include this) */
  16. if ( ! class_exists( ‘GFForms’ ) ) {
  17. return;
  18. }
  19.  
  20. ?>
  21.  
  22. <style>
  23. table {
  24.   font-family: arial, sans-serif;
  25.   border-collapse: collapse;
  26.   width: 100%;
  27. }
  28.  
  29. td, th {
  30.   border: 1px solid #dddddd;
  31.   text-align: left;
  32.   padding: 8px;
  33. }
  34.  
  35. tr:nth-child(even) {
  36.   background-color: #dddddd;
  37. }
  38. </style>
  39.  
  40. <body>
  41.  
  42. <h2>HTML Table</h2>
  43.  
  44.  
  45. <table>
  46.   <tr>
  47.     <th>Company</th>
  48.     <th>Contact</th>
  49.     <th>Country</th>
  50.   </tr>
  51.   <tr>
  52.     <td>{I enjoy ___ the most::2}</td>
  53.     <td>{I like to eat::1}</td>
  54.     <td>{Name (First):4.3}</td>
  55.   </tr>
  56.   <tr>
  57.     <td>Centro comercial Moctezuma</td>
  58.     <td>Francisco Chang</td>
  59.     <td>Mexico</td>
  60.   </tr>
  61.   <tr>
  62.     <td>Ernst Handel</td>
  63.     <td>Roland Mendel</td>
  64.     <td>Austria</td>
  65.   </tr>
  66.   <tr>
  67.     <td>Island Trading</td>
  68.     <td>Helen Bennett</td>
  69.     <td>UK</td>
  70.   </tr>
  71.   <tr>
  72.     <td>Laughing Bacchus Winecellars</td>
  73.     <td>Yoshi Tannamuri</td>
  74.     <td>Canada</td>
  75.   </tr>
  76.   <tr>
  77.     <td>Magazzini Alimentari Riuniti</td>
  78.     <td>Giovanni Rovelli</td>
  79.     <td>Italy</td>
  80.   </tr>
  81. </table>
  82.  
  83. </body>
  84. </html>
RAW Paste Data