403Webshell
Server IP : 46.105.57.169  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux webm002.cluster120.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : verseaumee ( 152031)
PHP Version : 8.5.7
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/verseaumee/zenit/components/com_sppagebuilder/layouts/addon/css/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/verseaumee/zenit/components/com_sppagebuilder/layouts/addon/css/selector.php
<?php
/**
 * @package SP Page Builder
 * @author JoomShaper http://www.joomshaper.com
 * @copyright Copyright (c) 2010 - 2021 JoomShaper
 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or later
*/
//no direct accees
defined ('_JEXEC') or die ('Restricted access');

$addon_id = $displayData['addon_id'];
$selector = (isset($displayData['selector']) && $displayData['selector']) ? $displayData['selector'] : '';
$options = $displayData['options'];

$output = '';
if(count((array) $options)) {
  foreach ($options as $option) {
    if(is_array($option)) {
      // Font
      if(isset($option['type']) && $option['type']) {
        $type = $option['type'];
        if($type == 'font') {
          $font = $option['font'];

          $system = array(
            'Arial',
            'Tahoma',
            'Verdana',
            'Helvetica',
            'Times New Roman',
            'Trebuchet MS',
            'Georgia'
          );

          if(!in_array($font, $system)) {
            $google_font = '//fonts.googleapis.com/css?family=' . str_replace(' ', '+', $option['font']) . ':100,100italic,200,200italic,300,300italic,400,400italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic&display=swap';
            JFactory::getDocument()->addStylesheet($google_font);
          }

          if($selector) {
            $output .= $addon_id . ' ' . $selector . $option['css'] . "\n";
          } else {
            $output .= $addon_id . ' ' . $option['css'] . "\n";
          }

        }
      } else {

      }
    }
  }
}

echo $output;

Youez - 2016 - github.com/yon3zu
LinuXploit