{include file='header.tpl'} {literal} {/literal} {* $Id: video.tpl 236 2009-11-13 05:29:23Z phil $ *} {* LEFT COLUMN - VIDEO PLAYER AND COMMENTS *}
{* VIDEO HEADER - TITLE AND TEXT *}

{$video_info.video_title}

{$video_info.video_desc|truncate:100:"...":true}{if $video_info.video_desc|count_characters:true > 100} ({lang_print id=5500101}){/if}

{if $video_info.video_desc|count_characters:true > 100} {/if}
{literal} {/literal}
{literal}
{/literal}
{* SHOW VIDEO DETAILS *}
{if $video_info.ai==1}
This media may have been generated or manipulated using AI, and may not depict a real person or event.
{/if}
{* SHOW RATING (NOT ALLOWED TO RATE) *} {* SHOW RATING (NOT ALLOWED TO RATE) *} {if !$allowed_to_rate}
{section name=full_loop start=0 loop=$video_info.video_rating_full} {/section} {if $video_info.video_rating_part}{/if} {section name=none_loop start=0 loop=$video_info.video_rating_none} {/section}
Rate it
{* SHOW RATING (ALLOWED TO RATE) *} {else}
{assign var="rating" value="0"} {section name=full_loop start=0 loop=$video_info.video_rating_full} {assign var="rating" value=$rating+1} {/section} {if $video_info.video_rating_part} {assign var="rating" value=$rating+1} {/if} {section name=none_loop start=0 loop=$video_info.video_rating_none} {assign var="rating" value=$rating+1} {/section}
Rate it
{* RATING JAVASCRIPT *} {literal} {/literal} {/if} {* SHOW STATS *}
{assign var="uploaddate" value=$datetime->time_since($video_info.video_datecreated)} {capture assign="uploaded"}{$uploaddate[1]} {if $uploaddate[0]==773}second{if $uploaddate[1]!=1}s{/if} ago {elseif $uploaddate[0]==774}minutes{if $uploaddate[1]!=1}s{/if} ago {elseif $uploaddate[0]==775}hour{if $uploaddate[1]!=1}s{/if} ago {elseif $uploaddate[0]==776}day{if $uploaddate[1]!=1}s{/if} ago {elseif $uploaddate[0]==777}week{if $uploaddate[1]!=1}s{/if} ago {elseif $uploaddate[0]==778}month{if $uploaddate[1]!=1}s{/if} ago {elseif $uploaddate[0]==779}year{if $uploaddate[1]!=1}s{/if} ago {/if} {/capture} {capture assign="uploaded"}{lang_sprintf id=$uploaddate[0] 1=$uploaddate[1]}{/capture}
{if $group->user_rank == 2 || $group->user_rank == 1 || ($video_info.video_user_id == $user->user_info.user_id)} {* JAVASCRIPT FOR CONFIRMING DELETION *} {literal} {/literal}{/if}

{* COMMENTS *}
About
{$video_info.video_desc}
Uploaded by {$owner->user_info.user_username} {lang_sprintf id=5500024 1=$uploaded}
{lang_sprintf id=5500037 1=$video_info.video_rating_total}
{lang_sprintf id=5500038 1=$video_info.video_views}
Comments: {$total_comments|default:0}
Likes: {$total_likes|default:0}
{if $tagged!=""}Members in this video: {$tagged}{/if}
{*if $allowed_to_comment*}
{if $user->user_points > 3}
Allowed HTML Tags: b, a, br
{/if}
{*/if*}
{lang_javascript ids=39,155,175,182,183,184,185,187,784,787,829,830,831,832,833,834,835,854,856,891,1025,1026,1032,1034,1071} {* RIGHT COLUMN - USER'S OTHER VIDEOS *}
{literal} {/literal} {include file='footer.tpl'}