本文整理匯總了PHP中date::build_views方法的典型用法代碼示例。如果您正苦於以下問題:PHP date::build_views方法的具體用法?PHP date::build_views怎麽用?PHP date::build_views使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類date
的用法示例。
在下文中一共展示了date::build_views方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: folder_process_session_request
folder_process_session_request();
folder_build_folders();
$GLOBALS["table"] = db_get_schema($GLOBALS["schemafile"], $GLOBALS["tfolder"], $GLOBALS["tview"], true, !empty($_REQUEST["popup"]));
$GLOBALS["tname"] = $GLOBALS["table"]["att"]["NAME"];
if (!empty($GLOBALS["table"]["att"]["LOAD_LIBRARY"])) {
require $GLOBALS["table"]["att"]["LOAD_LIBRARY"];
}
sys_process_session_request();
if (!empty($GLOBALS["current_view"]["ENABLE_CALENDAR"])) {
date::process_session_request();
$session = $_SESSION[$GLOBALS["tname"]]["_" . $GLOBALS["tfolder"]];
date::build_datebox($session["today"], $session["markdate"], $session["weekstart"]);
}
asset_process_session_request();
if (!empty($GLOBALS["current_view"]["ENABLE_CALENDAR"]) and (empty($_REQUEST["iframe"]) or $_REQUEST["iframe"] == "2")) {
date::build_views();
}
$output = ob_get_contents();
ob_end_clean();
if (!empty(sys::$alert) or trim($output) != "") {
sys_message_box(t("{t}Error{/t}") . ":", $output . implode("\n", sys::$alert));
}
sys_process_output();
}
function pre_sys_checkdos()
{
if (defined("NOCONTENT") or !empty($_SERVER["HTTP_X_MOZ"]) or !APC) {
return;
}
if (isset($_SERVER["HTTP_CLIENT_IP"])) {
$ip = $_SERVER["HTTP_CLIENT_IP"];