c6.0aw.co index.php,php6.0首页增加题库栏目

编程入门 行业动态 更新时间:2024-10-21 10:13:32

c6.0aw.co index.php,php6.0首页增加<a href=https://www.elefans.com/category/jswz/34/1762675.html style=题库栏目"/>

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首页增加题库栏目

本文发布于:2024-02-26 17:41:09,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1703349.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:题库   首页   栏目   aw   index

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!