blocks.php

来自「php 开发的内容管理系统」· PHP 代码 · 共 19 行

PHP
19
字号
<?php
// $Id: blocks.php,v 1.1.1.1 2005/11/10 19:51:18 phppp Exp $
// _LANGCODE: zh-CN
// _CHARSET : gb2312
// Translator: A.D.Horse, http://www.tv-io.com

if (!defined('XOOPS_ROOT_PATH')){ exit(); }

$current_path = __FILE__;
if ( DIRECTORY_SEPARATOR != "/" ) $current_path = str_replace( strpos( $current_path, "\\\\", 2 ) ? "\\\\" : DIRECTORY_SEPARATOR, "/", $current_path);
$url_arr = explode("/",strstr($current_path,"/modules/"));
include XOOPS_ROOT_PATH."/modules/".$url_arr[2]."/include/vars.php";

if(defined($GLOBALS["ART_VAR_PREFIXU"]."_LANG_GB_BLOCKS")) return; 
define($GLOBALS["ART_VAR_PREFIXU"]."_LANG_GB_BLOCKS",1);

define($GLOBALS["ART_VAR_PREFIXU"]."_MB_TYPE", "绫诲瀷");
define($GLOBALS["ART_VAR_PREFIXU"]."_MB_TYPE_TIME", "鍙戝竷鏃堕棿");
define($GLOBALS["ART_VAR_PREFIXU"]."_MB_TYPE_VIEWS", "闃呰

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?