-
Notifications
You must be signed in to change notification settings - Fork 0
/
admin_user_add.jsp
71 lines (63 loc) · 2.14 KB
/
admin_user_add.jsp
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
<%@page import="util.Variables"%>
<%@page import="java.util.ArrayList"%>
<%@page import="db.DBProcess"%>
<!DOCTYPE html>
<%
Object obj= session.getAttribute("al");
if(obj==null)response.sendRedirect("admin_login.jsp");
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Add User </title>
</head>
<!--
//7. user_details - id,name,gender,dob,email,contact,dt
//8. user_login - id,uname,passwd,status
-->
<body>
<center>
<h1 ><font color="#366092"><%=Variables.prjName%></font></h1>
<%@include file="admin_menu.jsp" %>
<h2 ><font color="#366092">Add User</font></h2>
<%
%>
<form name="frm" action="admin_user_add_action.jsp" method="post">
<table>
<tr>
<td> Name </td>
<td> <input type="text" name="name"> </td>
</tr>
<tr>
<td> Gender </td>
<td>
<select name="gender">
<option value="Male">Male</option>
<option value="Female">Female</option>
</select>
</td>
</tr>
<tr>
<td> Date Of Birth </td>
<td> <input type="date" name="dob"> </td>
</tr>
<tr>
<td> Contact </td>
<td> <input type="number" name="contact"> </td>
</tr>
<tr>
<td> Email </td>
<td> <input type="email" name="email"> </td>
</tr>
<tr>
<td></td>
<td>
<input type="submit" name="s1" value="Add">
<input type="reset" name="r1" value="Reset">
</td>
</tr>
</table>
</form>
<center>
</body>
</html>