Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 14th, 2013  |  syntax: None  |  size: 2.01 KB  |  hits: 53  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.  
  2.  
  3. <?php } if ($postid == $test_id) {
  4.     echo "nothing should appear here";
  5. } ?>
  6. <?php
  7. else($postid == $contact_id) { ?>
  8. <div class="widgets sidebar_newsletter">
  9.    
  10.     <div class="textwidget">
  11.         <h4>Contact Us</h4>
  12.         <div class="left_contact_form">
  13.             <?php echo do_shortcode('[contact-form-7 id="'.$contact_form_id.'"]'); ?>
  14.         </div>
  15.     </div>
  16. </div>
  17. <?php } elseif { ?>
  18. <div class="widgets sidebar_newsletter" >
  19.     <h3>FREE <br />&nbsp;PARK <em>lifestyle</em> <br />&nbsp;&nbsp;MAGAZINE</h3>
  20.     <div class="textwidget">
  21.         <img src="<?php bloginfo('template_url'); ?>/wpld-child/assets/images/sample/sidebar_newsletter.png" alt="" class="sidebar_newsletter_image" />
  22.         <div class="right clear" style="width: 190px;">
  23.             <p>
  24.                 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;Complete the form <br />
  25.                 &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;for your free copy<br />
  26.                 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; of Parklifestyle<br />
  27.                 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;packed with<br />
  28.                 articles and features
  29.             </p>
  30.         </div>
  31.         <p class="clear">
  32.             on park
  33.             living posted directly to your door.
  34.             Small print: No Catch, this magazine
  35.             is offered by Coastline Leisure
  36.             Free of Charge and without any obligation
  37.         </p>
  38.         <div class="left_contact_form">
  39.             <?php echo do_shortcode('[contact-form-7 id="'.$newsletter_form_id.'"]'); ?>
  40.         </div>
  41.     </div>
  42. </div>
  43. <?php } ?>
  44.  
  45. <div class="widgets">
  46.     <div class="textwidget">
  47.         <div class="testimonial">
  48.             <blockquote>
  49.                 <p>
  50.                     <a href="http://www.coastline-leisure.co.uk/agency/">Click for Agency Sales</a>
  51.                 </p>
  52.             </blockquote>
  53.         </div>
  54.     </div>
  55. </div>