Guest User

popup form

a guest
Aug 27th, 2012
10
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. /*
  3. Template Name: Product Availability
  4. */
  5. ?>
  6. <head>
  7. <?php wp_enqueue_style('responsive-style', get_stylesheet_uri(), false, '1.7.5');?>
  8.  
  9. <?php wp_head(); ?>
  10.  
  11. <script type="text/javascript">
  12. jQuery(document).bind(‘gform_confirmation_loaded’, function($){
  13. $.Shadowbox.close(); //closes the fancybox
  14. return false;
  15. });
  16. </script>
  17.  
  18. <style>
  19.  
  20. html {margin-top:0px !important;}
  21. body {
  22. font-size: 12px;
  23. line-height: 1.3;
  24. font-family: arial, sans-serif;
  25. color: #000;
  26. background: #fff;
  27. margin: 0px;
  28. }
  29.  
  30. #magazine-form {
  31. width: 700px;
  32. background: #fff;
  33. overflow: hidden;
  34. margin: 0px;
  35. padding-left:15px;
  36. }
  37.  
  38.  
  39. .right,.alignright {
  40. float: right;
  41. display: inline;
  42. padding: 0 15px;
  43. }
  44.  
  45. input,textarea,select {
  46. font-size: 12px;
  47. font-family: arial, sans-serif;
  48. }
  49.  
  50. input { background: #EFEFEF;
  51. border: 1px solid #FFFFFF;
  52. margin-bottom: 0.6em;
  53. padding-left: 0.5em;}
  54. #gform_submit_button_2:hover {background: #B5B6B6;}
  55.  
  56. #field_1_1, #field_1_5, #field_1_8 {width:50%;float:left;}
  57. #input_1_1, #input_1_2, #input_1_5, #input_1_6, #input_1_7, #input_1_8, #gform_submit_button_1 {
  58. height: 25px;
  59. width: 300px;
  60. }
  61.  
  62. h3 {color: #2F86AE; margin-bottom:0px;}
  63. p {margin:0px;}
  64.  
  65. label {clear:both;}
  66. .gfield_label {}
  67.  
  68. ul {
  69. list-style: none;
  70. border: 2px dotted rgba(255,255,255,0.20);
  71. padding: 0;
  72. }
  73.  
  74. .gform_wrapper .gform_footer {
  75. clear: both;
  76. margin: 6px 0 0;
  77. padding: 6px 0 10px;
  78. }
  79.  
  80. .gform_wrapper li.gfield.gfield_error.gfield_contains_required label.gfield_label, .gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container {
  81. margin-top: 1px;
  82. }
  83.  
  84. .gform_wrapper .top_label .gfield_description.validation_message, .gform_wrapper .gfield_description.validation_message {
  85. padding: 3px 0 !important;
  86. }
  87.  
  88. li {list-style: none;}
  89. </style>
  90.  
  91. </head>
  92. <body>
  93. <section id="magazine-form">
  94. <h3 class="blog-title">Beschikbaarheid van dit product:</h3>
  95. <p>Wilt u de beschikbaarheid van dit product weten? Stuur dan een bericht naar de dichtstbijzijnde winkel!</p>
  96. <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  97.  
  98.  
  99. <section id="mag-content" class="mags">
  100. <article>
  101.  
  102. <div class="page-content"><?php the_content(); ?></div>
  103.  
  104. </article>
  105. </section>
  106.  
  107. <?php endwhile; endif; ?>
  108.  
  109. </body>
RAW Paste Data