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/content_box.php
<?php
/*
*
* Content Box With Images
* [content_box] 
*
*/ 

vc_map(
	array(
		'base'        => 'content_box',
		'name'        => __( 'Content Box With Image','rt_theme' ),
		'icon'        => 'rt_theme content_box',
		'category'    => array(__( 'Content','rt_theme' ), __( 'Theme Addons','rt_theme' )),
		'description' => __( 'Add a content box with an image','rt_theme' ),
		'params'      => array(

							array(
								'param_name'  => 'featured_image',
								'heading'     => __('Featured Image','rt_theme' ),
								'description' => __('Select a featured image from your media','rt_theme' ),
								'type'        => 'attach_image',
								'holder'      => 'img',
								'value'	     => '',
							),

							array(
								'param_name'  => 'img_bottom_margin',
								'heading'     => __( 'Image Bottom Margin (px)','rt_theme' ),
								'type'        => 'rt_number',
							),

							array(
								'param_name'  => 'heading',
								'heading'     => __( 'Heading','rt_theme' ),
								'description' => '',
								'type'        => 'textfield',
								'holder'      => 'div',
								'value'       => __( 'Box Heading','rt_theme' ),
								'holder'      => 'h4',
								'save_always' => true
							), 

							array(
								'param_name'  => 'content',
								'heading'     => __( 'Text','rt_theme' ),
								'description' => '',
								'type'        => 'textarea_html',
								'holder'      => 'div',
								'value'       => __( 'I am text block. Click edit button to change this text.','rt_theme' ),
								'holder'      => 'div',
								'save_always' => true
							), 

							array(
								'param_name'  => 'heading_size',
								'heading'     => __( 'Heading Size','rt_theme' ),
								'description' => __( 'Select the size of the heading tag','rt_theme' ),
								'type'        => 'dropdown',
								"value"       => array(
													"H1" => "h1", 
													"H2" => "h2", 
													"H3" => "h3", 
													"H4" => "h4", 
													"H5" => "h5", 
													"H6" => "h6", 
												),
								'save_always' => true
							),

							array(
								'param_name'  => 'style',
								'heading'     => __( 'Box Style','rt_theme' ),
								'description' => __( 'Select a box style','rt_theme' ),
								'type'        => 'dropdown',
								"value"       => array(
													__("Style One",'rt_theme') => "style-1",
													__("Style Two",'rt_theme') => "style-2", 
													__("Style Three",'rt_theme') => "style-3", 
												),
								'group'       => 'Box Style',
								'save_always' => true
							),

							array(
								'param_name'  => 'image_mask_color',
								'heading'     => __( 'Image Mask Color','rt_theme' ),
								'description' => __( 'Select a mask color for the image. Leave blank for the default color.','rt_theme' ),
								'type'        => 'colorpicker',
								'group'       => 'Box Style',
								"dependency"  => array(
												"element" => "style",
												"value" => array("style-2")
								),
								'save_always' => true											
							),

							array(
								'param_name'  => 'box_height',
								'heading'     => __( 'Box Height','rt_theme' ),
								'type'        => 'rt_number',
								'group'       => 'Box Style',
								"dependency"  => array(
												"element" => "style",
												"value" => array("style-3")
								),
								'save_always' => true											
							),

							array(
								'param_name'  => 'text_align',
								'heading'     => __( 'Text Align','rt_theme' ),
								'type'        => 'dropdown',
								'group'       => 'Box Style',
								"value"       => array(
													__("Left",'rt_theme') => "left",
													__("Right",'rt_theme') => "right", 
													__("Center",'rt_theme') => "center", 
												),
								"dependency"  => array(
												"element" => "style",
												"value" => array("style-1","style-3")
								),	
								'save_always' => true							
							),

							array(
								'param_name'  => 'text_color',
								'heading'     => __( 'Text Color','rt_theme' ),
								'type'        => 'colorpicker',
								'group'       => 'Box Style',
								"dependency"  => array(
												"element" => "style",
												"value" => array("style-2","style-3")
								),
								'save_always' => true											
							),

							array(
								'param_name'  => 'text_bg_color',
								'heading'     => __( 'Text Background Color','rt_theme' ),
								'type'        => 'colorpicker',
								'group'       => 'Box Style',
								"dependency"  => array(
												"element" => "style",
												"value" => array("style-3")
								),
								'save_always' => true											
							),

							array(
								'param_name'  => 'link',
								'heading'     => __('Link','rt_theme' ),
								'type'        => 'textfield',
								'value'       => '',
								'group'       => 'Link'
							),

							array(
								'param_name'  => 'link_text',
								'heading'     => __('Link Text','rt_theme' ),
								'type'        => 'textfield',
								'value'       => '',
								'group'       => 'Link'
							),

							array(
								'param_name'  => 'link_target',
								'heading'     => __('Link Target','rt_theme' ),
								'type'        => 'dropdown',
								"value"       => array(
													__("Same Tab",'rt_theme') => "_self",
													__("New Tab",'rt_theme') => "_blank", 
												),
								'group'       => 'Link'
							),										

							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