<?php
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

$start  = $atts['year']."-".$atts['month']."-01";
$end    = date("Y-m-t", strtotime( $start ) );
?>
<div id="ld_cms_calendar" style="width: 100%;"><!--MAIN CALENDAR-->
<div class="ld-cms-preloader-div ld-cms-preloader-div-front"><img src="<?php echo CSLDP_ASSETS_URL.'bar.gif';?>" /></div>
    <div id="ld_cms_calendar_wrap" data-start="<?php echo $start;?>" data-end="<?php echo $end;?>" data-user-id="<?php echo $atts['user_id'];?>" data-caltype="monthly" data-type="student"></div>
</div><!--MAIN CALENDAR-->


<div id="ld_cms_tooltip_template" style="display:none;">
    <strong><?php _e('Title', 'cs_ld_addon'); ?>:</strong> <span id="ld_cms_tt_title"></span><br>
    <strong><?php _e('Start', 'cs_ld_addon'); ?>:</strong> <span id="ld_cms_tt_start"></span><br>
    <strong><?php _e('End', 'cs_ld_addon'); ?>:</strong> <span id="ld_cms_tt_end"></span><br>
</div>