:::

4-3 /birthday.php

<?php
/**
 * Phone Book module
 *
 * You may not change or alter any portion of this comment or credits
 * of supporting developers from this source code or any supporting source code
 * which is considered copyrighted (c) material of the original comment or credit authors.
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 *
 * @copyright  The XOOPS Project http://sourceforge.net/projects/xoops/
 * @license    http://www.fsf.org/copyleft/gpl.html GNU public license
 * @package    Phone Book
 * @since      2.5
 * @author     tad
 * @version    $Id $
 **/

/*-----------引入檔案區--------------*/
include "header.php";
$xoopsOption['template_main'] = set_bootstrap('phone_book_birthday_b3.html');
include_once XOOPS_ROOT_PATH . "/header.php";

/*-----------功能函數區--------------*/

$y=(isset($_GET['y']) and !empty($_GET['y']))?intval($_GET['y']):date('Y');
$m=(isset($_GET['m']) and !empty($_GET['m']))?intval($_GET['m']):date('n');


if (!file_exists(XOOPS_ROOT_PATH . "/modules/tadtools/fullcalendar.php")) {
    redirect_header("http://www.tad0616.net/modules/tad_uploader/index.php?of_cat_sn=50", 3, _TAD_NEED_TADTOOLS);
}
include_once XOOPS_ROOT_PATH . "/modules/tadtools/fullcalendar.php";
$fullcalendar = new fullcalendar();
$fullcalendar->add_js_parameter('year', $y);
$fullcalendar->add_js_parameter('month', $m);
$fullcalendar_code = $fullcalendar->render('#calendar', 'get_event.php');
$xoopsTpl->assign('fullcalendar_code', $fullcalendar_code);


/*-----------執行動作判斷區----------*/


/*-----------秀出結果區--------------*/
$xoopsTpl->assign("toolbar", toolbar_bootstrap($interface_menu));
$xoopsTpl->assign("isAdmin", $isAdmin);
include_once XOOPS_ROOT_PATH . '/footer.php';

 


:::

搜尋

QR Code 區塊

https%3A%2F%2Fwww.tad0616.net%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbsn%3D39%26tbdsn%3D1236

書籍目錄

展開 | 闔起

線上使用者

88人線上 (24人在瀏覽線上書籍)

會員: 0

訪客: 88

更多…