2010-12-23 16:56:33 +00:00
|
|
|
{if $display_type == ""}
|
|
|
|
<div class="clearfix photo_block">
|
|
|
|
<a href="{$cbphoto->photo_links($photo,'view_item')}">{get_photo details=$photo output='html' class='photoThumbBox moveL' style='margin-right:5px;'}</a>
|
|
|
|
<div class="photoTitle" style="margin-bottom:5px; font:bold 12px Arial;">
|
|
|
|
<a href="{$cbphoto->photo_links($photo,'view_item')}" title="{$photo.photo_title}">{$photo.photo_title|truncate:15}</a></div>
|
|
|
|
<span class="photoInfo" style="font:normal 11px Tahoma">
|
|
|
|
{$photo.views|number_format} {lang code="views"} <br/> {$photo.total_comments} {lang code="comments"}
|
|
|
|
<br />
|
|
|
|
<a href="{$cbcollection->collection_links($photo.collection_id,'view')}">{$photo.collection_id|get_collection_field}</a>
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
{/if}
|
|
|
|
|
2010-12-14 13:53:51 +00:00
|
|
|
{if $display_type == 'related_photos'}
|
|
|
|
<div class="relatedPhotos clearfix">
|
|
|
|
<a href="{$cbphoto->photo_links($photo,'view_item')}">{get_photo details=$photo output='html' class='photoThumbBox moveL' style='margin-right:5px;'}</a>
|
|
|
|
<div class="photoTitle" style="margin-bottom:5px;"><a href="{$cbphoto->photo_links($photo,'view_item')}" title="{$photo.photo_title}">{$photo.photo_title|truncate:15}</a></div>
|
|
|
|
<span class="photoInfo">{$photo.views|number_format} {lang code="views"} <br/> {$photo.total_comments} {lang code="comments"}</span>
|
|
|
|
<div style="height:5px;"></div>
|
|
|
|
{show_rating rating=$photo.rating total='10' class='rating moveL'}
|
|
|
|
</div>
|
2011-01-20 09:12:42 +00:00
|
|
|
{/if}
|
|
|
|
|
|
|
|
{if $display_type == 'subscription'}
|
|
|
|
<div class="grid_view clearfix" style="width:auto; margin-right:4px;">
|
|
|
|
<a href="{$cbphoto->photo_links($photo,'view_item')}">{get_photo details=$photo output='html' class='photoThumbBox'}</a>
|
|
|
|
<div class="photoTitle" style="margin:5px 0px; font:bold 11px Arial;">
|
|
|
|
<a href="{$cbphoto->photo_links($photo,'view_item')}" title="{$photo.photo_title}">{$photo.photo_title|truncate:15}</a></div>
|
|
|
|
{show_rating rating=$photo.rating total='10' class='rating'}
|
|
|
|
<div style="font-size:10px; margin:2px;">{$photo.views|number_format} {lang code="views"}</div>
|
|
|
|
<a href="{$userquery->profile_link($photo)}" style="font:bold 10px Arial; text-decoration:none;">{$photo.username|truncate:20}</a>
|
|
|
|
</div>
|
2010-12-14 13:53:51 +00:00
|
|
|
{/if}
|