148 lines
4.9 KiB
HTML
Executable file
148 lines
4.9 KiB
HTML
Executable file
<style type="text/css">
|
|
.tree {
|
|
|
|
}
|
|
.tree li {
|
|
list-style-type:none;
|
|
margin:0;
|
|
padding:10px 5px 0 5px;
|
|
position:relative
|
|
}
|
|
.tree li::before, .tree li::after {
|
|
content:'';
|
|
left:-20px;
|
|
position:absolute;
|
|
right:auto
|
|
}
|
|
.tree li::before {
|
|
border-left:1px solid #999;
|
|
bottom:50px;
|
|
height:100%;
|
|
top:0;
|
|
width:1px
|
|
}
|
|
.tree li::after {
|
|
border-top:1px solid #999;
|
|
height:20px;
|
|
top:25px;
|
|
width:25px
|
|
}
|
|
.tree li span {
|
|
-moz-border-radius:5px;
|
|
-webkit-border-radius:5px;
|
|
border:1px solid #999;
|
|
border-radius:5px;
|
|
display:inline-block;
|
|
text-decoration:none
|
|
}
|
|
.tree li.parent_li>span {
|
|
cursor:pointer
|
|
}
|
|
.tree>ul>li::before, .tree>ul>li::after {
|
|
border:0
|
|
}
|
|
.tree li:last-child::before {
|
|
height:30px
|
|
}
|
|
.tree li.parent_li>span:hover, .tree li.parent_li>span:hover+ul li span {
|
|
background:#eee;
|
|
border:1px solid #94a0b4;
|
|
color:#000
|
|
}
|
|
</style>
|
|
<script type="text/javascript">
|
|
$(function () {
|
|
$('.tree li:has(ul)').addClass('parent_li').find(' > span').attr('title', 'Collapse this branch');
|
|
$('.tree li.parent_li > span').on('click', function (e) {
|
|
var children = $(this).parent('li.parent_li').find(' > ul > li');
|
|
if (children.is(":visible")) {
|
|
children.hide('fast');
|
|
$(this).attr('title', 'Expand this branch').find(' > i').addClass('glyphicon-plus').removeClass('glyphicon-minus');
|
|
} else {
|
|
children.show('fast');
|
|
$(this).attr('title', 'Collapse this branch').find(' > i').addClass('glyphicon-minus').removeClass('glyphicon-plus');
|
|
}
|
|
e.stopPropagation();
|
|
});
|
|
});
|
|
</script>
|
|
{$myAccountLinks = $userquery->my_account_links()}
|
|
{$leftMenuLinks = array_slice($myAccountLinks, 7)}
|
|
|
|
<div class="container marginBottom">
|
|
{include file="$style_dir/blocks/manage/account_menu.html"}
|
|
|
|
<div class="row">
|
|
{*include file="$style_dir/blocks/manage/left_side_bar.html"*}
|
|
<!-- Listing Categories -->
|
|
<div class="col-md-3 cb-box">
|
|
{include file="$style_dir/blocks/category_list.html" type='video'}
|
|
</div>
|
|
<!-- Listing Categories End -->
|
|
|
|
<div class="col-md-9">
|
|
<div class="cb-box clearfix">
|
|
<div class="page-header" style="height: 30px; border-bottom: 3px solid #47A3DA;
|
|
padding-bottom: 10px;
|
|
">
|
|
{assign var=sorting_links value=sorting_links()}
|
|
<h3 class="smaller lighter pull-left">Videos
|
|
<small>
|
|
{if isset($smarty.get.sort)}
|
|
{foreach from=$sorting_links item=name key=sort}
|
|
{if $smarty.get.sort==$sort}
|
|
<span class="glyphicon glyphicon-sort"></span> Most {$name}
|
|
{/if}
|
|
{/foreach}
|
|
{/if}
|
|
</small>
|
|
</h3>
|
|
|
|
<div class="pull-right ">
|
|
<div class="btn-group">
|
|
<ul Style="list-style:none">
|
|
<li class="dropdown">
|
|
<a data-toggle="dropdown" class="dropdown-toggle" href="#">{lang code='sort_by'}<b class="caret"></b></a>
|
|
<ul class="dropdown-menu">
|
|
{foreach from=$sorting_links item=name key=sort}
|
|
<li><a href="{link name=sort sort=$sort type=videos}" >{$name}</a></li>
|
|
{/foreach}
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<a href="#" id="list" onclick="ToggleView(this);" title="Change To List Style"><span class="glyphicon glyphicon-th-list"></span> </a>
|
|
<a href="#" id="grid" onclick="ToggleView(this);" title="Change to Grid Style"><span class="glyphicon glyphicon-th"></span> </a>
|
|
<div class="time_cont">
|
|
{assign var=time_links value=time_links()}
|
|
{foreach from=$time_links item=name key=sort name=times}
|
|
{if !$smarty.foreach.times.last}{/if}
|
|
{/foreach}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
{foreach $videos as $video}
|
|
<div class="col-md-3 marginBottom grid_view list_view">
|
|
{include file="$style_dir/blocks/videos/video.html"}
|
|
</div>
|
|
{/foreach}
|
|
</div>
|
|
<!--Pagination-->
|
|
<div class="pull-right">
|
|
{include file="$style_dir/blocks/pagination.html"}
|
|
</div>
|
|
|
|
<!-- /Pagination-->
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<div style="height:20px"> </div>
|
|
|
|
|
|
|