}
$category_setting = $category['setting'];
$new_list = $this->Article_Model->where(['catid' => $catid, 'status' => 1])->order(['listorder', 'inputtime' => 'desc'])->paginate(10,false,[
'type' => 'bootstrapindex',
'var_page' => 'page',
]);
$title = $category_setting['meta_title'] ? $category_setting['meta_title'] : $category['title'];
$description = $category_setting['meta_description'];
$keywords = $category_setting['meta_keywords'];
$seo = seo($catid, $title, $description, $keywords);
$this->assign('seo', $seo);
$this->assign('category', $category);
$this->assign('new_list', $new_list);
/index/news/newlist_html |
PHPSESSID | 0c5op2tfphgp22tn16g4vfi77b |
USER | www |
HOME | /home/www |
SCRIPT_NAME | /index.php |
REQUEST_URI | /index/news/newlist.html |
QUERY_STRING | /index/news/newlist.html |
REQUEST_METHOD | GET |
SERVER_PROTOCOL | HTTP/1.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REDIRECT_QUERY_STRING | /index/news/newlist.html |
REDIRECT_URL | /index/news/newlist.html |
REMOTE_PORT | 41666 |
SCRIPT_FILENAME | /mnt/www/www.henufz.com/public/index.php |
SERVER_ADMIN | webmaster@example.com |
CONTEXT_DOCUMENT_ROOT | /mnt/www/www.henufz.com/public |
CONTEXT_PREFIX | |
REQUEST_SCHEME | http |
DOCUMENT_ROOT | /mnt/www/www.henufz.com/public |
REMOTE_ADDR | 172.121.187.234 |
SERVER_PORT | 80 |
SERVER_ADDR | 172.21.0.4 |
SERVER_NAME | www.henufz.com |
SERVER_SOFTWARE | Apache |
SERVER_SIGNATURE | Apache Server at www.henufz.com Port 80 |
LD_LIBRARY_PATH | /www/server/apache/lib |
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
HTTP_COOKIE | PHPSESSID=0c5op2tfphgp22tn16g4vfi77b |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_ACCEPT | */* |
HTTP_HOST | www.henufz.com |
HTTP_USER_AGENT | Mozilla/5.0 (compatible; MegaIndex.ru/2.0; +http://megaindex.com/crawler) |
proxy-nokeepalive | 1 |
REDIRECT_STATUS | 200 |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1686045889.9075 |
REQUEST_TIME | 1686045889 |
IF_PUBLIC | true |
ROOT_PATH | /mnt/www/www.henufz.com/public/../ |
APP_PATH | /mnt/www/www.henufz.com/public/../application/ |
DS | / |
ADDON_PATH | /mnt/www/www.henufz.com/public/../addons/ |
ROOT_URL | / |
TEMPLATE_PATH | /mnt/www/www.henufz.com/public/../templates/ |
FILTER_VALIDATE_BOOL | 258 |
PINYIN_DEFAULT | 4096 |
PINYIN_TONE | 2 |
PINYIN_NO_TONE | 4 |
PINYIN_ASCII_TONE | 8 |
PINYIN_NAME | 16 |
PINYIN_KEEP_NUMBER | 32 |
PINYIN_KEEP_ENGLISH | 64 |
PINYIN_UMLAUT_V | 128 |
PINYIN_KEEP_PUNCTUATION | 256 |
MODULE_NAME | index |
CONTROLLER_NAME | news |
ACTION_NAME | newlist |
PAGE_URL | /index/news/newlist.html |