CI 分页 bootstrap样式
来源:互联网 发布:淘宝网汽车坐垫套全包 编辑:程序博客网 时间:2024/04/29 17:25
codeigniter pagination bootstrap style
//通用的配置文件,pagination.php 自动加载<?php$config['per_page']=10;$config['full_tag_open'] = '<ul class="pagination">';$config['full_tag_close'] = '</ul>';$config['prev_link'] = '上页';$config['next_link'] = '下页';$config['prev_tag_open'] = '<li>';$config['prev_tag_close'] = '</li>';$config['next_tag_open'] = '<li>';$config['next_tag_close'] = '</li>';$config['num_tag_open'] = '<li>';$config['num_tag_close'] = '</li>';$config['cur_tag_open'] = '<li class="active"><a href="#">';$config['cur_tag_close'] = '</a></li>';?>//Controller$config['base_url'] = base_url().'user/index';$config['per_page'] = 10; $config['uri_segment'] = 3;$limit = $this->uri->segment(3,0);$config['total_rows'] = count(get_list());$list = get_list($config['per_page'],$limit);$this->pagination->initialize($config);//view<div style="float:right;margin:-20px 3px 0 0"><?php echo $this->pagination->create_links();?></div>
0 0
- CI 分页 bootstrap样式
- bootstrap分页样式
- Yii 分页CLinkPager使用Bootstrap样式分页
- CI 漂亮的分页样式(页码样式)
- CI 漂亮的分页样式(页码样式)
- thinkphp内置分页样式与Bootstrap分页样式整合
- dede分页样式修改(支持bootstrap分页样式)
- tp自带分页类样式转Bootstrap分页样式
- tp自带分页类样式转Bootstrap分页样式
- 学习笔记之bootstrap+thinkphp分页样式
- jquery 结合bootstrap样式的前端分页
- ASP.NET GridView的Bootstrap分页样式
- [thinkphp] page类整合bootstrap分页样式
- ASP.NET GridView的Bootstrap分页样式
- bootstrap下拉分页样式 带跳转页码
- ci分页
- CI 分页
- CI分页
- N-Queens I,II, Trapping Rain Water
- Ember Data- Get a Model in the Console
- iOS开发——设计模式那点事
- 1-4 闭包
- c++———静态变量static
- CI 分页 bootstrap样式
- BI系统的应用组织思路与数据分析模式
- R语言:SMOTE - Supersampling Rare Events in R:用R对非平衡数据的处理方法
- Java反射
- Android 网络通信框架Volley简介(Google IO 2013)
- Linux中“is not in the sudoers file”解决方法
- 从ResultSet中得到结果集的总行数几种方法比较
- jQuery插件教程
- Sping三种注入方式