118 lines
6.4 KiB
HTML
118 lines
6.4 KiB
HTML
{if $display_type == ""}
|
|
|
|
<div class="show-image mouse_hover">
|
|
<div class="" style="padding-right: 0px;">
|
|
<!--<span class="photoname" id="avatar1_file" style="height: 45px; overflow: hidden;" >{$photo.photo_title|truncate:30}</span>-->
|
|
|
|
<a href="{$cbphoto->photo_links($photo,'view_item')}" title="Tolpis barbata (mariluzpicado)">
|
|
{get_photo details=$photo size='l' class='photo-land' output='html'}
|
|
|
|
<!-- <img alt="{$photo.photo_title}" title="{$photo.photo_title}" class="photo-land" id="photo_{$photo.photo_id}" src="{$baseurl}/styles/cbv2.7/timthumb.php?src={get_photo details=$photo size='o'}&h=150&w=150&zc=1"> -->
|
|
</a>
|
|
|
|
</div>
|
|
<span class="photoname mouse_hover_on" style="height: 30px; overflow: hidden;" >{if $photo.photo_title=='no-tag'}no-title{else}
|
|
{$photo.photo_title|truncate:25}{/if}</span>
|
|
</div>
|
|
<!--<div class="col-md-8">-->
|
|
<!--<a class="fancybox" rel="gallery1" href="http://farm6.staticflickr.com/5471/9036958611_fa1bb7f827_b.jpg" title="Westfield Waterfalls - Middletown CT Lower (Graham_CS)">-->
|
|
<!--{get_photo details=$photo output='html'}-->
|
|
<!--</a>-->
|
|
|
|
<!--</div>-->
|
|
|
|
|
|
|
|
|
|
|
|
<!--<div class="show-image col-md-4 col-sm-4 col-xs-6" style="padding: 0px">-->
|
|
<!--<div class="" id="">-->
|
|
<!--<span class="photoname col-md-4" id="avatar1_file" >{$photo.photo_title|truncate:15}</span>-->
|
|
<!--<a href="{$cbphoto->photo_links($photo,'view_item')}" >-->
|
|
<!--{get_photo details=$photo size='l' class='' output='html'}-->
|
|
<!--</a>-->
|
|
<!--</div>-->
|
|
<!--</div>-->
|
|
|
|
|
|
<!--<a class="fancybox-button" rel="fancybox-button" href="http://farm4.staticflickr.com/3787/9028269192_9b4ddf345d_b.jpg" title="Tolpis barbata (mariluzpicado)">-->
|
|
<!--<img src="http://farm4.staticflickr.com/3787/9028269192_9b4ddf345d_m.jpg" alt="" />-->
|
|
<!--</a>-->
|
|
<!--<a class="fancybox-button" rel="fancybox-button" href="http://farm4.staticflickr.com/3745/8971419780_cb88b22947_b.jpg" title="(dSavin)">-->
|
|
<!--<img src="http://farm4.staticflickr.com/3745/8971419780_cb88b22947_m.jpg" alt="" />-->
|
|
<!--</a>-->
|
|
<!--<a class="fancybox-button" rel="fancybox-button" href="http://farm9.staticflickr.com/8522/8478415115_152c6f5e55_b.jpg" title="a ride in blue? (cembayir_photography)">-->
|
|
<!--<img src="http://farm9.staticflickr.com/8522/8478415115_152c6f5e55_m.jpg" alt="" />-->
|
|
<!--</a>-->
|
|
<!--<a class="fancybox-button" rel="fancybox-button" href="http://farm9.staticflickr.com/8366/8483546751_86494ae914_b.jpg" title="reedit... (h_di)">-->
|
|
<!--<img src="http://farm9.staticflickr.com/8366/8483546751_86494ae914_m.jpg" alt="" />-->
|
|
<!--</a>-->
|
|
|
|
|
|
|
|
<!--<div class="row">-->
|
|
<!--<div class="col-md-2">-->
|
|
<!--<h4><small> <i class="glyphicon glyphicon-thumbs-up lfont"><b>2</b></i></small></h4>-->
|
|
<!--</div>-->
|
|
<!--<div class="col-md-2 like">-->
|
|
<!--<h4><small> <i class="glyphicon glyphicon-thumbs-down lfont"><b>4</b></i></small></h4>-->
|
|
<!--</div>-->
|
|
<!--</div>-->
|
|
|
|
|
|
{/if}
|
|
|
|
{if $display_type == 'related_photos'}
|
|
<div class="relatedPhotos clearfix">
|
|
<a href="{$cbphoto->photo_links($photo,'view_item')}">{get_photo details=$photo output='html' width='120' 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>
|
|
{show_rating rating=$photo.rating total='10' class='rating moveL'}
|
|
</div>
|
|
{/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' width='110'}</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>
|
|
{/if}
|
|
|
|
{if $display_type == "side_photos"}
|
|
<div style="display:inline-block; *display:inline; vertical-align:middle; padding:0 8px 5px 0px;">
|
|
<a href="{$cbphoto->photo_links($photo,'view_item')}">{get_photo details=$photo output='html' width='82' class='photoThumbBox'}</a>
|
|
<div class="photoTitle" style="font:bold 10px Arial; margin:1px 0px">
|
|
<a href="{$cbphoto->photo_links($photo,'view_item')}" title="{$photo.photo_title}">{$photo.photo_title|truncate:15}</a>
|
|
</div>
|
|
<div class="watch_video_box_details">
|
|
<span style="color:#666; font:normal 10px Arial;">{lang code='views'}: {$photo.views|number_format}</span><br>
|
|
<a style="font:bold 10px Arial; text-decoration:none;" href="{$userquery->profile_link($photo)}" title="{$photo.username}" alt="{$photo.username}">{$photo.username|truncate:12}</a>
|
|
</div>
|
|
</div>
|
|
{/if}
|
|
{if $display_type == "side_photos_viewed"}
|
|
<div style="display:inline-block; *display:inline; vertical-align:middle; padding:0 8px 5px 0px;">
|
|
<a href="{$cbphoto->photo_links($photo,'view_item')}">{get_photo details=$photo output='html' width="255" height="100" class='cb_img_thum'}</a>
|
|
<div class="photoTitle pull-left" style="font:bold 10px Arial; margin:1px 0px">
|
|
<a href="{$cbphoto->photo_links($photo,'view_item')}" title="{$photo.photo_title}">{$photo.photo_title|truncate:15}</a>
|
|
</div>
|
|
<div class="watch_video_box_details pull-right">
|
|
<span style="color:#666; font:normal 10px Arial;">{lang code='views'}: {$photo.views|number_format}</span>
|
|
</div>
|
|
</div>
|
|
{/if}
|
|
|
|
{if $display_type == "channel_page"}
|
|
<li class="itemBox" onclick="loadObject(this,'photos','{$photo.photo_id}','viewingArea')">
|
|
{get_photo details=$photo output='html' width='110' height='64' size='m' style='display:block;margin:0px auto;'}
|
|
</li> <!-- itemBox {$photo.photo_key} end -->
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|