-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
94 lines (81 loc) · 3.11 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!-- Main -->
<div id="main">
<div class="inner">
<!-- Header -->
<header id="header">
<a href="<?php echo $base_path; ?>">
<?php if ($logo): ?>
<img src="<?php echo $logo; ?>" class="logo" alt="Logo site">
<?php endif; ?>
<strong><?php echo htmlspecialchars($title); ?></strong>
</a>
<ul class="icons">
<li><a href="#" class="icon fab fa-twitter"><span class="label">Twitter</span></a></li>
<li><a href="#" class="icon fab fa-facebook"><span class="label">Facebook</span></a></li>
<li><a href="#" class="icon fab fa-snapchat-ghost"><span class="label">Snapchat</span></a></li>
<li><a href="#" class="icon fab fa-instagram"><span class="label">Instagram</span></a></li>
<li><a href="#" class="icon fab fa-medium"><span class="label">Medium</span></a></li>
</ul>
</header>
<!-- Content -->
<section>
<header class="main">
<h1><?php echo htmlspecialchars($title_main); ?></h1>
</header>
<?php if (!empty($section[ 'messages' ])): ?>
<?php echo $section[ 'messages' ]; ?>
<?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; ?>
</section>
</div>
</div>
<!-- Sidebar -->
<div id="sidebar">
<div class="inner">
<!-- Menu -->
<nav id="menu">
<header class="major">
<h2>Menu</h2>
</header>
<?php echo $section[ 'main_menu' ]; ?>
</nav>
<?php if (!empty($section[ 'sidebar' ])): ?>
<!-- Section -->
<section>
<?php echo $section[ 'sidebar' ]; ?>
</section>
<?php endif; ?>
<?php if (!empty($section[ 'footer_first' ])): ?>
<!-- Section -->
<section>
<?php echo $section[ 'footer_first' ]; ?>
</section>
<?php endif; ?>
<?php if (!empty($section[ 'footer_second' ])): ?>
<!-- Section -->
<section>
<?php echo $section[ 'footer_second' ]; ?>
</section>
<?php endif; ?>
<nav id="second_menu">
<?php echo $section[ 'second_menu' ]; ?>
</nav>
<!-- Footer -->
<footer id="footer">
<p class="copyright">© Untitled. All rights reserved. <br>
Demo Images: <a href="https://unsplash.com">Unsplash</a>. <br>
Design: <a href="https://html5up.net">HTML5 UP</a>.
</p>
<?php if (!empty($section[ 'footer' ])): ?>
<?php echo $section[ 'footer' ]; ?>
<?php endif; ?>
</footer>
</div>
</div>