HEX
Server: Apache
System: Linux msm5694.mjhst.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: camjab_ssh (1000)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: /home/httpd/html/tubeshemale.com/public_html/templates_OLD_JUNK/mobile.video_content.php
    <div class="contents">

		<div class="title-wrapper">
			<h2 class="title"><? echo $rrow[title]; ?></h2>
		<!-- class="" --></div>

			<? /* BOF MOBILE PLAYER */ ?>
		<?
			$bad = array('?','!',' ','&','*','$','#','@');
			$good = array('','','-','','','','','');
			$dirname = str_replace('.flv','',$rrow[orig_filename]);
			$subdir = $rrow[filename][0].'/'.$rrow[filename][1].'/'.$rrow[filename][2].'/'.$rrow[filename][3].'/'.$rrow[filename][4].'/';
			$dirname = $subdir.$dirname;
			if(stripos($rrow[hotlinked],'adultcentro') !== false) {
				$mobileFile = getAdultCentroVideo(str_replace("adultcentro","",$rrow[hotlinked])); 
			}
			else {
				$mobileFile = $video_url.'/'.$subdir.$rrow[mobile];
			}
		?>


		<video id="videoPlayer" src="<? echo $mobileFile; ?>" autobuffer style="width: 320px; height: 240px;" controls="controls" onClick="this.play();" poster="<? echo getThumbUrl($rrow[orig_filename],$rrow[filename],$rrow[main_thumb],true); ?>">
    	</video>

		<script type="text/javascript">
        	var width = (window.innerWidth)-50;
			if(width > 750) {
				var width = 750;
			}

			var height = Math.ceil(width*0.75);
	        document.getElementById("videoPlayer").style.width = width+"px"; 
			document.getElementById("videoPlayer").style.height = height+"px";
			window.onresize = function(event) {
		        var width = (window.innerWidth) - 50;
				if(width > 750) {
					var width = 750;
				}
				var height = Math.ceil(width*0.75);
				document.getElementById("videoPlayer").style.width = width+"px"; 
				document.getElementById("videoPlayer").style.height = height+"px"; 
			}
		</script>

		<div id="notplaying">Video Not Playing? <a href="<? echo $mobileFile;?>">Click Here!</a></div>

		<? /* EOF MOBILE PLAYER */ ?>

		<div id="info-wrapper">
			<div id="info">
				<div class="info-item"><strong>Runtime:</strong> <? echo sec2time($rrow[length]); ?> &nbsp;&nbsp; <strong>Views:</strong> <? echo $rrow[views]; ?></div>
				<div class="info-item"><strong>Added on:</strong> <? echo $rrow[encoded_date]; ?></div>
				<div class="info-item"><strong>Category:</strong> <?  echo buildChannels($rrow[record_num],'channels'); ?></div>
				<div class="info-item"><strong>Tags:</strong> <?  echo buildTags($rrow[keywords]); ?></div>
			<!-- id="info" --></div>
		<!-- id="info-wrapper" --></div>


		<div class="title-wrapper">
			<h2 class="title">Related Videos</h2>
		<!-- class="" --></div>


		<? showRelated("$rrow[keywords] $rrow[title]",$basepath.'/templates/mobile.content_item.php',$rrow[record_num],16); ?>
		
	<!-- class="contents" --></div>