-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpayment.php
More file actions
116 lines (92 loc) · 3.05 KB
/
payment.php
File metadata and controls
116 lines (92 loc) · 3.05 KB
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
<?php
session_start();
if(isset($_SESSION['u_name'])){
$us_name= $_SESSION['u_name'] ;
require_once "connect.php";
require_once "header1.php";
?>
<!--header//-->
<div class="registration-form">
<div class="container">
<ol class="breadcrumb">
<li><a href="index.php">Home</a></li>
<li class="active">Payment</li>
</ol>
<h2>Payment of
<?php
$order_q_id = $_GET['order_q_id'];
$sql = $conn->query("SELECT * FROM cart_t WHERE cart_t.cus_name='$us_name'
")
or die(mysqli_error($conn)) ;
while($fimpo = $sql->fetch_array()){
?>
Rs.<?php
echo $fimpo['totalprice']; }?>.00/-
</h2>
<br>
<div class="col-md-6 reg-form">
<div class="reg">
<!-- <form action="" method="post">
<div class="radio">
<label><input type="radio" name="optradio" value="Credit Card"> Credit Card</label>
</div>
<div class="radio">
<label><input type="radio" name="optradio" value="Debit Card"> Debit Card</label>
</div>
<div class="radio">
<label><input type="radio" name="optradio" value="PayPal"> PayPal</label>
</div>
<div class="radio">
<label><input type="radio" name="optradio" value="Cash on Delibery"> Cash on Delibery </label>
</div>
</br>
</br></br></br></br>
</br></br></br></br>
</br></br></br></br>
</br> -->
<p class="click">DAP Fashion<br>
<a href="#"> Yours <b> Card Details </b> will be <b> Not Saved</b> </a></p>
</form>
</div>
</div>
<h2>Card Detail</h2>
<div class="col-md-6 reg-right">
<div class="reg">
<form action="s_sold_product.php" method="post">
<ul>
<li class="text-info"><b>Name on Card:<b></li>
<input type="text" name="Name on Card">
<li class="text-info"><b>Card Number:<b></li>
<input type="text" name="Card Number">
<li class="text-info"><b>CVV:<b></li>
<input type="text" name="CVV"/>
<li class="text-info"><b>Expiration:<b></li>
<input type="text" name="Expiration"/>
</ul>
<?php
$sql = $conn->query("SELECT * FROM u_orders
WHERE u_orders.order_q_id ='$order_q_id' ")
or die(mysqli_error($conn)) ;
while($fimpo = $sql->fetch_array()){
$o_id = $fimpo['order_q_id'];
$qty = $fimpo['user_name'];
}
?>
<input type="hidden" name="order_q_id" value=" <?php echo $o_id; ?> ">
<input type="submit" value="Place Order">
</form>
<form action="failed_order.php" method="post">
<input type="hidden" name="gameid" value=" <?php echo $o_id;?> ">
<input type="submit" value="Cancel">
</form>
</div>
</div>
<div class="clearfix"></div>
</div>
</div>
</body>
</html>
<?php
require_once "men_footer.php";
}
?>