Home > Backend Development > PHP Tutorial > Add question bank column to php6.0 homepage

Add question bank column to php6.0 homepage

不言
Release: 2023-03-25 15:44:01
Original
1984 people have browsed it

This article mainly introduces the question bank column added to the homepage of php6.0, which has a certain reference value. Now I share it with everyone. Friends in need can refer to it

1. Modify the codes of index.php and product.php to be the same

<?php
# MetInfo Enterprise Content Management System
# Copyright (C) MetInfo Co.,Ltd (http://www.metinfo.cn). All rights reserved.

define(&#39;M_NAME&#39;, &#39;product&#39;);
define(&#39;M_MODULE&#39;, &#39;web&#39;);
define(&#39;M_CLASS&#39;, &#39;product&#39;);
define(&#39;M_ACTION&#39;, &#39;doproduct_examination&#39;);
require_once &#39;../app/system/entrance.php&#39;;

# This program is an open source system, commercial use, please consciously to purchase commercial license.
# Copyright (C) MetInfo Co., Ltd. (http://www.metinfo.cn). All rights reserved.
?>
Copy after login

define('M_ACTION', 'doproduct_examination');

Path: \app\system \product\web product.class.php



##

	//新增 题库试卷列表网页
	public function doproduct_examination(){
		global $_M;

		require_once $this->template(&#39;tem/product_examination&#39;);
	}
Copy after login
require_once $this->template('tem/product_examination' );

Template path:\templates\metv6 product_examination.php

Related recommendations:

New features from PHP5.5 to PHP7.2


The above is the detailed content of Add question bank column to php6.0 homepage. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template