-
Notifications
You must be signed in to change notification settings - Fork 0
/
trajets.php
189 lines (164 loc) · 8.12 KB
/
trajets.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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
<?php
// author : mohamed khounti
include "./static/navbar.php";
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css">
<link rel="stylesheet" href="./css/acc.css">
<title>Trajets</title>
</head>
<body>
<?php echo ($navBar); ?>
<form method="post" class="travel-times-form container mt-5">
<div class="fullname col-md-12 container ">
<h1>Rechercher Trajets</h1>
<div class="col-md-12 container row">
<div class="Ville-Depart col-md-6">
<label class="fw-bold" for="Email">Ville Depart</label>
<select class="form-select" aria-label="Default select example" required>
<option value="tanger">tanger</option>
<option value="2">meknes</option>
<option value="3">taza</option>
</select>
</div>
<div class="ville-arrive col-md-6">
<label class="fw-bold" for="password">Ville d'arrive</label>
<select class="form-select" aria-label="Default select example" required>
<option value="casablanca">casablanca</option>
<option value="2">rabat</option>
<option value="3">fes</option>
</select>
</div>
</div>
<div class="col-md-12 container row">
<div class="submit col-md-6 p-5">
<button class="btn btn-primary w-100" value="submit" type="submit">cherche</button>
</div>
</div>
</div>
</form>
<div class="table-of-times container text-center">
<table class="table table-hover ">
<thead>
<tr>
<th scope="col">code Voyage</th>
<th scope="col">heure depart</th>
<th scope="col">heure arrivee</th>
<th scope="col">ville depart</th>
<th scope="col">ville arrivee</th>
<th scope="col">prix</th>
<th scope="col">action</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<!-- Modal of reservation detail -->
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">reservation detail</h5>
</div>
<div class="modal-body">
<label for="numberofbillet" class="fw-900">Nombre De billet</label>
<select class="form-select numberofbilet" aria-label="Default select example" required>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary annuler" data-dismiss="modal">annuler</button>
<button type="button" class="btn btn-success pay">Payée</button>
</div>
</div>
</div>
</div>
<!-- Modal of credit card -->
<div class="modal fade" id="card" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">ajouter votre credit card</h5>
</div>
<div class="modal-body">
<div class="container columns" style="padding-left: 24px;">
<i class="fab fa-cc-visa fs-1"></i>
<i class="fab fa-cc-mastercard fs-1"></i>
</div>
<div class="fullname col-md-12 container row ">
<div class="name col-md-12 ">
<label class="fw-bold" for="cardnumber">numéro de carte</label>
<input class="form-control" type="number" name="cardnumber" id="cardnumber"
patter="^4[0-9]{12}(?:[0-9]{3})?$ | ^(?:5[1-5][0-9]{2}|222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}$"
required>
</div>
<div class="lastname col-md-6 ">
<label class="fw-bold" for="lastname">prénom</label>
<input class="form-control" type="text" name="lastname" id="lastname" required>
</div>
<div class="name col-md-6 ">
<label class="fw-bold" for="name">Nom</label>
<input class="form-control" type="text" name="name" id="name" required>
</div>
<div class="lastname col-md-6 ">
<label class="fw-bold" for="cvv">Date De experation</label>
<input class="form-control" type="month" name="experationdate" id="experationdate" required>
</div>
<div class="lastname col-md-4 ">
<label class="fw-bold" for="cvv">cvv</label>
<input class="form-control" type="number" name="cvv" id="cvv" required>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary cancelcard" data-dismiss="modal">annuler</button>
<button type="button" class="btn btn-success valide ">validé</button>
</div>
</div>
</div>
</div>
<!-- Modal of pdf generator -->
<div class="modal fade" id="mypdf" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">imprimer</h5>
</div>
<div class="modal-body">
<div class="container column">
<span class="spinner-border spinner-border-sm text-success" role="status" aria-hidden="true"></span>
<h5 >generation de bellits</h5>
<div>
</div>
</div>
</div>
<div class="modal-footer text-center">
</div>
</div>
</div>
</div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"
integrity="sha384-KsvD1yqQ1/1+IA7gi3P0tyJcT3vR+NdBTt13hSJ2lnve8agRGXTTyNaBYmCR/Nwi" crossorigin="anonymous">
</script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
integrity="sha384-nsg8ua9HAw1y0W1btsyWgBklPnCUAFLuTMS2G72MMONqmOymq585AcH49TLBQObG" crossorigin="anonymous">
</script>
<script src="./js/trajets.js">
</script>
</body>
</html>