$where=[];$where[]=['catid','=',$this->catid];$where[]=['id','<>',$this->id];if($this->r['newstime']){$where[]=['newstime','>=',$this->r['newstime']];}$data=Db::name($this->tableName)->where($where)->field("title,id,catid")->order('newstime asc,id asc')->find();if($data){$titleurl=titleurl($data);$link="".$data[title]."";}else{$link="没有了";}return $link;}//获取点击数public function getClick(){echo "document.write('".$this->r["views"]."');";exit;}
| think_lang | zh-cn |
| USER | www |
| HOME | /home/www |
| HTTP_COOKIE | think_lang=zh-cn |
| HTTP_ACCEPT_ENCODING | gzip |
| HTTP_ACCEPT | */* |
| HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| HTTP_CONNECTION | close |
| HTTP_X_FORWARDED_FOR | 107.158.248.138 |
| HTTP_HOST | www.pncs.cn |
| HTTP_REMOTEIP | 107.158.248.138 |
| PATH_INFO | |
| REDIRECT_STATUS | 200 |
| SERVER_NAME | www.pncs.cn |
| SERVER_PORT | 80 |
| SERVER_ADDR | 10.100.1.82 |
| REMOTE_PORT | |
| REMOTE_ADDR | 107.158.248.138 |
| SERVER_SOFTWARE | nginx/1.24.0 |
| GATEWAY_INTERFACE | CGI/1.1 |
| REQUEST_SCHEME | http |
| SERVER_PROTOCOL | HTTP/1.1 |
| DOCUMENT_ROOT | /www/wwwroot/www.pncs.cn/public |
| DOCUMENT_URI | /index.php |
| REQUEST_URI | /join-us/carres/2.html |
| SCRIPT_NAME | /index.php |
| CONTENT_LENGTH | |
| CONTENT_TYPE | |
| REQUEST_METHOD | GET |
| QUERY_STRING | s=/join-us/carres/2.html |
| SCRIPT_FILENAME | /www/wwwroot/www.pncs.cn/public/index.php |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1793842215.5238 |
| REQUEST_TIME | 1793842215 |