REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 2.53 KB
Close
/proc/thread-self/root/proc/thread-self/root/usr/local/lsws/admin/html/classes/DATTR_HELP_ITEM.php
Text
Base64
<?php class DATTR_HELP_ITEM { private $name; private $desc; private $tips; private $syntax; private $example; function __construct($name, $desc, $tips = NULL, $syntax = NULL, $example = NULL) { $this->name = $name; $this->desc = $desc; $this->tips = str_replace('<br>', '<br/>', $tips); $this->syntax = $syntax; $this->example = $example; } function render($key, $blocked_reason='') { $key = str_replace(array(':','_'), '', $key ); $buf = '<img class="xtip-hover-' . $key . '" src="/static/images/icons/help.png">' . '<div id="xtip-note-' . $key . '" class="snp-mouseoffset notedefault"><b>' . $this->name . '</b>' ; if ($blocked_reason) { $buf .= " <i>$blocked_reason</i>"; } $buf .= '<hr size=1 color=black>' . $this->desc . '<br><br>'; if ($this->syntax) { $buf .= '<strong>Syntax:</strong> ' . $this->syntax . '<br><br>'; } if ($this->example) { $buf .= '<strong>Example:</strong> ' . $this->example . '<br><br>'; } if ($this->tips) { $buf .= '<strong>Tip(s):</strong><ul type=circle>'; $tips = explode('<br/>', $this->tips); foreach($tips as $ti) { $ti = trim($ti); if ($ti != '') $buf .= '<li>' . $ti . '</li>'; } $buf .= '</ul>'; } $buf .= '</div>'; return $buf; } function render0($key, $blocked_version=0) { $key = str_replace(array(':','_'), '', $key ); $buf = '<img class="xtip-hover-' . $key . '" src="/static/images/icons/help.png">' . '<div id="xtip-note-' . $key . '" class="snp-mouseoffset notedefault"><b>' . $this->name . '</b>' ; switch ($blocked_version) { case 0: break; case 1: // LSWS ENTERPRISE; $buf .= ' <i>This feature is available in Enterprise Edition</i>'; break; case 2: // LSWS 2CPU + case 3: // LSLB 2CPU + $buf .= ' <i>This feature is available for Multiple-CPU license</i>'; break; //case 4: // NCPU // $buf .= ' <i>This feature is available for Unlimited-CPU license</i>'; // break; } $buf .= '<hr size=1 color=black>' . $this->desc . '<br><br>'; if ($this->syntax) { $buf .= '<strong>Syntax:</strong> ' . $this->syntax . '<br><br>'; } if ($this->example) { $buf .= '<strong>Example:</strong> ' . $this->example . '<br><br>'; } if ($this->tips) { $buf .= '<strong>Tip(s):</strong><ul type=circle>'; $tips = explode('<br/>', $this->tips); foreach($tips as $ti) { $ti = trim($ti); if ($ti != '') $buf .= '<li>' . $ti . '</li>'; } $buf .= '</ul>'; } $buf .= '</div>'; return $buf; } }
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).