| Server IP : 81.2.241.106 / Your IP : 216.73.216.165 Web Server : Apache/2.4.67 (Debian) System : Linux tranq-f.bakta.org 5.10.0-45-amd64 #1 SMP Debian 5.10.259-1 (2026-07-02) x86_64 User : lisky ( 1002) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/lisky/wp-content/plugins/events-manager/templates/templates/search/ |
Upload File : |
<?php
/* @var $args array */
$classes = array();
if( em_get_option('dbem_search_form_dates_hide_m') ) $classes[] = 'hide-medium';
if( em_get_option('dbem_search_form_dates_hide_s') ) $classes[] = 'hide-small';
?>
<!-- START Date Search -->
<div class="em-search-scope em-search-field em-datepicker em-datepicker-range input <?php echo implode(' ', $classes); ?>" data-separator="<?php echo esc_attr($args['scope_seperator']); ?>" data-format="<?php echo esc_attr($args['scope_format']); ?>">
<label for="em-search-scope-<?php echo absint($args['id']) ?>" class="screen-reader-text"><?php echo esc_html($args['scope_label']); ?></label>
<input id="em-search-scope-<?php echo absint($args['id']) ?>" type="hidden" class="em-date-input em-search-scope" aria-hidden="true" placeholder="<?php echo esc_html($args['scope_label']); ?>">
<div class="em-datepicker-data">
<input type="date" name="scope[0]" value="<?php echo esc_attr($args['scope'][0]); ?>" aria-label="<?php echo esc_html($args['scope_label']); ?>">
<span class="separator"><?php echo esc_html($args['scope_seperator']); ?></span>
<input type="date" name="scope[1]" value="<?php echo esc_attr($args['scope'][1]); ?>" aria-label="<?php echo esc_html($args['scope_seperator']); ?>">
</div>
</div>
<?php /* Example alternatives
<div class="em-search-scope em-search-field em-datepicker em-datepicker-until" data-separator="<?php echo esc_attr($args['scope_seperator']); ?>">
<label for="em-search-scope-start-<?php echo absint($args['id']) ?>" class="screen-reader-text"><?php echo esc_html($args['scope_label']); ?></label>
<input type="hidden" class="em-date-input em-date-input-start" id="em-search-scope-start-<?php echo absint($args['id']) ?>" aria-hidden="true">
<input id="em-search-scope-<?php echo absint($args['id']) ?>" type="hidden" class="em-date-input em-search-scope" aria-hidden="true" placeholder="<?php echo esc_html($args['scope_label']); ?>">
<label for="em-search-scope-end-<?php echo absint($args['id']) ?>"><?php echo esc_html($args['scope_seperator']); ?></label>
<input type="hidden" class="em-date-input em-date-input-end" id="em-search-scope-end-<?php echo absint($args['id']) ?>" aria-hidden="true" placeholder="<?php echo esc_html($args['scope_seperator']); ?>">
<div class="em-datepicker-data">
<input type="date" name="scope[0]" value="<?php echo esc_attr($args['scope'][0]); ?>" aria-label="<?php echo esc_html($args['scope_label']); ?>">
<span class="separator"><?php echo esc_html($args['scope_seperator']); ?></span>
<input type="date" name="scope[1]" value="<?php echo esc_attr($args['scope'][1]); ?>" aria-label="<?php echo esc_html($args['scope_seperator']); ?>">
</div>
</div>
<div class="em-search-scope em-search-field em-datepicker" data-separator="<?php echo esc_attr($args['scope_seperator']); ?>">
<label>Date</label>
<input type="hidden" class="em-date-input em-date-input-start" aria-hidden="true">
<div class="em-datepicker-data">
<input type="date" name="scope[0]" value="2022-05-10">
</div>
</div>
*/ ?>
<!-- END Date Search -->