403Webshell
Server IP : 68.178.247.200  /  Your IP : 216.73.217.50
Web Server : Apache
System : Linux p3plzcpnl489463.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User : x9dppmxs4rgd ( 8559391)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/x9dppmxs4rgd/www/wp-content/themes/grace-church/templates/trx_testimonials/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/x9dppmxs4rgd/www/wp-content/themes/grace-church/templates/trx_testimonials/testimonials-1.php
<?php

// Disable direct call
if ( ! defined( 'ABSPATH' ) ) { exit; }


/* Theme setup section
-------------------------------------------------------------------- */

if ( !function_exists( 'grace_church_template_testimonials_1_theme_setup' ) ) {
	add_action( 'grace_church_action_before_init_theme', 'grace_church_template_testimonials_1_theme_setup', 1 );
	function grace_church_template_testimonials_1_theme_setup() {
		grace_church_add_template(array(
			'layout' => 'testimonials-1',
			'template' => 'testimonials-1',
			'mode'   => 'testimonials',
			/*'container_classes' => 'sc_slider_nopagination sc_slider_controls sc_slider_controls_side',*/
			'title'  => esc_html__('Testimonials /Style 1/', 'grace-church'),
			'thumb_title'  => esc_html__('Avatar (small)', 'grace-church'),
			'w'		 => 75,
			'h'		 => 75
		));
	}
}

// Template output
if ( !function_exists( 'grace_church_template_testimonials_1_output' ) ) {
	function grace_church_template_testimonials_1_output($post_options, $post_data) {
		$show_title = true;
		$parts = explode('_', $post_options['layout']);
		$style = $parts[0];

        global $GRACE_CHURCH_GLOBALS;
        $title = $GRACE_CHURCH_GLOBALS['title_testimonials_1'];

		$columns = max(1, min(12, empty($parts[1]) ? (!empty($post_options['columns_count']) ? $post_options['columns_count'] : 1) : (int) $parts[1]));
		if (grace_church_param_is_on($post_options['slider'])) {
			?><div class="swiper-slide" data-style="<?php echo esc_attr($post_options['tag_css_wh']); ?>" style="<?php echo esc_attr($post_options['tag_css_wh']); ?>"><?php
		} else if ($columns > 1) {
			?><div class="column-1_<?php echo esc_attr($columns); ?> column_padding_bottom"><?php
		}
		?>
			<div<?php echo ($post_options['tag_id'] ? ' id="'.esc_attr($post_options['tag_id']).'"' : ''); ?> class="sc_testimonial_item<?php echo (!empty($post_options['tag_class']) ? ' '.esc_attr($post_options['tag_class']) : ''); ?>"<?php echo ($post_options['tag_css'] ? ' style="'.esc_attr($post_options['tag_css']).'"' : '');?>>

            <?php do_shortcode('[trx_content]')  ?>

                <div class="testimonials_left_area">
                    <?php echo do_shortcode('[trx_title type="6" style="divider" color="#ffffff" align="left"]' . (!empty($title) ? esc_attr($title) : esc_html__('Testimonials', 'grace-church')) . '[/trx_title]')  ?>
                    <?php if ($post_options['photo']) { ?>
                        <div class="sc_testimonial_avatar"><?php echo trim($post_options['photo']); ?></div>
                    <?php } ?>
                </div>
                <div class="testimonials_right_area">
                    <div class="sc_testimonial_content"><?php echo trim($post_data['post_content']); ?></div>
                            <?php if ($post_options['author']) { ?>
                            <div class="sc_testimonial_author"><?php
                                echo ($post_options['link']
                                        ? '<a href="'.esc_url($post_options['link']).'" class="sc_testimonial_author_name">'.($post_options['author']).'</a>'
                                        : '<span class="sc_testimonial_author_name">'.($post_options['author']).'</span>')
                                    . ($post_options['position']
                                        ? '<span class="sc_testimonial_author_position">'.($post_options['position']).'</span>'
                                        : ''); ?></div>
                            <?php } ?>
                </div>

                <?php do_shortcode('[/trx_content]')  ?>

            </div>
		<?php
		if (grace_church_param_is_on($post_options['slider']) || $columns > 1) {
			?></div><?php
		}
	}
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit