123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?php
- /**
- * 小梦科技资源nanodreamtech.com
- *
- * ==========================================================================
- * @link https://www.nanodreamtech.com/
- * @copyright Copyright (c) 2015 liofis.com.
- * @license https://www.nanodreamtech.com/license.html License
- * ==========================================================================
- *
- * @author fish
- *
- */
- namespace Admin\Model;
- class UserActionModel{
- public function show_user_action_page(){
-
- $count=M('user_action')->count();
- $Page = new \Think\Page($count,C('BACK_PAGE_NUM'));
- $show = $Page->show();// 分页显示输出
-
- $list = M('user_action')->order('ua_id desc')->limit($Page->firstRow.','.$Page->listRows)->select();
-
- return array(
- 'empty'=>'<tr><td colspan="20">~~暂无数据</td></tr>',
- 'list'=>$list,
- 'page'=>$show
- );
-
- }
-
-
-
-
-
-
- }
- ?>
|