!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.81 GB of 429.69 GB (68.38%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     col.js (1.62 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
import { __ } from '@wordpress/i18n';
import { InnerBlocks, useInnerBlocksProps, useBlockProps } from '@wordpress/block-editor';
import { useEffect } from '@wordpress/element';
import { select } from '@wordpress/data';

export const RenderColBlock = (props) =>{
	
	const { _props, data} = props;
	const { clientId } = _props;
	const { atts, tmp, id} = data;
	const { getBlockOrder } = select( 'core/block-editor' );
	
	const hasChildBlocks = getBlockOrder( clientId ).length > 0;
	const hasChildClass = hasChildBlocks ? 'pagelayer-has-child': '';
	
	const ALLOWED_BLOCKS = wp.blocks.getBlockTypes().map(block => block.name).filter(blockName => blockName !== 'pagelayer/pl-col');
	
	const InnerBlocksProps = {
		templateLock: false,
		renderAppender: hasChildBlocks ? undefined : InnerBlocks.ButtonBlockAppender,
		allowedBlocks:ALLOWED_BLOCKS
	};
	
	const newProps = { className:`pagelayer-col-holder ${hasChildClass}` };
	const innerProps = useInnerBlocksProps(newProps, InnerBlocksProps);
		
	return (
		<>
			{ atts?.bg_video_src && (
				<div className="pagelayer-background-video" dangerouslySetInnerHTML={{ __html: atts.vid_src}}/>
			) }
			{ atts?.bg_slider && (
				<div className="pagelayer-bgimg-slider" dangerouslySetInnerHTML={{ __html: atts.slider}}/>
			)}
			{ atts?.parallax_img && (
				<div className="pagelayer-parallax-window">
					<img className="pagelayer-img" src={atts.parallax_img_src} title={tmp['parallax_img-title']} alt={tmp['parallax_img-alt']} />
				</div>
			)}
			{ atts?.overlay_type && (<div className="pagelayer-background-overlay"></div>)}
			<div {...innerProps} />
		</>
	);
}

:: 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.0044 ]--