-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.php
executable file
·109 lines (94 loc) · 2.08 KB
/
home.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
<html>
<head>
<style media="screen" type="text/css">
#img {
float:auto;
position:relative;
width: 500 px;
height: 300 px;
background:#ddf;
}
html, body
{
width:100%; height: 100%; padding:0; margin:0;
font-family:arial,tahoma;
color:lightblue;
}
#header {
padding:2px;
background:#A9A9A9;
text-align:center;
color:darkblue;
padding: 10 10 10 10;
}
#content-1 {
float:left;
width:16%;
height:70%;
padding:10 0 12 19;
background:#787878;
}
#content-2-1 {
float:left;
width:82%;
height:70%;
padding:10 0 12 11;
background:#ddf;
}
#footer {
clear:both;
padding:12px;
background:#A9A9A9;
text-align:center;
color:darkblue;
}
h3{
font-family:arial,tahoma;
font-size:30px;
color:green;
}
</style>
<script type="text/javascript">
function checkNull(){
val1 = document.getElementById("uname").value;
val2 = document.getElementById("pwd").value;
if(val1=="")
{
alert("user name should not be null");
document.getElementById("uname").focus();
return;
}
if(val2=="")
{
alert("password should not be null");
document.getElementById("pwd").focus();
}
}
</script>
</head>
<body>
<div id="body">
<div id="header"><h2>Perodua Car Service Center</h2></div>
<div id="main">
<div id="content-1">
<form action="login.php" method="POST">
Login here.<br><br>
<div width="18">*User Name</div>
<input type="text" name="username" id="uname" width="200px" required><br/><br/>
<div width="18">*Password</div>
<input type="password" name="password" id="pwd" width="200px" required><br/><br/>
<center>
<input type="submit" name="submit" value="login">
</center>
<br/>
</form>
</div>
<div id="content-2-1">
<h3>you can <a href="http://localhost/peroduacarservice/ownerregister.php">Register</a> here.....</h3>
<div id="img"><img src="images/servepic.jpg" alt="logo"></div>
</div>
</div>
<div id="footer">OUR GOAL IS CUSTOMER SATISFACTION</div>
</div>
</body>
</html>