403Webshell
Server IP : 216.250.13.251  /  Your IP : 216.73.217.37
Web Server : nginx/1.24.0
System : Linux gunay 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64
User : root ( 0)
PHP Version : 7.4.33
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/gunay/wp-content/plugins/rt19-extentions/inc/shortcodes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/gunay/wp-content/plugins/rt19-extentions/inc/shortcodes/pricing_tables.php
<?php
/*
* ------------------------------------------------- *
*		PRICING TABLES
* ------------------------------------------------- *
*/

//table holder
if( ! function_exists("rt_table_holder") ){
	function rt_table_holder( $atts, $content = null ) {
	// [pricing_table style=""]

	//defaults
	extract(shortcode_atts(array(
		"id" => '',
		"class" => '',
		"style"  => '',
	), $atts));

	$output = '<div id="'.$id.'" class="pricing_table '.$style.' '.$class.'" data-rt-animation-group="group">'; 

	$content = preg_replace('/<br \/>$/', '', trim($content));
	$content = preg_replace('/<br \/>/', '', $content, 1);

	$output .= do_shortcode($content);
	$output .= '</div>';

	return $output;
	}
}

add_shortcode('rt_pricing_table', 'rt_table_holder'); 		
add_shortcode('rt_compare_table', 'rt_table_holder'); 			

//table columns
if( ! function_exists("rt_table_columns") ){
	function rt_table_columns( $atts, $content = null ) {
	//[table_column caption="" price="" info="" style=""]

	//defaults
	extract(shortcode_atts(array(
		"id" => '',
		"class" => '',		
		"style"  => '',
		"caption" => '',
		"price" => '',
		"info" => ''
	), $atts));

	$output = '<div id="'.$id.'" class="table_wrap '.$style.' '.$class.'" data-rt-animate="animate" data-rt-animation-type="fadeInDown"><ul>';	 
	

	$info_output = sprintf('
	<small>
		%s 
	</small>
	',$info);
 
	$output .= ! empty( $caption ) && $style != "features" ? sprintf('
		<li class="caption">
			<div class="title">%s%s</div>
		</li>
		',$caption,$info_output) : '<li class="caption empty"></li>';

	$output .= ! empty( $price ) && $style != "features"  ? sprintf('
		<li class="price">
			<div>
				<span>%s</span>
			</div>
		</li>
		',$price) : '<li class="price empty"></li>';


	$content = preg_replace('/<ul>/', '', $content, 1);

	if( $style != "features" ){
		$content = preg_replace('/<li>/', '<li class="start_position">', $content, 1);
	}else{
		$content = preg_replace('/<li>/', '<li class="features_start_position">', $content, 1);
	}

	$output .= rt_visual_composer_content_fix($content);
	$output .= '</div>';

	return $output;
	}
}

add_shortcode('rt_table_column', 'rt_table_columns'); 		
add_shortcode('rt_compare_table_column', 'rt_table_columns'); 		




Youez - 2016 - github.com/yon3zu
LinuXploit