Function Reference: geodir_event_detail_page_sitebar_content

Summary

This function has not been documented yet.

Source File

geodir_event_detail_page_sitebar_content() is located in geodir_event_manager/gdevents_functions.php [Line: 56]

Source Code

function geodir_event_detail_page_sitebar_content($arr){
	
	$geodir_count = count($arr);
	
	$schedule_array = array();
	
	if(!empty($arr)){
		foreach($arr as $key => $val){
			
			if($geodir_count > 4){
				if( $key == 4)
					$schedule_array[] = 'geodir_event_show_shedule_date';
			}else{
				if( $key == $geodir_count)
					$schedule_array[] = 'geodir_event_show_shedule_date';
			}
			
			$schedule_array[] = $val;
		
		}
	}else{
		$schedule_array[] = 'geodir_event_show_shedule_date';
	}
	
	return $schedule_array;
}