-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadd.php
More file actions
56 lines (52 loc) · 2.48 KB
/
add.php
File metadata and controls
56 lines (52 loc) · 2.48 KB
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
<?php
require_once 'connect.php';
require_once 'admin_func.php';
add_car();
?>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@700&display=swap" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" crossorigin="anonymous">
<title>Parking Lot</title>
<style>
#main{
background-image: url("Images/matte_black.jpg");
font-family: 'Josefin Sans', sans-serif;
background-size: 100% 100%;
}
.forms{
width:50%;
}
#btns{
width:25%;
}
</style>
</head>
<body id="main">
<br>
<form action="add.php" method="post">
<div class="container">
<div class="jumbotron bg-success text-dark shadow">
<br>
<center>
<h1 class="display-1">ADD VEHICLE</h1>
</center>
</div><br><br>
<center>
<small class="text-muted">Phone Number</small>
<input type="text" class ="form-control btn-outline-success border forms" name="phno" id="phno" placeholder="Phone Number"><br><br>
<small class="text-muted">Name</small>
<input type="text" class ="form-control btn-outline-success border forms" name="u_name" id="name" placeholder="Name"><br><br>
<small class="text-muted">Vehicle Number</small>
<input type="text" class ="form-control btn-outline-success border forms" name="v_num" id="vhno" placeholder="Vehicle Number"><br><br>
<button class="btn btn-outline-success" id="btns" name="add">ADD</button><br><br>
<a id="btns" class="btn btn-outline-success" href="admin.php">HOME</a>
</center>
</div>
</form>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/js/bootstrap.bundle.min.js" integrity="sha384-b5kHyXgcpbZJO/tY9Ul7kGkf1S0CWuKcCD38l8YkeH8z8QjE0GmW1gYU5S9FOnJ0" crossorigin="anonymous"></script>
</body>
</html>