4-3
/birthday.php
22 | $xoopsOption [ 'template_main' ] = set_bootstrap( 'phone_book_birthday_b3.html' ); |
23 | include_once XOOPS_ROOT_PATH . "/header.php" ; |
27 | $y =(isset( $_GET [ 'y' ]) and ! empty ( $_GET [ 'y' ]))? intval ( $_GET [ 'y' ]): date ( 'Y' ); |
28 | $m =(isset( $_GET [ 'm' ]) and ! empty ( $_GET [ 'm' ]))? intval ( $_GET [ 'm' ]): date ( 'n' ); |
31 | if (! file_exists (XOOPS_ROOT_PATH . "/modules/tadtools/fullcalendar.php" )) { |
34 | include_once XOOPS_ROOT_PATH . "/modules/tadtools/fullcalendar.php" ; |
35 | $fullcalendar = new fullcalendar(); |
36 | $fullcalendar ->add_js_parameter( 'year' , $y ); |
37 | $fullcalendar ->add_js_parameter( 'month' , $m ); |
38 | $fullcalendar_code = $fullcalendar ->render( '#calendar' , 'get_event.php' ); |
39 | $xoopsTpl ->assign( 'fullcalendar_code' , $fullcalendar_code ); |
46 | $xoopsTpl ->assign( "toolbar" , toolbar_bootstrap( $interface_menu )); |
47 | $xoopsTpl ->assign( "isAdmin" , $isAdmin ); |
48 | include_once XOOPS_ROOT_PATH . '/footer.php' ; |