{if $show=='oyeaaa'} {assign var='requiredFields' value=$Upload->loadRequiredFields($data)} {assign var='optionFields' value=$Upload->loadOptionFields($data)} {assign var='locationFields' value=$Upload->loadLocationFields($data)} {assign var='custom_fields' value=$Upload->load_custom_upload_fields($data,TRUE)} {assign var='custom_form_fields' value=$Upload->load_custom_form_fields($data,TRUE)}

Viewing {$data.title} |  |

Information
{foreach from=$requiredFields item=field}
{$field.title} | {ANCHOR place=$field.anchor_before}{input_value input=$field}
{/foreach}
Important Details and Files information
Video Id | {$data.videoid}
Video Key | {$data.videokey}
File Name | {$data.file_name}
Video Files | {get_all_video_files vdetails=$data count_only=true}
Thumb Files | {get_thumb vdetails=$data count_only=true}
| {assign var=vidthumbs value=func->get_thumb($data,1,TRUE)} {foreach from=$vidthumbs item=vid_thumb} {if $data.default_thumb==$vid_thumb|get_thumb_num}Default{/if} {/foreach}
View File Details and Conversion Log
Sharing Options
{foreach from=$optionFields item=field}
{$field.title} | {ANCHOR place=$field.anchor_before}{input_value input=$field}
{/foreach}
Stats
Views | {$data.views}
Rating | {$data.rating} of 10
RatedBy | {$data.rated_by}
Duration | {$data.duration|SetTime}
Custom Upload Options
{foreach from=$custom_fields item=field}
{$field.title} | {$field.value|form_val}
{foreachelse}
No Custom Fields
{/foreach}
Custom Form Fields
{foreach from=$custom_form_fields item=field}
{$field.title} | {$field.value|form_val}
{foreachelse}
No Custom Fields
{/foreach}
User Information
User id | {$udata.userid}
User name | {$udata.username}
Videos Uploaded | {$userquery->get_user_vids($data.userid,'',true)}
| This content requires JavaScript and Macromedia Flash Player 7 or higher. Get Flash
Video Comments
{assign var=id value=$data.videoid}{include file="$style_dir/blocks/comments.html" type=v id=$data.videoid link="video=$id"}

{else}

## Page moved

{/if}