# fluent-booking/1.5.22/app/Views/public/calendar.php

Fluent Booking – The Ultimate Appointments Scheduling, Events Booking, Events Calendar Solution, version 1.5.22. 22 lines.

- Page: https://pluginprobe.com/plugins/fluent-booking/1.5.22/code/app/Views/public/calendar.php
- Raw: https://pluginprobe.com/plugins/fluent-booking/1.5.22/raw/app/Views/public/calendar.php
- Modified: 2024-09-04T13:37:38+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluent-booking/1.5.22/code/app/Views/public/calendar.php#L10-L20`.

```php
<?php
    /**
     * @var $theme
     * @var $calenderEvent
     */
    
    defined( 'ABSPATH' ) || exit;

    $mode = '';
    if ($theme == 'dark') {
        $mode = 'fcal-dark-mode';
    } else if ($theme == 'light') {
        $mode = 'fcal-light-mode';
    }
?>
<div class="fcal_cal_wrap <?php echo esc_attr($mode); ?>">
    <div class="fluent_booking_app" data-calendar_id="<?php echo (int)$calenderEvent->calendar_id; ?>"
         data-event_id="<?php echo (int)$calenderEvent->id; ?>"></div>
    <?php do_action('fluent_booking/short_code_render', $calenderEvent); ?>
</div>


```
