| Server IP : 2.57.91.229 / Your IP : 216.73.216.240 Web Server : LiteSpeed System : Linux in-mum-web1677.main-hosting.eu 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64 User : u635632881 ( 635632881) PHP Version : 8.2.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/usr/local/lsws/admin/html.6.0.11/classes/ |
Upload File : |
<?php
class DATTR_HELP
{
private $db;
private $edb;
private function __construct()
{
$this->init();
}
public static function GetInstance()
{
if ( !isset($GLOBALS['_DATTR_HELP_']) )
$GLOBALS['_DATTR_HELP_'] = new DATTR_HELP();
return $GLOBALS['_DATTR_HELP_'];
}
public function GetItem($label)
{
if (isset($this->db[$label]))
return $this->db[$label];
else
return NULL;
}
public function GetEditTip($labels)
{
$tips = array();
foreach ($labels as $label) {
if (isset($this->edb[$label]))
$tips = array_merge($tips, $this->edb[$label]);
}
return $tips;
}
private function init() {
// add other customized items here
include 'DATTR_HELP_inc.php';
}
}