题库栏目"/>
c6.0aw.co index.php,php6.0首页增加题库栏目
这篇文章主要介绍了关于php6.0 首页增加题库栏目 ,有着一定的参考价值,现在分享给大家,有需要的朋友可以参考一下
1、修改 index.php和product.php 两个代码都一样子<?php
# MetInfo Enterprise Content Management System
# Copyright (C) MetInfo Co.,Ltd (). All rights reserved.
define('M_NAME', 'product');
define('M_MODULE', 'web');
define('M_CLASS', 'product');
define('M_ACTION', 'doproduct_examination');
require_once '../app/system/entrance.php';
# This program is an open source system, commercial use, please consciously to purchase commercial license.
# Copyright (C) MetInfo Co., Ltd. (). All rights reserved.
?>
define('M_ACTION', 'doproduct_examination');
路径:\app\system\product\web product.class.php
//新增 题库试卷列表网页
public function doproduct_examination(){
global $_M;
require_once $this->template('tem/product_examination');
}
require_once $this->template('tem/product_examination');
模板路径:\templates\metv6 product_examination.php
相关推荐:
PHP5.5到PHP7.2新特性整理
更多推荐
c6.0aw.co index.php,php6.0首页增加题库栏目
发布评论