-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmyaccount.html
111 lines (104 loc) · 3.25 KB
/
myaccount.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>My Account</title>
<link rel="stylesheet" href="mystyle.css" />
<script src="script.js"></script>
<script src="myaccount.js"></script>
</head>
<body onload="displayDateTime()">
<!-- Header -->
<header>Welcome to Travel Deals - My Account</header>
<!-- Navigation Bar -->
<div class="navbar">
<a href="index.html">Home</a>
<a href="stays.html">Stays</a>
<a href="flights.html">Flights</a>
<a href="cars.html">Cars</a>
<a href="cruises.html">Cruises</a>
<a href="contact.html">Contact Us</a>
<a href="cart.html">Cart</a>
<a href="myaccount.html">My Account</a>
<a href="login.html">Login</a>
<a href="registration.html">Register</a>
</div>
<!-- Main layout with Sidebar and Main Content -->
<div class="container">
<div class="sidebar">
<h3>Explore</h3>
<a href="stays.html">Stays</a>
<a href="flights.html">Flights</a>
<a href="cars.html">Cars</a>
<a href="cruises.html">Cruises</a>
<a href="contact.html">Contact Us</a>
<a href="cart.html">Cart</a>
<a href="login.html">Login</a>
<a href="registration.html">Register</a>
<!-- New section for changing font size -->
<h3>Settings</h3>
<label for="fontSize">Font Size:</label>
<input
type="number"
id="fontSize"
min="12"
max="36"
value="16"
onchange="changeFontSize()"
placeholder="Enter font size (px)"
/>
<!-- New section for changing background color -->
<label for="bgColor">Background Color:</label>
<input type="color" id="bgColor" onchange="changeBgColor()" />
</div>
<div class="main-content">
<p id="dateTime"></p>
<p id="userName"></p>
<h2>My Account</h2>
<div id="admin">
<h3>Upload Hotel Details JSON</h3>
<form
id="uploadForm"
action="upload_json.php"
method="POST"
enctype="multipart/form-data"
>
<label for="jsonFile">Select JSON File:</label>
<input
type="file"
id="jsonFile"
name="jsonFile"
accept=".json"
required
/>
<button type="submit">Upload</button>
</form>
<h3>Upload Flight Details XML</h3>
<form
action="process_xml.php"
method="POST"
enctype="multipart/form-data"
>
<label for="xmlFile">Upload XML:</label>
<input
type="file"
name="xmlFile"
id="xmlFile"
accept=".xml"
required
/>
<button type="submit">Upload</button>
</form>
</div>
</div>
</div>
<!-- Footer -->
<div class="footer">
Section Number: CS 6314.002<br />
Dhairya Patel (NetID: ddp230000)<br />
Prathamesh Kulkarni (NetID: pdk220001)<br />
Harsh Rashmikant Patel (NetID: hxp230001)<br />
</div>
</body>
</html>