* @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);
| SITE_TOTAL_ID | f7c31f8004480602298ecf4c7a236f01 |
| PHPSESSID | c7a4639af283473a6a6323f1e0a88951 |
| USER | www |
| HOME | /home/www |
| HTTP_COOKIE | SITE_TOTAL_ID=f7c31f8004480602298ecf4c7a236f01; PHPSESSID=c7a4639af283473a6a6323f1e0a88951 |
| HTTP_ACCEPT_ENCODING | gzip |
| HTTP_ACCEPT | */* |
| HTTP_HOST | drsthj.com |
| HTTP_USER_AGENT | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 |
| PATH_INFO | |
| REDIRECT_STATUS | 200 |
| SERVER_NAME | drsthj.com |
| SERVER_PORT | 80 |
| SERVER_ADDR | 172.17.235.78 |
| REMOTE_PORT | 35726 |
| 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.html |
| SCRIPT_NAME | /index.php |
| CONTENT_LENGTH | |
| CONTENT_TYPE | |
| REQUEST_METHOD | GET |
| QUERY_STRING | s=//cases.html |
| SCRIPT_FILENAME | /mnt/www/drsthj.com/public/index.php |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1789583103.3775 |
| REQUEST_TIME | 1789583103 |