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/debouchery.com/public_html/templates/default_v3/template.performer_item.php
<?php
$link = generateUrl('webcams', strtolower($row['username']), strtolower($row['siteSlug']));
if($row['age'] == 0) { 
	//random age if no age is given
	$row['age'] = rand(18,30);
}
$genders = array("f"=>"Female", "m"=>"Male", "c"=>"Couple", "t"=>"Trans");
?>
<a href="<?php echo $link; ?>" class="main__model" <?php if(isset($favoritesPage)) { ?>data-favorite='<?php echo md5($row['site'].$row['username']); ?>'<? } ?>>
	<img loading='lazy' src="<? echo $row['image_url']; ?>" alt="<? echo $row['username']; ?> webcam" onerror="this.src='<? echo $basehttp; ?>/core/images/placeholder.jpg'" class="main__modelPhoto">
	<div class="main__modelWrapper">
		<div class="main__modelWrapperRow">
		<?php if(isset($favoritesPage)) { ?>
			<i data-mb="remFav" data-site="<?php echo $row['site']; ?>" data-model="<?php echo $row['username']; ?>" class="fa-solid fa-heart" ></i>
		<?php } else { ?>
			<?php if($allowAddFavorites) { ?>
			<i data-mb="addFav" data-site="<?php echo $row['site']; ?>" data-model="<?php echo $row['username']; ?>" class="fa-solid fa-heart" ></i>
			<? } ?>
		<?php } ?>
			<img src="<?php echo $basehttp; ?>/core/images/item-logos/<?php echo strtolower(str_replace('/', '-', $row['siteName'])); ?>.png" class="main__modelLogo">
		</div>
		<div class="main__modelInfoWrapper">
			<div class="main__modelInfo">
				<h2 class="main__modelName"><?php echo $row['username']; ?></h2>
				<? if($row['status'] == 1) { ?>
				<span class="main__modelLive">
					
					<i class="fa-solid fa-circle"></i>
					LIVE
					
				</span>
				<? } ?>
			</div>
			
			<div class="main__modelEthnicity">
				<span class="name"><? echo (int)$row['age'] ?></span>
				<span class="value"> Year old </span><span class="name"><? echo $genders[$row['gender']]; ?></span>
			</div>
			
		</div>
	</div>
</a>