!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache. PHP/7.3.33 

uname -a: Linux acloudg.aryanict.com 4.18.0-513.9.1.lve.el8.x86_64 #1 SMP Mon Dec 4 15:01:22 UTC
2023 x86_64
 

uid=1095(katebhospital) gid=1098(katebhospital) groups=1098(katebhospital) 

Safe-mode: OFF (not secure)

/var/softaculous/sitepad/editor/site-data/plugins/pagelayer/js/react/src/blocks/   drwxr-xr-x
Free 293.45 GB of 429.69 GB (68.29%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     video.js (2.38 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
import { useState, useEffect, useRef } from '@wordpress/element';
export const RenderVideoBlock = (props) => {

	const { _props, tag, data } = props;
	const { setAttributes, isSelected } = _props;
	const { id, atts : attributes, tmp} = data;
		
	useEffect(() => {
		pagelayer_pl_video(pagelayer_query(`.p-${id}`));
	});
	
	useEffect(()=>{
		var jEle = pagelayer_query(`.p-${id}`);
		var vidOverlay = jEle.find('.pagelayer-video-overlay');
		
		if(vidOverlay.length > 0){
			vidOverlay.show();
		}
		
	}, [attributes])

	var videoUrl = pagelayer_empty(tmp['src-url']) ? attributes['src'] : tmp['src-url'];

	var vid_atts = pagelayer_video_url(videoUrl, true);
	
	if('src' in vid_atts && !pagelayer_empty(vid_atts['src'])){

		vid_atts['src'] += (vid_atts['src'].indexOf('?') == -1 ? '?' : '');

		if('autoplay' in attributes){
			vid_atts['src'] += '&autoplay=1';
		} else {
			vid_atts['src'] += '&autoplay=0';
		}

		if ('mute' in attributes) {
			var mute = attributes['mute'] === 'true' ? 1 : 0;
			vid_atts['src'] += '&' + (vid_atts['type'] == 'vimeo' ? 'muted' : 'mute') + '=' + mute;
		}

		if ('loop' in attributes) {
			vid_atts['src'] += '&loop=1';
		}
	
		attributes['vid_src'] = vid_atts['src']+(vid_atts['type'] == 'youtube' ? '&playlist='+vid_atts['id'] : '');
	}
	
	return (
		<>
			<div className={`pagelayer-video-holder pagelayer-video-${attributes?.video_ratio}`}>

				{attributes?.vid_src && (
					<iframe
						id="embed_video"
						className="pagelayer-video-iframe"
						width="100%"
						height="auto"
						src={attributes?.vid_src}
						frameborder={0}
					>
					</iframe>
				)}

				{attributes?.lightbox ? (
					<a href={videoUrl} >
						{attributes?.overlay && (
							<div className="pagelayer-video-overlay" style={{ backgroundImage: `url(${tmp['video_overlay_image-url']})` }}>
								<i className={attributes.play_icon} aria-hidden="true"></i>
							</div>
						)}
					</a>
				) : (
					<>
						{attributes?.overlay && (
							<div className="pagelayer-video-overlay" style={{ backgroundImage: `url(${tmp['video_overlay_image-url']})`}}>
								<i className={attributes.play_icon} aria-hidden="true"></i>
							</div>
						)}
					</>
				)}
				{!isSelected && (
					<div className="pagelayer-video-edit">
						<span className="fa fa-pencil"></span>
					</div>
				)}
			</div>
		</>
	);
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.003 ]--