2009-12-21 21:11:54 +00:00
{if $cur_class==''}
{assign var=cur_class value=$smarty.cookies.current_style}
{/if}
2009-11-30 19:46:45 +00:00
<!-- Video Box -->
{if $display_type =='normal' || $display_type==''}
2010-06-25 11:02:15 +00:00
< div id = "vid_wrap_{$video.videoid}" class = "{if $video_view}{$video_view}{else}grid_view {if $cur_class == 'grid_view'}{else}{$cur_class}{/if}{/if}" >
2010-01-14 13:15:23 +00:00
< div class = "vid_thumb" >
2010-02-21 20:40:26 +00:00
< a href = "{videoLink vdetails=$video}" > < img src = "{getThumb vdetails=$video}" alt = "{$video.title}" { ANCHOR place = "video_thumb" data = $video} / > < / a >
2010-01-14 13:15:23 +00:00
< span class = "vid_time" > {$video.duration|SetTime}< / span >
2010-02-25 13:18:33 +00:00
< img src = "{$imageurl}/dot.gif" class = "add_icon" onclick = "add_quicklist(this,'{$video.videoid}')" title = "Add {$video.title} to Quicklist" alt = "Quicklist" / >
{if $video.broadcast=='private'}
2010-02-25 13:34:31 +00:00
< a href = "{videoLink vdetails=$video}" > < span class = "private_video" > < / span > < / a >
{/if}
2010-02-25 13:18:33 +00:00
{ANCHOR place='in_video_thumb' data=$video}
2010-01-14 13:15:23 +00:00
< / div > <!-- VID_THUMB END -->
< div class = "vid_info_wrap" >
< h2 class = "title" > < a href = "{videoLink vdetails=$video}" > {$video.title|truncate:30}< / a > < / h2 >
< div class = "list_raitng" >
{show_rating class='rating' rating=$video.rating ratings=$video.rated_by total='10'}
< / div >
< p id = "desc" class = "vid_info" > {$video.description|description|truncate:100}< / p >
2010-01-16 08:02:43 +00:00
< p class = "vid_info" > {$video.views} View(< strong > s< / strong > ) < span class = "list_commnets" > | {$video.comments_count} Comment(< strong > s< / strong > )< / span > < / p >
2010-01-15 15:38:47 +00:00
< p class = "vid_info" > < span class = "info_list" > Uploaded By < / span > < a href = "{$userquery->profile_link($video)}" > {$video.username}< / a > < span class = "list_up_time" > ({$video.date_added|niceTime})< / span > < / p >
2010-01-14 13:15:23 +00:00
< / div > <!-- VID_INFO_WRAP END -->
< / div > <!-- VID_WRAP END -->
2010-01-26 13:52:07 +00:00
{if $only_once}
< div class = "clearfix" > < / div >
{/if}
2009-11-30 19:46:45 +00:00
{/if}
2010-01-16 14:49:17 +00:00
<!-- Video Box -->
{if $display_type=='add_type'}
< div class = "vertical" >
< div class = "the_vid_container" >
< div class = "video_thumb" >
2010-02-25 13:18:33 +00:00
{ANCHOR place='in_video_thumb' data=$video}
2010-02-21 20:40:26 +00:00
< label for = "check_video_{$video.videoid}" > < img src = "{getThumb vdetails=$video}" width = "110" height = "66" border = "0" / > < / label >
2010-01-16 14:49:17 +00:00
{if $check_type=='array'}
< input type = "checkbox" name = "check_video[]" id = "check_video_{$video.videoid}" style = "position:absolute; bottom:0px; left:0px" { if $ check_this } checked = "checked" { / if } value = "{$video.videoid}" / >
{else}
< input type = "checkbox" name = "check_video_{$video.videoid}" id = "check_video_{$video.videoid}" style = "position:absolute; bottom:0px; left:0px" { if $ check_this } checked = "checked" { / if } value = "yes" / >
{/if}
< div class = "duration" > {$video.duration|SetTime}< / div >
< / div > <!-- VIDEO_THUMB END -->
< div class = "details_block" >
< div class = "lvl1 clearfix" >
< div class = "title" > < a href = "{videoLink vdetails=$video}" > {$video.title|truncate:30}< / a > < / div >
{show_rating class='rating' rating=$video.rating ratings=$video.rated_by total='10'}
< / div > <!-- LVL1 END -->
< div class = "lvl2 clearfix" >
< div class = "desc" > {$video.description|description|truncate:100}< / div >
< div class = "length" > Time: < span > {$video.duration|SetTime:false}< / span > < / div >
< / div > <!-- LVL2 END -->
< div class = "lvl3 clearfix" >
< div class = "views" > < span > {$video.views}< / span > view(< strong > s< / strong > )< / div >
< / div > <!-- LVL3 END -->
< div class = "lvl4 clearfix" >
< div class = "uploaded" >
2010-01-17 13:26:50 +00:00
< a href = "{$userquery->profile_link($video)}" > {$video.username}< / a >
2010-01-16 14:49:17 +00:00
< / div >
< / div > <!-- LVL4 END -->
< / div > <!-- DETAILS_BLOCK END -->
< div class = "clearfix" > < / div >
< / div >
< / div >
{if $only_once}
2010-01-26 13:52:07 +00:00
< div class = "clearfix" > < / div >
2010-01-16 14:49:17 +00:00
{/if}
{/if}