{if $time_took} {$time_took} seconds {/if}
{if $videos}

Videos See All

{foreach $videos as $video}

{$video.title}

{name($video)}

{$video.views} views {$video.date_added|date_format}
{/foreach}
{/if} {if $groups}

Groups See All

{foreach $groups as $group}

{$group.group_name}

{$group.ATCategory}

{/foreach}
{/if} {if $collections}

Collection See All

{foreach $collections as $collection}

{$collection.group_name}

{$collection.ATCategory}

{/foreach}
{/if} {if $users}

Users See All

{foreach $users as $user} {$user_details = $userquery->get_user_details($user.userid)}

{name($user_details)}

{$user.total_videos} {if $user.total_videos > 1}videos {else} video {/if} | {$user.views} Views

{name($user_details)}

{$user.total_videos} {if $user.total_videos > 1}videos {else} video {/if} | {$user.views} Views

{/foreach}
{/if}
{include file="$style_dir/blocks/pagination.html"}
{if !$videos && !$groups && !$collections && !$users } {lang code="no_search_results"} {/if}

Videos See All

{if $videos} {foreach $videos as $video}

{$video.title}

{name($video)}

{$video.views} views {$video.date_added|date_format}
{/foreach}
{include file="$style_dir/blocks/pagination.html"}
{else} {lang code="no_search_results"} {/if}

Groups See All

{if $groups} {foreach $groups as $group}

{$group.group_name}

{$group.ATCategory}

{/foreach}
{include file="$style_dir/blocks/pagination.html"}
{else} {lang code="no_search_results"} {/if}

Collections See All

{if $collections} {foreach $collections as $collection}

{$collection.group_name}

{$collection.ATCategory}

{/foreach}
{include file="$style_dir/blocks/pagination.html"}
{else} {lang code="no_search_results"} {/if}

Users See All

{if $users} {foreach $users as $user} {$user_details = $userquery->get_user_details($user.userid)}

{name($user_details)}

{$user.total_videos} {if $user.total_videos > 1}videos {else} video {/if} | {$user.views} Views

{name($user_details)}

{$user.total_videos} {if $user.total_videos > 1}videos {else} video {/if} | {$user.views} Views

{/foreach}
{include file="$style_dir/blocks/pagination.html"}
{else} {lang code="no_search_results"} {/if}