:::

4-3 /birthday.php

01<?php
02/**
03 * Phone Book module
04 *
05 * You may not change or alter any portion of this comment or credits
06 * of supporting developers from this source code or any supporting source code
07 * which is considered copyrighted (c) material of the original comment or credit authors.
08 * This program is distributed in the hope that it will be useful,
09 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11 *
12 * @copyright  The XOOPS Project http://sourceforge.net/projects/xoops/
13 * @license    http://www.fsf.org/copyleft/gpl.html GNU public license
14 * @package    Phone Book
15 * @since      2.5
16 * @author     tad
17 * @version    $Id $
18 **/
19 
20/*-----------引入檔案區--------------*/
21include "header.php";
22$xoopsOption['template_main'] = set_bootstrap('phone_book_birthday_b3.html');
23include_once XOOPS_ROOT_PATH . "/header.php";
24 
25/*-----------功能函數區--------------*/
26 
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');
29 
30 
31if (!file_exists(XOOPS_ROOT_PATH . "/modules/tadtools/fullcalendar.php")) {
32    redirect_header("http://www.tad0616.net/modules/tad_uploader/index.php?of_cat_sn=50", 3, _TAD_NEED_TADTOOLS);
33}
34include_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);
40 
41 
42/*-----------執行動作判斷區----------*/
43 
44 
45/*-----------秀出結果區--------------*/
46$xoopsTpl->assign("toolbar", toolbar_bootstrap($interface_menu));
47$xoopsTpl->assign("isAdmin", $isAdmin);
48include_once XOOPS_ROOT_PATH . '/footer.php';

 


:::

搜尋

QR Code 區塊

https%3A%2F%2Ftad0616.cp27.secserverpros.com%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbdsn%3D1236%26tbsn%3D39

書籍目錄

展開 | 闔起

線上使用者

72人線上 (9人在瀏覽線上書籍)

會員: 0

訪客: 72

更多…