-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathindex.php
143 lines (134 loc) · 7.16 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
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<?php
require_once('config/config.php');
/* Persiste System Settigs On Landing Pages */
$ret = "SELECT * FROM `system_settings` ";
$stmt = $mysqli->prepare($ret);
$stmt->execute(); //ok
$res = $stmt->get_result();
while ($sys = $res->fetch_object()) {
if ($sys_logo = '') {
$logo_dir = 'public/uploads/sys_logo/logo.png';
} else {
$logo_dir = "public/uploads/sys_logo/$sys->sys_logo";
}
require_once('partials/cms_head.php');
?>
<body>
<div class="super_container">
<?php require_once("partials/cms_nav.php"); ?>
<div class="home">
<div class="parallax_background parallax-window" data-parallax="scroll" data-image-src="public/cms_assets/images/home.jpg" data-speed="0.8"></div>
<div class="home_container d-flex flex-column align-items-center justify-content-center">
<div class="home_title">
<h1><?php echo $sys->sys_name; ?></h1>
</div>
<div class="home_text text-center">
<?php echo $sys->sys_tagline; ?>
</div>
<div class="button home_button"><a href="#">View Our Rooms</a></div>
</div>
</div>
<div class="intro">
<div class="container">
<div class="row">
<div class="col">
<div class="section_title text-center">
<div>Welcome</div>
<h1><?php echo $sys->welcome_heading; ?></h1>
</div>
</div>
</div>
<div class="row intro_row">
<div class="col-xl-8 col-lg-10 offset-xl-2 offset-lg-1">
<div class="intro_text text-center">
<p>
<?php echo $sys->welcome_content; ?>
</p>
</div>
</div>
</div>
<div class="row gallery_row">
<div class="col">
<div class="gallery_slider_container">
<div class="owl-carousel owl-theme gallery_slider">
<div class="gallery_slide">
<img src="public/cms_assets/images/gallery_1.jpg" alt="">
<div class="gallery_overlay">
<div class="text-center d-flex flex-column align-items-center justify-content-center">
</div>
</div>
</div>
<div class="gallery_slide">
<img src="public/cms_assets/images/gallery_2.jpg" alt="">
<div class="public/cms_assets/gallery_overlay">
<div class="text-center d-flex flex-column align-items-center justify-content-center">
</div>
</div>
</div>
<div class="gallery_slide">
<img src="public/cms_assets/images/gallery_3.jpg" alt="">
<div class="gallery_overlay">
<div class="text-center d-flex flex-column align-items-center justify-content-center">
</div>
</div>
</div>
<div class="gallery_slide">
<img src="public/cms_assets/images/gallery_4.jpg" alt="">
<div class="gallery_overlay">
<div class="text-center d-flex flex-column align-items-center justify-content-center">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<footer class="footer">
<div class="parallax_background parallax-window" data-parallax="scroll" data-image-src="public/cms_assets/images/footer.jpg" data-speed="0.8"></div>
<div class="container">
<div class="row">
<div class="col">
<div class="footer_logo text-center">
<a href="#"><img src="images/logo.png" alt=""></a>
</div>
<div class="footer_content">
<div class="row">
<div class="col-lg-4 footer_col">
<div class="footer_info d-flex flex-column align-items-lg-end align-items-center justify-content-start">
<div class="text-center">
<div>Phone:</div>
<div><?php echo $sys->contacts_phone; ?></div>
</div>
</div>
</div>
<div class="col-lg-4 footer_col">
<div class="footer_info d-flex flex-column align-items-center justify-content-start">
<div class="text-center">
<div>Address:</div>
<div><?php echo $sys->contacts_addres; ?></div>
</div>
</div>
</div>
<div class="col-lg-4 footer_col">
<div class="footer_info d-flex flex-column align-items-lg-start align-items-center justify-content-start">
<div class="text-center">
<div>Mail:</div>
<div><?php echo $sys->contacts_email; ?></div>
</div>
</div>
</div>
</div>
</div>
<?php require_once("partials/cms_footer.php"); ?>
</div>
</div>
</div>
</footer>
</div>
<?php require_once("partials/cms_scripts.php"); ?>
</body>
</html>
<?php
} ?>