-
,
-
0) {
?>
-
-
-
2) {
echo '';
} else {
echo '';
}
if ($recurring == 'yes') {
if (strtotime(current_time('Y-m-d H:i')) < strtotime($start_datetime)) {
require(mep_template_file_path('single/date_list.php'));
}
foreach ($more_date as $_more_date) {
$start_date = $_more_date['event_more_start_date'];
$end_date = $_more_date['event_more_end_date'];
$start_datetime = $_more_date['event_more_start_date'] . ' ' . $_more_date['event_more_start_time'];
$end_datetime = $_more_date['event_more_end_date'] . ' ' . $_more_date['event_more_end_time'];
if (strtotime(current_time('Y-m-d H:i')) < strtotime($_more_date['event_more_start_date'] . ' ' . $_more_date['event_more_start_time'])) {
if ($mep_show_upcoming_event == 'yes') {
$cnt = 1;
} else {
$cnt = $cn;
}
if ($cn == $cnt) {
require(mep_template_file_path('single/date_list.php'));
$cn++;
}
}
}
}elseif ($recurring == 'everyday') {
do_action('mep_event_everyday_date_list_display',$event_id);
}else {
if (is_array($more_date) && sizeof($more_date) > 0) {
require(mep_template_file_path('single/date_list.php'));
foreach ($more_date as $_more_date) {
$start_date = $_more_date['event_more_start_date'];
$end_date = $_more_date['event_more_end_date'];
$start_datetime = $_more_date['event_more_start_date'] . ' ' . $_more_date['event_more_start_time'];
$end_datetime = $_more_date['event_more_end_date'] . ' ' . $_more_date['event_more_end_time'];
require(mep_template_file_path('single/date_list.php'));
}
} else {
require(mep_template_file_path('single/date_list.php'));
}
}
echo '
';
if (sizeof($more_date) > 2) {
?>