2009-12-09 13:43:19 +00:00
< div class = "vid_top_container" >
< div class = "video_title" > {$vdo.title}< / div >
{if $userquery->perm_check('admin_access')=='yes'}< div > {ANCHOR place=watch_admin_options data=$vdo}< / div > {/if}
{if has_hq($vdo)}
< span id = "hq" class = "hq_button_cont" >
< a href = "javascript:void(0)" onclick = "$('#normal_player_cont,#hd_player_cont,#hq,#non_hq').toggle()" >
< img src = "{$imageurl}/dot.gif" class = "hq_button" border = "0" / >
< / a >
< / span >
< span id = "non_hq" class = "hq_button_cont" style = "display:none" >
< a href = "javascript:void(0)" onclick = "$('#normal_player_cont,#hd_player_cont,#hq,#non_hq').toggle()" >
< img src = "{$imageurl}/dot.gif" class = "hq_button_sel" border = "0" / >
< / a >
< / span >
{/if}
2009-11-30 19:46:45 +00:00
< / div >
2009-12-09 13:43:19 +00:00
2009-11-30 19:46:45 +00:00
< div class = "watch_left" >
<!-- Player -->
2009-12-09 13:43:19 +00:00
< div class = "player_container" id = "normal_player_cont" >
2009-11-30 19:46:45 +00:00
< div id = "videoPlayer" class = 'video_player' >
This content requires JavaScript and Macromedia Flash Player 7 or higher. < a href = http://www.macromedia.com/go/getflash/ > Get Flash< / a > < br / > < br / >
< / div >
< script language = "javascript" >
{FlashPlayer vdetails = $vdo}
< / script >
2009-12-09 13:43:19 +00:00
< / div >
{if has_hq($vdo)}
< div class = "player_container" style = "display:none" id = "hd_player_cont" >
< div id = "hd_div" class = 'video_player' >
This content requires JavaScript and Macromedia Flash Player 7 or higher. < a href = http://www.macromedia.com/go/getflash/ > Get Flash< / a > < br / > < br / >
< / div >
< script language = "javascript" >
{FlashPlayer vdetails =$vdo player_div='hd_div' hq=true}
< / script >
2009-11-30 19:46:45 +00:00
< / div >
2009-12-09 13:43:19 +00:00
{/if}
2009-11-30 19:46:45 +00:00
<!-- Player End -->
<!-- Actions -->
< div class = "video_actions_cont" >
< div class = "rating_container" >
{show_video_rating rating=$vdo.rating ratings=$vdo.rated_by total='10' id=$vdo.videoid type=video}
< / div >
< div class = "actions" >
< ul >
2010-01-16 09:19:34 +00:00
< li > < a href = "javascript:void(0)" onclick = "slide_up_watch_video('#video_action_result_cont');add_to_fav('video','{$vdo.videoid}');" > < img src = "{$imageurl}/dot.gif" class = "add_to_fav" / > Add to favorites< / a > < / li >
< li > < a href = "javascript:void(0)" onclick = "slide_up_watch_video('#flag_item');$('#flag_item').slideToggle();" > < img src = "{$imageurl}/dot.gif" class = "report_this" / > Report this!< / a > < / li >
< li > < a href = "javascript:void(0)" onclick = "slide_up_watch_video('#share_form');$('#share_form').slideToggle();" > < img src = "{$imageurl}/dot.gif" class = "add_to_play" / > Share This< / a > < / li >
< li > < a href = "javascript:void(0)" onclick = "slide_up_watch_video('#playlist_form');$('#playlist_form').slideToggle();" > < img src = "{$imageurl}/dot.gif" class = "share_this" / > Add to playlist< / a > < / li >
2009-11-30 19:46:45 +00:00
< / ul >
< div class = "clearfix" > < / div >
< / div >
< div class = "clearfix" > < / div >
< / div >
<!-- Actions End -->
<!-- Action Result Container -->
< div class = "video_action_result_boxes" >
{show_share_form id=$vdo.videoid type=Video}
{show_flag_form id=$vdo.videoid type=Video}
< div class = "action_box" style = "display:none" id = "video_action_result_cont" > < / div >
{show_playlist_form id=$vdo.videoid type=Video}
< / div >
<!-- Action Result Container End -->
<!-- Video Stats -->
< div class = "video_details" >
< div class = "action_box" id = "video_detail_result_cont" style = "margin-top:0px; margin-bottom:5px; display:none" > < / div >
< div class = "vd_user_container" align = "center" >
< a href = "{$userquery->profile_link($user)}" > < img src = "{$userquery->getUserThumb($user)}" alt = "{$user.username}" class = "account_thumb" / > < / a >
< ul >
< li > < a href = "#" > View Profile< / a > < / li >
< li > < a href = "#" > View Videos< / a > < / li >
< / ul >
2009-12-01 11:51:31 +00:00
< div align = "center" > < span class = "small_button non_button" onclick = "subscriber('{$user.userid}','subscribe_user','video_detail_result_cont')" > Subscribe< / span > < / div >
2009-11-30 19:46:45 +00:00
< / div >
< div class = "vd_details" >
< div class = "uploading_detail" >
Uploaded by < a href = "{$userquery->profile_link($user)}" > {$user.username}< / a > — {$vdo.date_added|nicetime}
< / div >
< div class = "vd_stats" >
< ul >
< li > views : < strong > {$vdo.views|number_format}< / strong > < / li >
< li > duration : < strong > {$vdo.duration|SetTime}< / strong > < / li >
< li > comments :< strong > {$vdo.comments_count|number_format}< / strong > < / li >
< / ul >
< div class = "clearfix" > < / div >
< / div >
< div class = "desc_cont" >
< div class = "less_desc" id = "less_desc" >
< span class = "upper_quote" > < / span > {$vdo.description|description|truncate:200} < a href = "javascript:void(0)" onclick = "$('#less_desc').css('display','none');$('#more_desc').css('display','block');" > More< / a >
< / div >
< div class = "more_desc" id = "more_desc" style = "display:none" >
< span class = "upper_quote" > < / span > {$vdo.description|description} < a href = "javascript:void(0)" onclick = "$('#more_desc').css('display','none');$('#less_desc').css('display','block');" > Less< / a >
< / div >
< / div >
< div class = "tags_cats" >
< div class = "tags" > {$vdo.tags|tags:video}< / div >
< div class = "category" > Category : {$vdo.category|categories:video}< / div >
< / div >
< / div >
< div class = "clearfix" > < / div >
< / div >
<!-- Video Sttas -->
<!-- Video Comments -->
< div >
< h2 > Comments< / h2 >
<!-- Displaying Comments -->
{include file="$style_dir/blocks/comments/comments.html" id=$vdo.videoid type=v}
{include file="$style_dir/blocks/comments/add_comment.html" id=$vdo.videoid type=v}
< div class = "clearfix" > < / div >
< / div >
<!-- Video Comments -->
< / div >
<!-- Watch Right -->
< div class = "watch_right" >
{AD place='ad_300x250' style='margin-bottom:15px'}
{ANCHOR place="video_bookmarks" data=$vdo}
< div class = "video_details videosharing" align = "left" >
< strong >
< label for = "embed_code" > Embed Code< / label >
< br / >
< input type = "text" name = "embed_code" id = "embed_code" style = "margin-bottom:5px; width:99%" value = "{$cbvid->embed_code($vdo)|htmlspecialchars}" onclick = "this.select()" / >
< br / >
< label for = "link_video" > Link This Video< br / >
< / label >
< input type = "text" name = "link_video" id = "link_video" style = "width:99%" value = "{videoLink vdetails=$vdo}" onclick = "this.select()" / >
< / strong > {ANCHOR place="video_sharing_options" data=$vdo}< / div >
{ANCHOR place="watch_video_right" data=$vdo}
<!-- Playlist -->
2009-12-04 21:03:27 +00:00
{include file="$style_dir/blocks/watch_video/playlist_box.html" selected=$vdo.videoid }
2009-11-30 19:46:45 +00:00
<!-- Playlist End -->
<!-- Getting List user videos -->
2009-12-29 18:15:35 +00:00
{assign var=videos_items_columns value=func->config(videos_items_columns)}
{get_videos user=$vdo.userid limit=$videos_items_columns assign=user_vids exclude=$vdo.videoid}
2009-11-30 19:46:45 +00:00
{if $user_vids}
< span class = "watch_vids_head" onclick = '$(this).toggleClass("watch_vids_head_closed");$("#user_vids").slideToggle("fast")' > More from Admin< / span >
< div class = "watch_vids_cont" id = "user_vids" >
{section name=uvlist loop=$user_vids}
{include file="$style_dir/blocks/watch_video/video_box.html" video=$user_vids[uvlist]}
{/section}
< div class = "clearfix" > < / div >
< / div >
{/if}
<!-- Getting List user videos -->
<!-- Getting Related videos -->
2009-12-29 18:15:35 +00:00
{assign var=videos_items_columns value=func->config(videos_items_columns)}
{get_videos tags=$vdo.tags limit=$videos_items_columns assign=related_vids exclude=$vdo.videoid}
2009-11-30 19:46:45 +00:00
{if $related_vids}
< span class = "watch_vids_head" onclick = '$(this).toggleClass("watch_vids_head_closed");$("#related_vids").slideToggle("fast")' > Related Videos< / span >
< div class = "watch_vids_cont" id = "related_vids" >
{section name=uvlist loop=$related_vids}
{include file="$style_dir/blocks/watch_video/video_box.html" video=$related_vids[uvlist]}
{/section}
< div class = "clearfix" > < / div >
< / div >
{/if}
<!-- Getting Related videos -->
< / div >
< div class = "clearfix" > < / div >