-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
68 lines (61 loc) · 2.02 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php
require_once 'header.php';
?>
<div id="content">
<div class="category-tab"><!--category-tab-->
<div class="col-sm-12">
<ul class="nav nav-tabs">
<?php
echo Functions::printCategoriesTabs();
?>
</ul>
</div>
<div class="tab-content">
<?php
echo Functions::printItemsWithCategories();
?>
</div>
</div><!--/category-tab-->
<div class="clear"></div>
<div class="recommended_items"><!--recommended_items-->
<h2 class="title text-center">НОВИ АРТИКУЛИ</h2>
<div id="recommended-item-carousel" class="carousel slide" data-ride="carousel">
<div class="carousel-inner">
<?php echo Functions::printNewestItems('active', false);?>
<?php echo Functions::printNewestItems('inactive', true);?>
<?php echo Functions::printNewestItems('inactive', false);?>
</div>
<a class="left recommended-item-control" href="#recommended-item-carousel" data-slide="prev">
<i class="glyphicon glyphicon-backward"></i>
</a>
<a class="right recommended-item-control" href="#recommended-item-carousel" data-slide="next">
<i class="glyphicon glyphicon-forward"></i>
</a>
</div>
</div><!--/recommended_items-->
</div>
</div>
<script type="text/javascript">
$(document).ready(function() {
// $('.articles').on('click', function(){
// $.ajax({
// type: 'post',
// url: "article.php",
// data: {
// id: $(this).data("id")
// },
// dataType: 'html'
// }).done(function(data){
// if(data != false)
// {
// $("#content").empty();
// $("#content").append(data);
// }
// $("#pages").addClass("hidden");
// });
// });
});
</script>
<?php
require_once 'footer.php';
?>