SRCMS
SRCMS(轻响应)企业应急响应中心开发框架模版
This commit is contained in:
18
Application/Admin/Controller/IndexController.class.php
Normal file
18
Application/Admin/Controller/IndexController.class.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
namespace Admin\Controller;
|
||||
use Admin\Controller;
|
||||
|
||||
class IndexController extends BaseController{
|
||||
|
||||
public function index(){
|
||||
$page = M('page')->count();
|
||||
$user = M('member')->count();
|
||||
$post = M('post')->count();
|
||||
$links = M('links')->count();
|
||||
$this->assign('page',$page);
|
||||
$this->assign('user',$user);
|
||||
$this->assign('post',$post);
|
||||
$this->assign('links',$links);
|
||||
$this->display();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user