## Video Manager

{include file="$layout_dir/blocks/advanced_search.html" }
{if $smarty.get.active!='no'} {/if}

| VID | Videos Details |
{if $videos} {foreach from=$videos item=video}
| {$video.videoid} | {$video.title|truncate:80} ({if $video.duration>1}{$video.duration|SetTime}{else}00:00{/if}) {$video.date_added|niceTime} | {lang code='views'} : {$video.views|number_format} {if $video.active=='yes'}Active{else}Inactive{/if} {$video.status} {*if $video.status=='Processing' || $video.conv_progress < 100} {/if*} {if $video.featured=='yes'} Featured {/if} {foreach from=$cbvid->video_manager_link_new item=links} {$cbvid->video_manager_link_new($links,$video)} {/foreach} {if !isReconvertAble($video)} Non-Convertable {else} Re-Convertable {/if} {$quals = resString($video.video_files)} {if $quals} {$quals} {/if} {$catString = {$video.category|categories:video}} {$catString = strip_tags($catString)} {$toArray = explode(',',$catString)} {$totalItems = count($toArray)} {if $totalItems > 4} {$moreText = ' + more '} {/if} {$finalItems = array_slice($toArray, 0, 4)} {$vcategories = implode(',',$finalItems)} Categories : {$vcategories} {$moreText} {$video.username} |
{/foreach}

{else}
No Video Found
{/if}
{include file="$style_dir/blocks/pagination.html" }