-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.php
141 lines (114 loc) · 4.15 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Nagad Payment Using Nagad Api</title>
<!-- Font Awesome -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.11.2/css/all.css">
<!-- Bootstrap core CSS -->
<link href="asset/css/bootstrap.min.css" rel="stylesheet">
<!-- Material Design Bootstrap -->
<link href="asset/css/mdb.min.css" rel="stylesheet">
<!-- Your custom styles (optional) -->
<link href="asset/css/style.min.css" rel="stylesheet">
<style type="text/css">
html,
body,
header,
.carousel {
height: 60vh;
}
@media (max-width: 740px) {
html,
body,
header,
.carousel {
height: 100vh;
}
}
@media (min-width: 800px) and (max-width: 850px) {
html,
body,
header,
.carousel {
height: 100vh;
}
}
</style>
</head>
<body>
<!--Main layout-->
<main>
<div class="container">
<!--Section: Products v.3-->
<section class="text-center mb-4">
<!--Grid row-->
<div class="row wow fadeIn">
<!--Grid column-->
<div class="col-lg-3 col-md-6 mb-4">
<!--Card-->
<div class="card">
<!--Card image-->
<div class="view overlay">
<img src="https://mdbootstrap.com/img/Photos/Horizontal/E-commerce/Vertical/12.jpg"
class="card-img-top"
alt="">
<a>
<div class="mask rgba-white-slight"></div>
</a>
</div>
<!--Card image-->
<!--Card content-->
<div class="card-body text-center">
<!--Category & Title-->
<a href="" class="grey-text">
<h5>Shirt</h5>
</a>
<h5>
<strong>
<a href="" class="dark-grey-text">Denim shirt
</a>
</strong>
</h5>
<h4 class="font-weight-bold blue-text">
<form action="<?php echo 'payment.php'; ?>" method="post">
<?php
$price = random_int(1, 10);
?>
<strong><?= $price ?>$</strong>
<input type="hidden" name="price" value="<?= $price ?>"> <br>
<input type="hidden" name="nagad-payment"> <br>
<button type="submit"> Pay now</button>
</form>
</h4>
</div>
<!--Card content-->
</div>
<!--Card-->
</div>
<!--Grid column-->
</div>
<!--Grid row-->
</section>
<!--Section: Products v.3-->
</div>
</main>
<!--Main layout-->
<!-- SCRIPTS -->
<!-- JQuery -->
<script type="text/javascript" src="asset/js/jquery-3.4.1.min.js"></script>
<!-- Bootstrap tooltips -->
<script type="text/javascript" src="asset/js/popper.min.js"></script>
<!-- Bootstrap core JavaScript -->
<script type="text/javascript" src="asset/js/bootstrap.min.js"></script>
<!-- MDB core JavaScript -->
<script type="text/javascript" src="asset/js/mdb.min.js"></script>
<!-- Initializations -->
<script type="text/javascript">
// Animations initialization
new WOW().init();
</script>
</body>
</html>