EXCMS 首页文件
来自站长百科
导航:返回上一页
EXCMS的首页文件为:index.php,用于显示网站的首页。
代码如下[ ]
01 <?
02
03 /**
04 * Project: EXCMS: the PHP content management system.
05 * File: index.php
06 * * A product of SINOICAN Inc.
07 *
08 * EXCMS is a ten million data-level,high speed,human-based content management system.
09 *
10 * EX is Excellence & Express & Exceed & Expert.
11 *
12 * For questions, help, comments, discussion, please join the
13 * EXCMS mailing list. Send a blank e-mail to
14 * excms@sinoican.com
15 * or join the EXCMS forum
16 * www.excms.cn/forum
17 *
18 * @link http://www.excms.cn/
19 * @copyright Copyright (c) 2007-2009 SINOICAN Inc.
20 * @license http://www.excms.cn/licenses/LICENSE-1.0
21 * @category EXCMS
22 * @author $Author: zhangxuelin $
23 * @version $Rev: 15 $
24 */
25
26 /* $Id: index.php 15 2009-10-27 09:31:46Z zhangxuelin $ */
27
28 /**
29 * 网站首页程序
30 */
31
32 //加载系统配置文件
33 require_once ('configuration/inc/common.inc.php');
34
35 //读取首页使用模板
36 $indexTpl = excms_func_getIndexTplCache();
37
38 //输出首页
39 excms_func_templateDisplay($indexTpl['tpl']);
40
41 ?>
代码说明[ ]
主要用于显示网站的首页,其代码部分通过加载标签调用来显示需要的内容。