$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' => "",
);
guard | c4179be3yZHx49 |
PHPSESSID | 85fr1o3i2inamis8uogtgfe1ua |
USER | www |
HOME | /home/www |
HTTP_X_FORWARDED_FOR | 104.140.79.34 |
HTTP_COOKIE | guard=c4179be3yZHx49; PHPSESSID=85fr1o3i2inamis8uogtgfe1ua |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_ACCEPT | */* |
HTTP_HOST | www.shuanghui.net |
HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | 36.133.45.192 |
SERVER_PORT | 443 |
SERVER_ADDR | 192.168.0.23 |
REMOTE_PORT | 17739 |
REMOTE_ADDR | 10.181.150.82 |
SERVER_SOFTWARE | nginx/1.22.1 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/www.shuanghui.net/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /newslist-27.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/newslist-27.html |
SCRIPT_FILENAME | /www/wwwroot/www.shuanghui.net/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1729920382.7637 |
REQUEST_TIME | 1729920382 |
APPLICATION_VERSION | v1.8.1 |
DS | / |
__MY_HTTP__ | https |
__MY_ROOT__ | |
__MY_ROOT_PUBLIC__ | / |
__MY_HOST__ | www.shuanghui.net |
__MY_URL__ | / |
__MY_PUBLIC_URL__ | / |
__MY_VIEW_URL__ | /newslist-27.html |
ROOT_PATH | /www/wwwroot/www.shuanghui.net/public/ |
ROOT | /www/wwwroot/www.shuanghui.net/ |
APP_PATH | /www/wwwroot/www.shuanghui.net/application/ |
APPLICATION | web |
APPLICATION_CLIENT_TYPE | pc |
IS_AJAX | false |