-
Notifications
You must be signed in to change notification settings - Fork 0
/
status.php
50 lines (48 loc) · 1001 Bytes
/
status.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
<!DOCTYPE html>
<html>
<head>
<title>status</title>
</head>
<center>
<body>
<style type="text/css">
body{
font-size: 200px;
color:white;
background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.5)),url(images/5.jpg);
}
button{
padding: 5px;
border-radius: 5px;
margin: 2px;
display: block;
width: 100px;
border: 2px;
background-color: white;
color: blue;
font-family: sans-serif;
text-align: center;
}
button{
border: .5px solid black;
background-color: orange;
color: white;
}
</style>
<table>
<?php
session_start();
$user=$_SESSION['user'];
$cn=new mysqli("localhost","root","","owner");
$vno=$cn->query("SELECT vehno FROM OWNER WHERE user='$user'");
$vno=$vno->fetch_array();
$result=$cn->query("SELECT * FROM SERVIN WHERE VEHNO='$vno[0]'");
$row=$result->fetch_assoc();
echo $row['Status'];
?>
<td style="left"><button><a href="custhome.php">Back</a></button>
</table>
</body>
</center>
</body>
</html>