forked from akkireddy95/Online-Banking-system
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaddcustomer.php
100 lines (93 loc) · 3.43 KB
/
addcustomer.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
<?php
session_start();
if(!isset($_SESSION['admin_login']))
header('location:adminlogin.php');
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Add Customer</title>
<link rel="stylesheet" href="newcss.css">
</head>
<?php include 'header.php'; ?>
<div class='content_addstaff'>
<?php include 'admin_navbar.php'?>
<div class='addstaff'>
<form action="add_customer.php" method="POST">
<table align="center">
<tr><td colspan='2' align='center' style='color:#2E4372;'><h3><u>Add Customer</u></h3></td></tr>
<tr>
<td> Customer's name</td>
<td><input type="text" name="customer_name" required=""/></td>
</tr>
<tr>
<td>Gender</td>
<td>
M<input type="radio" name="customer_gender" value="M" checked/>
F<input type="radio" name="customer_gender" value="F" />
</td>
</tr>
<tr>
<td>
DOB
</td>
<td>
<input type="date" name="customer_dob" required=""/>
</td>
</tr>
<tr>
<td>Nominee</td>
<td><input type="text" name="customer_nominee" required=""/></td>
</tr>
<tr>
<td>
Branch
</td>
<td>
<select name="branch">
<option>KOLKATA</option>
<option>DELHI</option>
<option>BANGALORE</option>
</select>
</td>
</tr>
<tr>
<td>Account type</td>
<td>
<select name="customer_account">
<option>savings</option>
<option>current</option>
</select>
</td>
</tr>
<tr>
<td>Minimum amount</td>
<td><input type="text" name="initial" value="1000" min="1000" required=""/></td>
</tr>
<tr>
<td>Address:</td>
<td><textarea name="customer_address" required=""></textarea></td>
</tr>
<tr>
<td>Mobile</td>
<td><input type="text" name="customer_mobile" required=""/></td>
</tr>
<tr>
<td>Email id</td>
<td><input type="email" name="customer_email" required=""/></td>
</tr>
<tr>
<td>Password</td>
<td><input type="password" name="customer_pwd" required=""/></td>
</tr>
<tr>
<td colspan="2" align='center' style='padding-top:20px'><input type="submit" name="add_customer" value="Add Customer" class="addstaff_button"/></td>
</tr>
</table>
</div>
</div>
</form>
<?php include 'footer.php';?>
</body>
</html>