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/template.pornstar_bio.php
		<link rel="stylesheet" type="text/css" href="<? echo $basehttp; ?>/rating_models/css/rating.css" />
		<script type="text/javascript" src="<? echo $basehttp; ?>/rating_models/js/behavior.js"></script>
		<script type="text/javascript" src="<? echo $basehttp; ?>/rating_models/js/rating.js"></script>
	
		<div class="pornstar-bio-left">
			<?
				if($rrow[thumb]) {
			?>
				<img src="<? echo $basehttp; ?>/media/misc/<? echo $rrow[thumb]; ?>" style="width: 160px;" alt="">
			<? } else { ?>
				<img src="<? echo $basehttp; ?>/media/misc/catdefault.jpg" style="width: 160px;" alt="">
			<? } ?>
		<!-- class="pornstar-bio-left" --></div>
	
	
		<div class="pornstar-bio-right">		
            <strong>Name</strong> : <? echo $rrow[name]; ?><br />
			<strong>Ska</strong> : <? echo $rrow[aka]; ?><br />
			<strong>Fob</strong> : <? echo $rrow[dob]; ?><br />
			<strong>Height</strong> : <? echo $rrow[height]; ?><br />
			<strong>Weight</strong>: <? echo $rrow[weight]; ?><br />
			<strong>Measurements</strong>: <? echo $rrow[measurements]; ?><br />
			<strong>Hair</strong> : <? echo $rrow[hair]; ?><br />
			<strong>Eyes</strong> : <? echo $rrow[eyes]; ?><br />
			<strong>Ethnicity</strong>: <? echo $rrow[ethnicity]; ?><br /><br />
			<strong>Official site </strong> : <a href="<? echo $rrow[official_site_url]; ?>" target="_blank"> <? echo $rrow[official_site_name]; ?></a><br />
			<strong>Biography</strong> : <? echo $rrow[biography]; ?><br />
			<strong>Rank</strong> :  <? echo $rrow[rank]; ?><br />
			<strong>View</strong> :  <? echo $rrow[views]; ?><br />
            <? 
			$custom = unserialize($rrow[custom]);
			foreach($custom_pornstar_fields as $k=>$v) { ?>
				<? if($custom[$k]) { ?>
                <strong><? echo $k; ?></strong> : <? echo htmlentities($custom[$k]); ?><br />
                <? } ?>
            <? } ?>
			<? include($basepath.'/rating_models/_drawrating.php'); echo rating_bar($_GET[id],5); ?>
		<!-- class="pornstar-bio-right" --></div>
	
		<div class="clear"></div>

	<!-- class="contents" --></div>


	<div class="title-wrapper" style=" float:left; clear:both;">
		<div class="title">
			<div class="title-right">
				Movies
			<!-- class="title-right" --></div>
		<!-- class="title" --></div>
	<!-- class="title-wrapper" --></div>

	<div class="clear"></div>


	<div class="contents">    

    <?
		$cached_rfile = $cache_path.'/pornstars/'.rawurlencode($_SERVER[REQUEST_URI]);
		if(file_exists($cached_rfile) && time() - $overall_cache_time < filemtime($cached_rfile)) {
			$vstring = file_get_contents($cached_rfile);
			$farray = unserialize($vstring);
		} else {
			$dresult = mysql_query("SELECT content.*, (SELECT content_views.views FROM content_views WHERE content_views.content = content.record_num) as views FROM content, content_pornstars WHERE  content_pornstars.content = content.record_num AND content_pornstars.pornstar = '$rrow[record_num]' AND content.enabled = 1 GROUP BY content.record_num ORDER BY encoded_date DESC LIMIT 0,10");
			while($drow = mysql_fetch_array($dresult)) {
				$farray[] = $drow;
			}
			$vstring = serialize($farray);
			file_put_contents($cached_rfile, $vstring);
		}

		if(is_array($farray)) {
			foreach($farray as $row) {
				if($row[photos] == 0) {
					include($basepath.'/templates/template.content_item.php');
				} else {
					include($basepath.'/templates/template.content_item_photo.php');
				}
			}
		} 
	?>