$this->PT,
'posts_per_page'=>$limit,
'paged'=>$paged,
'post_status'=>array('pending', 'draft', 'future', 'publish')
);
// Apply Author Query
if(!current_user_can('edit_others_posts')) $args['author'] = get_current_user_id();
// The Query
$query = new WP_Query($args);
// Date Format
$date_format = get_option('date_format');
// Display Date
$display_date = (isset($this->settings['fes_display_date_in_list']) && $this->settings['fes_display_date_in_list']);
// Generating javascript code of countdown module
$javascript = '';
// Include javascript code into the footer
$this->factory->params('footer', $javascript);
?>
have_posts()): ?>
have_posts()): $query->the_post();
// Show Post Status
global $post;
$status = $this->main->get_event_label_status(trim($post->post_status));
?>
-
(main->date_label(array(
'date' => get_post_meta(get_the_ID(), 'mec_start_date', true)
), array(
'date' => get_post_meta(get_the_ID(), 'mec_end_date', true)
), $date_format)); ?>)
settings['booking_status']) && $this->settings['booking_status']):
?>
getRender();
$dates = $render->dates(get_the_ID(), NULL, 15, date('Y-m-d', $past_week));
$book = $this->getBook();
foreach($dates as $date)
{
if(isset($date['start']['date']) and isset($date['end']['date']))
{
$attendees_count = 0;
$bookings = $this->main->get_bookings(get_the_ID(), $date['start']['timestamp']);
foreach($bookings as $booking)
{
$attendees_count += $book->get_total_attendees($booking->ID);
}
?>
- main->date_label($date['start'], $date['end'], $date_format)); ?>