-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
73 lines (59 loc) · 2.25 KB
/
page.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
69
70
71
72
73
<header id="header_main">
<nav class="navbar navbar-grey navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-admin" aria-expanded="false">
Menu <i class="fa fa-bars" aria-hidden="true"></i>
</button>
</div>
<div class="collapse navbar-collapse" id="navbar-admin">
<?php echo $section[ 'main_menu' ]; ?>
<?php echo $section[ 'second_menu' ]; ?>
</div>
</div>
</nav>
<h1><?php echo xss($icon); ?> <?php echo htmlspecialchars($title_main); ?></h1>
<div class="souligne" ></div>
</header>
<div class="main-wrapper">
<div class="container">
<div class="row">
<?php if (!empty($section[ 'messages' ])): ?>
<div class="col-md-12">
<?php echo $section[ 'messages' ]; ?>
</div>
<?php endif; ?>
<?php if (!empty($section[ 'sidebar' ])): ?>
<div class="col-md-4">
<?php echo $section[ 'sidebar' ]; ?>
</div>
<?php endif; ?>
<?php if (!empty($section[ 'sidebar' ])): ?>
<?php echo '<div class="col-md-8">'; ?>
<?php else: ?>
<?php echo '<div class="col-sm-12">'; ?>
<?php endif; ?>
<?php if (!empty($section[ 'content_header' ])): ?>
<?php echo $section[ 'content_header' ]; ?>
<?php endif; ?>
<?php echo $section[ 'submenu' ]; ?>
<?php echo $section[ 'content' ]; ?>
<?php if (!empty($section[ 'content_footer' ])): ?>
<?php echo $section[ 'content_footer' ]; ?>
<?php endif; ?>
<?php echo '</div>'; ?>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-12">
<footer>
<?php if (!empty($section[ 'footer' ])): ?>
<hr>
<?php echo $section[ 'footer' ]; ?>
<?php endif; ?>
</footer>
</div>
</div>
</div>