2016-03-16 17:30:07 +05:00
|
|
|
{$myAccountLinks = $userquery->my_account_links()}
|
|
|
|
{$leftMenuLinks = array_slice($myAccountLinks, 7)}
|
2016-03-30 20:46:28 +05:00
|
|
|
<div id="main" class="clearfix container">
|
|
|
|
<div class="clearfix">
|
|
|
|
<section id="content" class="clearfix channels">
|
|
|
|
<div class="clearfix leaderboard-ad ad">
|
|
|
|
{AD place='ad_728x90'}
|
|
|
|
</div>
|
|
|
|
{$categories = pullCategories()}
|
|
|
|
{assign var=sorting_links value=sorting_links()}
|
|
|
|
<div class="filter-dropdowns clearfix">
|
|
|
|
{include file="$style_dir/blocks/category_list.html"}
|
|
|
|
<div class="sorting-col col-lg-6 col-md-6 col-sm-6 col-xs-12 clearfix">
|
|
|
|
<!--Sorting By View-->
|
|
|
|
<div class="dropdown">
|
|
|
|
{if $smarty.get.sort}
|
|
|
|
{foreach from=$sorting_links item=name key=sort name=sorts}
|
|
|
|
{if $smarty.get.sort==$sort && isset($smarty.get.sort)}
|
|
|
|
<a href="javascript:void(0)" data-toggle="dropdown" class="dropdown-toggle">{$name} <span class="icon-down-arrow"></span></a>
|
|
|
|
{/if}
|
|
|
|
{/foreach}
|
|
|
|
{else}
|
|
|
|
<a href="javascript:void(0)" data-toggle="dropdown" class="dropdown-toggle">Recent <span class="icon-down-arrow"></span></a>
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
{foreach from=$sorting_links item=name key=sort}
|
|
|
|
<li>
|
|
|
|
<a href="{link name=sort sort=$sort type=channels}&sorting=sort" {if $smarty.get.sort==$sort} class="selected" {/if}>{if $smarty.get.sort==$sort}{/if}{$name}</a>
|
|
|
|
</li>
|
2016-03-16 17:30:07 +05:00
|
|
|
{/foreach}
|
2016-03-30 20:46:28 +05:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!--Sorting By time-->
|
|
|
|
{assign var=time_links value=time_links()}
|
|
|
|
<div class="dropdown">
|
|
|
|
{if $smarty.get.time}
|
|
|
|
|
|
|
|
{foreach from=$time_links item=name key=sort name=times}
|
|
|
|
{if $smarty.get.time==$sort && isset($smarty.get.time)}
|
|
|
|
<a href="javascript:void(0)" data-toggle="dropdown" class="dropdown-toggle">{$name} <span class="icon-down-arrow"></span></a>
|
|
|
|
{/if}
|
|
|
|
{/foreach}
|
2016-03-16 17:30:07 +05:00
|
|
|
{else}
|
2016-03-30 20:46:28 +05:00
|
|
|
<a href="javascript:void(0)" data-toggle="dropdown" class="dropdown-toggle">all time <span class="icon-down-arrow"></span></a>
|
|
|
|
{/if}
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
{foreach from=$time_links item=name key=sort name=times}
|
|
|
|
<li>
|
|
|
|
<a href="{link name=time sort=$sort type=channels}&timing=time" {if $smarty.get.time==$sort} class="selected"{/if}>{if $smarty.get.time==$sort}<i class="icon-check"></i>{/if}{$name}</a>
|
|
|
|
</li>
|
|
|
|
{/foreach}
|
|
|
|
</ul>
|
2016-03-16 17:30:07 +05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-03-30 20:46:28 +05:00
|
|
|
<div class="clearfix row">
|
|
|
|
{if $users}
|
|
|
|
{foreach $users as $user}
|
|
|
|
<div class="item-channel col-lg-3 col-md-3 col-sm-4 col-xs-12">
|
|
|
|
{include file="$style_dir/blocks/channels.html" block_type = 'itemChannel'}
|
2016-03-16 17:30:07 +05:00
|
|
|
</div>
|
2016-03-30 20:46:28 +05:00
|
|
|
{/foreach}
|
|
|
|
{else}
|
|
|
|
<div class="well well-info">No Channel Found !</div>
|
|
|
|
{/if}
|
2016-03-16 17:30:07 +05:00
|
|
|
</div>
|
|
|
|
{include file="$style_dir/blocks/pagination.html"}
|
|
|
|
</section>
|
2016-03-30 20:46:28 +05:00
|
|
|
<aside id="sidebar">
|
|
|
|
<div class="box-ad ad">{AD place='ad_300x250'}</div>
|
|
|
|
<h2>Featured Videos</h2>
|
|
|
|
<div class="clearfix sidebar-items">
|
|
|
|
{$featured=$cbvid->get_videos(["featured"=>"yes","limit"=>6])}
|
|
|
|
{if $featured}
|
|
|
|
{foreach $featured as $video}
|
|
|
|
{include file="$style_dir/blocks/videos/video.html" display_type='featuredVideos_sidebar'}
|
|
|
|
{/foreach}
|
|
|
|
{else}
|
|
|
|
<div class="well well-info">No Videos Found !</div>
|
|
|
|
{/if}
|
|
|
|
</div>
|
|
|
|
</aside>
|
2016-03-16 17:30:07 +05:00
|
|
|
</div>
|
|
|
|
</div>
|