Advertisement
Guest User

form for event search

a guest
Dec 13th, 2011
75
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <form action="<?php bloginfo('url'); ?>/" method="GET">
  2. <span class="em-events-search-dates">
  3. Search Events by Date:
  4.  
  5. <label><?php _e('Date') ?></label>
  6. <?php _e('From:') ?>
  7. <input type="text" class="ghes_text_small ghes_datepicker" name="s" >
  8. <input type="hidden" id="<?php echo $start ?>" name="search" value="<?php echo $start ?>">
  9.  
  10. <?php _e('To:') ?> <input type="text" class="ghes_text_small ghes_datepicker" name="s" >
  11. <input type="hidden" id="<?php echo $end ?>" name="search" value="<?php echo $end ?>">
  12. <input type="hidden" name="_wpnonce" value="<?php echo wp_create_nonce('search_events'); ?>" />
  13. <input type="submit" value="<?php _e('Search','ghes'); ?>" class="em-events-search-submit" />
  14. </span>
  15. </form>
  16.  
Advertisement
RAW Paste Data Copied
Advertisement