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/freecam2.com/public_html/templates/default_v2/template.performer_item.php
<?php
$link = generateUrl('webcams', strtolower($row['username']), strtolower($row['siteSlug']));
?>
<!-- item -->
<div class="img-col mb-4 -cam" <?php if(isset($favoritesPage)) { ?>data-favorite='<?php echo md5($row['site'].$row['username']); ?>'<? } ?>>
    <div class="thumbnail-card">
        <a href="<?php echo $link; ?>" class="video-link d-block position-relative">
            <span class="image">
                <span class="thumb-overflow">
                    <img loading='lazy' class="img-thumbnail" src="<? echo $row['image_url']; ?>" alt="<? echo $row['username']; ?> webcam" onerror="this.src='<? echo $basehttp; ?>/core/images/placeholder.jpg'" />
                </span>
            </span>
            
            <span class="item-info">
                <span class="item-name"><?php echo $row['username']; ?></span>
                
               
                    <span  class="top-icon">
                        <span class="live">
							 <?php if ($row['status'] == 1) { ?>
                            <span class="online-dot"></span>
                            live
							 <?php } else { ?>
							 offline
							 <?php } ?>
                        </span>
                    </span>
              
                
                <span class="item-sub-info">
                    <span class="item-ethnicity">
                        <span class="label"><?php echo _t('Ethnicity'); ?></span>
                        <span class="desc"><?php echo ($row['race']) ? $row['race'] : "-"; ?></span>
                    </span>
                </span>
            </span>
            
            <?php if ($row['site'] !== '' && $row['site'] !== '0') { ?>
                <span class="item-sites">
                    <img width='100' height='20' src="<?php echo $basehttp; ?>/core/images/item-logos/<?php echo strtolower(str_replace('/', '-', $row['siteName'])); ?>.png" alt="<? echo $row['siteName']; ?>" />
                </span>
            <?php } ?>
        </a>
        
        <?php if(isset($favoritesPage)) { ?>
            <a href="#" title="<?php echo _t("Remove from Favorites"); ?>" class="add-to-fav" data-mb="remFav" data-site="<?php echo $row['site']; ?>" data-model="<?php echo $row['username']; ?>">
                <i class="bi bi-dash-square-fill" aria-hidden="true"></i>
            </a>
        <?php } else { ?>
            <?php if($allowAddFavorites) { ?>
                <a href="#" title="<?php echo _t("Add to favorites"); ?>" class="add-to-fav" data-mb="addFav" data-site="<?php echo $row['site']; ?>" data-model="<?php echo $row['username']; ?>">
                    <i class="bi bi-heart-fill" aria-hidden="true"></i>
                </a>
            <? } ?>
        <?php } ?>
    </div>
</div>
<!-- item END -->