-
Notifications
You must be signed in to change notification settings - Fork 2
/
delivery.php
240 lines (214 loc) · 11.4 KB
/
delivery.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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
<?php
session_start();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="Description" content="Enter your description here"/>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
<script src="https://use.fontawesome.com/c8f2e390c3.js"></script>
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=MuseoModerno:wght@100&family=Open+Sans:wght@300&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Piedra&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/delivery.css">
<title>Delivery Details</title>
</head>
<body>
<header class="p-0"style="font-family: Open Sans;">
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container">
<a class="navbar-brand" href="#"><i class="fas fa-book-open" aria-hidden="true"style="color:white;"></i> <span class="book">Book</span> <span class="store">Store</span></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse " id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item ">
<a class="nav-link text-center" href="http://localhost/bookstore/store.php">Home<span class="sr-only">(current)</span></a>
</li>
<li class="nav-item ">
<a class="nav-link text-center " href="http://localhost/bookstore/trendingbook.php">Best Seller</a>
</li>
<li class="nav-item ">
<a class="nav-link text-center" href="http://localhost/bookstore/categories.php">Categories</a>
</li>
<li class="nav-item ">
<a class="nav-link text-center" href="http://localhost/bookstore/sell.php">Sell Book</a>
</li>
<li class="nav-item dropdown active">
<a class="nav-link text-center dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fa fa-user-circle-o pr-1" style="font-size:24px"></i>
<?php
if(isset($_SESSION['name']))
{
echo $_SESSION['name'];
}
else
{
echo "User";
}
?></a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="http://localhost/bookstore/profile.php"><i class="fa fa-user pr-3" aria-hidden="true"></i>Profile</a>
<a class="dropdown-item" href="http://localhost/bookstore/cart.php"><i class="fa fa-shopping-cart pr-3" aria-hidden="true"></i>Cart</a>
<a class="dropdown-item" href="http://localhost/bookstore/contactpage.php"><i class="fa fa-phone pr-3" aria-hidden="true"></i>Contact Us</a>
<div class="dropdown-divider"></div>
<?php
if(isset($_SESSION['name']))
{
}
else
{
?>
<a class="dropdown-item" href="http://localhost/bookstore/index.php"><i class="fa fa-sign-in pr-3" aria-hidden="true"></i>Login</a>
<?php
}
?>
<a class="dropdown-item" href="http://localhost/bookstore/logout.php" name="logout"><i class="fa fa-sign-out pr-3" aria-hidden="true"></i>Logout</a>
</div>
</div>
</li>
</ul>
</div>
</div>
</nav>
</header>
<main class="bg-light">
<section class="delivery bg-light">
<div class="heading d-flex flex-row bg-light pt-4">
<div class="col-11 m-auto border-bottom">
<div class="row">
<div class="col-md-2 col-3">
<h2>IMAGE</h2>
</div>
<div class="col-md-8 col-7 pl-md-5">
<h2>DESCRIPTION</h2>
</div>
<div class="col-md-2 col-2 ">
<h2>SUB COST</h2>
</div>
</div>
</div>
</div>
<div class="detail d-flex flex-row bg-light">
<div class="col-11 m-auto ">
<div class="row pb-3 pt-3 border-bottom">
<div class="col-md-2 col-3 p-0">
<img src="upload/<?php echo $_GET['image'] ;?>" alt="photo" class="w-100">
</div>
<div class="col-md-8 col-7 pt-3 pl-md-5">
<h5>BOOKNAME : <?php echo $_GET['book'];?></h5>
<h5 class="text-muted">AUTHOR : <?php echo $_GET['author']; ?></h5>
<h5 class="text-muted">EDITION :<?php echo $_GET['edition']; ?></h5>
</div>
<div class="col-md-2 col-2 pt-3">
<h5><?php echo $_GET['price']; ?>₹</h5>
</div>
</div>
</div>
</div>
<div class="cost d-flex flex-row bg-light">
<div class="col-11 m-auto ">
<div class="row pb-3 pt-3 border-bottom">
<div class="col-lg-2">
</div>
<div class="col-lg-8 pt-3">
</div>
<div class="col-lg-2 pt-3">
<h5>SUB COST: <span class="float-right"><?php echo $_GET['price']; ?>₹</span></h5>
<h5>SHIPPING COST: <span class="float-right">50</span></h5>
<h5>TOTAL: <span class="float-right"><?php echo $_GET['price']+50 ; ?>₹</span></h5>
</div>
</div>
</div>
</div>
<div class="address bg-light">
<div class="col-md-8 col-10 pt-3 pb-3 m-auto text-left">
<h1 class="pl-md-3 pr-md-3 pb-3 pt-2">Delivery Address</h1>
<form class="pl-md-3 pr-md-3" method="POST" action="profilecontactdb.php" >
<div class="form-group">
<label for="exampleInputPassword1">Name</label>
<input type="name" class="form-control" name="profilename" placeholder="Enter Name">
</div>
<div class="form-group">
<label for="exampleInputEmail1">Email address</label>
<input type="email" class="form-control" name="profileemail" aria-describedby="emailHelp" placeholder="Enter Email">
</div>
<div class="form-group">
<label for="exampleInputPassword1">Phone No</label>
<input type="number" class="form-control" name="phone" placeholder="Enter Phone Number">
</div>
<div class="form-group">
<label for="exampleInputEmail1">Address</label>
<input type="text" class="form-control" name="address" placeholder="Enter Address">
</div>
<div class="form-group">
<label for="exampleInputEmail1">Landmark</label>
<input type="text" class="form-control" name="landmark" placeholder="Enter Landmark">
</div>
<div class="form-group">
<label for="exampleInputPassword1">State</label>
<input type="text" class="form-control" name="state" placeholder="Enter State">
</div>
<div class="form-group">
<label for="exampleInputPassword1">City</label>
<input type="text" class="form-control" name="city" placeholder="Enter City">
</div>
<div class="form-group">
<label for="exampleInputPassword1">Zip code</label>
<input type="text" class="form-control" name="zip" placeholder="Enter Zip code">
</div>
<button type="submit" class="btn btn-dark" name="profilesubmit">Confirm</button>
</form>
</div>
</div>
</section>
</main>
<footer class="bg-dark mt-3">
<div class="container">
<div class="box d-md-flex flex-row pt-2">
<div class="col-md-4 col-12 pt-md-4 pt-4 pb-md-3 pb-2">
<h1 class="text-light" style="font-size: larger;">About Us</h1>
<p class="text-muted"> Ever wanted to buy a book but could not because it was too expensive?
worry not! because BookStore is here! BookStore, these days in news,is being called as the Robinhood of the world of books. BookStore team is committed to bring to you all kinds of best books at the minimal prices ever seen anywhere.
Yes, we are literally giving you away a steal.</p>
</div>
<div class="col-md-4 col-12 pt-md-4 pt-1 pb-md-3 pb-2 d-flex flex-column">
<h1 class="text-light"style="font-size: larger;">Navigation</h1>
<a href="http://kapilsharma.rf.gd/sbook/store.php" class="text-muted pl-4"><i class="fa fa-arrow-right pr-2" aria-hidden="true"></i>Home</a>
<a href="http://kapilsharma.rf.gd/sbook/trendingbook.php" class="text-muted pl-4"><i class="fa fa-arrow-right pr-2" aria-hidden="true"></i>Trending Book</a>
<a href="http://kapilsharma.rf.gd/sbook/categories.php" class="text-muted pl-4"><i class="fa fa-arrow-right pr-2" aria-hidden="true"></i>Categories</a>
<a href="http://kapilsharma.rf.gd/sbook/sell.php" class="text-muted pl-4"><i class="fa fa-arrow-right pr-2" aria-hidden="true"></i>Sell Book</a>
<a href="http://kapilsharma.rf.gd/sbook/profile.php" class="text-muted pl-4"><i class="fa fa-arrow-right pr-2" aria-hidden="true"></i>Profile</a>
</div>
<div class="col-md-4 col-12 pt-md-4 pt-2 pb-md-3 pb-4 d-flex flex-column">
<h1 class="text-light"style="font-size: larger;">Our Contact</h1>
<a href="#" class="text-muted pl-4" style="font-size: medium;"><i class="fa fa-envelope pr-2" aria-hidden="true"></i>Bookstore@gmail.com</a>
<a href="#" class="text-muted pl-4" style="font-size: medium;"><i class="fa fa-phone pr-2" aria-hidden="true"></i>044-2558765437</a>
</div>
</div>
<div class="newsletter border-top-light">
<div class="col-md-8 col-12 m-auto pt-2 pb-2">
<div class="input-group mb-3 ">
<h5 class="text-light pr-2 pt-2"style="font-size: small;">NEWSLETTER</h5><input type="text" class="form-control" style="font-size: small;" placeholder="YourEmail@mail.com" aria-describedby="basic-addon2" >
<div class="input-group-append">
<button class="btn btn-light btn-outline-secondary" type="button" style="font-size: small;">Subcribe</button>
</div>
</div>
</div>
</div>
</div>
<div class="row bg-secondary pt-1">
<div class="col-12 pt-1">
<p class="text-center text-light" style="font-size: small;">2020 © BookStore Website . ALL Rights Reserved.</p>
</div>
</div>
</footer>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>
</body>
</html>