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/image_carousel.php
<?php
/*
*
* Image Carousel
* [rt_image_carousel] 
*
*/ 

vc_map(
	array(
		'base'        => 'rt_image_carousel',
		'name'        => __( 'Image Carousel','rt_theme' ),
		'icon'        => 'rt_theme carousel',
		'category'    => array(__( 'Content','rt_theme' ), __( 'Theme Addons','rt_theme' )),
		'description' => __( 'Add an image carousel','rt_theme' ),
		'params'      => array(

							array(
								'param_name'  => 'images',
								'heading'     => __('Images','rt_theme' ),
								'description' => __('Select images for the carousel','rt_theme' ),
								'type'        => 'attach_images',
								'value'	     => '',
							),

							array(
								'param_name'  => 'carousel_layout',
								'heading'     => __( 'Carousel Layout (Desktop)','rt_theme' ),
								"description" => __("Visible image count for each slide",'rt_theme'),
								'type'        => 'dropdown',
								"value"       => array(
													"1" => "1",
													"2" => "2",													
													"3" => "3",													
													"4" => "4",													
													"5" => "5",													
													"6" => "6",													
													"7" => "7",													
													"8" => "8",													
													"9" => "9", 
													"10" => "10"
													),
								'save_always' => true
							),


  							array(
								'param_name'  => 'tablet_layout',
								'heading'     => __( 'Carousel Layout (Tablet)','rt_theme' ),
								"description" => __("Visible image count for each slide on medium screens.",'rt_theme'),
								'type'        => 'dropdown',
								"value"       => array(
													__("Default","rt_theme") => "",
													"1" => "1",
													"2" => "2",													
													"3" => "3",													
													"4" => "4",													
													"5" => "5",													
													"6" => "6"
													),
								'save_always' => true
							),

							array(
								'param_name'  => 'mobile_layout',
								'heading'     => __( 'Carousel Layout (Mobile)','rt_theme' ),
								"description" => __("Visible image count for each slide on small screens.",'rt_theme'),
								'type'        => 'dropdown',
								"value"       => array(
													__("Default","rt_theme") => "",
													"1" => "1",
													"2" => "2",													
													"3" => "3",													
													"4" => "4"		 
													),
								'save_always' => true
							),

							array(
								'param_name'  => 'img_width',
								'heading'     => __('Max Image Width','rt_theme' ),
								'description' => __('Set an maximum width value for the carousel images. Note: Remember that the carousel width will be fluid.','rt_theme' ),
								'type'        => 'rt_number',
								'value'       => ''
							),

							array(
								'param_name'  => 'img_height',
								'heading'     => __('Max Image Height','rt_theme' ),
								'description' => __('Set an maximum height value for the carousel images.','rt_theme' ),
								'type'        => 'rt_number',
								'value'       => ''
							),

							array(
								'param_name'  => 'crop',
								'heading'     => __( 'Crop Images','rt_theme' ),
								'type'        => 'dropdown',
								"value"       => array(
													__("Disabled","rt_theme") => "false",
													__("Enabled","rt_theme") => "true"
												),
								'save_always' => true
							),

							array(
								'param_name'  => 'nav',
								'heading'     => __( 'Navigation Arrows','rt_theme' ),
								'type'        => 'dropdown',
								"value"       => array(
													__("Enabled","rt_theme") => "true", 
													__("Disabled","rt_theme") => "false"													
												),
								'save_always' => true						
							),

							array(
								'param_name'  => 'dots',
								'heading'     => __( 'Navigation Dots','rt_theme' ),
								'type'        => 'dropdown',
								"value"       => array(
													__("Disabled","rt_theme") => "false",	
													__("Enabled","rt_theme") => "true"							
												),
								'save_always' => true						
							),

							array(
								'param_name'  => 'autoplay',
								'heading'     => __( 'Auto Play','rt_theme' ),
								'type'        => 'dropdown',
								"value"       => array(												
													__("Disabled","rt_theme") => "false",
													__("Enabled","rt_theme") => "true"
												),
								'save_always' => true						
							),

							array(
								'param_name'  => 'timeout',
								'heading'     => __('Auto Play Speed (ms)','rt_theme' ),
								'type'        => 'rt_number',
								'value'       => "",
								"description" => __("Auto play speed value in milliseconds. For example; set 5000 for 5 seconds",'rt_theme'),
								"dependency"  => array(
													"element" => "autoplay",
													"value" => array("true")
												),
								'save_always' => true
							),

							array(
								'param_name'  => 'links',
								'heading'     => _x('Item Links', 'Admin Panel','rt_theme' ),
								'type'        => 'dropdown',
								"value"       => array(
													_x("Orginal Images",'Admin Panel','rt_theme') => "image",
													_x("Custom Links",'Admin Panel','rt_theme') => "custom"
												),
								'save_always' => true
							),

							array(
								'param_name'  => 'custom_links',
								'heading'     => _x( 'Custom Links', 'Admin Panel','rt_theme' ),
								'description' => _x("Enter links for each image. The links must be entered line by line. ( enter ) ",'Admin Panel','rt_theme'),
								'type'        => 'exploded_textarea',
								"dependency"  => array(
														"element" => "links",
														"value" => array("custom")
													),								
							),

							array(
								'param_name'  => 'link_target',
								'heading'     => _x('Link Target', 'Admin Panel','rt_theme' ),
								'type'        => 'dropdown',
								"value"       => array(
													_x("Same Tab", 'Admin Panel','rt_theme') => "_self",
													_x("New Tab", 'Admin Panel','rt_theme') => "_blank", 
												),
								"dependency"  => array(
														"element" => "links",
														"value" => array("custom")
													),											
								'save_always' => true
							),


							array(
								'param_name'  => 'lightbox',
								'heading'     => __( 'Open Orginal Images in Lightbox','rt_theme' ),
								'type'        => 'dropdown',
								"value"       => array(
													__("Disabled","rt_theme") => "false",
													__("Enabled","rt_theme") => "true"
												),
								"dependency"  => array(
														"element" => "links",
														"value" => array("image")
													),											
								'save_always' => true
							),

							array(
								'param_name'  => 'margin',
								'heading'     => __('Item Margin','rt_theme' ),
								'description' => __('Set a value for the margin between carousel items. Default is 15px','rt_theme' ),
								'type'        => 'rt_number',
								'value'       => ''
							),


							array(
								'param_name'  => 'loop',
								'heading'     => _x( 'Loop Items', 'Admin Panel','rt_theme' ),
								'type'        => 'dropdown',
								"value"       => array(
													_x("Disabled",'Admin Panel','rt_theme') => "false",
													_x("Enabled",'Admin Panel','rt_theme') => "true"
												),
								'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