2011-01-27 12:42:54 +00:00
|
|
|
{if $object.photo_id}
|
|
|
|
<div class="video_title" style="font-size:14px; margin-bottom:5px;">{$object.photo_title}</div>
|
|
|
|
<div align="center">{get_photo details=$object output='html' size='l' width='370'}</div>
|
2011-02-06 20:25:26 +00:00
|
|
|
|
2011-02-09 16:03:20 +00:00
|
|
|
<div style="margin:5px auto;" >
|
2011-02-06 20:25:26 +00:00
|
|
|
|
|
|
|
<div style="display:inline-block; float:left">{show_rating class='rating' rating=$object.rating ratings=$object.rated_by total='10'}</div>
|
|
|
|
<div style="display:inline-block; float:right" align="right"><strong>{lang code='views'} {$object.views|number_format}</strong></div>
|
|
|
|
<div class="clear"></div>
|
|
|
|
{$object.photo_description|description|truncate:200}<br />
|
|
|
|
<div class="watchMainWindow" align="center">
|
|
|
|
<a href="{videoLink vdetails=$object}">{lang code='watch_on_photo_page'}</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
2011-01-27 12:42:54 +00:00
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
{if $object.videoid}
|
|
|
|
<div class="video_title" style="font-size:14px; margin-bottom:5px;">{$object.title}</div>
|
2011-02-09 16:03:20 +00:00
|
|
|
{FlashPlayer vdetails=$object width='100%' height='280' autoplay=true}
|
|
|
|
<div style="width:100%" >
|
2011-02-06 20:25:26 +00:00
|
|
|
|
|
|
|
<div style="display:inline-block; float:left">{show_rating class='rating' rating=$object.rating ratings=$object.rated_by total='10'}</div>
|
|
|
|
<div style="display:inline-block; float:right" align="right"><strong>{lang code='views'} {$object.views|number_format}</strong></div>
|
|
|
|
<div class="clear"></div>
|
|
|
|
{$object.description|description|truncate:200}<br />
|
|
|
|
<div class="watchMainWindow" align="center">
|
|
|
|
<a href="{videoLink vdetails=$object}">{lang code='watch_video_page'}</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2011-01-27 12:42:54 +00:00
|
|
|
{/if}
|