https://t.me/AnonymousX5
Server : Apache
System : Linux ls31.server.ly 3.10.0-962.3.2.lve1.5.68.el7.x86_64 #1 SMP Wed Apr 6 11:12:23 UTC 2022 x86_64
User : medchoco ( 2906)
PHP Version : 8.3.16
Disable Function : mail
Directory :  /home/medchoco/www/wp-content/themes/puca/vc_templates/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/medchoco/www/wp-content/themes/puca/vc_templates/tbay_featurebanner.php
<?php

$el_class = $css = $css_animation = '';
$atts = vc_map_get_attributes( $this->getShortcode(), $atts );
extract( $atts );

$css = isset( $atts['css'] ) ? $atts['css'] : '';
$el_class = isset( $atts['el_class'] ) ? $atts['el_class'] : '';

$class_to_filter  = 'widget feature-banner clearfix ';
$class_to_filter .= vc_shortcode_custom_css_class( $css, ' ' ) . $this->getExtraClass( $el_class ) . $this->getCSSAnimation( $css_animation );
$css_class        = apply_filters( VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, $class_to_filter, $this->settings['base'], $atts );

?>
<div class="<?php echo esc_attr($css_class); ?>">
    <?php for ($i=1; $i <= 5; $i++):
        $title = isset($atts['title'.$i]) ? $atts['title'.$i] : '';
        $image = isset($atts['photo'.$i]) ? $atts['photo'.$i] : '';
        $information = isset($atts['information'.$i]) ? $atts['information'.$i] : '';
        $link = isset($atts['link'.$i]) ? $atts['link'.$i] : '';

        $img = wp_get_attachment_image_src($image,'full');
    ?>
        
        <div class="col-lg-cus-5 p-relative feature-banner-inner">
            <div class="banner-static">
                <?php if($title!=''): ?>
                    <h3 class="widget-title">
                       <span><?php echo esc_html( $title ); ?></span>
                    </h3>
                <?php endif; ?>

            	<?php if (isset($img[0]) && $img[0]) { ?>
                	<div class="feature-image">
                        <img src="<?php echo esc_url($img[0]); ?>" alt="<?php echo esc_attr($title); ?>">
                	</div>
            	<?php } ?>
            </div>
            <div class="banner-body">  
                <div class="p-relative">
                    <div class="content">
                    <div class="fbox-body">                            
                        <h3 class="widget-title"><?php echo esc_html($title); ?></h3>                      
                    </div>
                    <?php if (trim($information)!='') { ?>
                        <p class="description"><?php echo trim( $information );?></p>  
                    <?php } ?>
                    <?php if ( !empty($link) ){ ?>
                        <a href="<?php echo esc_url($link); ?>"><?php esc_html_e( 'Learn More', 'puca' );?><i class="fa fa-arrow-right"></i></a>  
                    <?php } ?>
                    </div>
                </div>
            </div>      
        </div>
    <?php endfor; ?>
</div>

https://t.me/AnonymousX5 - 2025