-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaddcar.php
146 lines (62 loc) · 3.48 KB
/
addcar.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
134
135
136
137
138
139
140
141
142
143
144
145
146
<!-- Begin Page Content -->
<div class="container-fluid">
<!-- Content Row -->
<div class="row">
<!-- Area Chart -->
<div class="col-xl-12 col-lg-7">
<div class="card shadow mb-4">
<!-- Card Header - Dropdown -->
<div class="card-header py-3 d-flex flex-row align-items-center justify-content-between">
<h6 class="m-0 font-weight-bold text-primary">Car Details</h6>
</div>
<!-- Card Body -->
<div class="card-body">
<form class="driver" method="post" action=<?php echo base_url() . "/dashboard/addcar"; ?>>
<div class="form-group row">
<div class="col-sm-4 mb-3 mb-sm-0">
<input type="text" class="form-control form-control-user" id="txtmake" name="txtmake" placeholder="Make" required>
</div>
<div class="col-sm-4 mb-3 mb-sm-0">
<input type="text" class="form-control form-control-user" placeholder="Model" name="txtmodel" id="txtmodel" required />
</div>
<div class="col-sm-4">
<input type="text" class="form-control modelyear" placeholder="Year" name="txtmodelyear" id="datepicker" required />
</div>
</div>
<div class="form-group row">
<div class="col-sm-4 mb-3 mb-sm-0">
<input type="text" class="form-control form-control-user" id="color" name="txtcolor" placeholder="Enter Color" title="Select Car Color" required>
</div>
<div class="col-sm-4 mb-3 mb-sm-0">
<input type="text" class="form-control form-control-user" id="txtnumberplate" name="txtnumberplate" placeholder="Enter Number Plate No" title="Enter Number Plate no." required />
</div>
<div class="col-sm-4">
<input type="text" class="form-control form-control-user" id="txtrentalcompany" name="txtrentalcompany" placeholder="Car Rental Company." required>
</div>
</div>
<div class="form-group row">
<div class="col-sm-4 mb-3 mb-sm-0">
<input type="date" class="form-control form-control-user" id="txtreturndate" name="txtreturndate" title="Select Return Date" required>
</div>
<div class="col-sm-4 mb-3 mb-sm-0">
<input type="text" class="form-control form-control-user" id="txtmileage" name="txtmileage" placeholder="Enter Car Mileage" title="Enter Car Mileage." required />
</div>
<div class="col-sm-4 mb-3 mb-sm-0">
<input type="text" class="form-control form-control-user" id="txtcountrycode" name="txtcountrycode" placeholder="Enter Country Code" title="Enter Country Code." required />
</div>
</div>
<div class="form-group row">
<div class="col-sm-4 mb-3 mb-sm-0">
<input type="text" class="form-control form-control-user" id="txttrackingnumber" name="txttrackingnumber" placeholder="Enter GPS Tracking Number" title=" Enter GPS Tracking Number." required />
</div>
</div>
<input type="submit" class="btn btn-primary btn-user btn-block" id="btnaddcar" value="Add Car" name="btnaddcar" />
</form>
</div>
</div>
</div>
</div>
</div>
<!-- /.container-fluid -->
</div>
<!-- End of Main Content -->