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/themes/rttheme19/portfolio-contents/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/gunay/wp-content/themes/rttheme19/portfolio-contents/loop-content.php
<?php
/**
 * The template for displaying portfolio content within loops.
 *
 * @author 		RT-Themes
 * 
 */
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly


global $rt_portfolio_post_values, $rt_portfolio_list_atts;
extract($rt_portfolio_post_values);
extract($rt_portfolio_list_atts);
?> 

<!-- portfolio box-->
<div <?php post_class("loop " .$item_style. " ". $portfolio_format)?> id="portfolio-<?php the_ID(); ?>">

	<?php 

		//title output
		$title_output = $permalink ? sprintf('<h5><a href="%s" target="%s" rel="bookmark">%s</a></h5>',$permalink,$target,$title) : sprintf('<h5>%s</h5>',$title) ;

		//shor desc output
		$desc_output = ! empty( $short_desc ) ? sprintf( '<p>%s</p>', $short_desc ) : "" ;


		//create lightbox links
		switch ( $portfolio_format ) {
			case 'video':
			 
				$video_url = !empty( $external_video ) ? $external_video : $video_mp4;

				if( $video_mp4 ){
					printf('
						<div style="display:none;" id="%1$s">
							<video class="lg-video-object lg-html5" controls preload="none" poster="%4$s">
								<source src="%2$s" type="video/mp4" title="mp4">
								<source src="%3$s" type="video/webm" title="webm">
							</video>
						</div>
					','video-'.get_the_ID(), $video_mp4, $video_webm, $featured_image_url);
				}

				$lightbox_link = rt_create_lightbox_link( array( 'class'=> 'video lightbox_', 'href'=> $video_mp4 ? "" : $video_url, 'title'=> esc_html_x('Play Video','Frontend Text','rt_theme'), 'data_group'=> 'image_'.$featured_image_id, 'data_title'=> $title, 'data_thumbnail' => $lightbox_thumbnail, "data_html" => $video_mp4 ? '#video-'.get_the_ID() : "", 'echo'=> false) ); 

				break;

			case 'audio':

				if( $audio_mp3 ){
					printf('
						<div style="display:none;" id="%1$s">
							<audio class="lg-video-object lg-html5" controls preload="none">
								<source src="%2$s" type="video/mp4" title="mp4">
								<source src="%3$s" type="video/webm" title="webm">
							</audio>
						</div>
					','audio-'.get_the_ID(), $audio_mp3, $audio_ogg);
				}	

				$lightbox_link = rt_create_lightbox_link( array( 'class'=> 'audio lightbox_', 'href'=> "", 'title'=> esc_html_x('Play Audio','Frontend Text','rt_theme'), 'data_group'=> 'image_'.$featured_image_id, 'data_title'=> $title, 'data_thumbnail' => $lightbox_thumbnail, "data_html" => $audio_mp3 ? '#audio-'.get_the_ID() : "", 'echo'=> false) ); 
				
				break;
						
			default:
				
				$lightbox_link = rt_create_lightbox_link( array( 'class'=> 'zoom lightbox_', 'href'=> $featured_image_url, 'title'=> esc_html_x('Enlarge Image','Frontend Text','rt_theme'), 'data_group'=> 'image_'.$featured_image_id, 'data_title'=> $title, 'data_thumbnail' => $lightbox_thumbnail, 'echo'=> false) ); 

				break;
		}

		//lightbox disabled?
		$lightbox_link = $disable_lightbox ? "" : $lightbox_link;

		//create action buttons
		$action_buttons = isset( $remove_buttons ) && $remove_buttons === "true" ? "" : rt_action_buttons(array( "lightbox_link" => $lightbox_link, "link" => $permalink, "title" => $title, "external_link" => $external_link, "target" => $target, "echo" => false));
		

		//output
		if( $item_style == "style-1" ){

			$thumbnail_image_output = $permalink && isset( $remove_buttons ) && $remove_buttons === "true" ? sprintf('<a href="%s" title="%s" target="%s" rel="bookmark">%s</a>',$permalink,$title,$target,$thumbnail_image_output) : $thumbnail_image_output ;
			$action_buttons = isset( $remove_buttons ) && $remove_buttons === "true" ? "" : '<div class="overlay">'.rt_action_buttons(array( "lightbox_link" => $lightbox_link, "link" => $permalink, "title" => $title, "external_link" => $external_link, "target" => $target, "echo" => false)).'</div>';

			printf('

				<figure class="featured_image">
					%1$s
					%2$s
				</figure>

				<section class="text">
					%3$s
					%4$s
				</section> 

			', $thumbnail_image_output, $action_buttons, $title_output, $desc_output );

		}else{
			printf('

				<figure class="featured_image">
					%1$s				
				</figure>

				<div class="overlay">

					<section class="text">
						%3$s
						%4$s
						%2$s
					</section> 	

				</div>

			', $thumbnail_image_output, $action_buttons, $title_output, $desc_output );
		}

	?>

</div> 
<!-- / portfolio box-->

Youez - 2016 - github.com/yon3zu
LinuXploit