-
Notifications
You must be signed in to change notification settings - Fork 0
/
checkout.jspx
65 lines (60 loc) · 2.04 KB
/
checkout.jspx
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
<?xml version="1.0" encoding="ISO-8859-1" ?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:c="http://java.sun.com/jsp/jstl/core"
xmlns:f="http://java.sun.com/jsp/jstl/fmt" version="2.0">
<jsp:directive.page contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1" session="false" />
<jsp:output doctype-root-element="html"
doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
omit-xml-declaration="true" />
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Checkout</title>
<link rel="stylesheet" href="res/main.css" type="text/css"
charset="utf-8" />
</head>
<body>
<form action="Start" method="POST">
<div id="banner">
<a href="home.jspx"> <img src="images/Banner.jpg" alt="Banner"
width="250" height="100"></img>
</a> <span id="banner2"> <img id="banner2"
src="images/Banner2.jpg" alt="Banner" width="400" height="100"></img>
</span>
</div>
<ul>
<li><a href="home.jspx">Home</a></li>
<c:choose>
<c:when test="${isLogedIn == 'true'}">
<li><a href="logout.jspx">Log Out</a></li>
</c:when>
<c:otherwise>
<li><a href="login.jspx">Log In</a></li>
</c:otherwise>
</c:choose>
<li>
<div class="dropdown">
<button class="dropbtn">Category</button>
<div class="dropdown-content">
<a href="#">Science</a> <a href="#">Fiction</a> <a href="#">Engineering</a>
</div>
</div>
</li>
<li id="searchbar" style="float: right"><input type="text"
id="search" placeholder="Search" name="searchValue" /> <input
type="submit" id="searchbutton" value="Search" name="searchSubmit" /></li>
<li style="float: right"><button id="cartsubmit"
name="cartsubmit" value="0">
<img src="images/cart.png" class="thumbnail" height="40" width="50" />
</button></li>
<li style="float: right" class="active"><a href="checkout.jspx">Checkout</a></li>
</ul>
<br /> <br /> <br />
<div class="body">
<span>Website body</span>
</div>
</form>
</body>
</html>
</jsp:root>