-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdonateform2.html
More file actions
221 lines (165 loc) · 9.58 KB
/
donateform2.html
File metadata and controls
221 lines (165 loc) · 9.58 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
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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
<html>
<head>
<link rel="stylesheet" href="fourth.css">
<script src="https://kit.fontawesome.com/9cae73d35f.js" crossorigin="anonymous"></script>
<script src="https://smtpjs.com/v3/smtp.js"></script>
<script>
function myFunction() {
document.getElementById("panel").style.display = "block";
}
</script>
<script>
function sendEmail() {
Email.send({
Host: "smtp.gmail.com",
Username : "sonalijain0605@gmail.com",
Password : "iebsilozktktdqrm",
To : 'sonalijain0605@gmail.com',
From : "sonali.jain.cs.2018@miet.ac.in",
Subject : "Successfully Donated",
Body : " Thanks for help.Your one step may help many lifes",
}).then(
message => alert("mail sent successfully")
);
}
function deatils()
{
var person = prompt("Please enter your name", );
var mail=prompt("Please enter email address for verification",)
}
</script>
</head>
<body>
<fieldset>
<header>
<img src="savechildrem.png" >
</header>
<section>
<nav >
<ul >
<div>
<li><a href="#credit-card" class="flip" onclick="myFunction()" style="width: 100%;"><i class="fas fa-credit-card"></i>Credit Card</a></li><br><br><br>
<div>
<img src="visa.png" id="pic">
<img src="Rupay-Logo.png" id="pic">
<img src="mastercard.png" id="pic">
<form>
<label for="cardno.">Card Number:</label><br>
<input type="text" id="cardno." name="cardno." placeholder="" size="20" required><br><br>
<table>
<tr>
<th>
<label for="date">Expiration Date:</label><br><br>
</th>
<th>
<label for="no">CVV/CVC</label><br>
</th>
</tr>
<tr>
<td>
<input type="text" id="date" name="date" placeholder="Month" size="5" required>
<input type="text" id="no" name="no" placeholder="Year" size="5" required><br><br>
</td>
<td>
<input type="password" id="no" name="no" size="3" maxlength="3" required><br><br>
</td>
</tr>
</table><br>
<label for="fname">Card Holder Name:</label><br><br>
<input type="text" id="fname" name="fname" placeholder="John" size="20" required><br>
</form>
</div>
</div>
</nav>
</section><br><br><br>
<section>
<nav>
<div>
<li><a href="#debit-card" class="flip" onclick="myFunction()"><i class="fas fa-wallet"></i>Debit Card</a></li><br><br><br>
<div >
<img src="visa.png" id="pic">
<img src="Rupay-Logo.png" id="pic">
<img src="mastercard.png" id="pic">
<form>
<label for="cardno.">Card Number:</label><br>
<input type="text" id="cardno." name="cardno." placeholder="" size="20" required><br><br>
<table>
<tr>
<th>
<label for="date">Expiration Date:</label><br><br>
</th>
<th>
<label for="no">CVV/CVC</label><br>
</th>
</tr>
<tr>
<td>
<input type="text" id="date" name="date" placeholder="Month" size="5" required>
<input type="text" id="no" name="no" placeholder="Year" size="5" required><br><br>
</td>
<td>
<input type="password" id="no" name="no" size="3" required><br><br>
</td>
</tr>
</table><br>
<label for="fname">Card Holder Name:</label><br><br>
<input type="text" id="fname" name="fname" placeholder="John" size="20" required><br>
</form>
</div>
</div>
</nav>
</section><br><br><br>
<section>
<nav>
<div >
<li><a href="#internet-bank" class="flip" onclick="myFunction()"><i class="fa fa-bank"></i>Internet Banking</a></li><br><br><br>
<div>
<table>
<tr>
<td>
<img src="axisbank.png" id="pic">
</td>
<td>
<img src="icici.jpg" id="pic">
</td>
<td>
<img src="sbi.png" id="pic">
</td>
</tr>
</table>
<label for="name">BANK NAME:</label><br><br>
<input type="text" id="name" name="name" placeholder="" size="20" required><br><br>
</div>
</div>
</nav>
</section><br><br><br>
<section>
<nav>
<div >
<li><img src="googleimahe.png" id="google"><a href="#gpay" class="flip" onclick="myFunction()">Pay</a></li><br><br><br>
<div>
<label for="text">Enter your Google Pay UPI ID:</label><br><br>
<input type="text" id="no" name="no" placeholder="" size="20" required><br><br>
</div>
</div>
</ul>
</nav>
</section>
</fieldset>
<footer>
<fieldset>
<p> Merchant name</p>
<p>Save the children</p>
<p>Payment amount :</p>
<input type="text" placeholder="₹0" height="20px" width="100px" required >
</fieldset>
<br><br><br>
<form >
<input type="button" id="gold" value="DETAILS" onclick="deatils()"/>
</form>
<form method="post">
<input type="button" id="gold" value="MAKE PAYMENT" onclick="sendEmail()"/>
</form>
</footer>
</body>
</html>