fn_is_okay()) { // Set variables to blank strings initially (for styling) @DOD $events_list = ''; $calendar_box = ''; $view_switches = ''; // $jump_to_form = ''; $search_form = ''; // If this isn't a calendar box if(!$b_calbox) { $events_list = $o_PHP_Calendar->fn_show_calendar_events_list(@$_GET['maxevents'] + 0, $b_list_view); } // Show the Calendar Box DIV, View Switchers and Search Form (if this isn't just a list view) if(!$b_list_view) { $calendar_box = $o_PHP_Calendar->fn_show_calendar_box(); $calendar_box = $o_PHP_Calendar->get_calendar_html(); } // If this isn't just a calendar box or a list view if(!$b_calbox && !$b_list_view) { // Show the search form, the view switchers & the jump to form $view_switches = $o_PHP_Calendar->fn_show_view_switches(); // $jump_to_form = $o_PHP_Calendar->fn_show_jump_to_form(); $search_form = $o_PHP_Calendar->fn_show_search_form(); } //$o_PHP_Calendar->fn_load_style($events_list, $calendar_box, $view_switches, $jump_to_forum, $search_forum); // check to ensure we need to load the style if($o_PHP_Calendar->fn_should_style_load()) { $o_PHP_Calendar->fn_load_style($events_list, $calendar_box, $view_switches, $search_form); } else { // don't load the style, just show the elements $o_PHP_Calendar->fn_load_cal_no_style($events_list, $calendar_box, $view_switches, $search_form); } } } else { echo 'FATAL Error: Failed to load calendar functions file.'; } ?>