-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcheckout.php
165 lines (137 loc) · 8.69 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
<?php require_once("config.php"); ?>
<!DOCTYPE html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Checkout</title>
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.css" rel="stylesheet" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.js"></script>
<script src="functions.js"></script>
</head>
<body>
<?php include("navbar.php") ?>
<h6 style="text-align: center;" class="text-center bg-warning"><?php display_message();?></h6>
<div class="add-product-page">
<div class="container" style="padding-left: 500px;">
<h3>Order Information</h3>
<div class="row">
<div class="col-2">
<div class="">
<div class="form-btn">
<br>
</div>
<form class="" action="" method="post" enctype="multipart/form-data">
<div class="col-md-8">
<div class="form-group">
<label for="product-title">Address</label>
<div class="col-2">
<input type="text" name="product_title" placeholder="Mrs.Polly Canes 145 East 49th Street USA">
</div>
</label>
</div>
<br>
<div style="padding-bottom: 10px;"> <span id="card-inner">Country</span>
</div>
<div class="custom-select" style="width:200px;">
<select>
<option value="0">Select Country:</option>
<option value="1">Turkey</option>
<option value="2">United States</option>
<option value="3">England</option>
<option value="4">Sweden</option>
<option value="5">China</option>
<option value="6">Germany</option>
<option value="7">Japan</option>
<option value="8">Canada</option>
<option value="9">Holland</option>
<option value="10">Switzerland</option>
<option value="11">Russia</option>
<option value="12">Norway</option>
</select>
</div>
<br>
<div class="nav">
<form> <span id="card-header">Payment Type</span>
<div class="row row-1" style="padding-bottom: 10px; padding-top: 10px;">
<div class="col-7">
<div class="custom-select" style="width:200px;">
<select onchange="yesnoCheck(this); wireCheck(this);">
<option value="0">Choose Payment Type</option>
<option value="credit">Credit Card</option>
<option value="wire">Wire Transfer</option>
</select>
</div>
</div>
</div>
</form>
</div>
<form id="ifYes" style="display: none;" onsubmit="return false"> <span id="card-header"></span>
<div>
<div class="col-2" style="padding-bottom: 15px; padding-top: 10px">
<span id="card-inner">Card number</span>
</div>
<div class="row">
<div class="col-2">
<input type="text" placeholder="**** **** **** 3193">
</div>
</div>
</div>
<div class="row three">
<div class="col-2">
<div class="">
<div class="row row-2" style="padding-top: 5px; padding-bottom: 10px"> <span id="card-inner" style="float: left">Card Holder Name</span> </div>
<div class="row row-2"> <input type="text" placeholder="Name Surname"> </div>
</div>
</div>
<div class="row three">
<div class="col-2" style="float: right"> <input type="text" placeholder="Exp. date"><input type="text" placeholder="CVV"> </div>
</div>
</div>
</form>
<br>
<form id="ifWire" style="display: none;" onsubmit="return false"> <span id="card-header"></span>
<div class="row three">
<div class="col-2">
<span id="card-inner">Account Name</span>
</div>
</div>
<div class="row row-2">
<input type="text" placeholder="Enter account name">
</div>
<div class="form-group">
<span id="card-inner" style="float: left">Account Number</span>
<div class="col-2"> <input type="text" placeholder="Enter account number"> </div>
</div>
<div class="form-group">
<span id="card-inner" style="float: left">Bank Name</span>
<div class="col-2"> <input type="text" placeholder="Enter bank name"></div>
</div>
<div class="form-group">
<span id="card-inner" style="float: left">IBAN</span>
<div class="col-2"> <input type="text" placeholder="AL47 2121 1009 0000 0002 3569 87411"> </div>
</div>
</form>
<div class="form-group">
<div class="row">
<div class="col-2">
<a class="btn" style="text-align: center;" href="shopping_cart.php">Back</a>
</div>
</div>
<div class="row">
<div class="col-2">
<a href="homepage.php" style="text-align: center;" class="btn">Purchase</a>
</div>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
<br>
</div>
</div>
<?php include("footer.php") ?>