403Webshell
Server IP : 213.186.33.4  /  Your IP : 216.73.216.222
Web Server : Apache
System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64
User : karinebmkh ( 644538)
PHP Version : 8.4.22
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/karinebmkh/www2/wp-content/themes/novablog/post-template/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/karinebmkh/www2/wp-content/themes/novablog/post-template/video.php
<?php 
		$embed = get_post_meta(get_the_ID(), 'novablog_video_embed', true);
		//Check for video format
	    $vimeo = strpos($embed, "vimeo");
	    $youtube = strpos($embed, "youtu");
	?>

	
<?php
			if ($embed != '') {?>
			<div class="embed-responsive embed-responsive-16by9">
						<?php	if($vimeo !== false){

	        //Get ID from video url
	        $video_id = str_replace( 'http://vimeo.com/', '', $embed );
	        $video_id = str_replace( 'http://www.vimeo.com/', '', $video_id );
			$video_id = str_replace( 'https://vimeo.com/', '', $video_id );
			

	        //Display Vimeo video
	        echo '<iframe class="embed-responsive-item" src="//player.vimeo.com/video/'.esc_attr($video_id).'?title=0&amp;byline=0&amp;portrait=0" width="1000" height="750"></iframe>';

	    	} elseif($youtube !== false){

	        //Get ID from video url
	    	$video_id = str_replace( 'http://', '', $embed );
	    	$video_id = str_replace( 'https://', '', $video_id );
	        $video_id = str_replace( 'www.youtube.com/watch?v=', '', $video_id );
	        $video_id = str_replace( 'youtube.com/watch?v=', '', $video_id );
	        $video_id = str_replace( 'youtu.be/', '', $video_id );
	        $video_id = str_replace( '&feature=channel', '', $video_id );

	        echo '<iframe title="'.esc_html_e('YouTube video player', 'novablog').'" class="embed-responsive-item youtube-player" width="1000" height="750" src="//www.youtube.com/embed/'.esc_attr($video_id).'"></iframe>';

	    	} ?>
				</div>
				<?php } else { ?>

	<?php 
		if (has_post_thumbnail() ):
	?>

	<div class="post-thumb clearfix">		
			<figure class="featured-thumbnail thumbnail large">
				<?php the_post_thumbnail( 'novablog-standard-large' ); ?>
			</figure>
			<div class="clear"></div>			
	</div>
	<?php endif; ?>	
<?php }
		?>

Youez - 2016 - github.com/yon3zu
LinuXploit