{assign var='custom_upload_fields' value=$Upload->load_custom_upload_fields($data,TRUE)} {assign var='video_fields' value=$Upload->load_video_fields($data)} {if $data.title neq ""}

## Editing > {$data.title|truncate:80}

{$data.views|format_number}
Views {if $data.active=='yes'} {else}{/if}
Active {*pr($data,true)*}
{if $modedata!='featured'} {else}{/if}
Featured {if $data.in_editor_pick=='yes'} {else}{/if}
Editor Pick {if $data.flagged=='yes'} {else}{/if}
FLAGGED

Video Id | {$data.videoid}
Video Key | {$data.videokey}
File Name | {$data.file_name}
Uploaded Date | {$data.date_added|date_only}
Duration | {$data.duration|number_format} seconds
Total Video Files | {get_all_video_files vdetails=$data count_only=true}
Conversion log | Conversion log
Total Thumbnails | {get_thumb vdetails=$data count_only=true}

User Id | {$data.userid}
User Name | {$data.userid|get_username}
DOB | {$data.dob}
Email | {$data.email}
Gender | {$data.sex}
Rating | {$data.rating}

{ANCHOR place="key_rep"} {ANCHOR place="seo_edit_video"}

Video Thumbnails

{assign var=vidthumbs value=get_thumb($data,1,TRUE,FALSE,TRUE,FALSE,'original')}

{foreach from=$vidthumbs item=vid_thumb}
- {if $vid_thumb|getname!='processing'} {/if}
{/foreach}

Manage Thumbs
Status
Duration:
Video Stats
Views:
Rating:
RatedBy:
{ANCHOR place="doc_edit_video_form"}
Custom Upload Fields {foreach from=$custom_upload_fields item=field}
{$field.title}
{$field.class='form-control'} {$field.hint_1}
{ANCHOR place=$field.anchor_before} {if $field.name=='embed_code'} {if ($data.embed_code == '' || $data.embed_code == 'none' || $data.embed_code ==NULL)} {$field.extra_tags='disabled="disabled"'} {/if} {/if} {if $field.name=='remote_play_url'} {if ($data.remote_play_url == '' || $data.remote_play_url == 'none' || $data.remote_play_url ==NULL)} {$field.extra_tags=' disabled="disabled"'} {/if} {/if} {$formObj->createField($field)}
{$field.hint_2}
{/foreach} {ANCHOR place="upload_subtitle"} {ANCHOR place="edit_video_form"}
{FlashPlayer vdetails=$data width='100%' height='100%' }
{foreach from=$video_fields item=field_group} {if $field_group.group_name=='Sharing and privacy options'}
{foreach from=$field_group.fields item=field}
{$field.class='form-control'} {$field.title|truncate:80}
{if $field.type=='radio'} {$field.class='form-control'} {else} {$field.class='form-control'} {/if} {if $field.hint_1} {$field.hint_1}
{/if} {$formObj->createField($field)} {if $field.hint_2}
{$field.hint_2} {/if}
{/foreach}
{continue} {/if} {if $field_group.group_name=='Date recorded & Location'}
{foreach from=$field_group.fields item=field}
{$field.class='form-control'} {$field.title|truncate:80}
{if $field.type=='radio'} {$field.class='form-control'} {else} {$field.class='form-control'} {/if} {if $field.hint_1} {$field.hint_1}
{/if} {$formObj->createField($field)} {if $field.hint_2}
{$field.hint_2} {/if}
{/foreach}
{continue} {/if}
{foreach from=$field_group.fields item=field} {if $field.title=='Video Category'}
{$field.class='form-control'} {$field.title|truncate:80}
{if $field.hint_1} {$field.hint_1} {/if}
{if $field.type=='radio'} {$field.class='form-control'} {$field.class='form-control'} {else} {$field.class='form-control'} {/if} {$formObj->createField($field)} {if $field.hint_2}
{$field.hint_2} {/if}
{continue} {/if}
{$field.class='form-control'} {$field.title|truncate:80}
{if $field.type=='radio'} {$field.class='form-control'} {else} {$field.class='form-control'} {$field.id='form-control'} {/if} {if $field.hint_1} {$field.hint_1}
{/if} {$formObj->createField($field)} {if $field.hint_2}
{$field.hint_2} {/if}
{/foreach}
{/foreach}
{/if}

##### {$data.title|truncate:80}- Comments

{ANCHOR place="after_video_edit" data=$data.videoid}
{foreach from=$comments item=comment} {if $comment != ''}
{foreach from=$users item=u}
{/foreach}
{$comment.date_added|date_format}
{$comment.anonym_name}
{$comment.comment}
{else}

No comments found !

{/if} {/foreach}