www.gusucode.com > Magic CMS PHP网站管理系统-政府企业版 v2.2.1源码程序 > magiccms_zq_v2.2.1/src/Module/Product/IndexModule.class.php
<?php /** * Magic CMS 模型列表页 * ============================================================================ * Copyright 2014 大秦科技,并保留所有权利。 * 网站地址: http://www.qintech.net; * ---------------------------------------------------------------------------- * 未获商业授权之前,不得将Magic CMS用于商业用途(包括但不限于企业网站、经营性网站 * 以营利为目的或实现盈利的网站)未经官方许可,禁止在Magic CMS的整体或任何部分基础 * 上以发展任何派生版本、修改版本或第三方版本用于重新分发。如果您未能遵守本协议的 * 条款,您的授权将被终止,所被许可的权利将被收回,并承担相应法律责任。 * ============================================================================ * Date:2014/12/31 **/ if (!defined('APP_PATH'))exit('No direct script access allowed'); class IndexModule extends CommonModule{ public function __construct(){ parent::__construct(); } public function index(){ $result = $this->get_arclist(); $this->assign('fields',$result['content']); $this->assign('site',$result['site']); $this->display($result['tpl'],intval(C('TPL_CACHE_TIME')),C('TPL_CACHE_PATH').TPL_STYLE.'/'.MODULE.'/'.$id); } }