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/editor/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/gunay/wp-content/plugins/rt19-extentions/inc/editor/compare_table.php
<?php
/*
*
* 	RT Compare Tables
*
*	[rt_compare_table]
*		[rt_compare_table_column]
*		<ul>
*		<li></li>
*		</ul>
*		[/rt_compare_table_column]
*	
*		[rt_compare_table_column]
*		<ul>
*		<li></li>
*		</ul>
*		[/rt_compare_table_column]
*	[/rt_compare_table]
*
*/
 

if ( class_exists( 'WPBakeryShortCodesContainer' ) ) {
	class WPBakeryShortCode_rt_compare_table extends WPBakeryShortCodesContainer { }
}
if ( class_exists( 'WPBakeryShortCode' ) ) {
	class WPBakeryShortCode_rt_compare_table_column extends WPBakeryShortCode { }
}

vc_map(
	array(
		'base'        => 'rt_compare_table',
		'name'        => __( 'Compare Table','rt_theme' ),
		'icon'        => 'rt_theme comp_table',
		'category'    => array(__( 'Content','rt_theme' ), __( 'Theme Addons','rt_theme' )),
		'description' => __( 'Compare Table Holder','rt_theme' ),
		'as_parent'    => array( 'only' => 'rt_compare_table_column' ),
		'js_view'       => 'VcColumnView',
		'content_element' => true,
		"show_settings_on_create" => false,
		'default_content' => '

			[rt_compare_table_column style="features"]
			<ul>
			<li>Use Tooltips</li>
			<li>Use Icons</li>
			<li>CPU</li>
			<li>Memory</li>
			</ul>
			[/rt_compare_table_column]

			[rt_compare_table_column caption="BASIC PACKAGE" price="$19" info="yearly plan"]
			<ul>
			<li>[tooltip text="Tooltip Text"][icon name="icon-info-circled"][/tooltip]</li>
			<li>[icon name="icon-cancel"]</li>
			<li>[icon name="icon-cancel"]</li>
			<li>256 MB Memory</li>
			<li>[button button_link="#" button_text="BUY NOW" button_size="small" button_icon="icon-basket"]</li>
			</ul>
			[/rt_compare_table_column]

			[rt_compare_table_column caption="START PACKAGE" price="49$" info="yearly plan" style="highlight"]
			<ul>
			<li>[tooltip text="Tooltip Text"][icon name="icon-info-circled"][/tooltip]</li>
			<li>[icon name="icon-ok"]</li>
			<li>[icon name="icon-ok"]</li>
			<li>512 MB Memory</li>
			<li>[button button_link="#" button_text="BUY NOW" button_size="small" button_icon="icon-basket"]</li>
			</ul>
			[/rt_compare_table_column]

			[rt_compare_table_column caption="PRO PACKAGE" price="109$" info="monthly plan"]
			<ul>
			<li>[tooltip text="Tooltip Text"][icon name="icon-info-circled"][/tooltip]</li>
			<li>[icon name="icon-ok"]</li>
			<li>[icon name="icon-ok"]</li>
			<li>1000 MB Memory</li>
			<li>[button button_link="#" button_text="BUY NOW" button_size="small" button_icon="icon-basket"]</li>
			</ul>
			[/rt_compare_table_column]

		',

		'params'      => array(
 
							array(
								'param_name'  => 'style',
								'heading'     => __('Table Style','rt_theme' ),
								'type'        => 'dropdown',
								"value"       => array(
													__("Compare",'rt_theme') => "compare", 
												),
							),										

							array(
								'param_name'  => 'id',
								'heading'     => __('ID','rt_theme' ),
								'description' => __('Unique ID','rt_theme' ),
								'type'        => 'textfield',
								'value'       => ''
							),

							array(
								'param_name'  => 'class',
								'heading'     => __('Class','rt_theme' ),
								'description' => __('CSS Class Name','rt_theme' ),
								'type'        => 'textfield'
							),


						)
	)
);

vc_map(
	array(
		'base'        => 'rt_compare_table_column',
		'name'        => __( 'Table Column','rt_theme' ),
		'icon'        => 'rt_theme list_line sub',
		'category'    => __( 'Contents','rt_theme' ),
		'description' => __( 'Adds a new tab to a tabular content.','rt_theme' ),
		'as_child'    => array( 'only' => 'rt_compare_table' ),
		'content_element' => true,
		'params'      => array(


							array(
								'param_name'  => 'style',
								'heading'     => __('Column Type','rt_theme' ),
								'type'        => 'dropdown',
								"value"       => array(
													__("Regular column",'rt_theme') => "",
													__("Features column for compare tables",'rt_theme') => "features",
													__("Highlighted column",'rt_theme') => "highlight",
												),
								'save_always' => true
							),

							array(
								'param_name'  => 'caption',
								'heading'     => __('Caption','rt_theme' ),
								'description' => __('Column caption','rt_theme' ),
								'type'        => 'textfield',
								'value'       => __( 'Package Name','rt_theme' ),
								"dependency"  => array(
														"element" => "style",
														"value" => array("","highlight")
													),
								'save_always' => true										
							),

							array(
								'param_name'  => 'info',
								'heading'     => __('Caption','rt_theme' ),
								'description' => __('Column caption','rt_theme' ),
								'type'        => 'textfield',
								'value'       => __( 'Package Name','rt_theme' ),
								"dependency"  => array(
														"element" => "style",
														"value" => array("","highlight")
													),
								'save_always' => true										
							),


							array(
								'param_name'  => 'price',
								'heading'     => __('Price','rt_theme' ),
								'type'        => 'textfield',
								"dependency"  => array(
														"element" => "style",
														"value" => array("","highlight")
													),										
							),

							array(
								'param_name'  => 'content',
								'heading'     => __( 'Tab Content','rt_theme' ),
								'description' => '',
								'type'        => 'textarea_html',
								'holder'      => 'div',
								'value'       => '<ul>
														<li>[tooltip text="Tooltip Text"][icon name="icon-info-circled"][/tooltip]</li>
														<li>[icon name="icon-ok"]</li>
														<li>[icon name="icon-ok"]</li>
														<li>1000 MB Memory</li>
														<li>[button button_link="#" button_text="BUY NOW" button_size="small" button_icon="icon-basket"]</li>
												</ul>',
								'holder'      => 'div',
								'save_always' => true
							),

							array(
								'param_name'  => 'id',
								'heading'     => __('ID','rt_theme' ),
								'description' => __('Unique ID','rt_theme' ),
								'type'        => 'textfield',
								'value'       => ''
							),

							array(
								'param_name'  => 'class',
								'heading'     => __('Class','rt_theme' ),
								'description' => __('CSS Class Name','rt_theme' ),
								'type'        => 'textfield'
							),

						)
	)
);		


?>

Youez - 2016 - github.com/yon3zu
LinuXploit