-
Notifications
You must be signed in to change notification settings - Fork 0
/
nosreg.php
133 lines (109 loc) · 4.63 KB
/
nosreg.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
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="RegisterCSS.css">
<link rel="stylesheet" type="text/css" href="MainPageCSS.css">
</head>
<body>
<div class="header">
<h2 style="color:#808080">Lanka Institute Of Technology</h2>
</div>
<ul >
<li><a class="active" href="MainPage.php">Home</a></li>
<li><a href="StudentRegisterPHP.php">Student Registration</a></li>
<li class="dropdown">
<a href="javascript:void(0)" class="dropbtn">Employee Registration</a>
<div class="dropdown-content">
<a href="AcedamicRegisterPHP.php">Acedamic Registration</a>
<a href="NAcedamicRegisterPHP.php">NON-Acedamic Registration</a>
</div>
</li>
<li><a href="studentdetails.php">Student Details</a></li>
<li class="dropdown">
<a href="javascript:void(0)" class="dropbtn">Employee Details</a>
<div class="dropdown-content">
<a href="acedamicdeatils.php">Acedamic Details</a>
<a href="nacedamicdeatils.php">NON-Acedamic Details</a>
</div>
<li><a href="updatedata.php">Update Deatils</a></li>
<li><a href="removedata.php">Remove Deatils</a></li>
<li><a href="mongo.php">NoSQL Database Operation</a></li>
<li style="float:right"><a href="AdminLoginPHP.php">Admin logout</a></li>
</ul>
<form action="nosregmongo.php" method="post">
<div class="container">
<h1>Student Registratio Using NoSQL</h1>
<p>Please fill in this form to inser for the Collection</p>
<hr>
<label for="ssn"><b>SSN</b></label>
<input type="text" placeholder="Enter ssn" name="s_ssn" required>
<label for="fname"><b>First Name</b></label>
<input type="text" placeholder="Enter First Name" name="s_fname" required>
<label for="lname"><b>Last Name</b></label>
<input type="text" placeholder="Enter Last Name" name="s_lname" required>
<label for="address"><b>Address</b></label>
<input type="text" placeholder="Enter Address" name="s_address" required>
<label for="email"><b>E-mail</b></label>
<input style="width: 100%;
padding: 15px;
margin: 5px 0 22px 0;
display: inline-block;
border: none;
background: #f1f1f1;
border-radius: 10px;"
type="email" placeholder="Enter E-mail Address" name="s_email" required>
<label for="gender"><b>Gender</b></label><br>
<input type="radio" name="gender" value="male" checked="" /> Male
<input type="radio" name="gender" value="female" /> Female
<br><br>
<label for="bday"><b>Birth Day</b></label>
<input style="width: 100%;
padding: 15px;
margin: 5px 0 22px 0;
display: inline-block;
border: none;
background: #f1f1f1;
border-radius: 10px;"
type="date" placeholder="Enter Birth date" name="s_bday" required>
<label for="age"><b>Age</b></label>
<input type="text" placeholder="Enter Age" name="s_age" required>
<label for="payment_method"><b>Payment Method</b></label>
<select style="width: 100%;
padding: 15px;
margin: 5px 0 22px 0;
display: inline-block;
border: none;
background: #f1f1f1;
border-radius: 10px;"name="paymentmethod">
<option value="credit">Visa Card</option>
<option value="cash">Cash</option>
</select>
<label for="timeperiod"><b>Time Period</b></label>
<input style="width: 100%;
padding: 15px;
margin: 5px 0 22px 0;
display: inline-block;
border: none;
background: #f1f1f1;
border-radius: 10px;" type="date" placeholder="Enter Period" name="t_period" required>
<label for="udegree_code"><b>Degree Code</b></label>
<select style="width: 100%;
padding: 15px;
margin: 5px 0 22px 0;
display: inline-block;
border: none;
background: #f1f1f1;
border-radius: 10px;"name="degreecode">
<option value="123">BSC(Hons) in SE</option>
<option value="456">BSC(Hons) in MIS</option>
<option value="789">BSC(Hons) in CS</option>
<option value="147">BSC(Hons) in CN</option>
<option value="258">BSC(Hons) in NS</option>
</select>
<hr>
<p>By creating an account you agree to our <a href="#">Terms & Privacy</a>.</p>
<button type="submit" name="submit" class="registerbtn">Register</button>
</div>
</form>
</body>
</html>