0 AND $next_special_date >= $today) { $next_date_time = $next_special_date; } $date_format = ealist_get_option('ealist_date_format'); if ($date_format == "") { $date_format = "d.m."; } $next_date = date($date_format, $next_date_time); // Calculating the time out of the time stamp $list = ealist_getlist( $next_date_time ); if (!empty($list)) { foreach ($list as $item=>$vote) { if ($vote[0] == "1") { echo ucwords(strtolower($item)); echo "\n"; } } } ?>