-
Notifications
You must be signed in to change notification settings - Fork 7
/
checkout.php
170 lines (159 loc) · 6.14 KB
/
checkout.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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Ecommerce Fajar</title>
<!-- fonts -->
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:400,500,700,300,100" />
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="styles/bootstrap.min.css" />
<!-- fontawesome -->
<link rel="stylesheet" href="fontawesome/web-fonts-with-css/css/fontawesome-all.min.css"/>
<!-- style.css -->
<link rel="stylesheet" type="text/css" href="styles/styles.css" />
</head>
<body>
<div id="top"><!-- top starts -->
<div class="container"><!-- container start -->
<div class="row">
<div class="col-md-6 offer">
<a href="#" class="btn btn-success btn-sm">
Welcome : Guest
</a>
<a href="#">Shopping Cart Total Price: $100, Total Item 2</a>
</div>
<div class="col-md-6">
<ul class="menu">
<li><a href="customer_register.php">Register</a></li>
<li><a href="checkout.php">My Account</a></li>
<li><a href="cart.php">Go To Cart</a></li>
<li><a href="checkout.php">Login</a></li>
</ul><!-- menu end -->
</div>
</div>
</div><!-- container end -->
</div><!-- top end -->
<nav class="navbar navbar-expand-lg navbar-light" id="navbar">
<div class="container">
<a class="navbar-brand home" href="index.php">FajarStore</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navigation" aria-controls="navigation" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navigation">
<div class="padding-nav">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="index.php">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="shop.php">Shop</a>
</li>
<li class="nav-item">
<a class="nav-link" href="checkout.php">My Account</a>
</li>
<li class="nav-item">
<a class="nav-link" href="cart.php">Shopping Cart</a>
</li>
<li class="nav-item">
<a class="nav-link" href="contact.php">Contact Us</a>
</li>
</ul>
</div><!-- padding-nav ends -->
</div><!-- collapse navbar-collapse ends -->
<div class="clearfix">
<button class="btn btn-primary mr-1" type="button" data-toggle="collapse" data-target="#search" aria-expanded="false" aria-controls="collapseExample">
<i class="fa fa-search"></i>
</button>
<a href="cart.php" class="btn btn-primary navbar-btn right">
<i class="fa fa-shopping-cart"></i>
<span>4 Items in carts</span>
</a>
</div><!-- clearfix ends -->
</div><!-- container ends -->
</nav><!-- navbar ends -->
<div class="collapse clearfix bg-white" id="search">
<div class="container">
<form class="form-inline navbar-form my-1" method="get" action="results.php">
<input class="form-control mr-sm-1" type="text" placeholder="Search" aria-label="Search" name="user-query" required>
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
</form>
</div><!-- container ends -->
</div><!-- collapse celarfix -->
<div id="content">
<div class="container">
<div class="row">
<div class="col-md-12">
<nav aria-label="breadcrumb" class="navigasi-breadcrumb">
<ol class="breadcrumb nav-breadcrumb">
<li class="breadcrumb-item"><a href="index.php">Home</a></li>
<li class="breadcrumb-item active" aria-current="page">Checkout</li>
</ol>
</nav>
</div><!-- col-md-12 ends -->
</div><!-- row ends -->
<div class="row">
<div class="col-md-3 mb-3">
<?php include_once("includes/sidebar.php"); ?>
</div><!-- col-md-3 ends -->
<div class="col-md-9">
<div class="card">
<div class="card-header">
<h3 class="text-center">Login</h3>
<h5 class="">Already our customer</h5>
</div>
<div class="card-body">
<form action="customer_register.php" method="post" enctype="multipart/form-data">
<div class="form-group">
<label>Customer Name</label>
<input type="text" name="customer_name" class="form-control" required>
</div>
<div class="form-group">
<label>Customer Email</label>
<input type="email" name="customer_email" class="form-control" required>
</div>
<div class="form-group">
<label>password</label>
<input type="password" name="password" class="form-control" required>
</div>
<div class="form-group">
<label>Country</label>
<input type="text" name="country" class="form-control" required>
</div>
<div class="form-group">
<label>City</label>
<input type="text" name="city" class="form-control" required>
</div>
<div class="form-group">
<label>Contact</label>
<input type="text" name="contact" class="form-control" required>
</div>
<div class="form-group">
<label>Address</label>
<input type="text" name="address" class="form-control" required>
</div>
<div class="form-group">
<label>Image</label>
<input type="file" name="image" class="form-control-file" required>
</div>
<div class="text-center">
<button name="register" type="submit" class="btn btn-primary">
<i class="fa fa-user-md"></i> Register
</button>
</div>
</form>
</div>
</div>
</div><!-- col-md-9 ends -->
</div><!-- row-ends -->
</div><!-- container ends -->
</div><!-- content ends -->
<?php include_once "includes/footer.php"; ?>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="js/jquery.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>