1. global.func.php pages function and listpages function
Add $DT _touch at the beginning of the function, $newsamplepages variable
Global $DT _url, $DT, $L,$DT _touch, $newsamplepages;
function last include Dt_root. ' /api/pages. '. ($DT [' Pages_mode '] && $page < 100)? ' Default ': ' Sample '). PHP '; Change to
if ($newsamplepages) {//No matter what the case is, use simple paging on the phone side
Include Dt_root. ' /api/pages.newsample.php ';
}else{
Include Dt_root. ' /api/pages. '. ($DT [' Pages_mode '] && $page < 100)? ' Default ': ' Sample '). PHP ';
}
2, the API directory under the letter pages.newsample.php file
3. Where new paging styles are required such as User Center list paging
if ($DT _touch) {
$newsamplepages = 1; Simple paging on the mobile side
}
$lists = $do->get_list ($condition, $MOD [' Order ']);
Destoon Modifying the phone-side paging