-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdbstop.php
78 lines (57 loc) · 2.63 KB
/
dbstop.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
<html>
<head>
<?php
include("backend/connection.php");
session_start();
?>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<link rel='stylesheet prefetch' href='http:////netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css'>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/bootstrap-theme.min.css">
<link rel="stylesheet" href="css/bootstrap-select.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="social_media/css/button_style.css">
<link rel="stylesheet" href="css/animate.css">
</head>
<body style="background:#ededed">
<?php
include("menus/main_menu.php");
?>
<div style="margin-bottom:0px;" class="jumbotron">
<div class="col-sm-12 col-md-12 col-lg-12">
<div style="border-bottom:0px;" class="page-header" style="padding-top:20px">
<center><h1>Dublin Bus</h1></center>
</div>
</div>
<div style="padding-top:40px;padding-bottom:40px;background:#ededed" class="row">
<div style="padding-top:30px" class="col-sm-6 col-md-5 col-lg-5 offset-1">
Get Stop info
<form method="get" action="dbstop.php">
<input type="hidden" value="getStopTimes" type="text" name="o">
<input type="text" class="form-control" name="stop">
<br><br>
<input type="submit" class="btn button_style" value="Submit">
</form>
<br><br>
Get Route info
<form method="get" action="dbroute.php">
<input type="hidden" value="getStops" type="text" name="o">
<input type="text" class="form-control" name="route">
<br><br>
<input type="submit" class="btn button_style" value="Submit">
</form>
<br>
</div>
<div style="border-left:1px solid #dbdfe5" class="col-sm-5 col-md-5 col-lg-5 offset-1">
<?php include("backend/dbapi.php"); ?>
</div>
</div>
</div>
<div class="container-fluid" style="margin-top:150px;margin-bottom:20px;">
<?php include("content_pages/footer.php"); ?>
</div>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js" integrity="sha384-h0AbiXch4ZDo7tp9hKZ4TsHbi047NrKGLO3SEJAg45jXxnGIfYzk4Si90RDIqNm1" crossorigin="anonymous"></script>
</body>
</html>