This repository has been archived by the owner on Sep 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
executable file
·164 lines (123 loc) · 5.19 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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<?php
ob_start();
require_once 'dbconnect.php';
// select logged in users detail
$res = $conn->query("SELECT * FROM users WHERE id=" . $_SESSION['user']);
$userRow = mysqli_fetch_array($res, MYSQLI_ASSOC);
?>
<!-- // Tried to autohide the Login,logout
// button but still needs some fixing to do -->
<script type="text/javascript">
document.getElementId('autohide').style.display="none";
</script>
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Hello,<?php echo $userRow['email']; ?></title>
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<link href="css/indexnew.css" rel="stylesheet">
<script src="script/scroll-hide.js"> </script>
</head>
<body>
<!-- Header -->
<div class="header" id="header">
<div class="container">
<div class="site-name-container">
<a href="index.html" class="site-name">The Palms Colombo</a>
<nav class="nav">
<ul>
<li class="dropdown" id="autohide">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
aria-expanded="false">
Logged
in: <?php echo $userRow['email']; ?>
</a>
</li>
<li id="autohide">
<a href="logout.php?logout"><span class="glyphicon glyphicon-log-out"></span> Logout</a>
</li>
<li><a href="gallery.html">Gallery</a></li>
<li><a href="dining.html">Dining</a></li>
<li><a href="rooms.html">Rooms</a></li>
<li><a href="booking.php">Booking</a></li>
<li><a href="index.php" class="active">Home</a></li>
</ul>
</nav>
</div>
</div>
</div>
<br>
<br>
<br>
<br>
<br>
<div class="slide">
<img class="mySlides" src="Palms Images/Main/main1.jpg" width="100%" height="680px">
<img class="mySlides" src="Palms Images/Main/main2.jpg" width="100%" height="680px">
<img class="mySlides" src="Palms Images/Main/main3.jpg" width="100%" height="680px">
<img class="mySlides" src="Palms Images/Main/main4.jpg" width="100%" height="680px">
<img class="mySlides" src="Palms Images/Main/main5.jpg" width="100%" height="680px">
<img class="mySlides" src="Palms Images/Main/main6.jpg" width="100%" height="680px">
</div>
<!-- Script for Carousel -->
<script>
var myIndex = 0;
carousel();
function carousel() {
var i;
var x = document.getElementsByClassName("mySlides");
for (i = 0; i < x.length; i++) {
x[i].style.display = "none";
}
myIndex++;
if (myIndex > x.length) {myIndex = 1}
x[myIndex-1].style.display = "block";
setTimeout(carousel, 5000); // Change image every 5 seconds
}
</script>
<div class="main-content">
<div>
<h2 align="center" >A NEW LEVEL OF LUXURY ARRIVES IN COLOMBO</h2>
<br>
<h4 align="center">
Bejeweled as one of the finest five-star Colombo hotels located in-between Galle Face Green, the World Trade Centre and the Dutch Hospital Precinct, we welcome you to The Palms Colombo. With easy access for shopping, entertainment and your business needs, we will ensure your stay is perfect and your experiences are complete. <br>
</h4>
<p align="center">
A : 48, Janadhipathi Mawatha, Colombo 01, Sri Lanka. <br>
E : [email protected] <br>
T : +94 112 421 221
</p>
</div>
</div>
<br>
<h3 class="sub-heading" align="center">A luxurious escape in the heart of the city</h3>
<br>
<center> The Palms, Colombo offers 500 guest rooms and suites, and 41 serviced apartments. <br>
Our finely appointed rooms are among the largest in Colombo and offer striking views of the Indian Ocean, Beira Lake and the city beyond. <br>
Refined furnishing materials, such as marble and silk, blend with contemporary light woods, complementing the urban and ocean-side location. <br>
High-end technology sits comfortably alongside subtle luxury. <br>
The 34 spacious suites are the finest in the city, and include personal butler service. <br>
All rooms and suites feature signature Palms Beds – which utilize patented body-contouring technology – complimentary Wi-Fi Internet and premium Palms amenities. </center>
<br>
<div class="content">
<h2 class="heading" align="center">Featured Rooms</h2>
<div class="row ">
<div class="colomn">
<img src="img/1.jpg" class="featured-images" />
</div>
</div>
</div>
<footer class="footer">
<p class="footer-heading">Find us on</p>
<p class="footer-links">
<img class="footer-social-icons" src="icons/facebook.png" width="50px" />
<img class="footer-social-icons" src="icons/twitter.png" width="50px" />
<img class="footer-social-icons" src="icons/instagram.png" width="50px" />
<img class="footer-social-icons" src="icons/youtube.png" width="50px" />
</p>
<p class="footer-company-name">The Palms Colombo © 2018</p>
</footer>
</body>
</html>