-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathmainpage.php
102 lines (91 loc) · 3.09 KB
/
mainpage.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
<html>
<head>
<title>Welcome to the Khana Khazana Restaurant</title>
<style>
body {
font-family: Arial;
color: black;
}
.split {
height: 90%;
width: 50%;
position: fixed;
z-index: 1;
top: 10%;
overflow-x: hidden;
padding-top: 20px;
}
.left {
left: 0;
background-color: #AFEEEE;
}
.right {
right: 0;
background-color: #AFEEEE;
}
label{
display:inline-block;
width:400px;
margin-right:200px;
text-align:right;
}
input{
}
fieldset{
border:none;
width:200px;
margin:0px auto;
}
h3{
background-color: #008B8B
}
</style>
</head>
<body>
<form action="page1.php" method="post">
<h3 align="center" ><br/> View Menu <input type="submit" name="menu" value="View menu"><br/><br/> </h3>
<div class="split left">
<h4 align="center"> Data of Employee : </h4><br/>
<fieldset>
<label for="id">ID : <input type="text" name="id" > <br/><br/>
<label for="fname">First Name : <input type="text" name="fname" ><br/><br/>
<label for="lname">Last Name : <input type="text" name="lname"> <br/><br/>
<label for="desi">designation : <input type="text" name="desi"> <br/><br/>
<label for="wtype">work type : <input type="text" name="wtype"> <br/><br/>
<label for="address">address : <input type="text" name="address"> <br/><br/>
<label for="city">city : <input type="text" name="city"> <br/><br/>
<label for="state">state : <input type="text" name="state"> <br/><br/>
<label for="pcode">pincode : <input type="text" name="pcode"> <br/><br/>
<label for="cno">contact no : <input type="text" name="cno"> <br/><br/>
<label for="salary">Salary : <input type="float" name="salary"> <br/><br/>
</fieldset>
<div align="center">
<input type="submit" name="employeeadd" value="add">
<input type="submit" name="employeedelete" value="delete">
<input type="submit" name="employeesearch" value="search">
</div>
</div>
<div class="split right">
<h4 align="center">Data of Customer : </h4><br/>
<fieldset>
<label for="cid">ID : <input type="text" name="cid"> <br/><br/>
<label for="cfname">First Name : <input type="text" name="cfname"> <br/><br/>
<label for="clname">Last Name : <input type="text" name="clname"> <br/><br/>
<label for="caddress">address : <input type="text" name="caddress"> <br/><br/>
<label for="ccity">city : <input type="text" name="ccity"> <br/><br/>
<label for="cstate">state : <input type="text" name="cstate"> <br/><br/>
<label for="cpcode">pincode : <input type="text" name="cpcode"> <br/><br/>
<label for="ccno">contact no : <input type="text" name="ccno"> <br/><br/>
<label for="cemailid">email id : <input type="text" name="cemailid"> <br/><br/>
</fieldset>
<div align="center">
<input type="submit" name="customeradd" value="add">
<input type="submit" name="customerdelete" value="delete">
<input type="submit" name="customersearch" value="search"><br/><br/><br/><br/><br/>
<input type="submit" name="prev" value="prev">
<input type="submit" name="next" value="next">
</div>
</div>
</form>
</body>
</html>