get_results( 'SELECT * FROM '.CPABC_APPOINTMENTS_CONFIG_TABLE_NAME .' WHERE `'.CPABC_TDEAPP_CONFIG_ID.'`='.CP_CALENDAR_ID); $current_user = wp_get_current_user(); if (cpabc_appointment_is_administrator() || $mycalendarrows[0]->conwer == $current_user->ID) { function cpabc_mv_autodetect_language() { $basename = '/language/multiview_lang_'; $binfo = str_replace('-','_',get_bloginfo('language')); $options = array ($binfo, strtolower($binfo), substr(strtolower($binfo),0,2)."_".substr(strtoupper($binfo),strlen(strtoupper($binfo))-2,2), substr(strtolower($binfo),0,2), substr(strtolower($binfo),strlen(strtolower($binfo))-2,2) ); foreach ($options as $option) { if (file_exists(dirname( __FILE__ ).$basename.$option.'.js')) return $option; $option = str_replace ("-","_", $option); if (file_exists(dirname( __FILE__ ).$basename.$option.'.js')) return $option; } return ''; } if ($message) echo "
".$message."
The purpose of this page is to display the bookings/schedule in a calendar view. You can add bookings from the public booking form or add bookings from the dashboard and the bookings will appear in this calendar.