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

defined('IN_MET') or exit('No permission');

load::sys_class('web');

class index extends web
{
    public function __construct()
    {
        global $_M;
        parent::__construct();
    }

    public function doindex()
    {
        global $_M;
        $this->add_input('class1', 10001);
        $this->add_input('classnow', 10001);
        $_M['url']['site'] = '';//首页使用相对路径
        load::mod_class('user/user_url', 'new')->insert_m(); //首页重新给会员链接赋值

        $_M['config']['met_weburl'] = '';
        $title = $_M['config']['met_hometitle'] ? $_M['config']['met_hometitle'] : $_M['config']['met_webname'] . '-' . $_M['config']['met_keywords'];
        $this->seo();
        $this->seo_title($title);

        $this->view('index', $this->input);
    }
}

# 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.
?>
