File: /home/httpd/html/tubeshemale.com/public_html/templates_OLD_JUNK/mobile.content_item_photo.php
<?
$bad = array('?','!',' ','&','*','$','#','@');
$good = array('','','-','','','','','');
$link = "$basehttp/galleries/".strtolower(str_replace($bad,$good,$row[title]))."-".$row[record_num].".html";
$dirname = str_replace('.flv','',$row[orig_filename]);
$subdir = $row[filename][0].'/'.$row[filename][1].'/'.$row[filename][2].'/'.$row[filename][3].'/'.$row[filename][4].'/';
$dirname = $subdir.$dirname;
?>
<div class="content">
<a href="<? echo $link; ?>"><img class="img" src="<? echo $gallery_url; ?>/<? echo $row[filename]; ?>/thumbs/<? echo $row[thumbfile]; ?>" alt="<? echo $row[title]; ?>"></a>
<div class="vtitle"><a href="<? echo $link; ?>"><? echo truncate($row[title],15); ?></a></div>
<div class="rating"><div class="star_off"><div class="star_on" style="width:<? echo ceil($row[rating]*10); ?>px"></div></div></div>
<div class="time"><strong><? if($row[submitter] == $_SESSION[userid]) { ?><a href="<? echo $basehttp; ?>/edit_content.php?id=<? echo $row[record_num]; ?>">Edit</a><? } else { echo sec2time($row[length]); } ?></strong></div>
<div class="date"><strong><? echo datediff('',$row[encoded_date],date('Y-m-d H:i:s'),false); ?></strong> ago</div>
<div class="views"><strong><? if($thispage == 'favorites') { ?><a href='<? echo $basehttp;?>/action.php?action=remove_favorites&id=<? echo $row[record_num]; ?>'>Remove</a><? } else { echo $row[views]; ?> views<? } ?></strong></div>
<!-- class="content" --></div>