SRCMS V2 开发版

唯一的改变就是万变,重新定义安全应急响应中心。
This commit is contained in:
Martin Zhou
2017-02-03 12:32:57 +08:00
parent 0ad6b00156
commit 684da35950
505 changed files with 88079 additions and 3292 deletions

View File

@@ -1,12 +1,13 @@
<?php
/**
* @Author: Zhou Yuyang <1009465756@qq.com> 10:28 2016/12/03
* @Author: Zhou Yuyang <1009465756@qq.com> 10:28 2017/02/02
* @Copyright 2015-2020 SISMO
* @Project homepage https://github.com/CNSISMO
* @Version 1.8
* @Version 2.0
*/
namespace Home\Controller;
use Think\Controller;
@@ -16,10 +17,13 @@ class IndexController extends Controller{
public function index(){
$model = M('hall');
$tmodel= M('setting');
$amodel = M('page');
$title = $tmodel->where('id=1')->select();
$hall = $model->order('id DESC')->select();
$advisories = $amodel -> select();
$this->assign('model', $hall);
$this->assign('title', $title);
$this->assign('advisories', $advisories);
$this->display();
}
}