2015-07-28 15:15:57 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
/**
|
2016-01-26 14:09:59 +08:00
|
|
|
* @author Zhou Yuyang <1009465756@qq.com> 13:59 2016/1/25
|
2016-01-24 11:54:16 +08:00
|
|
|
* @copyright 2105-2018 SRCMS
|
2015-07-28 15:15:57 +08:00
|
|
|
* @homepage http://www.src.pw
|
2016-01-24 11:54:16 +08:00
|
|
|
* @version 1.5
|
2015-07-28 15:15:57 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
namespace Home\Controller;
|
|
|
|
|
|
|
|
|
|
use Think\Controller;
|
|
|
|
|
|
|
|
|
|
class HallController extends Controller{
|
|
|
|
|
|
2016-01-26 14:09:59 +08:00
|
|
|
public function index()
|
2015-07-28 15:15:57 +08:00
|
|
|
{
|
2016-01-25 14:10:20 +08:00
|
|
|
$xuhao = 1;
|
|
|
|
|
$model = M('member');
|
|
|
|
|
$tmodel= M('setting');
|
|
|
|
|
$title = $tmodel->where('id=1')->select();
|
|
|
|
|
$user = $model->order('jifen ASC')->where('type=1')->select(); // fix bug issued by phith0n 13:59 2016/1/25
|
2016-01-24 11:54:16 +08:00
|
|
|
$this->assign('title', $title);
|
2016-01-25 14:10:20 +08:00
|
|
|
$this ->assign('xuhao',$xuhao);
|
2015-07-28 15:15:57 +08:00
|
|
|
$this->assign('user',getSortedCategory($user));
|
|
|
|
|
$this->display();
|
|
|
|
|
}
|
|
|
|
|
}
|