403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.217.154
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Old Sites/eadsa/modules/mod_imagescroll/tmpl/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Old Sites/eadsa/modules/mod_imagescroll/tmpl/default.php
<?php // no direct access
defined( '_JEXEC' ) or die( 'Restricted access' );


$out = '';
$images = '';
$bullet_links = '';


$option = JRequest::getVar( 'option', '', 'GET', 'STRING' );
$id = JRequest::getVar( 'id', 0, 'GET', 'INT' );
$Itemid = JRequest::getVar( 'Itemid', '', 'GET', 'INT' );

//echo $Itemid;


$i = 0;

$bullet = JHTML::_( 'image', JURI::base() . 'modules/mod_imagescroll/images/bullet.png', 'bullet', array('style'=>'margin:0 10px;') );
foreach ($cachefiles as $cachefile) {
	$filename = basename( $files[$i] );
	if ($typeLink != 'articles'){
		switch ($linked){
		case 0:
			$prefix = false;
			break;
			
		case 1:
			$pos = strpos($filename, "id$id");
			if ($pos === false){
				continue 2;
			} 
			
			break;
			
		case 2:
			$pos = strpos($filename, "item$Itemid");
			if ($pos === false){
				continue 2;
			}
			break;
		}
	}
	
	$cachefilename = basename( $cachefile );
	if (($limit - $i) < 1) break;
	
/* 	$article_block .= '<div id="jdv_aslides' . $module->id . '_content' . $i . '" class="jdv_aslides_content" style="width:' . $widthElement . 'px;height:' . $heightElement . 'px;"><div class="jdv_aslides_inside" style="width:' . $widthElement . 'px;height:' . $heightElement . 'px;">'; */
	
	
	$bullet_links .= JHTML::_( 'link', '#', $bullet, array('id'=>"jdv_iscroll{$module->id}_link$i") );
	
	$img_tag_attribs = array();
	$link_tag_attribs = array();
	
	$url_array = modImageScrollHelper::urlExplode( $params, $filename, $i );
	
	$img_tag_attribs['title'] = $url_array['title'];
	$img_tag_attribs['id'] = "jdv_iscroll{$module->id}_content$i";
	
	$image = JHTML::_( 'image', JURI::base() . 'cache/mod_imagescroll_thumbs/' . $cachefilename, $filename, $img_tag_attribs );
	
	
	
	switch ($typeLink){
	case 'none':
		$images .= $image;
		break;
		
	case 'url':
		$custom_link = modImageScrollHelper::getCustomLink( $params, $image, $filename, $i );
		
		$images .= $custom_link;
		break;
		
	case 'slimbox':
		$link_tag_attribs['title'] = $url_array['title'];
		$link_tag_attribs['rel'] = 'lightbox-' . $module->id;
		
		$href = modImageScrollHelper::getURLFromPath( $boxfiles[0][$i] );
		
		$images .= JHTML::_( 'link', $href, $image , $link_tag_attribs );
		break;
		
	
	case 'articles':

		unset( $img_tag_attribs['title'] );
		$image = JHTML::_( 'image', JURI::base() . 'cache/mod_imagescroll_thumbs/' . $cachefilename, $filename, $img_tag_attribs );
		
		if ($targetLink){
			$link_tag_attribs['target'] = '_blank';
		}
		
		$articles = modImageScrollHelper::getLinks( $files, $params );
		$filename = JFile::stripExt($filename);

		$id  = (int)substr( $filename, 2 );
		if (array_key_exists($id, $articles)){
			$readmore_link = $articles[$id]->readmore_link;
		} else {
			$readmore_link = null;
		}
		
		$href = $url;
		if ($readmore_link){
			$href = $readmore_link;
			$title = $articles[$id]->title;
		 
		
			$link_tag_attribs['title'] = JText::_( 'Readon' ) . "::$title";
			$link_tag_attribs['class'] = 'ISTips';


			$images .= JHTML::_( 'link', $href, $image, $link_tag_attribs );
		} else {
			$images .= $image;
		}
		break;
	}
	
	
	
	$i++;
}

if ($scrollDirection == 'horizontally'){
	$direction_style = 'width:32766px; height:' . $height . ';';
}else{
	$direction_style = 'width:' . $width . '; height: 32766px;';
}

$out .= '<div id="jdv_iscroll' .  $module->id . '_wrap" class="jdv_iscroll_wrap" style="width:' . $width . ';height:' . $height . ';">

	<div id="jdv_iscroll' .  $module->id . '_inner" class="jdv_iscroll_inner' . ($scrollDirection == 'horizontally' ? ' horizontally' : ' vertically') . '" style="' . $direction_style . '">';

$out .= $images;

if ($scrollDirection == 'horizontally'){
	$out .= '<span id="slideEnd' .  $module->id . '">&nbsp;</span>';
}else{
	$out .= '<div id="slideEnd' .  $module->id . '">&nbsp;</div>';
}
		
$out .= '</div></div>';

if ($onPointBar){
	$out .= '<div id="jdv_iscroll_bar' .  $module->id . '" class="jdv_iscroll_bar">' . $bullet_links . '</div>';
}

$out .= JHTML::_( 'image', JURI::base() . 'modules/mod_imagescroll/images/spinner.gif', 'spinner', array('style'=>'display:none;') );
echo $out; 


?>

Youez - 2016 - github.com/yon3zu
LinuXploit