Guest User

Untitled

a guest
Sep 29th, 2014
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.91 KB | None | 0 0
  1. <?php echo $header; ?>
  2. <?php if ($error_warning) { ?>
  3. <div class="warning"><?php echo $error_warning; ?></div>
  4. <?php } ?>
  5. <?php echo $column_right; ?>
  6.  
  7. <div id="content">
  8. <div class="page-name"><?php echo $heading_title; ?></div>
  9. <?php echo $content_top; ?>
  10. <p><?php echo $text_description; ?></p>
  11. <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data">
  12. <table class="form">
  13. <tr>
  14. <td><span class="required">*</span> <?php echo $entry_to_name; ?></td>
  15. <td><input type="text" name="to_name" value="<?php echo $to_name; ?>" />
  16. <?php if ($error_to_name) { ?>
  17. <span class="error"><?php echo $error_to_name; ?></span>
  18. <?php } ?></td>
  19. </tr>
  20. <tr>
  21. <td><span class="required">*</span> <?php echo $entry_to_email; ?></td>
  22. <td><input type="text" name="to_email" value="<?php echo $to_email; ?>" />
  23. <?php if ($error_to_email) { ?>
  24. <span class="error"><?php echo $error_to_email; ?></span>
  25. <?php } ?></td>
  26. </tr>
  27. <tr>
  28. <td><span class="required">*</span> <?php echo $entry_from_name; ?></td>
  29. <td><input type="text" name="from_name" value="<?php echo $from_name; ?>" />
  30. <?php if ($error_from_name) { ?>
  31. <span class="error"><?php echo $error_from_name; ?></span>
  32. <?php } ?></td>
  33. </tr>
  34. <tr>
  35. <td><span class="required">*</span> <?php echo $entry_from_email; ?></td>
  36. <td><input type="text" name="from_email" value="<?php echo $from_email; ?>" />
  37. <?php if ($error_from_email) { ?>
  38. <span class="error"><?php echo $error_from_email; ?></span>
  39. <?php } ?></td>
  40. </tr>
  41. <tr>
  42. <td><span class="required">*</span> <?php echo $entry_theme; ?></td>
  43. <td><?php foreach ($voucher_themes as $voucher_theme) { ?>
  44. <?php if ($voucher_theme['voucher_theme_id'] == $voucher_theme_id) { ?>
  45. <input type="radio" name="voucher_theme_id" value="<?php echo $voucher_theme['voucher_theme_id']; ?>" id="voucher-<?php echo $voucher_theme['voucher_theme_id']; ?>" checked="checked" />
  46. <label for="voucher-<?php echo $voucher_theme['voucher_theme_id']; ?>"><?php echo $voucher_theme['name']; ?></label>
  47. <?php } else { ?>
  48. <input type="radio" name="voucher_theme_id" value="<?php echo $voucher_theme['voucher_theme_id']; ?>" id="voucher-<?php echo $voucher_theme['voucher_theme_id']; ?>" />
  49. <label for="voucher-<?php echo $voucher_theme['voucher_theme_id']; ?>"><?php echo $voucher_theme['name']; ?></label>
  50. <?php } ?>
  51. <br />
  52. <?php } ?>
  53. <?php if ($error_theme) { ?>
  54. <span class="error"><?php echo $error_theme; ?></span>
  55. <?php } ?></td>
  56. </tr>
  57. <tr>
  58. <td><?php echo $entry_message; ?></td>
  59. <td><textarea name="message" cols="40" rows="5"><?php echo $message; ?></textarea></td>
  60. </tr>
  61. <tr>
  62. <td><span class="required">*</span> <?php echo $entry_amount; ?></td>
  63. <td><input type="text" name="amount" value="<?php echo $amount; ?>" size="5" />
  64. <?php if ($error_amount) { ?>
  65. <span class="error"><?php echo $error_amount; ?></span>
  66. <?php } ?></td>
  67. </tr>
  68. </table>
  69. <div class="buttons">
  70. <div class="right"><?php echo $text_agree; ?>
  71. <?php if ($agree) { ?>
  72. <input type="checkbox" name="agree" value="1" checked="checked" />
  73. <?php } else { ?>
  74. <input type="checkbox" name="agree" value="1" />
  75. <?php } ?>
  76. <input type="submit" value="<?php echo $button_continue; ?>" class="button" />
  77. </div>
  78. </div>
  79. </form>
  80. <?php echo $content_bottom; ?></div>
  81. <div class="clear"></div>
  82.  
  83. </div><!--container ends-->
  84. <div id="container-footer">
  85. <div id="latest-products"><?php echo $column_left; ?></div>
  86. </div>
  87. <?php echo $footer; ?>
Advertisement
Add Comment
Please, Sign In to add comment