{include file='header.tpl'}{literal}{/literal} {* $Id: user_video.tpl 148 2009-03-30 23:58:01Z john $ *}

{lang_sprintf id=5500103 1=$videos_total}


Upload Video {if $user->usersetting_info.numvideos==-1} {* if $videos_total < $user->level_info.level_video_maxnum *}
{* No youtube *} {if $user->level_info.level_youtube_allow && FALSE}
{lang_print id=5500186}
{/if}
{* /if *} {else} {* UPLOAD NEW VIDEO BUTTON *} {if $task1=="resize"}

Thank you, your video will be resized

{/if} {if $user->usersetting_info.numvideos==0} {if $videos_total < $user->level_info.level_video_maxnum}
{* No youtube *} {if $user->level_info.level_youtube_allow && FALSE}
{lang_print id=5500186}
{/if}
{/if} {else} {if $user->usersetting_info.numvideos >= $videos_total}
{* No youtube *} {if $user->level_info.level_youtube_allow && FALSE}
{lang_print id=5500186}
{/if}
{/if} {/if} {/if}
{* LOOP THROUGH VIDEOS *} {section name=video_loop loop=$videos} {* ENSURE VIDEO TITLE ISN'T BLANK *} {if $videos[video_loop].video_title == ""}{capture assign="video_title"}{lang_print id=589}{/capture}{else}{assign var="video_title" value=$videos[video_loop].video_title}{/if}
{* VIDEO HAD A PROBLEM ENCODING *} {if $videos[video_loop].video_is_converted == -1}
{lang_print id=5500203}
{* VIDEO HAD A PROBLEM UPLOADING *} {elseif !$videos[video_loop].video_uploaded}
{lang_print id=5500204}
{* VIDEO IS WAITING TO BE ENCODED *} {elseif !$videos[video_loop].video_is_converted}
{lang_print id=5500202}
{* VIDEO IS PROPERLY ENCODED *} {else}
{$videos[video_loop].video_views} view{if $videos[video_loop].video_views!=1}s{/if}, {$videos[video_loop].total_comments} comment{if $videos[video_loop].total_comments!=1}s{/if} - {section name=full_loop start=0 loop=$videos[video_loop].video_rating_full}{/section} {if $videos[video_loop].video_rating_part}{/if} {section name=none_loop start=0 loop=$videos[video_loop].video_rating_none}{/section}
{/if}
{if $videos[video_loop].rights==1}You have given permission for BateWorld to use this video. {elseif $videos[video_loop].consenttaken==0} OPTIONAL: Give permission for BateWorld to use this image for promotional purposes, in marketing materials, on social media, and elsewhere on this website, and can provide 2257 documentation upon request. {/if}
{* EDIT VIDEO *} {if $videos[video_loop].video_is_converted == 1 && $videos[video_loop].video_uploaded} {/if} {* RETRY UPLOAD *} {if $videos[video_loop].video_is_converted == -1 || !$videos[video_loop].video_uploaded} {/if} {* DELETE VIDEO *} {if !$videos[video_loop].video_uploaded || $videos[video_loop].video_is_converted!=0} {/if}
{if $videos[video_loop].video_is_converted==1}{*
*} {/if}
{cycle values=",
"} {/section}
{* IF NO VIDEOS, SHOW NOTE *} {if $videos_total == 0}
{lang_print id=5500109}
{/if} {* JAVASCRIPT FOR CONFIRMING DELETION *} {literal} {/literal} {* HIDDEN DIV TO DISPLAY CONFIRMATION MESSAGE *} {* HIDDEN DIV TO DISPLAY EDIT VIDEO *} {include file='footer.tpl'}