⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.74
Server IP:
104.21.96.1
Server:
Linux vmi2315822.contaboserver.net 5.15.0-134-generic #145-Ubuntu SMP Wed Feb 12 20:08:39 UTC 2025 x86_64
Server Software:
LiteSpeed
PHP Version:
8.3.21
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
local
/
lsws
/
admin
/
html
/
lib
/
View File Name :
DAttrHelp.php
<?php class DAttrHelp { 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; if ($tips) { $this->tips = str_replace('<br>', '<br/>', $tips); } $this->syntax = $syntax; $this->example = $example; } public function Render($blocked_version = 0) { $buf = '<a href="javascript:void(0);" rel="popover" data-placement="right" data-original-title="<i class=\'fa fa-fw fa-tag\'></i> <strong>' . $this->name . '</strong>" data-html="true" data-content=\'<div>'; switch ($blocked_version) { case 0: break; case 1: // LSWS ENTERPRISE; $buf .= ' <i>' . DMsg::UIStr('note_entfeature') . '</i>'; break; case 2: // LSWS 2CPU + case 3: // LSLB 2CPU + $buf .= ' <i>' . DMsg::UIStr('note_multicpufeature') . '</i>'; break; } $buf .= $this->desc . '<br><br>'; if ($this->syntax) { $buf .= '<div class="popover-mono"><strong>' . DMsg::UIStr('note_syntax') . ':</strong> ' . $this->syntax . '</div><br>'; } if ($this->example) { $buf .= '<div class="popover-mono"><strong>' . DMsg::UIStr('note_example') . ':</strong> ' . $this->example . '</div><br>'; } if ($this->tips) { $buf .= '<strong>' . DMsg::UIStr('note_tips') . ':</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>\'><i class="icon-prepend fa fa-question-circle text-muted"></i></a>'; return $buf; } }