/*
 * Events Planner tabular list template 1, v2.0.6
 */
?>
<style>

    #epl_event_list_tabular td {
        white-space: nowrap;
    }

</style>

<?php 
$epl = EPL_Base::get_instance();
$ecm = EPL_common_model::get_instance();
$erptm = EPL_report_model::get_instance();
?>

<div id="event_list_wrapper" class="" style="margin-bottom: 20px;">


    <?php 
$default_fields = array_flip(array('title', 'day_of_week', 'date', 'time', 'category', 'location', 'instructor', 'available_spaces', 'regis_button'));
$display_cols = epl_get_element('display_cols', $shortcode_atts);
if ($display_cols) {
    $display_cols = strpos($display_cols, ',') === false ? array($default_fields) : explode(',', $display_cols);
    $display_cols = array_map('trim', $display_cols);
    $default_fields = array_flip($display_cols);
}
global $event_list, $event_details, $event_fields;
function epl_setup_regis_details($regis_id = null)
{
    EPL_common_model::get_instance()->setup_regis_details($regis_id);
}
function get_the_registration_details()
{
    return EPL_common_model::get_instance()->get_registration_details(get_the_ID());
}