NexusLeads Webshell
NexusLeads


Server : LiteSpeed
System : Linux server 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64
User : alsaif ( 1057)
PHP Version : 7.4.33
Disable Function : show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Directory :  /home/alsaif/public_html/modules/mod_allvideosharegallery/tmpl/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/alsaif/public_html/modules/mod_allvideosharegallery/tmpl/default_videos.php
<?php 
/*
 * @version		$Id: default_videos.php 3.5.0 2020-01-25 $
 * @package		All Video Share
 * @copyright   Copyright (C) 2012-2020 MrVinoth
 * @license     GNU/GPL http://www.gnu.org/licenses/gpl-2.0.html
*/

// no direct access
defined( '_JEXEC' ) or die( 'Restricted access' ); 

$popup_class_suffix = $popup ? ' avs-popup' : '';

$itemId = AllVideoShareUtils::getVideoMenuId( $config );		
$itemId = ! empty( $itemId ) ? '&Itemid=' . $itemId : '';

$baseUrl  = $params->get( 'link', 'index.php?option=com_allvideoshare&view=video' . $itemId );
$baseUrl  = str_replace( 'slg=', '', $baseUrl );
$baseUrl .= ! strpos( $baseUrl, '?' ) ? '?slg=' : '&slg=';

$more = AllVideoShareGalleryHelper::hasMore( $params );
if ( $params->get( 'category' ) ) {
	$moreURL = AllVideoShareUtils::buildRoute( $params->get( 'category' ), 'category' );
} else {
	$moreURL = AllVideoShareUtils::buildRoute( 0, 'video' );
}

$columns = (int) $params->get( 'columns' );
$span    = 'span' . floor( 12 / $columns );
$column  = 0;
?>

<div class="avs videos <?php echo htmlspecialchars( $params->get( 'moduleclass_sfx' ) ); ?>"> 
    <div class="row-fluid<?php echo $popup_class_suffix; ?>" data-player_ratio="<?php echo $player_ratio; ?>">
    	<ul class="thumbnails">
        	<?php 
  	  		foreach ( $items as $item ) {
			
    			if ( $column >= $columns ) {
					echo '</ul><ul class="thumbnails">';
					$column = 0;
				}
		
				$image  = AllVideoShareUtils::getImage( $item->thumb );				

				if ( $popup ) {
					$player_url = JURI::root() . 'index.php?option=com_allvideoshare&view=player&vid=' . $item->id . "&format=raw&autoplay";
					$target = 'javascript:void(0)';
				} else {
					$player_url = '';
					$target = JRoute::_( $baseUrl . $item->slug );
				}
    			?>    
                <li class="<?php echo $span; ?> avs-video-<?php echo $item->id; ?>" data-mfp-src="<?php echo $player_url; ?>">
                	<div class="thumbnail">
      					<a href="<?php echo $target; ?>" class="avs-thumbnail" style="padding-bottom: <?php echo ( $config->image_ratio > 0 ) ? $config->image_ratio : 56.25; ?>%;">
                        	<div class="avs-image" style="background-image: url('<?php echo $image; ?>');">&nbsp;</div>
                            <img class="avs-play-icon" src="<?php echo JURI::root( true ); ?>/components/com_allvideoshare/assets/images/play.png" alt="<?php echo $item->title; ?>" />
                        </a>
                        <div class="caption">
                        	<h4><a href="<?php echo $target; ?>"><?php echo $item->title; ?></a></h4>
                            <?php if ( $config->views ) : ?>
        						<p class="views muted"><?php echo $item->views . ' ' . JText::_( 'VIEWS' ); ?></p>
                            <?php endif; ?>
                        </div>
                    </div>
                </li> 
                <?php
					if ( $column >= $columns ) echo '</ul>';
		  			$column++;
      		}
			?> 
        </ul>
   	</div>
    
    <?php if ( $more ) : ?>
		<a class="btn" href="<?php echo $moreURL; ?>"><?php echo JText::_( 'MORE' ); ?></a>
	<?php endif; ?>
</div>

NexusLeads