File: /home/httpd/html/tubeshemale.com/public_html/templates_OLD_JUNK/template.content_item_photo.php
<?
$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; ?>" target="_self"><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"><b><? if($row[submitter] == $_SESSION[userid]) { ?><a href="<? echo $basehttp; ?>/edit_content.php?id=<? echo $row[record_num]; ?>">Edit</a><? } else { echo "Photos"; } ?></b></div>
<div class="date"><b><? echo datediff('',$row[encoded_date],date('Y-m-d H:i:s'),false); ?></b> ago</div>
<div class="views"><b><? echo $row[views]; ?></b> views</div>
<!-- class="content" --></div>