-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
81 lines (74 loc) · 2.11 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
<html>
<head>
<title>PHP ECPay Payment System</title>
<style>
h1 {
display: block;
text-align: center;
}
h2 {
font-size: 20px;
display: block;
text-align: center;
}
input {
text-align: center;
width: 265px;
height: 50px;
padding: 10px;
margin: 5px auto;
font-size: 20px;
border: 2px solid black;
border-radius: 10px;
display: block;
}
select {
width: 265px;
height: 50px;
padding: 10px;
margin: 5px auto;
font-size: 20px;
border: 2px solid black;
border-radius: 10px;
display: block;
text-align: center;
}
button {
height: 50px;
padding: 10px;
margin: 5px auto;
font-size: 20px;
border: 2px solid black;
border-radius: 10px;
display: block;
}
</style>
</head>
<body>
<div>
<form id="" method="post" action="Ecpay.php">
<br>
<hr>
<h1>PHP ECPay Payment System</h1>
<hr>
<br>
<h2>商品名稱</h2>
<input type="text" name="ItemName" placeholder="請輸入商品名稱" Required>
<br>
<h2>贊助金額</h2><input type="text" name="TotalAmount" placeholder="30 ~ 30000(元)" Required>
<br>
<h2>付款方式</h2>
<select name="ChoosePayment">
<option value="ALL">請選擇付款方式</option>
<option value="Credit">信用卡</option>
<option value="WebATM">網路ATM</option>
<option value="ATM">自動櫃員機</option>
<option value="CVS">超商代碼</option>
<option value="BARCODE">超商條碼</option>
</select>
<br>
<button type="submit" class="btn">付款</button>
</form>
</div>
</body>
</html>