Uname:Linux Sandbox-A 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64

Base Dir : /var/www/html

User : gavin


403WebShell
403Webshell
Server IP : 68.183.124.220  /  Your IP : 216.73.217.137
Web Server : Apache/2.4.18 (Ubuntu)
System : Linux Sandbox-A 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
User : gavin ( 1000)
PHP Version : 7.0.33-0ubuntu0.16.04.16
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_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/wp-content/plugins/wp-carousel-free/public/templates/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/wp-content/plugins/wp-carousel-free/public/templates/image-carousel.php
<?php
/**
 * The image carousel template.
 *
 * @package WP_Carousel_Free
 * @subpackage WP_Carousel_Free/public/templates
 */

// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
	die;
}

$gallery_ids         = $upload_data['wpcp_gallery'];
$the_image_title_at  = isset( $shortcode_data['wpcp_logo_link_nofollow'] ) ? $shortcode_data['wpcp_logo_link_nofollow'] : '';
$image_link_nofollow = true == $the_image_title_at ? ' rel="nofollow"' : '';
if ( empty( $gallery_ids ) ) {
			return;
}
echo '<div class="wpcp-carousel-wrapper wpcp-wrapper-' . $post_id . '">';
if ( $section_title ) {
	echo '<h2 class="sp-wpcpro-section-title">' . get_the_title( $post_id ) . '</h2>';
}
if ( $preloader ) {
	require WPCAROUSELF_PATH . '/public/templates/preloader.php';
}
echo '<div id="sp-wp-carousel-free-id-' . $post_id . '" class="' . $carousel_classes . '" ' . $wpcp_slick_options . ' dir="ltr">';
$attachments = explode( ',', $gallery_ids );
( ( 'rand' == $image_orderby ) ? shuffle( $attachments ) : '' );
if ( is_array( $attachments ) || is_object( $attachments ) ) :
	foreach ( $attachments as $attachment ) {
		$image_data           = get_post( $attachment );
		$image_title          = $image_data->post_title;
		$image_alt_titles     = $image_data->_wp_attachment_image_alt;
		$image_alt_title      = ! empty( $image_alt_titles ) ? $image_alt_titles : $image_title;
		$image_url            = wp_get_attachment_image_src( $attachment, $image_sizes );
		$the_image_title_attr = ' title="' . $image_title . '"';
		$image_title_attr     = 'true' === $show_image_title_attr ? $the_image_title_attr : '';

		$image = sprintf( '<img src="%1$s"%2$s alt="%3$s" width="%4$s" height="%5$s">', $image_url[0], $image_title_attr, $image_alt_title, $image_url[1], $image_url[2] );
		// Single Item.
		echo '<div class="wpcp-single-item">';
		echo sprintf( '<div class="wpcp-slide-image">%1$s</div>', $image );
		echo '</div>';
	} // End foreach.
endif;
echo '</div>';
echo '</div>'; // Carousel Wrapper.

Youez - 2016 - github.com/yon3zu
LinuXploit