-
Notifications
You must be signed in to change notification settings - Fork 0
/
P_header2.php
74 lines (66 loc) · 3.03 KB
/
P_header2.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
<?php
require 'dbh.inc.php';
//session_start();
//$UserID = $_SESSION['uID'];
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> Hotel Reservation</title>
<link rel="stylesheet" href="styles/main.css">
<link rel="stylesheet" href="styles/P_styles.css">
<link rel="stylesheet" href="./main_T.css">
<link rel="stylesheet" href="./main2_T.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<script src="./P_Script.js"></script>
<script src="./main_T.js"></script>
<script src="./main.js"></script>
</head>
<body>
<?php
require_once 'dbh.inc.php';
session_start();
$Username = $_SESSION['userName'];
?>
<header>
<p>WildTrek - Best Under Sri Lankan Sky</p>
<!-- navigation bar-->
<nav>
<div class="pic">
<img src="img/download.png" alt="logo" width="32px" height="32px">
<h1 class="logo">WILD<span>TREK</span></h1>
</div>
<input type="checkbox" name="" id="menu">
<label for="menu"><i class="fas fa-bars"></i></label>
<label for="menu"><i class="fas fa-times"></i></label>
<ul class="menu">
<li><a href="./r_main2.php">Home</a></li>
<li><a href="./view_packages_T_pradi.php">Safari Hotels</a></li>
<li class="drop"><a href="#">Safari Tours<i class="fa-solid fa-caret-down"></i></a>
<ul class="submenu">
<li><a href="./r_jeepreservation.html">Safari Jeep Reservation</a></li>
<li><a href="./r_campingreservation.html">Camping Reservation</a></li>
</ul>
</li>
<li><a href="./Acontact.php">Contact Us</a></li>
<li><a href="./r_ourteam.php">Meet our team</a></li>
<li><a href="./Aaboutus.php">About Us</a></li>
<?php if(isset($Username)){ ?>
<li class="sign"><a href="./s_viewprofile.php"><?php echo "HI " . $Username; ?></a></li>
<?php } else { ?>
<li class="sign"><a href="./s_loginForm.html">Login</a></li>
<li class="sign"><a href="./s_RegisterForm.html"><i class="fa-solid fa-user-plus"></i> Sign Up</a></li>
<?php } ?>
<!-- <li class="sign"><i class="fa-solid fa-user"></i></a></li> -->
</ul>
</nav>
</header>
<div class="P_Content" id="P_idContent">
<p>
<br> <br> <br> <br> <br> <br>
<div class="background_image" style = "background-image: url(./img/P4.jpg); background-size: cover;">