REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 4.36 KB
Close
//proc/thread-self/root/usr/local/lsws/admin/html/classes/DispInfo.php
Text
Base64
<?php class DispInfo { public $_ctrlUrl ; public $_mid ; public $_pid ; public $_tid ; public $_ref ; public $_act ; public $_token ; public $_tokenInput ; public $_sort ; public $_type ; public $_name ; public $_tabs ; public $_titleLabel ; public $_info ; public $_err ; public function __construct( $url ) { $this->_ctrlUrl = $url ; $has_mid = FALSE ; $has_pid = FALSE ; $this->_mid = $this->_pid = $this->_tid = $this->_ref = NULL ; $this->_mid = DUtil::getGoodVal(DUtil::grab_input("request", 'm')) ; if ( $this->_mid == NULL ) { $this->_mid = 'serv' ; } else { $has_mid = TRUE ; } $pos = strpos($this->_mid, '_') ; if ( $pos > 0 ) { $this->_type = substr($this->_mid, 0, $pos) ; $this->_name = substr($this->_mid, $pos + 1) ; } else { $this->_type = $this->_mid ; $this->_name = NULL ; } $this->_info['mid'] = $this->_name ; $this->_tabs = DPageDef::GetInstance()->GetTabDef($this->_type) ; if ( ! is_array($this->_tabs) ) { die("Invalid pid") ; } $pids = array_keys($this->_tabs) ; if ( $has_mid ) { $this->_pid = DUtil::getGoodVal(DUtil::grab_input("request", 'p')) ; } if ( $this->_pid == NULL ) { // get default $this->_pid = $pids[0] ; } else { if ( ! in_array($this->_pid, $pids) ) die("Invalid pid") ; $has_pid = TRUE ; } if ( $has_pid && ! isset($_REQUEST['t0']) && isset($_REQUEST['t']) ) { $this->_tid = DUtil::getGoodVal($_REQUEST['t']) ; if ( isset($_GET['t1']) && ( DUtil::getLastId($this->_tid) != DUtil::getGoodVal1($_GET['t1']) ) ) $this->_tid .= '`' . $_GET['t1'] ; if ( isset($_REQUEST['r']) ) $this->_ref = DUtil::getGoodVal1($_REQUEST['r']) ; if ( isset($_GET['r1']) ) $this->_ref .= '`' . DUtil::getGoodVal1($_GET['r1']) ; } $this->_act = DUtil::getGoodVal(DUtil::grab_input("request", 'a')) ; if ( $this->_act == NULL ) { $this->_act = 'v' ; } $this->_tokenInput = DUtil::getGoodVal(DUtil::grab_input("request", 'tk')) ; $this->_token = CLIENT::singleton()->getToken() ; if ( isset($_GET['sort']) ) { $sort = DUtil::getGoodVal1($_GET['sort']) ; $pos = strpos($sort, '`') ; $this->_sort[0] = substr($sort, 0, $pos) ; //tbl $this->_sort[1] = substr($sort, $pos + 1, 1) ; //ascend $this->_sort[2] = substr($sort, $pos + 2) ; //key } else { $this->_sort[0] = 0 ; } $this->init() ; } public function init( $serverName = '' ) { $label = 'Error' ; switch ( $this->_type ) { case 'serv': $label = 'Server » ' . $serverName ; break ; case 'sltop': $label = 'Listeners' ; break ; case 'sl': $label = 'Listener » ' . $this->_name ; break ; case 'sl4': $label = 'TCP Listener » ' . $this->_name ; break ; case 'vhtop': $label = 'Virtual Hosts' ; break ; case 'vh': $label = 'Virtual Host » ' . $this->_name ; break ; case 'tptop': $label = 'Virtual Host Templates' ; break ; case 'tp': $label = 'Virtual Host Template » ' . $this->_name ; break ; case 'lbtop': $label = 'Clusters' ; break ; case 'lb': $label = 'Layer 7 Cluster » ' . $this->_name ; break ; case 'lb4': $label = 'Layer 4 Cluster » ' . $this->_name ; break ; case 'ha': $label = 'High Availability' ; break ; case 'admin': $label = 'WebAdmin Console' ; break ; case 'altop': $label = 'WebAdmin Listeners' ; break ; case 'al': $label = 'WebAdmin Listener » ' . $this->_name ; break ; } $this->_titleLabel = $label ; } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 1 × Files: 18
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
ws
DIR
-
drwxr-xr-x
2026-02-26 14:15:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
blowfish.php
25.68 KB
lrw-r--r--
2026-02-26 14:15:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ConfData.php
860 B
lrw-r--r--
2026-02-26 14:15:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ConfigFile.php
13.87 KB
lrw-r--r--
2026-02-26 14:15:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ConfigFileEx.php
4.68 KB
lrw-r--r--
2026-02-26 14:15:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
CustStatusCode.php
2.19 KB
lrw-r--r--
2026-02-26 14:15:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
CValidation.php
26.65 KB
lrw-r--r--
2026-02-26 14:15:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
DAttrBase.php
12.42 KB
lrw-r--r--
2026-02-26 14:15:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
DATTR_HELP.php
773 B
lrw-r--r--
2026-02-26 14:15:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
DATTR_HELP_ITEM.php
2.53 KB
lrw-r--r--
2026-02-26 14:15:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
DFileSect.php
582 B
lrw-r--r--
2026-02-26 14:15:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
DispInfo.php
4.36 KB
lrw-r--r--
2026-02-26 14:15:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
DPage.php
3.75 KB
lrw-r--r--
2026-02-26 14:15:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
DTbl.php
17.52 KB
lrw-r--r--
2026-02-26 14:15:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
DUtil.php
4.22 KB
lrw-r--r--
2026-02-26 14:15:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
GUIBase.php
3.25 KB
lrw-r--r--
2026-02-26 14:15:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
jCryption.php
15.92 KB
lrw-r--r--
2026-02-26 14:15:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
PathTool.php
3.01 KB
lrw-r--r--
2026-02-26 14:15:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
XmlTreeBuilder.php
3.27 KB
lrw-r--r--
2026-02-26 14:15:13
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).