Files
SRCMS/Application/Admin/Controller/IndexController.class.php
martinzhou2015 c1dc9cf28e SRCMS
SRCMS(轻响应)企业应急响应中心开发框架模版
2015-07-28 15:15:57 +08:00

19 lines
423 B
PHP

<?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();
}
}