$params['time_start'] = date("Y-m-d",$time['begin']);
$params['time_end'] = date("Y-m-d",$time['end']);
}
$where = ArticleService::ArticleListWhere($params);
// 获取总数
$total = ArticleService::ArticleTotal($where);
// 分页
$params['page'] = input('page');
//栏目树
$catelist = ArticleService::ArticleCategoryAllbypid(['pid'=>$pcate['id']]);
$this->assign('catelist', $catelist);
$page_params = array(
'number' => $number,
'total' => $total,
'where' => $params,
'page' => isset($params['page']) ? intval($params['page']) : 1,
// 'url' => "",
);
USER | www |
HOME | /home/www |
HTTP_X_MICROSOFTAJAX | Delta=true |
HTTP_USER_AGENT | Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2) |
HTTP_CONTENT_TYPE | application/x-www-form-urlencoded; charset=utf-8 |
HTTP_CACHE_CONTROL | no-cache |
HTTP_ACCEPT_LANGUAGE | en-US,en;q=0.5 |
HTTP_ACCEPT_ENCODING | gzip, deflate |
HTTP_ACCEPT | text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 |
HTTP_X_APPLE_STORE_FRONT | 143444,12 |
HTTP_X_APPLE_TZ | 0 |
HTTP_REFERER | https://www.baidu.com/search/spider.htm |
HTTP_HOST | www.ryxkjx.com |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.ryxkjx.com |
SERVER_PORT | 80 |
SERVER_ADDR | 192.168.0.114 |
REMOTE_PORT | 55790 |
REMOTE_ADDR | 45.41.83.2 |
SERVER_SOFTWARE | nginx/1.22.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/www.ryxkjx.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /newslist-27.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | application/x-www-form-urlencoded; charset=utf-8 |
REQUEST_METHOD | GET |
QUERY_STRING | s=/newslist-27.html |
SCRIPT_FILENAME | /www/wwwroot/www.ryxkjx.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1728288042.4792 |
REQUEST_TIME | 1728288042 |
APPLICATION_VERSION | v1.8.1 |
DS | / |
__MY_HTTP__ | http |
__MY_ROOT__ | |
__MY_ROOT_PUBLIC__ | / |
__MY_HOST__ | www.ryxkjx.com |
__MY_URL__ | https://www.ryxkjx.com/ |
__MY_PUBLIC_URL__ | https://www.ryxkjx.com/ |
__MY_VIEW_URL__ | https://www.ryxkjx.com/newslist-27.html |
ROOT_PATH | /www/wwwroot/www.ryxkjx.com/public/ |
ROOT | /www/wwwroot/www.ryxkjx.com/ |
APP_PATH | /www/wwwroot/www.ryxkjx.com/application/ |
APPLICATION | web |
APPLICATION_CLIENT_TYPE | pc |
IS_AJAX | false |