0xsec Shell
0xSec


Server : LiteSpeed
System : Linux webbox1.ncrdns.net 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64
User : rahcos ( 1533)
PHP Version : 8.4.23
Disable Function : NONE
Directory :  /home/rahcos/.trash/wp-content/themes/hara/elementor_templates/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/rahcos/.trash/wp-content/themes/hara/elementor_templates/product-tabs.php
<?php
/**
 * Templates Name: Elementor
 * Widget: Products Tabs
 */

extract($settings);

$this->settings_layout();
 
$_id = hara_tbay_random_key();

if ($ajax_tabs === 'yes') {
    $this->add_render_attribute('row', 'class', ['products']);
    $attr_row = $this->get_render_attribute_string('row'); 

    $json = array(
        'categories'            => $categories,
        'cat_operator'          => $cat_operator,
        'limit'                 => $limit,
        'orderby'               => $orderby,
        'order'                 => $order,
        'product_style'         => $product_style,
        'attr_row'              => $attr_row,
    );

    $encoded_settings  = wp_json_encode( $json ); 

    $tabs_data = 'data-atts="'. esc_attr( $encoded_settings ) .'"';

    $this->add_render_attribute('wrapper', 'class', 'ajax-active'); 
} else {
    $tabs_data = ''; 
}
?>

<div <?php echo $this->get_render_attribute_string('wrapper'); ?>>
    
    <div class="wrapper-heading-tab">
        <?php $this->render_element_heading(); ?>
        <ul class="product-tabs-title tabs-list nav nav-tabs" <?php echo trim($tabs_data); ?>>
            <?php $_count = 0;?>
                <?php foreach ($list_product_tabs as $key) {
                    $active = ($_count==0)? 'active':'';

                    $product_tabs = $key['product_tabs'];
                    $title = $this->get_title_product_type($product_tabs);
                    if (!empty($key['product_tabs_title'])) {
                        $title = $key['product_tabs_title'];
                    }
                    $this->render_product_tabs($product_tabs, $key['_id'], $_id, $title, $active);
                    $_count++;
                }
            ?>
        </ul>
    </div>
    
    <?php $this->render_product_tabs_content($list_product_tabs, $_id); ?>

</div>

c0oded By c0rpz