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/banner.php
<?php
/**
 * Templates Name: Elementor
 * Widget: Banner
 */

$settings = $this->get_settings_for_display();

// Link settings.
if ($settings['link'] && $settings['link']['url']) {
    $this->add_render_attribute('wrapper', 'class', 'cursor-pointer');
}
if (isset($settings['link']['is_external']) && 'on' === $settings['link']['is_external']) {
    $onclick = 'window.open(\'' . esc_url($settings['link']['url']) . '\',\'_blank\')';
} else {
    $onclick = 'window.location.href=\'' . esc_url($settings['link']['url']) . '\'';
}

?>
<div <?php echo $this->get_render_attribute_string('wrapper'); ?> <?php echo (! hara_elementor_is_edit_mode() && $settings['link']['url']) ? 'onclick="' . esc_attr($onclick) . '"' : ''; ?>>
    <?php $this->render_item_image(); ?>
    <?php $this->render_item_content(); ?>
</div>

c0oded By c0rpz