* @param int** @return array*/public function get_pos($myid, $pid = 0){$this->arrt = null;$this->recur_n($this->arr, $myid, $pid);return array_reverse($this->arrt);}private function recur_n($arr, $tid, $pid){foreach ($arr as $v) {if ($v['id'] == $tid) {$this->arrt[] = $v;if ($v['pid'] != $pid) {$this->recur_n($arr, $v['pid'], $pid);
| PHPSESSID | 0b766f3cec7804fabcf2e1ab504f3fda |
| SITE_TOTAL_ID | c6fac8a050ea9c9b565af8e8509a62e2 |
| USER | www |
| HOME | /home/www |
| HTTP_COOKIE | PHPSESSID=0b766f3cec7804fabcf2e1ab504f3fda; SITE_TOTAL_ID=c6fac8a050ea9c9b565af8e8509a62e2 |
| HTTP_ACCEPT_ENCODING | gzip |
| HTTP_ACCEPT | */* |
| HTTP_HOST | drsthj.com |
| HTTP_USER_AGENT | Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.7922.137 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) |
| PATH_INFO | |
| REDIRECT_STATUS | 200 |
| SERVER_NAME | drsthj.com |
| SERVER_PORT | 80 |
| SERVER_ADDR | 172.17.235.78 |
| REMOTE_PORT | 36146 |
| REMOTE_ADDR | 172.121.102.250 |
| SERVER_SOFTWARE | nginx/1.22.0 |
| GATEWAY_INTERFACE | CGI/1.1 |
| REQUEST_SCHEME | http |
| SERVER_PROTOCOL | HTTP/1.1 |
| DOCUMENT_ROOT | /mnt/www/drsthj.com/public |
| DOCUMENT_URI | /index.php |
| REQUEST_URI | /cases/15_67.html |
| SCRIPT_NAME | /index.php |
| CONTENT_LENGTH | |
| CONTENT_TYPE | |
| REQUEST_METHOD | GET |
| QUERY_STRING | s=//cases/15_67.html |
| SCRIPT_FILENAME | /mnt/www/drsthj.com/public/index.php |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1786917976.4753 |
| REQUEST_TIME | 1786917976 |