* @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 | f88c9ba9c8c300cd0616cb3ce8e1eebe |
| PHPSESSID | 428dc9551ffed3ca5ad3e2b1337451ed |
| USER | www |
| HOME | /home/www |
| HTTP_COOKIE | SITE_TOTAL_ID=f88c9ba9c8c300cd0616cb3ce8e1eebe; PHPSESSID=428dc9551ffed3ca5ad3e2b1337451ed |
| HTTP_ACCEPT_ENCODING | gzip |
| HTTP_ACCEPT | */* |
| HTTP_HOST | drsthj.com |
| HTTP_USER_AGENT | Mozilla/5.0 (compatible; SemrushBot/7~bl; +http://www.semrush.com/bot.html) |
| PATH_INFO | |
| REDIRECT_STATUS | 200 |
| SERVER_NAME | drsthj.com |
| SERVER_PORT | 80 |
| SERVER_ADDR | 172.17.235.78 |
| REMOTE_PORT | 58980 |
| 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 | 1788283656.3438 |
| REQUEST_TIME | 1788283656 |