-
Notifications
You must be signed in to change notification settings - Fork 412
/
index.php
executable file
·38 lines (27 loc) · 1.36 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
<?php get_header() ?>
<?php if (pk_get_option('index_mode') != 'company'): ?>
<div id="content" class="mt15 container">
<?php get_template_part('templates/box', 'global-top') ?>
<div class="row row-cols-1">
<div class="col-lg-<?php pk_hide_sidebar_out('12', '8') ?> col-md-12 <?php pk_open_box_animated('animated fadeInLeft') ?> ">
<?php if (isset($paged) && $paged <= 1): ?>
<div class="<?php pk_open_box_animated('animated fadeInLeft') ?>">
<?php get_template_part('templates/module', 'banners') ?>
</div>
<?php endif; ?>
<div class="<?php pk_open_box_animated('animated fadeInLeft') ?>
<?php echo pk_post_style_list() ? '' : 'pr-0 pl-0' ?>">
<div>
<?php get_template_part('templates/module', 'posts') ?>
</div>
</div>
</div>
<?php get_sidebar() ?>
</div>
<?php get_template_part('templates/module', 'cms') ?>
<?php get_template_part('templates/module', 'links') ?>
<?php get_template_part('templates/box', 'global-bottom') ?>
<?php dynamic_sidebar('index_bottom') ?>
</div>
<?php else: get_template_part('templates/page', 'company'); endif; ?>
<?php get_footer() ?>