403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.217.154
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/inetpub/wwwroot/stirizo/wp-content/plugins/widgetkit-pro/widgets/layout/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/inetpub/wwwroot/stirizo/wp-content/plugins/widgetkit-pro/widgets/layout/smart-toggle.php
<?php
use Elementor\Plugin;

    /**
     * value of the config
     */
    $smart_toggle_primary_title = widgetkit_pro_array_get($settings, 'smart_toggle_primary_title');
    $primary_content_type = widgetkit_pro_array_get($settings, 'primary_content_type');
    $primary_content = ("content"==$primary_content_type) ?  widgetkit_pro_array_get($settings, 'primary_content') : null;
    $primary_saved_template = ("saved_template"==$primary_content_type) ? widgetkit_pro_array_get($settings, 'primary_saved_template') : null;
    
    $smart_toggle_secondary_title = widgetkit_pro_array_get($settings, 'smart_toggle_secondary_title');
    $secondary_content_type = widgetkit_pro_array_get($settings, 'secondary_content_type');
    $secondary_content = ("content"==$secondary_content_type) ? widgetkit_pro_array_get($settings, 'secondary_content') : null;
    $secondary_saved_template = ("saved_template"==$secondary_content_type) ? widgetkit_pro_array_get($settings, 'secondary_saved_template') : null;


?>
<div id="<?php echo $this->get_id(); ?>" class="smart-toggle-content">
    <div class="toggle-wrapper" style="display:flex;">
        <span class="primary-title">
            <?php echo $smart_toggle_primary_title;?>
        </span>
        <div class="toggle">
            <input type="checkbox" class="check">
            <b class="b switch"></b>
            <b class="b track"></b>
        </div>
        <span class="secondary-title">
            <?php echo $smart_toggle_secondary_title;?>
        </span>
    </div>
    <div class="smart-toggle-content-wrapper active-primary">
        <div class="primary-content">
            <?php 
                if (  $primary_content  ) {
                    echo $primary_content;
                }
                if($primary_saved_template){
                    echo Plugin::$instance->frontend->get_builder_content($primary_saved_template, true);
                }
            ?>
        </div>
        <div class="secondary-content">
            <?php 
                if (  $secondary_content  ) {
                    echo $secondary_content;
                }
                if($secondary_saved_template){
                    echo Plugin::$instance->frontend->get_builder_content($secondary_saved_template, true);
                }
            ?>
        </div>
    </div>
    
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit