$this->info = $sys_info;
if (($a=='Index' && $b == 'detail') || ($a=='Index' && $b == 'badetail')){
$id = $this->request->param('id');
$mulu = $this->request->param('mulu');
if ($b == 'detail'){
$info = model('common/Article')->where(['id' => $id])->find();
}else{
$info = model('common/Articlezq')->where(['id' => $id])->find();
}
$title = $info['title'];
$keywords = $info['title'];
$description = str_replace(' ','',strip_tags($info['content']));
if (mb_strlen($description) > 250){
$description = mb_substr($description,0,250).'...';
}
$this->assign('title', $title);
$this->assign('keywords', $keywords);
$this->assign('description', $info['intro'] != '' ? $info['intro'] : $description);
}else{
USER | www |
HOME | /home/www |
HTTP_REFERER | http://www.qqqmw.com/baojitiantiankuaisan/dd56d1.html |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_HOST | www.qqqmw.com |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | qqqmw.com |
SERVER_PORT | 443 |
SERVER_ADDR | 172.19.16.16 |
REMOTE_PORT | 35278 |
REMOTE_ADDR | 34.204.177.148 |
SERVER_SOFTWARE | nginx/1.21.4 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/2.0 |
DOCUMENT_ROOT | /www/webroot/www.zhanqun659.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /baojitiantiankuaisan/dd56d1.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/baojitiantiankuaisan/dd56d1.html |
SCRIPT_FILENAME | /www/webroot/www.zhanqun659.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711652113.3908 |
REQUEST_TIME | 1711652113 |
ROOT_PATH | /www/webroot/www.zhanqun659.com/public/../ |
APP_PATH | /www/webroot/www.zhanqun659.com/public/../application/ |
PUBLIC_PATH | /www/webroot/www.zhanqun659.com/public/../public/ |
EXTEND_PATH | /www/webroot/www.zhanqun659.com/public/../extend/ |
DS | / |
FILTER_VALIDATE_BOOL | 258 |