| 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 : |
<?php
if ( isset($set["info"]["totals"]["types"]["highres"]) ){
echo $set["info"]["totals"]["types"]["highres"]["count"] . " " . $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; }
}
}