{$category = $smarty.get.cat} {if $category != 'All' && is_numeric($category)} {if $smarty.const.THIS_PAGE == 'videos'} {$catname = $cbvid->get_category_name($category)} {$nowdo = "videos"} {else} {$catname = $userquery->get_category_name($category)} {/if} {$catname = $catname.category_name} {else} {$catname = 'All'} {/if} {if $smarty.const.BEATSLIST} {$cats_array = $beats->get_categories()} {$categories = $cats_array} {$type = 'beats'} {/if}
{$catname}